ERC-721
Overview
Max Total Supply
532 OBYC
Holders
273
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 OBYCLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
OBYC
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-06-16 */ // SPDX-License-Identifier: MIT // ERC721A Contracts v3.3.0 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: https://github.com/chiru-labs/ERC721A/blob/main/contracts/ERC721A.sol // ERC721A Contracts v3.3.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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/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"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // 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); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC721/IERC721Receiver.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC721/IERC721.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: 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); } // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC721/extensions/IERC721Metadata.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC721/ERC721.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * 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, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} } // File: contracts/OBYC.sol pragma solidity ^0.8.0; contract OBYC is ERC721A, Ownable { using Strings for uint256; string private baseURI; uint256 public price = 0.007 ether; uint256 public maxPerTx = 30; uint256 public maxFreePerWallet = 2; uint256 public totalFree = 1000; uint256 public maxSupply = 7777; bool public mintEnabled = false; mapping(address => uint256) private _mintedFreeAmount; constructor() ERC721A("Okay Bulls Yacht Club", "OBYC") { //_safeMint(msg.sender, 5); setBaseURI("ipfs://QmSNE5YRSAGJMC9Zdy3EZqYfjuRGZRPJyjghAk2rh3hpJs/"); } function mint(uint256 count) external payable { uint256 cost = price; bool isFree = ((totalSupply() + count < totalFree + 1) && (_mintedFreeAmount[msg.sender] + count <= maxFreePerWallet)); if (isFree) { cost = 0; } require(msg.value >= count * cost, "Please send the exact amount."); require(totalSupply() + count < maxSupply + 1, "No more"); require(mintEnabled, "Minting is not live yet"); require(count < maxPerTx + 1, "Max per TX reached."); if (isFree) { _mintedFreeAmount[msg.sender] += count; } _safeMint(msg.sender, count); } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); return string(abi.encodePacked(baseURI, tokenId.toString(), ".json")); } function setBaseURI(string memory uri) public onlyOwner { baseURI = uri; } function setFreeAmount(uint256 amount) external onlyOwner { totalFree = amount; } function setPrice(uint256 _newPrice) external onlyOwner { price = _newPrice; } function flipSale() external onlyOwner { mintEnabled = !mintEnabled; } function withdraw() external onlyOwner { (bool success, ) = payable(msg.sender).call{ value: address(this).balance }(""); require(success, "Transfer failed."); } }
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":"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":[{"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":[],"name":"flipSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxFreePerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setFreeAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFree","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
60806040526618de76816d8000600a55601e600b556002600c556103e8600d55611e61600e556000600f60006101000a81548160ff0219169083151502179055503480156200004d57600080fd5b506040518060400160405280601581526020017f4f6b61792042756c6c7320596163687420436c756200000000000000000000008152506040518060400160405280600481526020017f4f425943000000000000000000000000000000000000000000000000000000008152508160029080519060200190620000d2929190620002fc565b508060039080519060200190620000eb929190620002fc565b50620000fc6200015460201b60201c565b600081905550505062000124620001186200015960201b60201c565b6200016160201b60201c565b6200014e60405180606001604052806036815260200162003664603691396200022760201b60201c565b62000494565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002376200015960201b60201c565b73ffffffffffffffffffffffffffffffffffffffff166200025d620002d260201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620002b6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002ad90620003d3565b60405180910390fd5b8060099080519060200190620002ce929190620002fc565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b8280546200030a9062000406565b90600052602060002090601f0160209004810192826200032e57600085556200037a565b82601f106200034957805160ff19168380011785556200037a565b828001600101855582156200037a579182015b82811115620003795782518255916020019190600101906200035c565b5b5090506200038991906200038d565b5090565b5b80821115620003a85760008160009055506001016200038e565b5090565b6000620003bb602083620003f5565b9150620003c8826200046b565b602082019050919050565b60006020820190508181036000830152620003ee81620003ac565b9050919050565b600082825260208201905092915050565b600060028204905060018216806200041f57607f821691505b602082108114156200043657620004356200043c565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6131c080620004a46000396000f3fe6080604052600436106101c25760003560e01c80638da5cb5b116100f7578063a702735711610095578063d5abeb0111610064578063d5abeb01146105f9578063e985e9c514610624578063f2fde38b14610661578063f968adbe1461068a576101c2565b8063a70273571461053d578063b88d4fde14610568578063c87b56dd14610591578063d1239730146105ce576101c2565b806395d89b41116100d157806395d89b41146104a2578063a035b1fe146104cd578063a0712d68146104f8578063a22cb46514610514576101c2565b80638da5cb5b1461042557806391b7f5ed1461045057806392910eec14610479576101c2565b80633ccfd60b116101645780636352211e1161013e5780636352211e1461037d57806370a08231146103ba578063715018a6146103f75780637ba5e6211461040e576101c2565b80633ccfd60b1461031457806342842e0e1461032b57806355f804b314610354576101c2565b8063095ea7b3116101a0578063095ea7b31461026c57806318160ddd1461029557806323b872dd146102c0578063333e44e6146102e9576101c2565b806301ffc9a7146101c757806306fdde0314610204578063081812fc1461022f575b600080fd5b3480156101d357600080fd5b506101ee60048036038101906101e9919061254c565b6106b5565b6040516101fb9190612974565b60405180910390f35b34801561021057600080fd5b50610219610747565b604051610226919061298f565b60405180910390f35b34801561023b57600080fd5b50610256600480360381019061025191906125ef565b6107d9565b604051610263919061290d565b60405180910390f35b34801561027857600080fd5b50610293600480360381019061028e919061250c565b610855565b005b3480156102a157600080fd5b506102aa6109fc565b6040516102b79190612ab1565b60405180910390f35b3480156102cc57600080fd5b506102e760048036038101906102e291906123f6565b610a13565b005b3480156102f557600080fd5b506102fe610a23565b60405161030b9190612ab1565b60405180910390f35b34801561032057600080fd5b50610329610a29565b005b34801561033757600080fd5b50610352600480360381019061034d91906123f6565b610b54565b005b34801561036057600080fd5b5061037b600480360381019061037691906125a6565b610b74565b005b34801561038957600080fd5b506103a4600480360381019061039f91906125ef565b610c0a565b6040516103b1919061290d565b60405180910390f35b3480156103c657600080fd5b506103e160048036038101906103dc9190612389565b610c1c565b6040516103ee9190612ab1565b60405180910390f35b34801561040357600080fd5b5061040c610cd5565b005b34801561041a57600080fd5b50610423610d5d565b005b34801561043157600080fd5b5061043a610e05565b604051610447919061290d565b60405180910390f35b34801561045c57600080fd5b50610477600480360381019061047291906125ef565b610e2f565b005b34801561048557600080fd5b506104a0600480360381019061049b91906125ef565b610eb5565b005b3480156104ae57600080fd5b506104b7610f3b565b6040516104c4919061298f565b60405180910390f35b3480156104d957600080fd5b506104e2610fcd565b6040516104ef9190612ab1565b60405180910390f35b610512600480360381019061050d91906125ef565b610fd3565b005b34801561052057600080fd5b5061053b600480360381019061053691906124cc565b61121f565b005b34801561054957600080fd5b50610552611397565b60405161055f9190612ab1565b60405180910390f35b34801561057457600080fd5b5061058f600480360381019061058a9190612449565b61139d565b005b34801561059d57600080fd5b506105b860048036038101906105b391906125ef565b611410565b6040516105c5919061298f565b60405180910390f35b3480156105da57600080fd5b506105e361148c565b6040516105f09190612974565b60405180910390f35b34801561060557600080fd5b5061060e61149f565b60405161061b9190612ab1565b60405180910390f35b34801561063057600080fd5b5061064b600480360381019061064691906123b6565b6114a5565b6040516106589190612974565b60405180910390f35b34801561066d57600080fd5b5061068860048036038101906106839190612389565b611539565b005b34801561069657600080fd5b5061069f611631565b6040516106ac9190612ab1565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061071057506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107405750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60606002805461075690612d81565b80601f016020809104026020016040519081016040528092919081815260200182805461078290612d81565b80156107cf5780601f106107a4576101008083540402835291602001916107cf565b820191906000526020600020905b8154815290600101906020018083116107b257829003601f168201915b5050505050905090565b60006107e482611637565b61081a576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061086082611696565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156108c8576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108e7611764565b73ffffffffffffffffffffffffffffffffffffffff161461094a576109138161090e611764565b6114a5565b610949576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000610a0661176c565b6001546000540303905090565b610a1e838383611771565b505050565b600d5481565b610a31611b1b565b73ffffffffffffffffffffffffffffffffffffffff16610a4f610e05565b73ffffffffffffffffffffffffffffffffffffffff1614610aa5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9c90612a11565b60405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff1647604051610acb906128f8565b60006040518083038185875af1925050503d8060008114610b08576040519150601f19603f3d011682016040523d82523d6000602084013e610b0d565b606091505b5050905080610b51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4890612a71565b60405180910390fd5b50565b610b6f8383836040518060200160405280600081525061139d565b505050565b610b7c611b1b565b73ffffffffffffffffffffffffffffffffffffffff16610b9a610e05565b73ffffffffffffffffffffffffffffffffffffffff1614610bf0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610be790612a11565b60405180910390fd5b8060099080519060200190610c0692919061219d565b5050565b6000610c1582611696565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610c84576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b610cdd611b1b565b73ffffffffffffffffffffffffffffffffffffffff16610cfb610e05565b73ffffffffffffffffffffffffffffffffffffffff1614610d51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4890612a11565b60405180910390fd5b610d5b6000611b23565b565b610d65611b1b565b73ffffffffffffffffffffffffffffffffffffffff16610d83610e05565b73ffffffffffffffffffffffffffffffffffffffff1614610dd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd090612a11565b60405180910390fd5b600f60009054906101000a900460ff1615600f60006101000a81548160ff021916908315150217905550565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610e37611b1b565b73ffffffffffffffffffffffffffffffffffffffff16610e55610e05565b73ffffffffffffffffffffffffffffffffffffffff1614610eab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea290612a11565b60405180910390fd5b80600a8190555050565b610ebd611b1b565b73ffffffffffffffffffffffffffffffffffffffff16610edb610e05565b73ffffffffffffffffffffffffffffffffffffffff1614610f31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2890612a11565b60405180910390fd5b80600d8190555050565b606060038054610f4a90612d81565b80601f0160208091040260200160405190810160405280929190818152602001828054610f7690612d81565b8015610fc35780601f10610f9857610100808354040283529160200191610fc3565b820191906000526020600020905b815481529060010190602001808311610fa657829003601f168201915b5050505050905090565b600a5481565b6000600a54905060006001600d54610feb9190612bb6565b83610ff46109fc565b610ffe9190612bb6565b1080156110575750600c5483601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546110549190612bb6565b11155b9050801561106457600091505b81836110709190612c3d565b3410156110b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a990612a51565b60405180910390fd5b6001600e546110c19190612bb6565b836110ca6109fc565b6110d49190612bb6565b10611114576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110b906129d1565b60405180910390fd5b600f60009054906101000a900460ff16611163576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115a906129b1565b60405180910390fd5b6001600b546111729190612bb6565b83106111b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111aa90612a91565b60405180910390fd5b80156112105782601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546112089190612bb6565b925050819055505b61121a3384611be9565b505050565b611227611764565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561128c576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611299611764565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611346611764565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161138b9190612974565b60405180910390a35050565b600c5481565b6113a8848484611771565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461140a576113d384848484611c07565b611409576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b606061141b82611637565b61145a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145190612a31565b60405180910390fd5b600961146583611d67565b6040516020016114769291906128c9565b6040516020818303038152906040529050919050565b600f60009054906101000a900460ff1681565b600e5481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611541611b1b565b73ffffffffffffffffffffffffffffffffffffffff1661155f610e05565b73ffffffffffffffffffffffffffffffffffffffff16146115b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ac90612a11565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611625576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161c906129f1565b60405180910390fd5b61162e81611b23565b50565b600b5481565b60008161164261176c565b11158015611651575060005482105b801561168f575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600080829050806116a561176c565b1161172d5760005481101561172c5760006004600083815260200190815260200160002054905060007c01000000000000000000000000000000000000000000000000000000008216141561172a575b60008114156117205760046000836001900393508381526020019081526020016000205490506116f5565b809250505061175f565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b600090565b600061177c82611696565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146117e3576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16611804611764565b73ffffffffffffffffffffffffffffffffffffffff16148061183357506118328561182d611764565b6114a5565b5b806118785750611841611764565b73ffffffffffffffffffffffffffffffffffffffff16611860846107d9565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806118b1576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611918576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6119258585856001611ec8565b6006600084815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055507c020000000000000000000000000000000000000000000000000000000060a042901b611a2286611ece565b1717600460008581526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000083161415611aac576000600184019050600060046000838152602001908152602001600020541415611aaa576000548114611aa9578260046000838152602001908152602001600020819055505b5b505b828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611b148585856001611ed8565b5050505050565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611c03828260405180602001604052806000815250611ede565b5050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611c2d611764565b8786866040518563ffffffff1660e01b8152600401611c4f9493929190612928565b602060405180830381600087803b158015611c6957600080fd5b505af1925050508015611c9a57506040513d601f19601f82011682018060405250810190611c979190612579565b60015b611d14573d8060008114611cca576040519150601f19603f3d011682016040523d82523d6000602084013e611ccf565b606091505b50600081511415611d0c576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606000821415611daf576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611ec3565b600082905060005b60008214611de1578080611dca90612de4565b915050600a82611dda9190612c0c565b9150611db7565b60008167ffffffffffffffff811115611dfd57611dfc612f1a565b5b6040519080825280601f01601f191660200182016040528015611e2f5781602001600182028036833780820191505090505b5090505b60008514611ebc57600182611e489190612c97565b9150600a85611e579190612e2d565b6030611e639190612bb6565b60f81b818381518110611e7957611e78612eeb565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611eb59190612c0c565b9450611e33565b8093505050505b919050565b50505050565b6000819050919050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611f4b576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000831415611f86576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611f936000858386611ec8565b600160406001901b178302600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e1611ff860018514612193565b901b60a042901b61200886611ece565b1717600460008381526020019081526020016000208190555060008190506000848201905060008673ffffffffffffffffffffffffffffffffffffffff163b1461210c575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46120bc6000878480600101955087611c07565b6120f2576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821061204d57826000541461210757600080fd5b612177565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821061210d575b81600081905550505061218d6000858386611ed8565b50505050565b6000819050919050565b8280546121a990612d81565b90600052602060002090601f0160209004810192826121cb5760008555612212565b82601f106121e457805160ff1916838001178555612212565b82800160010185558215612212579182015b828111156122115782518255916020019190600101906121f6565b5b50905061221f9190612223565b5090565b5b8082111561223c576000816000905550600101612224565b5090565b600061225361224e84612af1565b612acc565b90508281526020810184848401111561226f5761226e612f4e565b5b61227a848285612d3f565b509392505050565b600061229561229084612b22565b612acc565b9050828152602081018484840111156122b1576122b0612f4e565b5b6122bc848285612d3f565b509392505050565b6000813590506122d38161312e565b92915050565b6000813590506122e881613145565b92915050565b6000813590506122fd8161315c565b92915050565b6000815190506123128161315c565b92915050565b600082601f83011261232d5761232c612f49565b5b813561233d848260208601612240565b91505092915050565b600082601f83011261235b5761235a612f49565b5b813561236b848260208601612282565b91505092915050565b60008135905061238381613173565b92915050565b60006020828403121561239f5761239e612f58565b5b60006123ad848285016122c4565b91505092915050565b600080604083850312156123cd576123cc612f58565b5b60006123db858286016122c4565b92505060206123ec858286016122c4565b9150509250929050565b60008060006060848603121561240f5761240e612f58565b5b600061241d868287016122c4565b935050602061242e868287016122c4565b925050604061243f86828701612374565b9150509250925092565b6000806000806080858703121561246357612462612f58565b5b6000612471878288016122c4565b9450506020612482878288016122c4565b935050604061249387828801612374565b925050606085013567ffffffffffffffff8111156124b4576124b3612f53565b5b6124c087828801612318565b91505092959194509250565b600080604083850312156124e3576124e2612f58565b5b60006124f1858286016122c4565b9250506020612502858286016122d9565b9150509250929050565b6000806040838503121561252357612522612f58565b5b6000612531858286016122c4565b925050602061254285828601612374565b9150509250929050565b60006020828403121561256257612561612f58565b5b6000612570848285016122ee565b91505092915050565b60006020828403121561258f5761258e612f58565b5b600061259d84828501612303565b91505092915050565b6000602082840312156125bc576125bb612f58565b5b600082013567ffffffffffffffff8111156125da576125d9612f53565b5b6125e684828501612346565b91505092915050565b60006020828403121561260557612604612f58565b5b600061261384828501612374565b91505092915050565b61262581612ccb565b82525050565b61263481612cdd565b82525050565b600061264582612b68565b61264f8185612b7e565b935061265f818560208601612d4e565b61266881612f5d565b840191505092915050565b600061267e82612b73565b6126888185612b9a565b9350612698818560208601612d4e565b6126a181612f5d565b840191505092915050565b60006126b782612b73565b6126c18185612bab565b93506126d1818560208601612d4e565b80840191505092915050565b600081546126ea81612d81565b6126f48186612bab565b9450600182166000811461270f576001811461272057612753565b60ff19831686528186019350612753565b61272985612b53565b60005b8381101561274b5781548189015260018201915060208101905061272c565b838801955050505b50505092915050565b6000612769601783612b9a565b915061277482612f6e565b602082019050919050565b600061278c600783612b9a565b915061279782612f97565b602082019050919050565b60006127af602683612b9a565b91506127ba82612fc0565b604082019050919050565b60006127d2600583612bab565b91506127dd8261300f565b600582019050919050565b60006127f5602083612b9a565b915061280082613038565b602082019050919050565b6000612818602f83612b9a565b915061282382613061565b604082019050919050565b600061283b601d83612b9a565b9150612846826130b0565b602082019050919050565b600061285e600083612b8f565b9150612869826130d9565b600082019050919050565b6000612881601083612b9a565b915061288c826130dc565b602082019050919050565b60006128a4601383612b9a565b91506128af82613105565b602082019050919050565b6128c381612d35565b82525050565b60006128d582856126dd565b91506128e182846126ac565b91506128ec826127c5565b91508190509392505050565b600061290382612851565b9150819050919050565b6000602082019050612922600083018461261c565b92915050565b600060808201905061293d600083018761261c565b61294a602083018661261c565b61295760408301856128ba565b8181036060830152612969818461263a565b905095945050505050565b6000602082019050612989600083018461262b565b92915050565b600060208201905081810360008301526129a98184612673565b905092915050565b600060208201905081810360008301526129ca8161275c565b9050919050565b600060208201905081810360008301526129ea8161277f565b9050919050565b60006020820190508181036000830152612a0a816127a2565b9050919050565b60006020820190508181036000830152612a2a816127e8565b9050919050565b60006020820190508181036000830152612a4a8161280b565b9050919050565b60006020820190508181036000830152612a6a8161282e565b9050919050565b60006020820190508181036000830152612a8a81612874565b9050919050565b60006020820190508181036000830152612aaa81612897565b9050919050565b6000602082019050612ac660008301846128ba565b92915050565b6000612ad6612ae7565b9050612ae28282612db3565b919050565b6000604051905090565b600067ffffffffffffffff821115612b0c57612b0b612f1a565b5b612b1582612f5d565b9050602081019050919050565b600067ffffffffffffffff821115612b3d57612b3c612f1a565b5b612b4682612f5d565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000612bc182612d35565b9150612bcc83612d35565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612c0157612c00612e5e565b5b828201905092915050565b6000612c1782612d35565b9150612c2283612d35565b925082612c3257612c31612e8d565b5b828204905092915050565b6000612c4882612d35565b9150612c5383612d35565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612c8c57612c8b612e5e565b5b828202905092915050565b6000612ca282612d35565b9150612cad83612d35565b925082821015612cc057612cbf612e5e565b5b828203905092915050565b6000612cd682612d15565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015612d6c578082015181840152602081019050612d51565b83811115612d7b576000848401525b50505050565b60006002820490506001821680612d9957607f821691505b60208210811415612dad57612dac612ebc565b5b50919050565b612dbc82612f5d565b810181811067ffffffffffffffff82111715612ddb57612dda612f1a565b5b80604052505050565b6000612def82612d35565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612e2257612e21612e5e565b5b600182019050919050565b6000612e3882612d35565b9150612e4383612d35565b925082612e5357612e52612e8d565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4d696e74696e67206973206e6f74206c69766520796574000000000000000000600082015250565b7f4e6f206d6f726500000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f506c656173652073656e642074686520657861637420616d6f756e742e000000600082015250565b50565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b7f4d61782070657220545820726561636865642e00000000000000000000000000600082015250565b61313781612ccb565b811461314257600080fd5b50565b61314e81612cdd565b811461315957600080fd5b50565b61316581612ce9565b811461317057600080fd5b50565b61317c81612d35565b811461318757600080fd5b5056fea2646970667358221220d75059766c8cc27403a79e85a216e482bb95bdcd9eacbeb5c18554975f46b08764736f6c63430008070033697066733a2f2f516d534e453559525341474a4d43395a647933455a7159666a7552475a52504a796a6768416b3272683368704a732f
Deployed Bytecode
0x6080604052600436106101c25760003560e01c80638da5cb5b116100f7578063a702735711610095578063d5abeb0111610064578063d5abeb01146105f9578063e985e9c514610624578063f2fde38b14610661578063f968adbe1461068a576101c2565b8063a70273571461053d578063b88d4fde14610568578063c87b56dd14610591578063d1239730146105ce576101c2565b806395d89b41116100d157806395d89b41146104a2578063a035b1fe146104cd578063a0712d68146104f8578063a22cb46514610514576101c2565b80638da5cb5b1461042557806391b7f5ed1461045057806392910eec14610479576101c2565b80633ccfd60b116101645780636352211e1161013e5780636352211e1461037d57806370a08231146103ba578063715018a6146103f75780637ba5e6211461040e576101c2565b80633ccfd60b1461031457806342842e0e1461032b57806355f804b314610354576101c2565b8063095ea7b3116101a0578063095ea7b31461026c57806318160ddd1461029557806323b872dd146102c0578063333e44e6146102e9576101c2565b806301ffc9a7146101c757806306fdde0314610204578063081812fc1461022f575b600080fd5b3480156101d357600080fd5b506101ee60048036038101906101e9919061254c565b6106b5565b6040516101fb9190612974565b60405180910390f35b34801561021057600080fd5b50610219610747565b604051610226919061298f565b60405180910390f35b34801561023b57600080fd5b50610256600480360381019061025191906125ef565b6107d9565b604051610263919061290d565b60405180910390f35b34801561027857600080fd5b50610293600480360381019061028e919061250c565b610855565b005b3480156102a157600080fd5b506102aa6109fc565b6040516102b79190612ab1565b60405180910390f35b3480156102cc57600080fd5b506102e760048036038101906102e291906123f6565b610a13565b005b3480156102f557600080fd5b506102fe610a23565b60405161030b9190612ab1565b60405180910390f35b34801561032057600080fd5b50610329610a29565b005b34801561033757600080fd5b50610352600480360381019061034d91906123f6565b610b54565b005b34801561036057600080fd5b5061037b600480360381019061037691906125a6565b610b74565b005b34801561038957600080fd5b506103a4600480360381019061039f91906125ef565b610c0a565b6040516103b1919061290d565b60405180910390f35b3480156103c657600080fd5b506103e160048036038101906103dc9190612389565b610c1c565b6040516103ee9190612ab1565b60405180910390f35b34801561040357600080fd5b5061040c610cd5565b005b34801561041a57600080fd5b50610423610d5d565b005b34801561043157600080fd5b5061043a610e05565b604051610447919061290d565b60405180910390f35b34801561045c57600080fd5b50610477600480360381019061047291906125ef565b610e2f565b005b34801561048557600080fd5b506104a0600480360381019061049b91906125ef565b610eb5565b005b3480156104ae57600080fd5b506104b7610f3b565b6040516104c4919061298f565b60405180910390f35b3480156104d957600080fd5b506104e2610fcd565b6040516104ef9190612ab1565b60405180910390f35b610512600480360381019061050d91906125ef565b610fd3565b005b34801561052057600080fd5b5061053b600480360381019061053691906124cc565b61121f565b005b34801561054957600080fd5b50610552611397565b60405161055f9190612ab1565b60405180910390f35b34801561057457600080fd5b5061058f600480360381019061058a9190612449565b61139d565b005b34801561059d57600080fd5b506105b860048036038101906105b391906125ef565b611410565b6040516105c5919061298f565b60405180910390f35b3480156105da57600080fd5b506105e361148c565b6040516105f09190612974565b60405180910390f35b34801561060557600080fd5b5061060e61149f565b60405161061b9190612ab1565b60405180910390f35b34801561063057600080fd5b5061064b600480360381019061064691906123b6565b6114a5565b6040516106589190612974565b60405180910390f35b34801561066d57600080fd5b5061068860048036038101906106839190612389565b611539565b005b34801561069657600080fd5b5061069f611631565b6040516106ac9190612ab1565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061071057506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107405750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60606002805461075690612d81565b80601f016020809104026020016040519081016040528092919081815260200182805461078290612d81565b80156107cf5780601f106107a4576101008083540402835291602001916107cf565b820191906000526020600020905b8154815290600101906020018083116107b257829003601f168201915b5050505050905090565b60006107e482611637565b61081a576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061086082611696565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156108c8576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108e7611764565b73ffffffffffffffffffffffffffffffffffffffff161461094a576109138161090e611764565b6114a5565b610949576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000610a0661176c565b6001546000540303905090565b610a1e838383611771565b505050565b600d5481565b610a31611b1b565b73ffffffffffffffffffffffffffffffffffffffff16610a4f610e05565b73ffffffffffffffffffffffffffffffffffffffff1614610aa5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9c90612a11565b60405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff1647604051610acb906128f8565b60006040518083038185875af1925050503d8060008114610b08576040519150601f19603f3d011682016040523d82523d6000602084013e610b0d565b606091505b5050905080610b51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4890612a71565b60405180910390fd5b50565b610b6f8383836040518060200160405280600081525061139d565b505050565b610b7c611b1b565b73ffffffffffffffffffffffffffffffffffffffff16610b9a610e05565b73ffffffffffffffffffffffffffffffffffffffff1614610bf0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610be790612a11565b60405180910390fd5b8060099080519060200190610c0692919061219d565b5050565b6000610c1582611696565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610c84576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b610cdd611b1b565b73ffffffffffffffffffffffffffffffffffffffff16610cfb610e05565b73ffffffffffffffffffffffffffffffffffffffff1614610d51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4890612a11565b60405180910390fd5b610d5b6000611b23565b565b610d65611b1b565b73ffffffffffffffffffffffffffffffffffffffff16610d83610e05565b73ffffffffffffffffffffffffffffffffffffffff1614610dd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd090612a11565b60405180910390fd5b600f60009054906101000a900460ff1615600f60006101000a81548160ff021916908315150217905550565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610e37611b1b565b73ffffffffffffffffffffffffffffffffffffffff16610e55610e05565b73ffffffffffffffffffffffffffffffffffffffff1614610eab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea290612a11565b60405180910390fd5b80600a8190555050565b610ebd611b1b565b73ffffffffffffffffffffffffffffffffffffffff16610edb610e05565b73ffffffffffffffffffffffffffffffffffffffff1614610f31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2890612a11565b60405180910390fd5b80600d8190555050565b606060038054610f4a90612d81565b80601f0160208091040260200160405190810160405280929190818152602001828054610f7690612d81565b8015610fc35780601f10610f9857610100808354040283529160200191610fc3565b820191906000526020600020905b815481529060010190602001808311610fa657829003601f168201915b5050505050905090565b600a5481565b6000600a54905060006001600d54610feb9190612bb6565b83610ff46109fc565b610ffe9190612bb6565b1080156110575750600c5483601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546110549190612bb6565b11155b9050801561106457600091505b81836110709190612c3d565b3410156110b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a990612a51565b60405180910390fd5b6001600e546110c19190612bb6565b836110ca6109fc565b6110d49190612bb6565b10611114576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110b906129d1565b60405180910390fd5b600f60009054906101000a900460ff16611163576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115a906129b1565b60405180910390fd5b6001600b546111729190612bb6565b83106111b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111aa90612a91565b60405180910390fd5b80156112105782601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546112089190612bb6565b925050819055505b61121a3384611be9565b505050565b611227611764565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561128c576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611299611764565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611346611764565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161138b9190612974565b60405180910390a35050565b600c5481565b6113a8848484611771565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461140a576113d384848484611c07565b611409576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b606061141b82611637565b61145a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145190612a31565b60405180910390fd5b600961146583611d67565b6040516020016114769291906128c9565b6040516020818303038152906040529050919050565b600f60009054906101000a900460ff1681565b600e5481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611541611b1b565b73ffffffffffffffffffffffffffffffffffffffff1661155f610e05565b73ffffffffffffffffffffffffffffffffffffffff16146115b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ac90612a11565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611625576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161c906129f1565b60405180910390fd5b61162e81611b23565b50565b600b5481565b60008161164261176c565b11158015611651575060005482105b801561168f575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600080829050806116a561176c565b1161172d5760005481101561172c5760006004600083815260200190815260200160002054905060007c01000000000000000000000000000000000000000000000000000000008216141561172a575b60008114156117205760046000836001900393508381526020019081526020016000205490506116f5565b809250505061175f565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b600090565b600061177c82611696565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146117e3576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16611804611764565b73ffffffffffffffffffffffffffffffffffffffff16148061183357506118328561182d611764565b6114a5565b5b806118785750611841611764565b73ffffffffffffffffffffffffffffffffffffffff16611860846107d9565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806118b1576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611918576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6119258585856001611ec8565b6006600084815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055507c020000000000000000000000000000000000000000000000000000000060a042901b611a2286611ece565b1717600460008581526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000083161415611aac576000600184019050600060046000838152602001908152602001600020541415611aaa576000548114611aa9578260046000838152602001908152602001600020819055505b5b505b828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611b148585856001611ed8565b5050505050565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611c03828260405180602001604052806000815250611ede565b5050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611c2d611764565b8786866040518563ffffffff1660e01b8152600401611c4f9493929190612928565b602060405180830381600087803b158015611c6957600080fd5b505af1925050508015611c9a57506040513d601f19601f82011682018060405250810190611c979190612579565b60015b611d14573d8060008114611cca576040519150601f19603f3d011682016040523d82523d6000602084013e611ccf565b606091505b50600081511415611d0c576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606000821415611daf576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611ec3565b600082905060005b60008214611de1578080611dca90612de4565b915050600a82611dda9190612c0c565b9150611db7565b60008167ffffffffffffffff811115611dfd57611dfc612f1a565b5b6040519080825280601f01601f191660200182016040528015611e2f5781602001600182028036833780820191505090505b5090505b60008514611ebc57600182611e489190612c97565b9150600a85611e579190612e2d565b6030611e639190612bb6565b60f81b818381518110611e7957611e78612eeb565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611eb59190612c0c565b9450611e33565b8093505050505b919050565b50505050565b6000819050919050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611f4b576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000831415611f86576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611f936000858386611ec8565b600160406001901b178302600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e1611ff860018514612193565b901b60a042901b61200886611ece565b1717600460008381526020019081526020016000208190555060008190506000848201905060008673ffffffffffffffffffffffffffffffffffffffff163b1461210c575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46120bc6000878480600101955087611c07565b6120f2576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821061204d57826000541461210757600080fd5b612177565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821061210d575b81600081905550505061218d6000858386611ed8565b50505050565b6000819050919050565b8280546121a990612d81565b90600052602060002090601f0160209004810192826121cb5760008555612212565b82601f106121e457805160ff1916838001178555612212565b82800160010185558215612212579182015b828111156122115782518255916020019190600101906121f6565b5b50905061221f9190612223565b5090565b5b8082111561223c576000816000905550600101612224565b5090565b600061225361224e84612af1565b612acc565b90508281526020810184848401111561226f5761226e612f4e565b5b61227a848285612d3f565b509392505050565b600061229561229084612b22565b612acc565b9050828152602081018484840111156122b1576122b0612f4e565b5b6122bc848285612d3f565b509392505050565b6000813590506122d38161312e565b92915050565b6000813590506122e881613145565b92915050565b6000813590506122fd8161315c565b92915050565b6000815190506123128161315c565b92915050565b600082601f83011261232d5761232c612f49565b5b813561233d848260208601612240565b91505092915050565b600082601f83011261235b5761235a612f49565b5b813561236b848260208601612282565b91505092915050565b60008135905061238381613173565b92915050565b60006020828403121561239f5761239e612f58565b5b60006123ad848285016122c4565b91505092915050565b600080604083850312156123cd576123cc612f58565b5b60006123db858286016122c4565b92505060206123ec858286016122c4565b9150509250929050565b60008060006060848603121561240f5761240e612f58565b5b600061241d868287016122c4565b935050602061242e868287016122c4565b925050604061243f86828701612374565b9150509250925092565b6000806000806080858703121561246357612462612f58565b5b6000612471878288016122c4565b9450506020612482878288016122c4565b935050604061249387828801612374565b925050606085013567ffffffffffffffff8111156124b4576124b3612f53565b5b6124c087828801612318565b91505092959194509250565b600080604083850312156124e3576124e2612f58565b5b60006124f1858286016122c4565b9250506020612502858286016122d9565b9150509250929050565b6000806040838503121561252357612522612f58565b5b6000612531858286016122c4565b925050602061254285828601612374565b9150509250929050565b60006020828403121561256257612561612f58565b5b6000612570848285016122ee565b91505092915050565b60006020828403121561258f5761258e612f58565b5b600061259d84828501612303565b91505092915050565b6000602082840312156125bc576125bb612f58565b5b600082013567ffffffffffffffff8111156125da576125d9612f53565b5b6125e684828501612346565b91505092915050565b60006020828403121561260557612604612f58565b5b600061261384828501612374565b91505092915050565b61262581612ccb565b82525050565b61263481612cdd565b82525050565b600061264582612b68565b61264f8185612b7e565b935061265f818560208601612d4e565b61266881612f5d565b840191505092915050565b600061267e82612b73565b6126888185612b9a565b9350612698818560208601612d4e565b6126a181612f5d565b840191505092915050565b60006126b782612b73565b6126c18185612bab565b93506126d1818560208601612d4e565b80840191505092915050565b600081546126ea81612d81565b6126f48186612bab565b9450600182166000811461270f576001811461272057612753565b60ff19831686528186019350612753565b61272985612b53565b60005b8381101561274b5781548189015260018201915060208101905061272c565b838801955050505b50505092915050565b6000612769601783612b9a565b915061277482612f6e565b602082019050919050565b600061278c600783612b9a565b915061279782612f97565b602082019050919050565b60006127af602683612b9a565b91506127ba82612fc0565b604082019050919050565b60006127d2600583612bab565b91506127dd8261300f565b600582019050919050565b60006127f5602083612b9a565b915061280082613038565b602082019050919050565b6000612818602f83612b9a565b915061282382613061565b604082019050919050565b600061283b601d83612b9a565b9150612846826130b0565b602082019050919050565b600061285e600083612b8f565b9150612869826130d9565b600082019050919050565b6000612881601083612b9a565b915061288c826130dc565b602082019050919050565b60006128a4601383612b9a565b91506128af82613105565b602082019050919050565b6128c381612d35565b82525050565b60006128d582856126dd565b91506128e182846126ac565b91506128ec826127c5565b91508190509392505050565b600061290382612851565b9150819050919050565b6000602082019050612922600083018461261c565b92915050565b600060808201905061293d600083018761261c565b61294a602083018661261c565b61295760408301856128ba565b8181036060830152612969818461263a565b905095945050505050565b6000602082019050612989600083018461262b565b92915050565b600060208201905081810360008301526129a98184612673565b905092915050565b600060208201905081810360008301526129ca8161275c565b9050919050565b600060208201905081810360008301526129ea8161277f565b9050919050565b60006020820190508181036000830152612a0a816127a2565b9050919050565b60006020820190508181036000830152612a2a816127e8565b9050919050565b60006020820190508181036000830152612a4a8161280b565b9050919050565b60006020820190508181036000830152612a6a8161282e565b9050919050565b60006020820190508181036000830152612a8a81612874565b9050919050565b60006020820190508181036000830152612aaa81612897565b9050919050565b6000602082019050612ac660008301846128ba565b92915050565b6000612ad6612ae7565b9050612ae28282612db3565b919050565b6000604051905090565b600067ffffffffffffffff821115612b0c57612b0b612f1a565b5b612b1582612f5d565b9050602081019050919050565b600067ffffffffffffffff821115612b3d57612b3c612f1a565b5b612b4682612f5d565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000612bc182612d35565b9150612bcc83612d35565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612c0157612c00612e5e565b5b828201905092915050565b6000612c1782612d35565b9150612c2283612d35565b925082612c3257612c31612e8d565b5b828204905092915050565b6000612c4882612d35565b9150612c5383612d35565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612c8c57612c8b612e5e565b5b828202905092915050565b6000612ca282612d35565b9150612cad83612d35565b925082821015612cc057612cbf612e5e565b5b828203905092915050565b6000612cd682612d15565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015612d6c578082015181840152602081019050612d51565b83811115612d7b576000848401525b50505050565b60006002820490506001821680612d9957607f821691505b60208210811415612dad57612dac612ebc565b5b50919050565b612dbc82612f5d565b810181811067ffffffffffffffff82111715612ddb57612dda612f1a565b5b80604052505050565b6000612def82612d35565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612e2257612e21612e5e565b5b600182019050919050565b6000612e3882612d35565b9150612e4383612d35565b925082612e5357612e52612e8d565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4d696e74696e67206973206e6f74206c69766520796574000000000000000000600082015250565b7f4e6f206d6f726500000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f506c656173652073656e642074686520657861637420616d6f756e742e000000600082015250565b50565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b7f4d61782070657220545820726561636865642e00000000000000000000000000600082015250565b61313781612ccb565b811461314257600080fd5b50565b61314e81612cdd565b811461315957600080fd5b50565b61316581612ce9565b811461317057600080fd5b50565b61317c81612d35565b811461318757600080fd5b5056fea2646970667358221220d75059766c8cc27403a79e85a216e482bb95bdcd9eacbeb5c18554975f46b08764736f6c63430008070033
Deployed Bytecode Sourcemap
76557:2366:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13079:615;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;18092:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;20160:204;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;19620:474;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;12133:315;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;21046:170;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;76787:31;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;78714:206;;;;;;;;;;;;;:::i;:::-;;21287:185;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;78323:88;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;17881:144;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;13758:224;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;43600:103;;;;;;;;;;;;;:::i;:::-;;78622:84;;;;;;;;;;;;;:::i;:::-;;42949:87;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;78522:92;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;78419:95;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;18261:104;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;76663:34;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;77156:685;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;20436:308;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;76743:35;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;21543:396;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;77965:350;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;76867:31;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;76827;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;20815:164;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;43858:201;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;76706:28;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;13079:615;13164:4;13479:10;13464:25;;:11;:25;;;;:102;;;;13556:10;13541:25;;:11;:25;;;;13464:102;:179;;;;13633:10;13618:25;;:11;:25;;;;13464:179;13444:199;;13079:615;;;:::o;18092:100::-;18146:13;18179:5;18172:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18092:100;:::o;20160:204::-;20228:7;20253:16;20261:7;20253;:16::i;:::-;20248:64;;20278:34;;;;;;;;;;;;;;20248:64;20332:15;:24;20348:7;20332:24;;;;;;;;;;;;;;;;;;;;;20325:31;;20160:204;;;:::o;19620:474::-;19693:13;19725:27;19744:7;19725:18;:27::i;:::-;19693:61;;19775:5;19769:11;;:2;:11;;;19765:48;;;19789:24;;;;;;;;;;;;;;19765:48;19853:5;19830:28;;:19;:17;:19::i;:::-;:28;;;19826:175;;19878:44;19895:5;19902:19;:17;:19::i;:::-;19878:16;:44::i;:::-;19873:128;;19950:35;;;;;;;;;;;;;;19873:128;19826:175;20040:2;20013:15;:24;20029:7;20013:24;;;;;;;;;;;;:29;;;;;;;;;;;;;;;;;;20078:7;20074:2;20058:28;;20067:5;20058:28;;;;;;;;;;;;19682:412;19620:474;;:::o;12133:315::-;12186:7;12414:15;:13;:15::i;:::-;12399:12;;12383:13;;:28;:46;12376:53;;12133:315;:::o;21046:170::-;21180:28;21190:4;21196:2;21200:7;21180:9;:28::i;:::-;21046:170;;;:::o;76787:31::-;;;;:::o;78714:206::-;43180:12;:10;:12::i;:::-;43169:23;;:7;:5;:7::i;:::-;:23;;;43161:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;78765:12:::1;78791:10;78783:24;;78829:21;78783:82;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;78764:101;;;78884:7;78876:36;;;;;;;;;;;;:::i;:::-;;;;;;;;;78753:167;78714:206::o:0;21287:185::-;21425:39;21442:4;21448:2;21452:7;21425:39;;;;;;;;;;;;:16;:39::i;:::-;21287:185;;;:::o;78323:88::-;43180:12;:10;:12::i;:::-;43169:23;;:7;:5;:7::i;:::-;:23;;;43161:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;78400:3:::1;78390:7;:13;;;;;;;;;;;;:::i;:::-;;78323:88:::0;:::o;17881:144::-;17945:7;17988:27;18007:7;17988:18;:27::i;:::-;17965:52;;17881:144;;;:::o;13758:224::-;13822:7;13863:1;13846:19;;:5;:19;;;13842:60;;;13874:28;;;;;;;;;;;;;;13842:60;9097:13;13920:18;:25;13939:5;13920:25;;;;;;;;;;;;;;;;:54;13913:61;;13758:224;;;:::o;43600:103::-;43180:12;:10;:12::i;:::-;43169:23;;:7;:5;:7::i;:::-;:23;;;43161:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;43665:30:::1;43692:1;43665:18;:30::i;:::-;43600:103::o:0;78622:84::-;43180:12;:10;:12::i;:::-;43169:23;;:7;:5;:7::i;:::-;:23;;;43161:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;78687:11:::1;;;;;;;;;;;78686:12;78672:11;;:26;;;;;;;;;;;;;;;;;;78622:84::o:0;42949:87::-;42995:7;43022:6;;;;;;;;;;;43015:13;;42949:87;:::o;78522:92::-;43180:12;:10;:12::i;:::-;43169:23;;:7;:5;:7::i;:::-;:23;;;43161:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;78597:9:::1;78589:5;:17;;;;78522:92:::0;:::o;78419:95::-;43180:12;:10;:12::i;:::-;43169:23;;:7;:5;:7::i;:::-;:23;;;43161:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;78500:6:::1;78488:9;:18;;;;78419:95:::0;:::o;18261:104::-;18317:13;18350:7;18343:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18261:104;:::o;76663:34::-;;;;:::o;77156:685::-;77213:12;77228:5;;77213:20;;77244:11;77296:1;77284:9;;:13;;;;:::i;:::-;77276:5;77260:13;:11;:13::i;:::-;:21;;;;:::i;:::-;:37;77259:115;;;;;77357:16;;77348:5;77316:17;:29;77334:10;77316:29;;;;;;;;;;;;;;;;:37;;;;:::i;:::-;:57;;77259:115;77244:131;;77392:6;77388:47;;;77422:1;77415:8;;77388:47;77476:4;77468:5;:12;;;;:::i;:::-;77455:9;:25;;77447:67;;;;;;;;;;;;:::i;:::-;;;;;;;;;77569:1;77557:9;;:13;;;;:::i;:::-;77549:5;77533:13;:11;:13::i;:::-;:21;;;;:::i;:::-;:37;77525:57;;;;;;;;;;;;:::i;:::-;;;;;;;;;77601:11;;;;;;;;;;;77593:47;;;;;;;;;;;;:::i;:::-;;;;;;;;;77678:1;77667:8;;:12;;;;:::i;:::-;77659:5;:20;77651:52;;;;;;;;;;;;:::i;:::-;;;;;;;;;77720:6;77716:77;;;77776:5;77743:17;:29;77761:10;77743:29;;;;;;;;;;;;;;;;:38;;;;;;;:::i;:::-;;;;;;;;77716:77;77805:28;77815:10;77827:5;77805:9;:28::i;:::-;77202:639;;77156:685;:::o;20436:308::-;20547:19;:17;:19::i;:::-;20535:31;;:8;:31;;;20531:61;;;20575:17;;;;;;;;;;;;;;20531:61;20657:8;20605:18;:39;20624:19;:17;:19::i;:::-;20605:39;;;;;;;;;;;;;;;:49;20645:8;20605:49;;;;;;;;;;;;;;;;:60;;;;;;;;;;;;;;;;;;20717:8;20681:55;;20696:19;:17;:19::i;:::-;20681:55;;;20727:8;20681:55;;;;;;:::i;:::-;;;;;;;;20436:308;;:::o;76743:35::-;;;;:::o;21543:396::-;21710:28;21720:4;21726:2;21730:7;21710:9;:28::i;:::-;21771:1;21753:2;:14;;;:19;21749:183;;21792:56;21823:4;21829:2;21833:7;21842:5;21792:30;:56::i;:::-;21787:145;;21876:40;;;;;;;;;;;;;;21787:145;21749:183;21543:396;;;;:::o;77965:350::-;78083:13;78136:16;78144:7;78136;:16::i;:::-;78114:113;;;;;;;;;;;;:::i;:::-;;;;;;;;;78269:7;78278:18;:7;:16;:18::i;:::-;78252:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;78238:69;;77965:350;;;:::o;76867:31::-;;;;;;;;;;;;;:::o;76827:::-;;;;:::o;20815:164::-;20912:4;20936:18;:25;20955:5;20936:25;;;;;;;;;;;;;;;:35;20962:8;20936:35;;;;;;;;;;;;;;;;;;;;;;;;;20929:42;;20815:164;;;;:::o;43858:201::-;43180:12;:10;:12::i;:::-;43169:23;;:7;:5;:7::i;:::-;:23;;;43161:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;43967:1:::1;43947:22;;:8;:22;;;;43939:73;;;;;;;;;;;;:::i;:::-;;;;;;;;;44023:28;44042:8;44023:18;:28::i;:::-;43858:201:::0;:::o;76706:28::-;;;;:::o;22194:273::-;22251:4;22307:7;22288:15;:13;:15::i;:::-;:26;;:66;;;;;22341:13;;22331:7;:23;22288:66;:152;;;;;22439:1;9867:8;22392:17;:26;22410:7;22392:26;;;;;;;;;;;;:43;:48;22288:152;22268:172;;22194:273;;;:::o;15396:1129::-;15463:7;15483:12;15498:7;15483:22;;15566:4;15547:15;:13;:15::i;:::-;:23;15543:915;;15600:13;;15593:4;:20;15589:869;;;15638:14;15655:17;:23;15673:4;15655:23;;;;;;;;;;;;15638:40;;15771:1;9867:8;15744:6;:23;:28;15740:699;;;16263:113;16280:1;16270:6;:11;16263:113;;;16323:17;:25;16341:6;;;;;;;16323:25;;;;;;;;;;;;16314:34;;16263:113;;;16409:6;16402:13;;;;;;15740:699;15615:843;15589:869;15543:915;16486:31;;;;;;;;;;;;;;15396:1129;;;;:::o;36176:105::-;36236:7;36263:10;36256:17;;36176:105;:::o;11656:92::-;11712:7;11656:92;:::o;27433:2515::-;27548:27;27578;27597:7;27578:18;:27::i;:::-;27548:57;;27663:4;27622:45;;27638:19;27622:45;;;27618:86;;27676:28;;;;;;;;;;;;;;27618:86;27717:22;27766:4;27743:27;;:19;:17;:19::i;:::-;:27;;;:87;;;;27787:43;27804:4;27810:19;:17;:19::i;:::-;27787:16;:43::i;:::-;27743:87;:147;;;;27871:19;:17;:19::i;:::-;27847:43;;:20;27859:7;27847:11;:20::i;:::-;:43;;;27743:147;27717:174;;27909:17;27904:66;;27935:35;;;;;;;;;;;;;;27904:66;27999:1;27985:16;;:2;:16;;;27981:52;;;28010:23;;;;;;;;;;;;;;27981:52;28046:43;28068:4;28074:2;28078:7;28087:1;28046:21;:43::i;:::-;28162:15;:24;28178:7;28162:24;;;;;;;;;;;;28155:31;;;;;;;;;;;28554:18;:24;28573:4;28554:24;;;;;;;;;;;;;;;;28552:26;;;;;;;;;;;;28623:18;:22;28642:2;28623:22;;;;;;;;;;;;;;;;28621:24;;;;;;;;;;;10149:8;9751:3;29004:15;:41;;28962:21;28980:2;28962:17;:21::i;:::-;:84;:128;28916:17;:26;28934:7;28916:26;;;;;;;;;;;:174;;;;29260:1;10149:8;29210:19;:46;:51;29206:626;;;29282:19;29314:1;29304:7;:11;29282:33;;29471:1;29437:17;:30;29455:11;29437:30;;;;;;;;;;;;:35;29433:384;;;29575:13;;29560:11;:28;29556:242;;29755:19;29722:17;:30;29740:11;29722:30;;;;;;;;;;;:52;;;;29556:242;29433:384;29263:569;29206:626;29879:7;29875:2;29860:27;;29869:4;29860:27;;;;;;;;;;;;29898:42;29919:4;29925:2;29929:7;29938:1;29898:20;:42::i;:::-;27537:2411;;27433:2515;;;:::o;41620:98::-;41673:7;41700:10;41693:17;;41620:98;:::o;44219:191::-;44293:16;44312:6;;;;;;;;;;;44293:25;;44338:8;44329:6;;:17;;;;;;;;;;;;;;;;;;44393:8;44362:40;;44383:8;44362:40;;;;;;;;;;;;44282:128;44219:191;:::o;22551:104::-;22620:27;22630:2;22634:8;22620:27;;;;;;;;;;;;:9;:27::i;:::-;22551:104;;:::o;33645:716::-;33808:4;33854:2;33829:45;;;33875:19;:17;:19::i;:::-;33896:4;33902:7;33911:5;33829:88;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;33825:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34129:1;34112:6;:13;:18;34108:235;;;34158:40;;;;;;;;;;;;;;34108:235;34301:6;34295:13;34286:6;34282:2;34278:15;34271:38;33825:529;33998:54;;;33988:64;;;:6;:64;;;;33981:71;;;33645:716;;;;;;:::o;38821:723::-;38877:13;39107:1;39098:5;:10;39094:53;;;39125:10;;;;;;;;;;;;;;;;;;;;;39094:53;39157:12;39172:5;39157:20;;39188:14;39213:78;39228:1;39220:4;:9;39213:78;;39246:8;;;;;:::i;:::-;;;;39277:2;39269:10;;;;;:::i;:::-;;;39213:78;;;39301:19;39333:6;39323:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39301:39;;39351:154;39367:1;39358:5;:10;39351:154;;39395:1;39385:11;;;;;:::i;:::-;;;39462:2;39454:5;:10;;;;:::i;:::-;39441:2;:24;;;;:::i;:::-;39428:39;;39411:6;39418;39411:14;;;;;;;;:::i;:::-;;;;;:56;;;;;;;;;;;39491:2;39482:11;;;;;:::i;:::-;;;39351:154;;;39529:6;39515:21;;;;;38821:723;;;;:::o;35009:159::-;;;;;:::o;19181:148::-;19245:14;19306:5;19296:15;;19181:148;;;:::o;35827:158::-;;;;;:::o;23028:2236::-;23151:20;23174:13;;23151:36;;23216:1;23202:16;;:2;:16;;;23198:48;;;23227:19;;;;;;;;;;;;;;23198:48;23273:1;23261:8;:13;23257:44;;;23283:18;;;;;;;;;;;;;;23257:44;23314:61;23344:1;23348:2;23352:12;23366:8;23314:21;:61::i;:::-;23918:1;9234:2;23889:1;:25;;23888:31;23876:8;:44;23850:18;:22;23869:2;23850:22;;;;;;;;;;;;;;;;:70;;;;;;;;;;;10014:3;24319:29;24346:1;24334:8;:13;24319:14;:29::i;:::-;:56;;9751:3;24256:15;:41;;24214:21;24232:2;24214:17;:21::i;:::-;:84;:162;24163:17;:31;24181:12;24163:31;;;;;;;;;;;:213;;;;24393:20;24416:12;24393:35;;24443:11;24472:8;24457:12;:23;24443:37;;24519:1;24501:2;:14;;;:19;24497:635;;24541:313;24597:12;24593:2;24572:38;;24589:1;24572:38;;;;;;;;;;;;24638:69;24677:1;24681:2;24685:14;;;;;;24701:5;24638:30;:69::i;:::-;24633:174;;24743:40;;;;;;;;;;;;;;24633:174;24849:3;24834:12;:18;24541:313;;24935:12;24918:13;;:29;24914:43;;24949:8;;;24914:43;24497:635;;;24998:119;25054:14;;;;;;25050:2;25029:40;;25046:1;25029:40;;;;;;;;;;;;25112:3;25097:12;:18;24998:119;;24497:635;25162:12;25146:13;:28;;;;23627:1559;;25196:60;25225:1;25229:2;25233:12;25247:8;25196:20;:60::i;:::-;23140:2124;23028:2236;;;:::o;19416:142::-;19474:14;19535:5;19525:15;;19416:142;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;7:410:1:-;84:5;109:65;125:48;166:6;125:48;:::i;:::-;109:65;:::i;:::-;100:74;;197:6;190:5;183:21;235:4;228:5;224:16;273:3;264:6;259:3;255:16;252:25;249:112;;;280:79;;:::i;:::-;249:112;370:41;404:6;399:3;394;370:41;:::i;:::-;90:327;7:410;;;;;:::o;423:412::-;501:5;526:66;542:49;584:6;542:49;:::i;:::-;526:66;:::i;:::-;517:75;;615:6;608:5;601:21;653:4;646:5;642:16;691:3;682:6;677:3;673:16;670:25;667:112;;;698:79;;:::i;:::-;667:112;788:41;822:6;817:3;812;788:41;:::i;:::-;507:328;423:412;;;;;:::o;841:139::-;887:5;925:6;912:20;903:29;;941:33;968:5;941:33;:::i;:::-;841:139;;;;:::o;986:133::-;1029:5;1067:6;1054:20;1045:29;;1083:30;1107:5;1083:30;:::i;:::-;986:133;;;;:::o;1125:137::-;1170:5;1208:6;1195:20;1186:29;;1224:32;1250:5;1224:32;:::i;:::-;1125:137;;;;:::o;1268:141::-;1324:5;1355:6;1349:13;1340:22;;1371:32;1397:5;1371:32;:::i;:::-;1268:141;;;;:::o;1428:338::-;1483:5;1532:3;1525:4;1517:6;1513:17;1509:27;1499:122;;1540:79;;:::i;:::-;1499:122;1657:6;1644:20;1682:78;1756:3;1748:6;1741:4;1733:6;1729:17;1682:78;:::i;:::-;1673:87;;1489:277;1428:338;;;;:::o;1786:340::-;1842:5;1891:3;1884:4;1876:6;1872:17;1868:27;1858:122;;1899:79;;:::i;:::-;1858:122;2016:6;2003:20;2041:79;2116:3;2108:6;2101:4;2093:6;2089:17;2041:79;:::i;:::-;2032:88;;1848:278;1786:340;;;;:::o;2132:139::-;2178:5;2216:6;2203:20;2194:29;;2232:33;2259:5;2232:33;:::i;:::-;2132:139;;;;:::o;2277:329::-;2336:6;2385:2;2373:9;2364:7;2360:23;2356:32;2353:119;;;2391:79;;:::i;:::-;2353:119;2511:1;2536:53;2581:7;2572:6;2561:9;2557:22;2536:53;:::i;:::-;2526:63;;2482:117;2277:329;;;;:::o;2612:474::-;2680:6;2688;2737:2;2725:9;2716:7;2712:23;2708:32;2705:119;;;2743:79;;:::i;:::-;2705:119;2863:1;2888:53;2933:7;2924:6;2913:9;2909:22;2888:53;:::i;:::-;2878:63;;2834:117;2990:2;3016:53;3061:7;3052:6;3041:9;3037:22;3016:53;:::i;:::-;3006:63;;2961:118;2612:474;;;;;:::o;3092:619::-;3169:6;3177;3185;3234:2;3222:9;3213:7;3209:23;3205:32;3202:119;;;3240:79;;:::i;:::-;3202:119;3360:1;3385:53;3430:7;3421:6;3410:9;3406:22;3385:53;:::i;:::-;3375:63;;3331:117;3487:2;3513:53;3558:7;3549:6;3538:9;3534:22;3513:53;:::i;:::-;3503:63;;3458:118;3615:2;3641:53;3686:7;3677:6;3666:9;3662:22;3641:53;:::i;:::-;3631:63;;3586:118;3092:619;;;;;:::o;3717:943::-;3812:6;3820;3828;3836;3885:3;3873:9;3864:7;3860:23;3856:33;3853:120;;;3892:79;;:::i;:::-;3853:120;4012:1;4037:53;4082:7;4073:6;4062:9;4058:22;4037:53;:::i;:::-;4027:63;;3983:117;4139:2;4165:53;4210:7;4201:6;4190:9;4186:22;4165:53;:::i;:::-;4155:63;;4110:118;4267:2;4293:53;4338:7;4329:6;4318:9;4314:22;4293:53;:::i;:::-;4283:63;;4238:118;4423:2;4412:9;4408:18;4395:32;4454:18;4446:6;4443:30;4440:117;;;4476:79;;:::i;:::-;4440:117;4581:62;4635:7;4626:6;4615:9;4611:22;4581:62;:::i;:::-;4571:72;;4366:287;3717:943;;;;;;;:::o;4666:468::-;4731:6;4739;4788:2;4776:9;4767:7;4763:23;4759:32;4756:119;;;4794:79;;:::i;:::-;4756:119;4914:1;4939:53;4984:7;4975:6;4964:9;4960:22;4939:53;:::i;:::-;4929:63;;4885:117;5041:2;5067:50;5109:7;5100:6;5089:9;5085:22;5067:50;:::i;:::-;5057:60;;5012:115;4666:468;;;;;:::o;5140:474::-;5208:6;5216;5265:2;5253:9;5244:7;5240:23;5236:32;5233:119;;;5271:79;;:::i;:::-;5233:119;5391:1;5416:53;5461:7;5452:6;5441:9;5437:22;5416:53;:::i;:::-;5406:63;;5362:117;5518:2;5544:53;5589:7;5580:6;5569:9;5565:22;5544:53;:::i;:::-;5534:63;;5489:118;5140:474;;;;;:::o;5620:327::-;5678:6;5727:2;5715:9;5706:7;5702:23;5698:32;5695:119;;;5733:79;;:::i;:::-;5695:119;5853:1;5878:52;5922:7;5913:6;5902:9;5898:22;5878:52;:::i;:::-;5868:62;;5824:116;5620:327;;;;:::o;5953:349::-;6022:6;6071:2;6059:9;6050:7;6046:23;6042:32;6039:119;;;6077:79;;:::i;:::-;6039:119;6197:1;6222:63;6277:7;6268:6;6257:9;6253:22;6222:63;:::i;:::-;6212:73;;6168:127;5953:349;;;;:::o;6308:509::-;6377:6;6426:2;6414:9;6405:7;6401:23;6397:32;6394:119;;;6432:79;;:::i;:::-;6394:119;6580:1;6569:9;6565:17;6552:31;6610:18;6602:6;6599:30;6596:117;;;6632:79;;:::i;:::-;6596:117;6737:63;6792:7;6783:6;6772:9;6768:22;6737:63;:::i;:::-;6727:73;;6523:287;6308:509;;;;:::o;6823:329::-;6882:6;6931:2;6919:9;6910:7;6906:23;6902:32;6899:119;;;6937:79;;:::i;:::-;6899:119;7057:1;7082:53;7127:7;7118:6;7107:9;7103:22;7082:53;:::i;:::-;7072:63;;7028:117;6823:329;;;;:::o;7158:118::-;7245:24;7263:5;7245:24;:::i;:::-;7240:3;7233:37;7158:118;;:::o;7282:109::-;7363:21;7378:5;7363:21;:::i;:::-;7358:3;7351:34;7282:109;;:::o;7397:360::-;7483:3;7511:38;7543:5;7511:38;:::i;:::-;7565:70;7628:6;7623:3;7565:70;:::i;:::-;7558:77;;7644:52;7689:6;7684:3;7677:4;7670:5;7666:16;7644:52;:::i;:::-;7721:29;7743:6;7721:29;:::i;:::-;7716:3;7712:39;7705:46;;7487:270;7397:360;;;;:::o;7763:364::-;7851:3;7879:39;7912:5;7879:39;:::i;:::-;7934:71;7998:6;7993:3;7934:71;:::i;:::-;7927:78;;8014:52;8059:6;8054:3;8047:4;8040:5;8036:16;8014:52;:::i;:::-;8091:29;8113:6;8091:29;:::i;:::-;8086:3;8082:39;8075:46;;7855:272;7763:364;;;;:::o;8133:377::-;8239:3;8267:39;8300:5;8267:39;:::i;:::-;8322:89;8404:6;8399:3;8322:89;:::i;:::-;8315:96;;8420:52;8465:6;8460:3;8453:4;8446:5;8442:16;8420:52;:::i;:::-;8497:6;8492:3;8488:16;8481:23;;8243:267;8133:377;;;;:::o;8540:845::-;8643:3;8680:5;8674:12;8709:36;8735:9;8709:36;:::i;:::-;8761:89;8843:6;8838:3;8761:89;:::i;:::-;8754:96;;8881:1;8870:9;8866:17;8897:1;8892:137;;;;9043:1;9038:341;;;;8859:520;;8892:137;8976:4;8972:9;8961;8957:25;8952:3;8945:38;9012:6;9007:3;9003:16;8996:23;;8892:137;;9038:341;9105:38;9137:5;9105:38;:::i;:::-;9165:1;9179:154;9193:6;9190:1;9187:13;9179:154;;;9267:7;9261:14;9257:1;9252:3;9248:11;9241:35;9317:1;9308:7;9304:15;9293:26;;9215:4;9212:1;9208:12;9203:17;;9179:154;;;9362:6;9357:3;9353:16;9346:23;;9045:334;;8859:520;;8647:738;;8540:845;;;;:::o;9391:366::-;9533:3;9554:67;9618:2;9613:3;9554:67;:::i;:::-;9547:74;;9630:93;9719:3;9630:93;:::i;:::-;9748:2;9743:3;9739:12;9732:19;;9391:366;;;:::o;9763:365::-;9905:3;9926:66;9990:1;9985:3;9926:66;:::i;:::-;9919:73;;10001:93;10090:3;10001:93;:::i;:::-;10119:2;10114:3;10110:12;10103:19;;9763:365;;;:::o;10134:366::-;10276:3;10297:67;10361:2;10356:3;10297:67;:::i;:::-;10290:74;;10373:93;10462:3;10373:93;:::i;:::-;10491:2;10486:3;10482:12;10475:19;;10134:366;;;:::o;10506:400::-;10666:3;10687:84;10769:1;10764:3;10687:84;:::i;:::-;10680:91;;10780:93;10869:3;10780:93;:::i;:::-;10898:1;10893:3;10889:11;10882:18;;10506:400;;;:::o;10912:366::-;11054:3;11075:67;11139:2;11134:3;11075:67;:::i;:::-;11068:74;;11151:93;11240:3;11151:93;:::i;:::-;11269:2;11264:3;11260:12;11253:19;;10912:366;;;:::o;11284:::-;11426:3;11447:67;11511:2;11506:3;11447:67;:::i;:::-;11440:74;;11523:93;11612:3;11523:93;:::i;:::-;11641:2;11636:3;11632:12;11625:19;;11284:366;;;:::o;11656:::-;11798:3;11819:67;11883:2;11878:3;11819:67;:::i;:::-;11812:74;;11895:93;11984:3;11895:93;:::i;:::-;12013:2;12008:3;12004:12;11997:19;;11656:366;;;:::o;12028:398::-;12187:3;12208:83;12289:1;12284:3;12208:83;:::i;:::-;12201:90;;12300:93;12389:3;12300:93;:::i;:::-;12418:1;12413:3;12409:11;12402:18;;12028:398;;;:::o;12432:366::-;12574:3;12595:67;12659:2;12654:3;12595:67;:::i;:::-;12588:74;;12671:93;12760:3;12671:93;:::i;:::-;12789:2;12784:3;12780:12;12773:19;;12432:366;;;:::o;12804:::-;12946:3;12967:67;13031:2;13026:3;12967:67;:::i;:::-;12960:74;;13043:93;13132:3;13043:93;:::i;:::-;13161:2;13156:3;13152:12;13145:19;;12804:366;;;:::o;13176:118::-;13263:24;13281:5;13263:24;:::i;:::-;13258:3;13251:37;13176:118;;:::o;13300:695::-;13578:3;13600:92;13688:3;13679:6;13600:92;:::i;:::-;13593:99;;13709:95;13800:3;13791:6;13709:95;:::i;:::-;13702:102;;13821:148;13965:3;13821:148;:::i;:::-;13814:155;;13986:3;13979:10;;13300:695;;;;;:::o;14001:379::-;14185:3;14207:147;14350:3;14207:147;:::i;:::-;14200:154;;14371:3;14364:10;;14001:379;;;:::o;14386:222::-;14479:4;14517:2;14506:9;14502:18;14494:26;;14530:71;14598:1;14587:9;14583:17;14574:6;14530:71;:::i;:::-;14386:222;;;;:::o;14614:640::-;14809:4;14847:3;14836:9;14832:19;14824:27;;14861:71;14929:1;14918:9;14914:17;14905:6;14861:71;:::i;:::-;14942:72;15010:2;14999:9;14995:18;14986:6;14942:72;:::i;:::-;15024;15092:2;15081:9;15077:18;15068:6;15024:72;:::i;:::-;15143:9;15137:4;15133:20;15128:2;15117:9;15113:18;15106:48;15171:76;15242:4;15233:6;15171:76;:::i;:::-;15163:84;;14614:640;;;;;;;:::o;15260:210::-;15347:4;15385:2;15374:9;15370:18;15362:26;;15398:65;15460:1;15449:9;15445:17;15436:6;15398:65;:::i;:::-;15260:210;;;;:::o;15476:313::-;15589:4;15627:2;15616:9;15612:18;15604:26;;15676:9;15670:4;15666:20;15662:1;15651:9;15647:17;15640:47;15704:78;15777:4;15768:6;15704:78;:::i;:::-;15696:86;;15476:313;;;;:::o;15795:419::-;15961:4;15999:2;15988:9;15984:18;15976:26;;16048:9;16042:4;16038:20;16034:1;16023:9;16019:17;16012:47;16076:131;16202:4;16076:131;:::i;:::-;16068:139;;15795:419;;;:::o;16220:::-;16386:4;16424:2;16413:9;16409:18;16401:26;;16473:9;16467:4;16463:20;16459:1;16448:9;16444:17;16437:47;16501:131;16627:4;16501:131;:::i;:::-;16493:139;;16220:419;;;:::o;16645:::-;16811:4;16849:2;16838:9;16834:18;16826:26;;16898:9;16892:4;16888:20;16884:1;16873:9;16869:17;16862:47;16926:131;17052:4;16926:131;:::i;:::-;16918:139;;16645:419;;;:::o;17070:::-;17236:4;17274:2;17263:9;17259:18;17251:26;;17323:9;17317:4;17313:20;17309:1;17298:9;17294:17;17287:47;17351:131;17477:4;17351:131;:::i;:::-;17343:139;;17070:419;;;:::o;17495:::-;17661:4;17699:2;17688:9;17684:18;17676:26;;17748:9;17742:4;17738:20;17734:1;17723:9;17719:17;17712:47;17776:131;17902:4;17776:131;:::i;:::-;17768:139;;17495:419;;;:::o;17920:::-;18086:4;18124:2;18113:9;18109:18;18101:26;;18173:9;18167:4;18163:20;18159:1;18148:9;18144:17;18137:47;18201:131;18327:4;18201:131;:::i;:::-;18193:139;;17920:419;;;:::o;18345:::-;18511:4;18549:2;18538:9;18534:18;18526:26;;18598:9;18592:4;18588:20;18584:1;18573:9;18569:17;18562:47;18626:131;18752:4;18626:131;:::i;:::-;18618:139;;18345:419;;;:::o;18770:::-;18936:4;18974:2;18963:9;18959:18;18951:26;;19023:9;19017:4;19013:20;19009:1;18998:9;18994:17;18987:47;19051:131;19177:4;19051:131;:::i;:::-;19043:139;;18770:419;;;:::o;19195:222::-;19288:4;19326:2;19315:9;19311:18;19303:26;;19339:71;19407:1;19396:9;19392:17;19383:6;19339:71;:::i;:::-;19195:222;;;;:::o;19423:129::-;19457:6;19484:20;;:::i;:::-;19474:30;;19513:33;19541:4;19533:6;19513:33;:::i;:::-;19423:129;;;:::o;19558:75::-;19591:6;19624:2;19618:9;19608:19;;19558:75;:::o;19639:307::-;19700:4;19790:18;19782:6;19779:30;19776:56;;;19812:18;;:::i;:::-;19776:56;19850:29;19872:6;19850:29;:::i;:::-;19842:37;;19934:4;19928;19924:15;19916:23;;19639:307;;;:::o;19952:308::-;20014:4;20104:18;20096:6;20093:30;20090:56;;;20126:18;;:::i;:::-;20090:56;20164:29;20186:6;20164:29;:::i;:::-;20156:37;;20248:4;20242;20238:15;20230:23;;19952:308;;;:::o;20266:141::-;20315:4;20338:3;20330:11;;20361:3;20358:1;20351:14;20395:4;20392:1;20382:18;20374:26;;20266:141;;;:::o;20413:98::-;20464:6;20498:5;20492:12;20482:22;;20413:98;;;:::o;20517:99::-;20569:6;20603:5;20597:12;20587:22;;20517:99;;;:::o;20622:168::-;20705:11;20739:6;20734:3;20727:19;20779:4;20774:3;20770:14;20755:29;;20622:168;;;;:::o;20796:147::-;20897:11;20934:3;20919:18;;20796:147;;;;:::o;20949:169::-;21033:11;21067:6;21062:3;21055:19;21107:4;21102:3;21098:14;21083:29;;20949:169;;;;:::o;21124:148::-;21226:11;21263:3;21248:18;;21124:148;;;;:::o;21278:305::-;21318:3;21337:20;21355:1;21337:20;:::i;:::-;21332:25;;21371:20;21389:1;21371:20;:::i;:::-;21366:25;;21525:1;21457:66;21453:74;21450:1;21447:81;21444:107;;;21531:18;;:::i;:::-;21444:107;21575:1;21572;21568:9;21561:16;;21278:305;;;;:::o;21589:185::-;21629:1;21646:20;21664:1;21646:20;:::i;:::-;21641:25;;21680:20;21698:1;21680:20;:::i;:::-;21675:25;;21719:1;21709:35;;21724:18;;:::i;:::-;21709:35;21766:1;21763;21759:9;21754:14;;21589:185;;;;:::o;21780:348::-;21820:7;21843:20;21861:1;21843:20;:::i;:::-;21838:25;;21877:20;21895:1;21877:20;:::i;:::-;21872:25;;22065:1;21997:66;21993:74;21990:1;21987:81;21982:1;21975:9;21968:17;21964:105;21961:131;;;22072:18;;:::i;:::-;21961:131;22120:1;22117;22113:9;22102:20;;21780:348;;;;:::o;22134:191::-;22174:4;22194:20;22212:1;22194:20;:::i;:::-;22189:25;;22228:20;22246:1;22228:20;:::i;:::-;22223:25;;22267:1;22264;22261:8;22258:34;;;22272:18;;:::i;:::-;22258:34;22317:1;22314;22310:9;22302:17;;22134:191;;;;:::o;22331:96::-;22368:7;22397:24;22415:5;22397:24;:::i;:::-;22386:35;;22331:96;;;:::o;22433:90::-;22467:7;22510:5;22503:13;22496:21;22485:32;;22433:90;;;:::o;22529:149::-;22565:7;22605:66;22598:5;22594:78;22583:89;;22529:149;;;:::o;22684:126::-;22721:7;22761:42;22754:5;22750:54;22739:65;;22684:126;;;:::o;22816:77::-;22853:7;22882:5;22871:16;;22816:77;;;:::o;22899:154::-;22983:6;22978:3;22973;22960:30;23045:1;23036:6;23031:3;23027:16;23020:27;22899:154;;;:::o;23059:307::-;23127:1;23137:113;23151:6;23148:1;23145:13;23137:113;;;23236:1;23231:3;23227:11;23221:18;23217:1;23212:3;23208:11;23201:39;23173:2;23170:1;23166:10;23161:15;;23137:113;;;23268:6;23265:1;23262:13;23259:101;;;23348:1;23339:6;23334:3;23330:16;23323:27;23259:101;23108:258;23059:307;;;:::o;23372:320::-;23416:6;23453:1;23447:4;23443:12;23433:22;;23500:1;23494:4;23490:12;23521:18;23511:81;;23577:4;23569:6;23565:17;23555:27;;23511:81;23639:2;23631:6;23628:14;23608:18;23605:38;23602:84;;;23658:18;;:::i;:::-;23602:84;23423:269;23372:320;;;:::o;23698:281::-;23781:27;23803:4;23781:27;:::i;:::-;23773:6;23769:40;23911:6;23899:10;23896:22;23875:18;23863:10;23860:34;23857:62;23854:88;;;23922:18;;:::i;:::-;23854:88;23962:10;23958:2;23951:22;23741:238;23698:281;;:::o;23985:233::-;24024:3;24047:24;24065:5;24047:24;:::i;:::-;24038:33;;24093:66;24086:5;24083:77;24080:103;;;24163:18;;:::i;:::-;24080:103;24210:1;24203:5;24199:13;24192:20;;23985:233;;;:::o;24224:176::-;24256:1;24273:20;24291:1;24273:20;:::i;:::-;24268:25;;24307:20;24325:1;24307:20;:::i;:::-;24302:25;;24346:1;24336:35;;24351:18;;:::i;:::-;24336:35;24392:1;24389;24385:9;24380:14;;24224:176;;;;:::o;24406:180::-;24454:77;24451:1;24444:88;24551:4;24548:1;24541:15;24575:4;24572:1;24565:15;24592:180;24640:77;24637:1;24630:88;24737:4;24734:1;24727:15;24761:4;24758:1;24751:15;24778:180;24826:77;24823:1;24816:88;24923:4;24920:1;24913:15;24947:4;24944:1;24937:15;24964:180;25012:77;25009:1;25002:88;25109:4;25106:1;25099:15;25133:4;25130:1;25123:15;25150:180;25198:77;25195:1;25188:88;25295:4;25292:1;25285:15;25319:4;25316:1;25309:15;25336:117;25445:1;25442;25435:12;25459:117;25568:1;25565;25558:12;25582:117;25691:1;25688;25681:12;25705:117;25814:1;25811;25804:12;25828:102;25869:6;25920:2;25916:7;25911:2;25904:5;25900:14;25896:28;25886:38;;25828:102;;;:::o;25936:173::-;26076:25;26072:1;26064:6;26060:14;26053:49;25936:173;:::o;26115:157::-;26255:9;26251:1;26243:6;26239:14;26232:33;26115:157;:::o;26278:225::-;26418:34;26414:1;26406:6;26402:14;26395:58;26487:8;26482:2;26474:6;26470:15;26463:33;26278:225;:::o;26509:155::-;26649:7;26645:1;26637:6;26633:14;26626:31;26509:155;:::o;26670:182::-;26810:34;26806:1;26798:6;26794:14;26787:58;26670:182;:::o;26858:234::-;26998:34;26994:1;26986:6;26982:14;26975:58;27067:17;27062:2;27054:6;27050:15;27043:42;26858:234;:::o;27098:179::-;27238:31;27234:1;27226:6;27222:14;27215:55;27098:179;:::o;27283:114::-;;:::o;27403:166::-;27543:18;27539:1;27531:6;27527:14;27520:42;27403:166;:::o;27575:169::-;27715:21;27711:1;27703:6;27699:14;27692:45;27575:169;:::o;27750:122::-;27823:24;27841:5;27823:24;:::i;:::-;27816:5;27813:35;27803:63;;27862:1;27859;27852:12;27803:63;27750:122;:::o;27878:116::-;27948:21;27963:5;27948:21;:::i;:::-;27941:5;27938:32;27928:60;;27984:1;27981;27974:12;27928:60;27878:116;:::o;28000:120::-;28072:23;28089:5;28072:23;:::i;:::-;28065:5;28062:34;28052:62;;28110:1;28107;28100:12;28052:62;28000:120;:::o;28126:122::-;28199:24;28217:5;28199:24;:::i;:::-;28192:5;28189:35;28179:63;;28238:1;28235;28228:12;28179:63;28126:122;:::o
Swarm Source
ipfs://d75059766c8cc27403a79e85a216e482bb95bdcd9eacbeb5c18554975f46b087
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.