Overview
TokenID
1479
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
TwoPiece
Compiler Version
v0.8.9+commit.e5eed63a
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-07-06 */ // File: erc721a/contracts/IERC721A.sol // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of an ERC721A compliant contract. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); 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; // Arbitrary data similar to `startTimestamp` that can be set through `_extraData`. uint24 extraData; } /** * @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); // ============================== // IERC2309 // ============================== /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` (inclusive) is transferred from `from` to `to`, * as defined in the ERC2309 standard. See `_mintERC2309` for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } // File: erc721a/contracts/ERC721A.sol // ERC721A Contracts v4.1.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 bit position of `extraData` in packed ownership. uint256 private constant BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with `_mintERC2309`. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to `_mintERC2309` // is required to cause an overflow, which is unrealistic. uint256 private constant MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The 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` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => 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 auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX); _packedAddressData[owner] = packed; } /** * 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; ownership.extraData = uint24(packed >> BITPOS_EXTRA_DATA); } /** * 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 Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, BITMASK_ADDRESS) // `owner | (block.timestamp << BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev 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, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << BITPOS_NEXT_INITIALIZED`. result := shl(BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ownerOf(tokenId); 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-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 { transferFrom(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. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal { 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` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 tokenId = startTokenId; uint256 end = startTokenId + quantity; do { emit Transfer(address(0), to, tokenId++); } while (tokenId < end); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { mapping(uint256 => address) storage tokenApprovalsPtr = _tokenApprovals; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`. assembly { // Compute the slot. mstore(0x00, tokenId) mstore(0x20, tokenApprovalsPtr.slot) approvedAddressSlot := keccak256(0x00, 0x40) // Load the slot's value from storage. approvedAddress := sload(approvedAddressSlot) } } /** * @dev Returns whether the `approvedAddress` is equals to `from` or `msgSender`. */ function _isOwnerOrApproved( address approvedAddress, address from, address msgSender ) private pure returns (bool result) { assembly { // Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean. from := and(from, BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, BITMASK_ADDRESS) // `msgSender == from || msgSender == approvedAddress`. result := or(eq(msgSender, from), eq(msgSender, approvedAddress)) } } /** * @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 transferFrom( address from, address to, uint256 tokenId ) public virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isOwnerOrApproved(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isOwnerOrApproved(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (BITMASK_BURNED | BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @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 Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << BITPOS_EXTRA_DATA; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. * This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. * This includes minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function _toString(uint256 value) internal pure returns (string memory ptr) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128. ptr := add(mload(0x40), 128) // Update the free memory pointer to allocate. mstore(0x40, ptr) // Cache the end of the memory to calculate the length later. let end := ptr // We write the string from the rightmost digit to the leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // Costs a bit more than early returning for the zero case, // but cheaper in terms of deployment and overall runtime costs. for { // Initialize and perform the first pass without check. let temp := value // Move the pointer 1 byte leftwards to point to an empty character slot. ptr := sub(ptr, 1) // Write the character to the pointer. 48 is the ASCII index of '0'. mstore8(ptr, add(48, mod(temp, 10))) temp := div(temp, 10) } temp { // Keep dividing `temp` until zero. temp := div(temp, 10) } { // Body of the for loop. ptr := sub(ptr, 1) mstore8(ptr, add(48, mod(temp, 10))) } let length := sub(end, ptr) // Move the pointer 32 bytes leftwards to make room for the length. ptr := sub(ptr, 32) // Store the length. mstore(ptr, length) } } } // File: erc721a/contracts/extensions/IERC721AQueryable.sol // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of an ERC721AQueryable compliant contract. */ interface IERC721AQueryable is IERC721A { /** * Invalid query range (`start` >= `stop`). */ error InvalidQueryRange(); /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * - `addr` = `address(0)` * - `startTimestamp` = `0` * - `burned` = `false` * * If the `tokenId` is burned: * - `addr` = `<Address of owner before token was burned>` * - `startTimestamp` = `<Timestamp when token was burned>` * - `burned = `true` * * Otherwise: * - `addr` = `<Address of owner>` * - `startTimestamp` = `<Timestamp of start of ownership>` * - `burned = `false` */ function explicitOwnershipOf(uint256 tokenId) external view returns (TokenOwnership memory); /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory); /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start` < `stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view returns (uint256[] memory); /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(totalSupply) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K pfp collections should be fine). */ function tokensOfOwner(address owner) external view returns (uint256[] memory); } // File: erc721a/contracts/extensions/ERC721AQueryable.sol // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @title ERC721A Queryable * @dev ERC721A subclass with convenience query functions. */ abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable { /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * - `addr` = `address(0)` * - `startTimestamp` = `0` * - `burned` = `false` * - `extraData` = `0` * * If the `tokenId` is burned: * - `addr` = `<Address of owner before token was burned>` * - `startTimestamp` = `<Timestamp when token was burned>` * - `burned = `true` * - `extraData` = `<Extra data when token was burned>` * * Otherwise: * - `addr` = `<Address of owner>` * - `startTimestamp` = `<Timestamp of start of ownership>` * - `burned = `false` * - `extraData` = `<Extra data at start of ownership>` */ function explicitOwnershipOf(uint256 tokenId) public view override returns (TokenOwnership memory) { TokenOwnership memory ownership; if (tokenId < _startTokenId() || tokenId >= _nextTokenId()) { return ownership; } ownership = _ownershipAt(tokenId); if (ownership.burned) { return ownership; } return _ownershipOf(tokenId); } /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] memory tokenIds) external view override returns (TokenOwnership[] memory) { unchecked { uint256 tokenIdsLength = tokenIds.length; TokenOwnership[] memory ownerships = new TokenOwnership[](tokenIdsLength); for (uint256 i; i != tokenIdsLength; ++i) { ownerships[i] = explicitOwnershipOf(tokenIds[i]); } return ownerships; } } /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start` < `stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view override returns (uint256[] memory) { unchecked { if (start >= stop) revert InvalidQueryRange(); uint256 tokenIdsIdx; uint256 stopLimit = _nextTokenId(); // Set `start = max(start, _startTokenId())`. if (start < _startTokenId()) { start = _startTokenId(); } // Set `stop = min(stop, stopLimit)`. if (stop > stopLimit) { stop = stopLimit; } uint256 tokenIdsMaxLength = balanceOf(owner); // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`, // to cater for cases where `balanceOf(owner)` is too big. if (start < stop) { uint256 rangeLength = stop - start; if (rangeLength < tokenIdsMaxLength) { tokenIdsMaxLength = rangeLength; } } else { tokenIdsMaxLength = 0; } uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength); if (tokenIdsMaxLength == 0) { return tokenIds; } // We need to call `explicitOwnershipOf(start)`, // because the slot at `start` may not be initialized. TokenOwnership memory ownership = explicitOwnershipOf(start); address currOwnershipAddr; // If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`. // `ownership.address` will not be zero, as `start` is clamped to the valid token ID range. if (!ownership.burned) { currOwnershipAddr = ownership.addr; } for (uint256 i = start; i != stop && tokenIdsIdx != tokenIdsMaxLength; ++i) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } // Downsize the array to fit. assembly { mstore(tokenIds, tokenIdsIdx) } return tokenIds; } } /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(totalSupply) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K pfp collections should be fine). */ function tokensOfOwner(address owner) external view override returns (uint256[] memory) { unchecked { uint256 tokenIdsIdx; address currOwnershipAddr; uint256 tokenIdsLength = balanceOf(owner); uint256[] memory tokenIds = new uint256[](tokenIdsLength); TokenOwnership memory ownership; for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } return tokenIds; } } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.7.0) (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: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v4.7.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 /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File: @openzeppelin/contracts/interfaces/IERC2981.sol // OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); } // File: @openzeppelin/contracts/token/common/ERC2981.sol // OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC2981 is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: invalid receiver"); _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty( uint256 tokenId, address receiver, uint96 feeNumerator ) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: Invalid parameters"); _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (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 Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } pragma solidity ^0.8.9; contract TwoPiece is ERC2981, ERC721AQueryable, Ownable { using Address for address payable; using Strings for uint256; uint256 public _price; uint32 public immutable _txLimit; uint32 public _maxSupply; uint32 public immutable _teamReserved; uint32 public immutable _walletLimit; bool public _started; uint32 public _teamMinted; string public _metadataURI = "https://twopiecemanga.com/metadata/"; struct HelperState { uint256 price; uint32 txLimit; uint32 walletLimit; uint32 maxSupply; uint32 teamReserved; uint32 totalMinted; uint32 userMinted; bool started; } constructor() ERC721A("Two Piece Manga", "MANGA") { _price = 0.0069 ether; _maxSupply = 1987; _txLimit = 20; _walletLimit = 200; _teamReserved = 5; _setDefaultRoyalty(owner(), 500); } function mint(uint32 amount) external payable { require(_started, "Sale is not started"); require(amount + _totalMinted() <= _maxSupply - _teamReserved, "Exceed max supply"); require(amount <= _txLimit, "Exceed transaction limit"); uint256 minted = _numberMinted(msg.sender); if (minted > 0) { require(msg.value >= amount * _price, "Insufficient funds"); } else { require(msg.value >= (amount - 1) * _price, "Insufficient funds"); } require(minted + amount <= _walletLimit, "Exceed wallet limit"); _safeMint(msg.sender, amount); } function _state(address minter) external view returns (HelperState memory) { return HelperState({ price: _price, txLimit: _txLimit, walletLimit: _walletLimit, maxSupply: _maxSupply, teamReserved: _teamReserved, totalMinted: uint32(ERC721A._totalMinted()), userMinted: uint32(_numberMinted(minter)), started: _started }); } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _metadataURI; return string(abi.encodePacked(baseURI, tokenId.toString(), "")); } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC2981, ERC721A) returns (bool) { return interfaceId == type(IERC2981).interfaceId || interfaceId == type(IERC721A).interfaceId || super.supportsInterface(interfaceId); } function setPrice(uint256 price) external onlyOwner { _price = price; } function setMaxSupply(uint32 maxSupply) external onlyOwner { _maxSupply = maxSupply; } function devMint(address to, uint32 amount) external onlyOwner { _teamMinted += amount; require (_teamMinted <= _teamReserved, "Exceed max supply"); _safeMint(to, amount); } function setFeeNumerator(uint96 feeNumerator) external onlyOwner { _setDefaultRoyalty(owner(), feeNumerator); } function setStarted(bool started) external onlyOwner { _started = started; } function setMetadataURI(string memory uri) external onlyOwner { _metadataURI = uri; } function withdraw() external onlyOwner { payable(msg.sender).sendValue(address(this).balance); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InvalidQueryRange","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_maxSupply","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_metadataURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_started","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"_state","outputs":[{"components":[{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint32","name":"txLimit","type":"uint32"},{"internalType":"uint32","name":"walletLimit","type":"uint32"},{"internalType":"uint32","name":"maxSupply","type":"uint32"},{"internalType":"uint32","name":"teamReserved","type":"uint32"},{"internalType":"uint32","name":"totalMinted","type":"uint32"},{"internalType":"uint32","name":"userMinted","type":"uint32"},{"internalType":"bool","name":"started","type":"bool"}],"internalType":"struct TwoPiece.HelperState","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_teamMinted","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_teamReserved","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_txLimit","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_walletLimit","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint32","name":"amount","type":"uint32"}],"name":"devMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"amount","type":"uint32"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setFeeNumerator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"maxSupply","type":"uint32"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setMetadataURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"started","type":"bool"}],"name":"setStarted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
610140604052602360e08181529062002c986101003980516200002b91600d916020909101906200025f565b503480156200003957600080fd5b50604080518082018252600f81526e54776f205069656365204d616e676160881b6020808301918252835180850190945260058452644d414e474160d81b9084015281519192916200008e916004916200025f565b508051620000a49060059060208401906200025f565b5050600060025550620000b73362000108565b6618838370f34000600b55600c805463ffffffff19166107c3179055601460805260c860c052600560a05262000102620000f9600a546001600160a01b031690565b6101f46200015a565b62000342565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6127106001600160601b0382161115620001ce5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084015b60405180910390fd5b6001600160a01b038216620002265760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401620001c5565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600055565b8280546200026d9062000305565b90600052602060002090601f016020900481019282620002915760008555620002dc565b82601f10620002ac57805160ff1916838001178555620002dc565b82800160010185558215620002dc579182015b82811115620002dc578251825591602001919060010190620002bf565b50620002ea929150620002ee565b5090565b5b80821115620002ea5760008155600101620002ef565b600181811c908216806200031a57607f821691505b602082108114156200033c57634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c0516128f5620003a3600039600081816102f801528181610d3c01526114fa01526000818161076b015281816109b201528181610d70015261130f0152600081816104e701528181610d14015261139d01526128f56000f3fe6080604052600436106102305760003560e01c806370a082311161012e578063b88d4fde116100ab578063e985e9c51161006f578063e985e9c5146106f9578063ef6b141a14610719578063f2fde38b14610739578063f4e2ae5814610759578063f9da32241461078d57600080fd5b8063b88d4fde14610651578063c23dc68f14610671578063c87b56dd1461069e578063d4a67623146106be578063dd48f07d146106d357600080fd5b806391b7f5ed116100f257806391b7f5ed146105c957806395d89b41146105e957806399a2557a146105fe578063a22cb4651461061e578063a71bbebe1461063e57600080fd5b806370a0823114610529578063715018a614610549578063750521f51461055e5780638462151c1461057e5780638da5cb5b146105ab57600080fd5b806323b872dd116101bc5780634df8bb45116101805780634df8bb451461045b5780635bbb2177146104885780636352211e146104b557806363553e7c146104d5578063653a819e1461050957600080fd5b806323b872dd146103a55780632a55205a146103c55780633ccfd60b1461040457806342842e0e146104195780634df22a541461043957600080fd5b80630e2351e2116102035780630e2351e2146102e657806317a5aced1461032f57806318160ddd1461034f57806322f4596f14610372578063235b6ea11461038f57600080fd5b806301ffc9a71461023557806306fdde031461026a578063081812fc1461028c578063095ea7b3146102c4575b600080fd5b34801561024157600080fd5b50610255610250366004612107565b6107ad565b60405190151581526020015b60405180910390f35b34801561027657600080fd5b5061027f6107f3565b604051610261919061217c565b34801561029857600080fd5b506102ac6102a736600461218f565b610885565b6040516001600160a01b039091168152602001610261565b3480156102d057600080fd5b506102e46102df3660046121c4565b6108c9565b005b3480156102f257600080fd5b5061031a7f000000000000000000000000000000000000000000000000000000000000000081565b60405163ffffffff9091168152602001610261565b34801561033b57600080fd5b506102e461034a366004612202565b610969565b34801561035b57600080fd5b50600354600254035b604051908152602001610261565b34801561037e57600080fd5b50600c5461031a9063ffffffff1681565b34801561039b57600080fd5b50610364600b5481565b3480156103b157600080fd5b506102e46103c0366004612235565b610a4b565b3480156103d157600080fd5b506103e56103e0366004612271565b610bdc565b604080516001600160a01b039093168352602083019190915201610261565b34801561041057600080fd5b506102e4610c88565b34801561042557600080fd5b506102e4610434366004612235565b610c9c565b34801561044557600080fd5b50600c5461025590640100000000900460ff1681565b34801561046757600080fd5b5061047b610476366004612293565b610cbc565b60405161026191906122ae565b34801561049457600080fd5b506104a86104a336600461236b565b610dff565b604051610261919061244c565b3480156104c157600080fd5b506102ac6104d036600461218f565b610ecc565b3480156104e157600080fd5b5061031a7f000000000000000000000000000000000000000000000000000000000000000081565b34801561051557600080fd5b506102e461052436600461248e565b610ed7565b34801561053557600080fd5b50610364610544366004612293565b610efd565b34801561055557600080fd5b506102e4610f4b565b34801561056a57600080fd5b506102e461057936600461250e565b610f5d565b34801561058a57600080fd5b5061059e610599366004612293565b610f78565b6040516102619190612556565b3480156105b757600080fd5b50600a546001600160a01b03166102ac565b3480156105d557600080fd5b506102e46105e436600461218f565b611087565b3480156105f557600080fd5b5061027f611094565b34801561060a57600080fd5b5061059e61061936600461258e565b6110a3565b34801561062a57600080fd5b506102e46106393660046125d1565b611220565b6102e461064c3660046125fb565b6112b6565b34801561065d57600080fd5b506102e461066c366004612616565b611585565b34801561067d57600080fd5b5061069161068c36600461218f565b6115cf565b6040516102619190612691565b3480156106aa57600080fd5b5061027f6106b936600461218f565b611647565b3480156106ca57600080fd5b5061027f611730565b3480156106df57600080fd5b50600c5461031a9065010000000000900463ffffffff1681565b34801561070557600080fd5b5061025561071436600461269f565b6117be565b34801561072557600080fd5b506102e46107343660046126c9565b6117ec565b34801561074557600080fd5b506102e4610754366004612293565b611814565b34801561076557600080fd5b5061031a7f000000000000000000000000000000000000000000000000000000000000000081565b34801561079957600080fd5b506102e46107a83660046125fb565b61188a565b60006001600160e01b0319821663152a902d60e11b14806107de57506001600160e01b0319821663184371e560e31b145b806107ed57506107ed826118ae565b92915050565b606060048054610802906126e4565b80601f016020809104026020016040519081016040528092919081815260200182805461082e906126e4565b801561087b5780601f106108505761010080835404028352916020019161087b565b820191906000526020600020905b81548152906001019060200180831161085e57829003601f168201915b5050505050905090565b6000610890826118fc565b6108ad576040516333d1c03960e21b815260040160405180910390fd5b506000908152600860205260409020546001600160a01b031690565b60006108d482610ecc565b9050336001600160a01b0382161461090d576108f081336117be565b61090d576040516367d9dca160e11b815260040160405180910390fd5b60008281526008602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610971611924565b80600c60058282829054906101000a900463ffffffff166109929190612735565b92506101000a81548163ffffffff021916908363ffffffff1602179055507f000000000000000000000000000000000000000000000000000000000000000063ffffffff16600c60059054906101000a900463ffffffff1663ffffffff161115610a375760405162461bcd60e51b8152602060048201526011602482015270457863656564206d617820737570706c7960781b60448201526064015b60405180910390fd5b610a47828263ffffffff1661197e565b5050565b6000610a5682611998565b9050836001600160a01b0316816001600160a01b031614610a895760405162a1148160e81b815260040160405180910390fd5b60008281526008602052604090208054338082146001600160a01b03881690911417610ad657610ab986336117be565b610ad657604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610afd57604051633a954ecd60e21b815260040160405180910390fd5b8015610b0857600082555b6001600160a01b038681166000908152600760205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260066020526040902055600160e11b8316610b935760018401600081815260066020526040902054610b91576002548114610b915760008181526006602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b60008281526001602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610c515750604080518082019091526000546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610c70906001600160601b03168761275d565b610c7a9190612792565b915196919550909350505050565b610c90611924565b610c9a33476119f9565b565b610cb783838360405180602001604052806000815250611585565b505050565b6040805161010081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101919091526040805161010081018252600b54815263ffffffff7f0000000000000000000000000000000000000000000000000000000000000000811660208301527f0000000000000000000000000000000000000000000000000000000000000000811692820192909252600c54821660608201527f0000000000000000000000000000000000000000000000000000000000000000909116608082015260a08101610da460025490565b63ffffffff168152602001610ddb846001600160a01b03166000908152600760205260409081902054901c6001600160401b031690565b63ffffffff168152600c54640100000000900460ff16151560209091015292915050565b80516060906000816001600160401b03811115610e1e57610e1e612325565b604051908082528060200260200182016040528015610e7057816020015b604080516080810182526000808252602080830182905292820181905260608201528252600019909201910181610e3c5790505b50905060005b828114610ec457610e9f858281518110610e9257610e926127a6565b60200260200101516115cf565b828281518110610eb157610eb16127a6565b6020908102919091010152600101610e76565b509392505050565b60006107ed82611998565b610edf611924565b610efa610ef4600a546001600160a01b031690565b82611b12565b50565b60006001600160a01b038216610f26576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600760205260409020546001600160401b031690565b610f53611924565b610c9a6000611c0f565b610f65611924565b8051610a4790600d906020840190612058565b60606000806000610f8885610efd565b90506000816001600160401b03811115610fa457610fa4612325565b604051908082528060200260200182016040528015610fcd578160200160208202803683370190505b509050610ffa60408051608081018252600080825260208201819052918101829052606081019190915290565b60005b83861461107b5761100d81611c61565b915081604001511561101e57611073565b81516001600160a01b03161561103357815194505b876001600160a01b0316856001600160a01b031614156110735780838780600101985081518110611066576110666127a6565b6020026020010181815250505b600101610ffd565b50909695505050505050565b61108f611924565b600b55565b606060058054610802906126e4565b60608183106110c557604051631960ccad60e11b815260040160405180910390fd5b6000806110d160025490565b9050808411156110df578093505b60006110ea87610efd565b9050848610156111095785850381811015611103578091505b5061110d565b5060005b6000816001600160401b0381111561112757611127612325565b604051908082528060200260200182016040528015611150578160200160208202803683370190505b5090508161116357935061121992505050565b600061116e886115cf565b90506000816040015161117f575080515b885b8881141580156111915750848714155b1561120d5761119f81611c61565b92508260400151156111b057611205565b82516001600160a01b0316156111c557825191505b8a6001600160a01b0316826001600160a01b0316141561120557808488806001019950815181106111f8576111f86127a6565b6020026020010181815250505b600101611181565b50505092835250909150505b9392505050565b6001600160a01b03821633141561124a5760405163b06307db60e01b815260040160405180910390fd5b3360008181526009602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600c54640100000000900460ff166113065760405162461bcd60e51b815260206004820152601360248201527214d85b19481a5cc81b9bdd081cdd185c9d1959606a1b6044820152606401610a2e565b600c5461133a907f00000000000000000000000000000000000000000000000000000000000000009063ffffffff166127bc565b63ffffffff1661134960025490565b6113599063ffffffff84166127e1565b111561139b5760405162461bcd60e51b8152602060048201526011602482015270457863656564206d617820737570706c7960781b6044820152606401610a2e565b7f000000000000000000000000000000000000000000000000000000000000000063ffffffff168163ffffffff1611156114175760405162461bcd60e51b815260206004820152601860248201527f457863656564207472616e73616374696f6e206c696d697400000000000000006044820152606401610a2e565b336000908152600760205260409081902054901c6001600160401b0316801561149657600b5461144d9063ffffffff841661275d565b3410156114915760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b6044820152606401610a2e565b6114f8565b600b546114a46001846127bc565b63ffffffff166114b4919061275d565b3410156114f85760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b6044820152606401610a2e565b7f000000000000000000000000000000000000000000000000000000000000000063ffffffff168263ffffffff168261153191906127e1565b11156115755760405162461bcd60e51b8152602060048201526013602482015272115e18d95959081dd85b1b195d081b1a5b5a5d606a1b6044820152606401610a2e565b610a47338363ffffffff1661197e565b611590848484610a4b565b6001600160a01b0383163b156115c9576115ac84848484611c9d565b6115c9576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60408051608080820183526000808352602080840182905283850182905260608085018390528551938401865282845290830182905293820181905292810183905290915060025483106116235792915050565b61162c83611c61565b905080604001511561163e5792915050565b61121983611d95565b6060611652826118fc565b61166f57604051630a14c4b560e41b815260040160405180910390fd5b6000600d805461167e906126e4565b80601f01602080910402602001604051908101604052809291908181526020018280546116aa906126e4565b80156116f75780601f106116cc576101008083540402835291602001916116f7565b820191906000526020600020905b8154815290600101906020018083116116da57829003601f168201915b505050505090508061170884611dca565b6040516020016117199291906127f9565b604051602081830303815290604052915050919050565b600d805461173d906126e4565b80601f0160208091040260200160405190810160405280929190818152602001828054611769906126e4565b80156117b65780601f1061178b576101008083540402835291602001916117b6565b820191906000526020600020905b81548152906001019060200180831161179957829003601f168201915b505050505081565b6001600160a01b03918216600090815260096020908152604080832093909416825291909152205460ff1690565b6117f4611924565b600c80549115156401000000000264ff0000000019909216919091179055565b61181c611924565b6001600160a01b0381166118815760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a2e565b610efa81611c0f565b611892611924565b600c805463ffffffff191663ffffffff92909216919091179055565b60006301ffc9a760e01b6001600160e01b0319831614806118df57506380ac58cd60e01b6001600160e01b03198316145b806107ed5750506001600160e01b031916635b5e139f60e01b1490565b6000600254821080156107ed575050600090815260066020526040902054600160e01b161590565b600a546001600160a01b03163314610c9a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a2e565b610a47828260405180602001604052806000815250611ec7565b6000816002548110156119e057600081815260066020526040902054600160e01b81166119de575b806112195750600019016000818152600660205260409020546119c0565b505b604051636f96cda160e11b815260040160405180910390fd5b80471015611a495760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610a2e565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611a96576040519150601f19603f3d011682016040523d82523d6000602084013e611a9b565b606091505b5050905080610cb75760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610a2e565b6127106001600160601b0382161115611b805760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401610a2e565b6001600160a01b038216611bd65760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610a2e565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600055565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6040805160808101825260008082526020820181905291810182905260608101919091526000828152600660205260409020546107ed90611f34565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611cd290339089908890889060040161281f565b602060405180830381600087803b158015611cec57600080fd5b505af1925050508015611d1c575060408051601f3d908101601f19168201909252611d199181019061285c565b60015b611d77573d808015611d4a576040519150601f19603f3d011682016040523d82523d6000602084013e611d4f565b606091505b508051611d6f576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6040805160808101825260008082526020820181905291810182905260608101919091526107ed611dc583611998565b611f34565b606081611dee5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611e185780611e0281612879565b9150611e119050600a83612792565b9150611df2565b6000816001600160401b03811115611e3257611e32612325565b6040519080825280601f01601f191660200182016040528015611e5c576020820181803683370190505b5090505b8415611d8d57611e71600183612894565b9150611e7e600a866128ab565b611e899060306127e1565b60f81b818381518110611e9e57611e9e6127a6565b60200101906001600160f81b031916908160001a905350611ec0600a86612792565b9450611e60565b611ed18383611f7b565b6001600160a01b0383163b15610cb7576002548281035b611efb6000868380600101945086611c9d565b611f18576040516368d2bf6b60e11b815260040160405180910390fd5b818110611ee8578160025414611f2d57600080fd5b5050505050565b604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b6002546001600160a01b038316611fa457604051622e076360e81b815260040160405180910390fd5b81611fc25760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260076020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260066020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821061200c5760025550505050565b828054612064906126e4565b90600052602060002090601f01602090048101928261208657600085556120cc565b82601f1061209f57805160ff19168380011785556120cc565b828001600101855582156120cc579182015b828111156120cc5782518255916020019190600101906120b1565b506120d89291506120dc565b5090565b5b808211156120d857600081556001016120dd565b6001600160e01b031981168114610efa57600080fd5b60006020828403121561211957600080fd5b8135611219816120f1565b60005b8381101561213f578181015183820152602001612127565b838111156115c95750506000910152565b60008151808452612168816020860160208601612124565b601f01601f19169290920160200192915050565b6020815260006112196020830184612150565b6000602082840312156121a157600080fd5b5035919050565b80356001600160a01b03811681146121bf57600080fd5b919050565b600080604083850312156121d757600080fd5b6121e0836121a8565b946020939093013593505050565b803563ffffffff811681146121bf57600080fd5b6000806040838503121561221557600080fd5b61221e836121a8565b915061222c602084016121ee565b90509250929050565b60008060006060848603121561224a57600080fd5b612253846121a8565b9250612261602085016121a8565b9150604084013590509250925092565b6000806040838503121561228457600080fd5b50508035926020909101359150565b6000602082840312156122a557600080fd5b611219826121a8565b60006101008201905082518252602083015163ffffffff80821660208501528060408601511660408501528060608601511660608501528060808601511660808501528060a08601511660a08501528060c08601511660c0850152505060e083015161231e60e084018215159052565b5092915050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561236357612363612325565b604052919050565b6000602080838503121561237e57600080fd5b82356001600160401b038082111561239557600080fd5b818501915085601f8301126123a957600080fd5b8135818111156123bb576123bb612325565b8060051b91506123cc84830161233b565b81815291830184019184810190888411156123e657600080fd5b938501935b83851015612404578435825293850193908501906123eb565b98975050505050505050565b80516001600160a01b031682526020808201516001600160401b03169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b8181101561107b5761247b838551612410565b9284019260809290920191600101612468565b6000602082840312156124a057600080fd5b81356001600160601b038116811461121957600080fd5b60006001600160401b038311156124d0576124d0612325565b6124e3601f8401601f191660200161233b565b90508281528383830111156124f757600080fd5b828260208301376000602084830101529392505050565b60006020828403121561252057600080fd5b81356001600160401b0381111561253657600080fd5b8201601f8101841361254757600080fd5b611d8d848235602084016124b7565b6020808252825182820181905260009190848201906040850190845b8181101561107b57835183529284019291840191600101612572565b6000806000606084860312156125a357600080fd5b6125ac846121a8565b95602085013595506040909401359392505050565b803580151581146121bf57600080fd5b600080604083850312156125e457600080fd5b6125ed836121a8565b915061222c602084016125c1565b60006020828403121561260d57600080fd5b611219826121ee565b6000806000806080858703121561262c57600080fd5b612635856121a8565b9350612643602086016121a8565b92506040850135915060608501356001600160401b0381111561266557600080fd5b8501601f8101871361267657600080fd5b612685878235602084016124b7565b91505092959194509250565b608081016107ed8284612410565b600080604083850312156126b257600080fd5b6126bb836121a8565b915061222c602084016121a8565b6000602082840312156126db57600080fd5b611219826125c1565b600181811c908216806126f857607f821691505b6020821081141561271957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600063ffffffff8083168185168083038211156127545761275461271f565b01949350505050565b60008160001904831182151516156127775761277761271f565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826127a1576127a161277c565b500490565b634e487b7160e01b600052603260045260246000fd5b600063ffffffff838116908316818110156127d9576127d961271f565b039392505050565b600082198211156127f4576127f461271f565b500190565b6000835161280b818460208801612124565b835190830190612754818360208801612124565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061285290830184612150565b9695505050505050565b60006020828403121561286e57600080fd5b8151611219816120f1565b600060001982141561288d5761288d61271f565b5060010190565b6000828210156128a6576128a661271f565b500390565b6000826128ba576128ba61277c565b50069056fea2646970667358221220e5d55422e1d2886f522d30d02efabeabdd2a60e92d9cd8784d169c65466824a164736f6c6343000809003368747470733a2f2f74776f70696563656d616e67612e636f6d2f6d657461646174612f
Deployed Bytecode
0x6080604052600436106102305760003560e01c806370a082311161012e578063b88d4fde116100ab578063e985e9c51161006f578063e985e9c5146106f9578063ef6b141a14610719578063f2fde38b14610739578063f4e2ae5814610759578063f9da32241461078d57600080fd5b8063b88d4fde14610651578063c23dc68f14610671578063c87b56dd1461069e578063d4a67623146106be578063dd48f07d146106d357600080fd5b806391b7f5ed116100f257806391b7f5ed146105c957806395d89b41146105e957806399a2557a146105fe578063a22cb4651461061e578063a71bbebe1461063e57600080fd5b806370a0823114610529578063715018a614610549578063750521f51461055e5780638462151c1461057e5780638da5cb5b146105ab57600080fd5b806323b872dd116101bc5780634df8bb45116101805780634df8bb451461045b5780635bbb2177146104885780636352211e146104b557806363553e7c146104d5578063653a819e1461050957600080fd5b806323b872dd146103a55780632a55205a146103c55780633ccfd60b1461040457806342842e0e146104195780634df22a541461043957600080fd5b80630e2351e2116102035780630e2351e2146102e657806317a5aced1461032f57806318160ddd1461034f57806322f4596f14610372578063235b6ea11461038f57600080fd5b806301ffc9a71461023557806306fdde031461026a578063081812fc1461028c578063095ea7b3146102c4575b600080fd5b34801561024157600080fd5b50610255610250366004612107565b6107ad565b60405190151581526020015b60405180910390f35b34801561027657600080fd5b5061027f6107f3565b604051610261919061217c565b34801561029857600080fd5b506102ac6102a736600461218f565b610885565b6040516001600160a01b039091168152602001610261565b3480156102d057600080fd5b506102e46102df3660046121c4565b6108c9565b005b3480156102f257600080fd5b5061031a7f00000000000000000000000000000000000000000000000000000000000000c881565b60405163ffffffff9091168152602001610261565b34801561033b57600080fd5b506102e461034a366004612202565b610969565b34801561035b57600080fd5b50600354600254035b604051908152602001610261565b34801561037e57600080fd5b50600c5461031a9063ffffffff1681565b34801561039b57600080fd5b50610364600b5481565b3480156103b157600080fd5b506102e46103c0366004612235565b610a4b565b3480156103d157600080fd5b506103e56103e0366004612271565b610bdc565b604080516001600160a01b039093168352602083019190915201610261565b34801561041057600080fd5b506102e4610c88565b34801561042557600080fd5b506102e4610434366004612235565b610c9c565b34801561044557600080fd5b50600c5461025590640100000000900460ff1681565b34801561046757600080fd5b5061047b610476366004612293565b610cbc565b60405161026191906122ae565b34801561049457600080fd5b506104a86104a336600461236b565b610dff565b604051610261919061244c565b3480156104c157600080fd5b506102ac6104d036600461218f565b610ecc565b3480156104e157600080fd5b5061031a7f000000000000000000000000000000000000000000000000000000000000001481565b34801561051557600080fd5b506102e461052436600461248e565b610ed7565b34801561053557600080fd5b50610364610544366004612293565b610efd565b34801561055557600080fd5b506102e4610f4b565b34801561056a57600080fd5b506102e461057936600461250e565b610f5d565b34801561058a57600080fd5b5061059e610599366004612293565b610f78565b6040516102619190612556565b3480156105b757600080fd5b50600a546001600160a01b03166102ac565b3480156105d557600080fd5b506102e46105e436600461218f565b611087565b3480156105f557600080fd5b5061027f611094565b34801561060a57600080fd5b5061059e61061936600461258e565b6110a3565b34801561062a57600080fd5b506102e46106393660046125d1565b611220565b6102e461064c3660046125fb565b6112b6565b34801561065d57600080fd5b506102e461066c366004612616565b611585565b34801561067d57600080fd5b5061069161068c36600461218f565b6115cf565b6040516102619190612691565b3480156106aa57600080fd5b5061027f6106b936600461218f565b611647565b3480156106ca57600080fd5b5061027f611730565b3480156106df57600080fd5b50600c5461031a9065010000000000900463ffffffff1681565b34801561070557600080fd5b5061025561071436600461269f565b6117be565b34801561072557600080fd5b506102e46107343660046126c9565b6117ec565b34801561074557600080fd5b506102e4610754366004612293565b611814565b34801561076557600080fd5b5061031a7f000000000000000000000000000000000000000000000000000000000000000581565b34801561079957600080fd5b506102e46107a83660046125fb565b61188a565b60006001600160e01b0319821663152a902d60e11b14806107de57506001600160e01b0319821663184371e560e31b145b806107ed57506107ed826118ae565b92915050565b606060048054610802906126e4565b80601f016020809104026020016040519081016040528092919081815260200182805461082e906126e4565b801561087b5780601f106108505761010080835404028352916020019161087b565b820191906000526020600020905b81548152906001019060200180831161085e57829003601f168201915b5050505050905090565b6000610890826118fc565b6108ad576040516333d1c03960e21b815260040160405180910390fd5b506000908152600860205260409020546001600160a01b031690565b60006108d482610ecc565b9050336001600160a01b0382161461090d576108f081336117be565b61090d576040516367d9dca160e11b815260040160405180910390fd5b60008281526008602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610971611924565b80600c60058282829054906101000a900463ffffffff166109929190612735565b92506101000a81548163ffffffff021916908363ffffffff1602179055507f000000000000000000000000000000000000000000000000000000000000000563ffffffff16600c60059054906101000a900463ffffffff1663ffffffff161115610a375760405162461bcd60e51b8152602060048201526011602482015270457863656564206d617820737570706c7960781b60448201526064015b60405180910390fd5b610a47828263ffffffff1661197e565b5050565b6000610a5682611998565b9050836001600160a01b0316816001600160a01b031614610a895760405162a1148160e81b815260040160405180910390fd5b60008281526008602052604090208054338082146001600160a01b03881690911417610ad657610ab986336117be565b610ad657604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610afd57604051633a954ecd60e21b815260040160405180910390fd5b8015610b0857600082555b6001600160a01b038681166000908152600760205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260066020526040902055600160e11b8316610b935760018401600081815260066020526040902054610b91576002548114610b915760008181526006602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b60008281526001602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610c515750604080518082019091526000546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610c70906001600160601b03168761275d565b610c7a9190612792565b915196919550909350505050565b610c90611924565b610c9a33476119f9565b565b610cb783838360405180602001604052806000815250611585565b505050565b6040805161010081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101919091526040805161010081018252600b54815263ffffffff7f0000000000000000000000000000000000000000000000000000000000000014811660208301527f00000000000000000000000000000000000000000000000000000000000000c8811692820192909252600c54821660608201527f0000000000000000000000000000000000000000000000000000000000000005909116608082015260a08101610da460025490565b63ffffffff168152602001610ddb846001600160a01b03166000908152600760205260409081902054901c6001600160401b031690565b63ffffffff168152600c54640100000000900460ff16151560209091015292915050565b80516060906000816001600160401b03811115610e1e57610e1e612325565b604051908082528060200260200182016040528015610e7057816020015b604080516080810182526000808252602080830182905292820181905260608201528252600019909201910181610e3c5790505b50905060005b828114610ec457610e9f858281518110610e9257610e926127a6565b60200260200101516115cf565b828281518110610eb157610eb16127a6565b6020908102919091010152600101610e76565b509392505050565b60006107ed82611998565b610edf611924565b610efa610ef4600a546001600160a01b031690565b82611b12565b50565b60006001600160a01b038216610f26576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600760205260409020546001600160401b031690565b610f53611924565b610c9a6000611c0f565b610f65611924565b8051610a4790600d906020840190612058565b60606000806000610f8885610efd565b90506000816001600160401b03811115610fa457610fa4612325565b604051908082528060200260200182016040528015610fcd578160200160208202803683370190505b509050610ffa60408051608081018252600080825260208201819052918101829052606081019190915290565b60005b83861461107b5761100d81611c61565b915081604001511561101e57611073565b81516001600160a01b03161561103357815194505b876001600160a01b0316856001600160a01b031614156110735780838780600101985081518110611066576110666127a6565b6020026020010181815250505b600101610ffd565b50909695505050505050565b61108f611924565b600b55565b606060058054610802906126e4565b60608183106110c557604051631960ccad60e11b815260040160405180910390fd5b6000806110d160025490565b9050808411156110df578093505b60006110ea87610efd565b9050848610156111095785850381811015611103578091505b5061110d565b5060005b6000816001600160401b0381111561112757611127612325565b604051908082528060200260200182016040528015611150578160200160208202803683370190505b5090508161116357935061121992505050565b600061116e886115cf565b90506000816040015161117f575080515b885b8881141580156111915750848714155b1561120d5761119f81611c61565b92508260400151156111b057611205565b82516001600160a01b0316156111c557825191505b8a6001600160a01b0316826001600160a01b0316141561120557808488806001019950815181106111f8576111f86127a6565b6020026020010181815250505b600101611181565b50505092835250909150505b9392505050565b6001600160a01b03821633141561124a5760405163b06307db60e01b815260040160405180910390fd5b3360008181526009602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600c54640100000000900460ff166113065760405162461bcd60e51b815260206004820152601360248201527214d85b19481a5cc81b9bdd081cdd185c9d1959606a1b6044820152606401610a2e565b600c5461133a907f00000000000000000000000000000000000000000000000000000000000000059063ffffffff166127bc565b63ffffffff1661134960025490565b6113599063ffffffff84166127e1565b111561139b5760405162461bcd60e51b8152602060048201526011602482015270457863656564206d617820737570706c7960781b6044820152606401610a2e565b7f000000000000000000000000000000000000000000000000000000000000001463ffffffff168163ffffffff1611156114175760405162461bcd60e51b815260206004820152601860248201527f457863656564207472616e73616374696f6e206c696d697400000000000000006044820152606401610a2e565b336000908152600760205260409081902054901c6001600160401b0316801561149657600b5461144d9063ffffffff841661275d565b3410156114915760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b6044820152606401610a2e565b6114f8565b600b546114a46001846127bc565b63ffffffff166114b4919061275d565b3410156114f85760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b6044820152606401610a2e565b7f00000000000000000000000000000000000000000000000000000000000000c863ffffffff168263ffffffff168261153191906127e1565b11156115755760405162461bcd60e51b8152602060048201526013602482015272115e18d95959081dd85b1b195d081b1a5b5a5d606a1b6044820152606401610a2e565b610a47338363ffffffff1661197e565b611590848484610a4b565b6001600160a01b0383163b156115c9576115ac84848484611c9d565b6115c9576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60408051608080820183526000808352602080840182905283850182905260608085018390528551938401865282845290830182905293820181905292810183905290915060025483106116235792915050565b61162c83611c61565b905080604001511561163e5792915050565b61121983611d95565b6060611652826118fc565b61166f57604051630a14c4b560e41b815260040160405180910390fd5b6000600d805461167e906126e4565b80601f01602080910402602001604051908101604052809291908181526020018280546116aa906126e4565b80156116f75780601f106116cc576101008083540402835291602001916116f7565b820191906000526020600020905b8154815290600101906020018083116116da57829003601f168201915b505050505090508061170884611dca565b6040516020016117199291906127f9565b604051602081830303815290604052915050919050565b600d805461173d906126e4565b80601f0160208091040260200160405190810160405280929190818152602001828054611769906126e4565b80156117b65780601f1061178b576101008083540402835291602001916117b6565b820191906000526020600020905b81548152906001019060200180831161179957829003601f168201915b505050505081565b6001600160a01b03918216600090815260096020908152604080832093909416825291909152205460ff1690565b6117f4611924565b600c80549115156401000000000264ff0000000019909216919091179055565b61181c611924565b6001600160a01b0381166118815760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a2e565b610efa81611c0f565b611892611924565b600c805463ffffffff191663ffffffff92909216919091179055565b60006301ffc9a760e01b6001600160e01b0319831614806118df57506380ac58cd60e01b6001600160e01b03198316145b806107ed5750506001600160e01b031916635b5e139f60e01b1490565b6000600254821080156107ed575050600090815260066020526040902054600160e01b161590565b600a546001600160a01b03163314610c9a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a2e565b610a47828260405180602001604052806000815250611ec7565b6000816002548110156119e057600081815260066020526040902054600160e01b81166119de575b806112195750600019016000818152600660205260409020546119c0565b505b604051636f96cda160e11b815260040160405180910390fd5b80471015611a495760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610a2e565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611a96576040519150601f19603f3d011682016040523d82523d6000602084013e611a9b565b606091505b5050905080610cb75760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610a2e565b6127106001600160601b0382161115611b805760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401610a2e565b6001600160a01b038216611bd65760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610a2e565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600055565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6040805160808101825260008082526020820181905291810182905260608101919091526000828152600660205260409020546107ed90611f34565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611cd290339089908890889060040161281f565b602060405180830381600087803b158015611cec57600080fd5b505af1925050508015611d1c575060408051601f3d908101601f19168201909252611d199181019061285c565b60015b611d77573d808015611d4a576040519150601f19603f3d011682016040523d82523d6000602084013e611d4f565b606091505b508051611d6f576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6040805160808101825260008082526020820181905291810182905260608101919091526107ed611dc583611998565b611f34565b606081611dee5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611e185780611e0281612879565b9150611e119050600a83612792565b9150611df2565b6000816001600160401b03811115611e3257611e32612325565b6040519080825280601f01601f191660200182016040528015611e5c576020820181803683370190505b5090505b8415611d8d57611e71600183612894565b9150611e7e600a866128ab565b611e899060306127e1565b60f81b818381518110611e9e57611e9e6127a6565b60200101906001600160f81b031916908160001a905350611ec0600a86612792565b9450611e60565b611ed18383611f7b565b6001600160a01b0383163b15610cb7576002548281035b611efb6000868380600101945086611c9d565b611f18576040516368d2bf6b60e11b815260040160405180910390fd5b818110611ee8578160025414611f2d57600080fd5b5050505050565b604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b6002546001600160a01b038316611fa457604051622e076360e81b815260040160405180910390fd5b81611fc25760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260076020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260066020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821061200c5760025550505050565b828054612064906126e4565b90600052602060002090601f01602090048101928261208657600085556120cc565b82601f1061209f57805160ff19168380011785556120cc565b828001600101855582156120cc579182015b828111156120cc5782518255916020019190600101906120b1565b506120d89291506120dc565b5090565b5b808211156120d857600081556001016120dd565b6001600160e01b031981168114610efa57600080fd5b60006020828403121561211957600080fd5b8135611219816120f1565b60005b8381101561213f578181015183820152602001612127565b838111156115c95750506000910152565b60008151808452612168816020860160208601612124565b601f01601f19169290920160200192915050565b6020815260006112196020830184612150565b6000602082840312156121a157600080fd5b5035919050565b80356001600160a01b03811681146121bf57600080fd5b919050565b600080604083850312156121d757600080fd5b6121e0836121a8565b946020939093013593505050565b803563ffffffff811681146121bf57600080fd5b6000806040838503121561221557600080fd5b61221e836121a8565b915061222c602084016121ee565b90509250929050565b60008060006060848603121561224a57600080fd5b612253846121a8565b9250612261602085016121a8565b9150604084013590509250925092565b6000806040838503121561228457600080fd5b50508035926020909101359150565b6000602082840312156122a557600080fd5b611219826121a8565b60006101008201905082518252602083015163ffffffff80821660208501528060408601511660408501528060608601511660608501528060808601511660808501528060a08601511660a08501528060c08601511660c0850152505060e083015161231e60e084018215159052565b5092915050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561236357612363612325565b604052919050565b6000602080838503121561237e57600080fd5b82356001600160401b038082111561239557600080fd5b818501915085601f8301126123a957600080fd5b8135818111156123bb576123bb612325565b8060051b91506123cc84830161233b565b81815291830184019184810190888411156123e657600080fd5b938501935b83851015612404578435825293850193908501906123eb565b98975050505050505050565b80516001600160a01b031682526020808201516001600160401b03169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b8181101561107b5761247b838551612410565b9284019260809290920191600101612468565b6000602082840312156124a057600080fd5b81356001600160601b038116811461121957600080fd5b60006001600160401b038311156124d0576124d0612325565b6124e3601f8401601f191660200161233b565b90508281528383830111156124f757600080fd5b828260208301376000602084830101529392505050565b60006020828403121561252057600080fd5b81356001600160401b0381111561253657600080fd5b8201601f8101841361254757600080fd5b611d8d848235602084016124b7565b6020808252825182820181905260009190848201906040850190845b8181101561107b57835183529284019291840191600101612572565b6000806000606084860312156125a357600080fd5b6125ac846121a8565b95602085013595506040909401359392505050565b803580151581146121bf57600080fd5b600080604083850312156125e457600080fd5b6125ed836121a8565b915061222c602084016125c1565b60006020828403121561260d57600080fd5b611219826121ee565b6000806000806080858703121561262c57600080fd5b612635856121a8565b9350612643602086016121a8565b92506040850135915060608501356001600160401b0381111561266557600080fd5b8501601f8101871361267657600080fd5b612685878235602084016124b7565b91505092959194509250565b608081016107ed8284612410565b600080604083850312156126b257600080fd5b6126bb836121a8565b915061222c602084016121a8565b6000602082840312156126db57600080fd5b611219826125c1565b600181811c908216806126f857607f821691505b6020821081141561271957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600063ffffffff8083168185168083038211156127545761275461271f565b01949350505050565b60008160001904831182151516156127775761277761271f565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826127a1576127a161277c565b500490565b634e487b7160e01b600052603260045260246000fd5b600063ffffffff838116908316818110156127d9576127d961271f565b039392505050565b600082198211156127f4576127f461271f565b500190565b6000835161280b818460208801612124565b835190830190612754818360208801612124565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061285290830184612150565b9695505050505050565b60006020828403121561286e57600080fd5b8151611219816120f1565b600060001982141561288d5761288d61271f565b5060010190565b6000828210156128a6576128a661271f565b500390565b6000826128ba576128ba61277c565b50069056fea2646970667358221220e5d55422e1d2886f522d30d02efabeabdd2a60e92d9cd8784d169c65466824a164736f6c63430008090033
Deployed Bytecode Sourcemap
75200:3592:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;77620:300;;;;;;;;;;-1:-1:-1;77620:300:0;;;;;:::i;:::-;;:::i;:::-;;;661:14:1;;654:22;636:41;;624:2;609:18;77620:300:0;;;;;;;;20239:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;22185:204::-;;;;;;;;;;-1:-1:-1;22185:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1788:32:1;;;1770:51;;1758:2;1743:18;22185:204:0;1624:203:1;21733:386:0;;;;;;;;;;-1:-1:-1;21733:386:0;;;;;:::i;:::-;;:::i;:::-;;75479:36;;;;;;;;;;;;;;;;;;2443:10:1;2431:23;;;2413:42;;2401:2;2386:18;75479:36:0;2269:192:1;78128:205:0;;;;;;;;;;-1:-1:-1;78128:205:0;;;;;:::i;:::-;;:::i;13646:315::-;;;;;;;;;;-1:-1:-1;13912:12:0;;13896:13;;:28;13646:315;;;3043:25:1;;;3031:2;3016:18;13646:315:0;2897:177:1;75404:24:0;;;;;;;;;;-1:-1:-1;75404:24:0;;;;;;;;75337:21;;;;;;;;;;;;;;;;31450:2800;;;;;;;;;;-1:-1:-1;31450:2800:0;;;;;:::i;:::-;;:::i;69079:442::-;;;;;;;;;;-1:-1:-1;69079:442:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;3857:32:1;;;3839:51;;3921:2;3906:18;;3899:34;;;;3812:18;69079:442:0;3665:274:1;78679:110:0;;;;;;;;;;;;;:::i;23075:185::-;;;;;;;;;;-1:-1:-1;23075:185:0;;;;;:::i;:::-;;:::i;75524:20::-;;;;;;;;;;-1:-1:-1;75524:20:0;;;;;;;;;;;76816:498;;;;;;;;;;-1:-1:-1;76816:498:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;48818:468::-;;;;;;;;;;-1:-1:-1;48818:468:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;20028:144::-;;;;;;;;;;-1:-1:-1;20028:144:0;;;;;:::i;:::-;;:::i;75365:32::-;;;;;;;;;;;;;;;78341:125;;;;;;;;;;-1:-1:-1;78341:125:0;;;;;:::i;:::-;;:::i;15271:224::-;;;;;;;;;;-1:-1:-1;15271:224:0;;;;;:::i;:::-;;:::i;74352:103::-;;;;;;;;;;;;;:::i;78572:99::-;;;;;;;;;;-1:-1:-1;78572:99:0;;;;;:::i;:::-;;:::i;52630:892::-;;;;;;;;;;-1:-1:-1;52630:892:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;73704:87::-;;;;;;;;;;-1:-1:-1;73777:6:0;;-1:-1:-1;;;;;73777:6:0;73704:87;;77928:86;;;;;;;;;;-1:-1:-1;77928:86:0;;;;;:::i;:::-;;:::i;20408:104::-;;;;;;;;;;;;;:::i;49676:2505::-;;;;;;;;;;-1:-1:-1;49676:2505:0;;;;;:::i;:::-;;:::i;22461:308::-;;;;;;;;;;-1:-1:-1;22461:308:0;;;;;:::i;:::-;;:::i;76160:648::-;;;;;;:::i;:::-;;:::i;23331:399::-;;;;;;;;;;-1:-1:-1;23331:399:0;;;;;:::i;:::-;;:::i;48239:420::-;;;;;;;;;;-1:-1:-1;48239:420:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;77322:290::-;;;;;;;;;;-1:-1:-1;77322:290:0;;;;;:::i;:::-;;:::i;75583:66::-;;;;;;;;;;;;;:::i;75551:25::-;;;;;;;;;;-1:-1:-1;75551:25:0;;;;;;;;;;;22840:164;;;;;;;;;;-1:-1:-1;22840:164:0;;;;;:::i;:::-;;:::i;78474:90::-;;;;;;;;;;-1:-1:-1;78474:90:0;;;;;:::i;:::-;;:::i;74610:201::-;;;;;;;;;;-1:-1:-1;74610:201:0;;;;;:::i;:::-;;:::i;75435:37::-;;;;;;;;;;;;;;;78020:100;;;;;;;;;;-1:-1:-1;78020:100:0;;;;;:::i;:::-;;:::i;77620:300::-;77723:4;-1:-1:-1;;;;;;77760:41:0;;-1:-1:-1;;;77760:41:0;;:99;;-1:-1:-1;;;;;;;77818:41:0;;-1:-1:-1;;;77818:41:0;77760:99;:152;;;;77876:36;77900:11;77876:23;:36::i;:::-;77740:172;77620:300;-1:-1:-1;;77620:300:0:o;20239:100::-;20293:13;20326:5;20319:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20239:100;:::o;22185:204::-;22253:7;22278:16;22286:7;22278;:16::i;:::-;22273:64;;22303:34;;-1:-1:-1;;;22303:34:0;;;;;;;;;;;22273:64;-1:-1:-1;22357:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;22357:24:0;;22185:204::o;21733:386::-;21806:13;21822:16;21830:7;21822;:16::i;:::-;21806:32;-1:-1:-1;42633:10:0;-1:-1:-1;;;;;21855:28:0;;;21851:175;;21903:44;21920:5;42633:10;22840:164;:::i;21903:44::-;21898:128;;21975:35;;-1:-1:-1;;;21975:35:0;;;;;;;;;;;21898:128;22038:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;22038:29:0;-1:-1:-1;;;;;22038:29:0;;;;;;;;;22083:28;;22038:24;;22083:28;;;;;;;21795:324;21733:386;;:::o;78128:205::-;73590:13;:11;:13::i;:::-;78217:6:::1;78202:11;;:21;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;78258:13;78243:28;;:11;;;;;;;;;;;:28;;;;78234:59;;;::::0;-1:-1:-1;;;78234:59:0;;12529:2:1;78234:59:0::1;::::0;::::1;12511:21:1::0;12568:2;12548:18;;;12541:30;-1:-1:-1;;;12587:18:1;;;12580:47;12644:18;;78234:59:0::1;;;;;;;;;78304:21;78314:2;78318:6;78304:21;;:9;:21::i;:::-;78128:205:::0;;:::o;31450:2800::-;31584:27;31614;31633:7;31614:18;:27::i;:::-;31584:57;;31699:4;-1:-1:-1;;;;;31658:45:0;31674:19;-1:-1:-1;;;;;31658:45:0;;31654:86;;31712:28;;-1:-1:-1;;;31712:28:0;;;;;;;;;;;31654:86;31754:27;30180:21;;;30007:15;30222:4;30215:36;30304:4;30288:21;;30394:26;;42633:10;31147:30;;;-1:-1:-1;;;;;30845:26:0;;31126:19;;;31123:55;31933:174;;32020:43;32037:4;42633:10;22840:164;:::i;32020:43::-;32015:92;;32072:35;;-1:-1:-1;;;32072:35:0;;;;;;;;;;;32015:92;-1:-1:-1;;;;;32124:16:0;;32120:52;;32149:23;;-1:-1:-1;;;32149:23:0;;;;;;;;;;;32120:52;32321:15;32318:160;;;32461:1;32440:19;32433:30;32318:160;-1:-1:-1;;;;;32856:24:0;;;;;;;:18;:24;;;;;;32854:26;;-1:-1:-1;;32854:26:0;;;32925:22;;;;;;;;;32923:24;;-1:-1:-1;32923:24:0;;;19927:11;19903:22;19899:40;19886:62;-1:-1:-1;;;19886:62:0;33218:26;;;;:17;:26;;;;;:174;-1:-1:-1;;;33512:46:0;;33508:626;;33616:1;33606:11;;33584:19;33739:30;;;:17;:30;;;;;;33735:384;;33877:13;;33862:11;:28;33858:242;;34024:30;;;;:17;:30;;;;;:52;;;33858:242;33565:569;33508:626;34181:7;34177:2;-1:-1:-1;;;;;34162:27:0;34171:4;-1:-1:-1;;;;;34162:27:0;;;;;;;;;;;31573:2677;;;31450:2800;;;:::o;69079:442::-;69176:7;69234:27;;;:17;:27;;;;;;;;69205:56;;;;;;;;;-1:-1:-1;;;;;69205:56:0;;;;;-1:-1:-1;;;69205:56:0;;;-1:-1:-1;;;;;69205:56:0;;;;;;;;69176:7;;69274:92;;-1:-1:-1;69325:29:0;;;;;;;;;-1:-1:-1;69325:29:0;-1:-1:-1;;;;;69325:29:0;;;;-1:-1:-1;;;69325:29:0;;-1:-1:-1;;;;;69325:29:0;;;;;69274:92;69416:23;;;;69378:21;;69887:5;;69403:36;;-1:-1:-1;;;;;69403:36:0;:10;:36;:::i;:::-;69402:58;;;;:::i;:::-;69481:16;;;;;-1:-1:-1;69079:442:0;;-1:-1:-1;;;;69079:442:0:o;78679:110::-;73590:13;:11;:13::i;:::-;78729:52:::1;78737:10;78759:21;78729:29;:52::i;:::-;78679:110::o:0;23075:185::-;23213:39;23230:4;23236:2;23240:7;23213:39;;;;;;;;;;;;:16;:39::i;:::-;23075:185;;;:::o;76816:498::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;76922:384:0;;;;;;;;76960:6;;76922:384;;;76994:8;76922:384;;;;;;77034:12;76922:384;;;;;;;;;77076:10;;;;76922:384;;;;77119:13;76922:384;;;;;;;;;;77171:22;14294:13;;;14059:285;77171:22;76922:384;;;;;;77232:21;77246:6;-1:-1:-1;;;;;15666:25:0;15638:7;15666:25;;;:18;:25;;9963:2;15666:25;;;;;:49;;-1:-1:-1;;;;;15665:80:0;;15577:176;77232:21;76922:384;;;;77282:8;;;;;;;76922:384;;;;;;;76902:404;;-1:-1:-1;;76816:498:0:o;48818:468::-;48993:15;;48907:23;;48968:22;48993:15;-1:-1:-1;;;;;49060:36:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49060:36:0;;-1:-1:-1;;49060:36:0;;;;;;;;;;;;49023:73;;49116:9;49111:125;49132:14;49127:1;:19;49111:125;;49188:32;49208:8;49217:1;49208:11;;;;;;;;:::i;:::-;;;;;;;49188:19;:32::i;:::-;49172:10;49183:1;49172:13;;;;;;;;:::i;:::-;;;;;;;;;;:48;49148:3;;49111:125;;;-1:-1:-1;49257:10:0;48818:468;-1:-1:-1;;;48818:468:0:o;20028:144::-;20092:7;20135:27;20154:7;20135:18;:27::i;78341:125::-;73590:13;:11;:13::i;:::-;78417:41:::1;78436:7;73777:6:::0;;-1:-1:-1;;;;;73777:6:0;;73704:87;78436:7:::1;78445:12;78417:18;:41::i;:::-;78341:125:::0;:::o;15271:224::-;15335:7;-1:-1:-1;;;;;15359:19:0;;15355:60;;15387:28;;-1:-1:-1;;;15387:28:0;;;;;;;;;;;15355:60;-1:-1:-1;;;;;;15433:25:0;;;;;:18;:25;;;;;;-1:-1:-1;;;;;15433:54:0;;15271:224::o;74352:103::-;73590:13;:11;:13::i;:::-;74417:30:::1;74444:1;74417:18;:30::i;78572:99::-:0;73590:13;:11;:13::i;:::-;78645:18;;::::1;::::0;:12:::1;::::0;:18:::1;::::0;::::1;::::0;::::1;:::i;52630:892::-:0;52700:16;52754:19;52788:25;52828:22;52853:16;52863:5;52853:9;:16::i;:::-;52828:41;;52884:25;52926:14;-1:-1:-1;;;;;52912:29:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52912:29:0;;52884:57;;52956:31;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52956:31:0;53007:9;53002:472;53051:14;53036:11;:29;53002:472;;53103:15;53116:1;53103:12;:15::i;:::-;53091:27;;53141:9;:16;;;53137:73;;;53182:8;;53137:73;53232:14;;-1:-1:-1;;;;;53232:28:0;;53228:111;;53305:14;;;-1:-1:-1;53228:111:0;53382:5;-1:-1:-1;;;;;53361:26:0;:17;-1:-1:-1;;;;;53361:26:0;;53357:102;;;53438:1;53412:8;53421:13;;;;;;53412:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;53357:102;53067:3;;53002:472;;;-1:-1:-1;53495:8:0;;52630:892;-1:-1:-1;;;;;;52630:892:0:o;77928:86::-;73590:13;:11;:13::i;:::-;77992:6:::1;:14:::0;77928:86::o;20408:104::-;20464:13;20497:7;20490:14;;;;;:::i;49676:2505::-;49811:16;49878:4;49869:5;:13;49865:45;;49891:19;;-1:-1:-1;;;49891:19:0;;;;;;;;;;;49865:45;49925:19;49959:17;49979:14;13415:13;;;13341:95;49979:14;49959:34;-1:-1:-1;50230:9:0;50223:4;:16;50219:73;;;50267:9;50260:16;;50219:73;50306:25;50334:16;50344:5;50334:9;:16::i;:::-;50306:44;;50528:4;50520:5;:12;50516:278;;;50575:12;;;50610:31;;;50606:111;;;50686:11;50666:31;;50606:111;50534:198;50516:278;;;-1:-1:-1;50777:1:0;50516:278;50808:25;50850:17;-1:-1:-1;;;;;50836:32:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50836:32:0;-1:-1:-1;50808:60:0;-1:-1:-1;50887:22:0;50883:78;;50937:8;-1:-1:-1;50930:15:0;;-1:-1:-1;;;50930:15:0;50883:78;51105:31;51139:26;51159:5;51139:19;:26::i;:::-;51105:60;;51180:25;51425:9;:16;;;51420:92;;-1:-1:-1;51482:14:0;;51420:92;51543:5;51526:478;51555:4;51550:1;:9;;:45;;;;;51578:17;51563:11;:32;;51550:45;51526:478;;;51633:15;51646:1;51633:12;:15::i;:::-;51621:27;;51671:9;:16;;;51667:73;;;51712:8;;51667:73;51762:14;;-1:-1:-1;;;;;51762:28:0;;51758:111;;51835:14;;;-1:-1:-1;51758:111:0;51912:5;-1:-1:-1;;;;;51891:26:0;:17;-1:-1:-1;;;;;51891:26:0;;51887:102;;;51968:1;51942:8;51951:13;;;;;;51942:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;51887:102;51597:3;;51526:478;;;-1:-1:-1;;;52089:29:0;;;-1:-1:-1;52096:8:0;;-1:-1:-1;;49676:2505:0;;;;;;:::o;22461:308::-;-1:-1:-1;;;;;22560:31:0;;42633:10;22560:31;22556:61;;;22600:17;;-1:-1:-1;;;22600:17:0;;;;;;;;;;;22556:61;42633:10;22630:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;22630:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;22630:60:0;;;;;;;;;;22706:55;;636:41:1;;;22630:49:0;;42633:10;22706:55;;609:18:1;22706:55:0;;;;;;;22461:308;;:::o;76160:648::-;76225:8;;;;;;;76217:40;;;;-1:-1:-1;;;76217:40:0;;13437:2:1;76217:40:0;;;13419:21:1;13476:2;13456:18;;;13449:30;-1:-1:-1;;;13495:18:1;;;13488:49;13554:18;;76217:40:0;13235:343:1;76217:40:0;76303:10;;:26;;76316:13;;76303:10;;:26;:::i;:::-;76276:53;;76285:14;14294:13;;;14059:285;76285:14;76276:23;;;;;;:::i;:::-;:53;;76268:83;;;;-1:-1:-1;;;76268:83:0;;12529:2:1;76268:83:0;;;12511:21:1;12568:2;12548:18;;;12541:30;-1:-1:-1;;;12587:18:1;;;12580:47;12644:18;;76268:83:0;12327:341:1;76268:83:0;76380:8;76370:18;;:6;:18;;;;76362:55;;;;-1:-1:-1;;;76362:55:0;;14144:2:1;76362:55:0;;;14126:21:1;14183:2;14163:18;;;14156:30;14222:26;14202:18;;;14195:54;14266:18;;76362:55:0;13942:348:1;76362:55:0;76461:10;76430:14;15666:25;;;:18;:25;;9963:2;15666:25;;;;;:49;;-1:-1:-1;;;;;15665:80:0;76487:10;;76483:200;;76544:6;;76535:15;;;;;;:::i;:::-;76522:9;:28;;76514:59;;;;-1:-1:-1;;;76514:59:0;;14497:2:1;76514:59:0;;;14479:21:1;14536:2;14516:18;;;14509:30;-1:-1:-1;;;14555:18:1;;;14548:48;14613:18;;76514:59:0;14295:342:1;76514:59:0;76483:200;;;76642:6;;76628:10;76637:1;76628:6;:10;:::i;:::-;76627:21;;;;;;:::i;:::-;76614:9;:34;;76606:65;;;;-1:-1:-1;;;76606:65:0;;14497:2:1;76606:65:0;;;14479:21:1;14536:2;14516:18;;;14509:30;-1:-1:-1;;;14555:18:1;;;14548:48;14613:18;;76606:65:0;14295:342:1;76606:65:0;76722:12;76703:31;;76712:6;76703:15;;:6;:15;;;;:::i;:::-;:31;;76695:63;;;;-1:-1:-1;;;76695:63:0;;14844:2:1;76695:63:0;;;14826:21:1;14883:2;14863:18;;;14856:30;-1:-1:-1;;;14902:18:1;;;14895:49;14961:18;;76695:63:0;14642:343:1;76695:63:0;76771:29;76781:10;76793:6;76771:29;;:9;:29::i;23331:399::-;23498:31;23511:4;23517:2;23521:7;23498:12;:31::i;:::-;-1:-1:-1;;;;;23544:14:0;;;:19;23540:183;;23583:56;23614:4;23620:2;23624:7;23633:5;23583:30;:56::i;:::-;23578:145;;23667:40;;-1:-1:-1;;;23667:40:0;;;;;;;;;;;23578:145;23331:399;;;;:::o;48239:420::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13415:13:0;;48424:7;:25;48391:103;;48473:9;48239:420;-1:-1:-1;;48239:420:0:o;48391:103::-;48516:21;48529:7;48516:12;:21::i;:::-;48504:33;;48552:9;:16;;;48548:65;;;48592:9;48239:420;-1:-1:-1;;48239:420:0:o;48548:65::-;48630:21;48643:7;48630:12;:21::i;77322:290::-;77395:13;77426:16;77434:7;77426;:16::i;:::-;77421:59;;77451:29;;-1:-1:-1;;;77451:29:0;;;;;;;;;;;77421:59;77493:21;77517:12;77493:36;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;77571:7;77580:18;:7;:16;:18::i;:::-;77554:49;;;;;;;;;:::i;:::-;;;;;;;;;;;;;77540:64;;;77322:290;;;:::o;75583:66::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;22840:164::-;-1:-1:-1;;;;;22961:25:0;;;22937:4;22961:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;22840:164::o;78474:90::-;73590:13;:11;:13::i;:::-;78538:8:::1;:18:::0;;;::::1;;::::0;::::1;-1:-1:-1::0;;78538:18:0;;::::1;::::0;;;::::1;::::0;;78474:90::o;74610:201::-;73590:13;:11;:13::i;:::-;-1:-1:-1;;;;;74699:22:0;::::1;74691:73;;;::::0;-1:-1:-1;;;74691:73:0;;15768:2:1;74691:73:0::1;::::0;::::1;15750:21:1::0;15807:2;15787:18;;;15780:30;15846:34;15826:18;;;15819:62;-1:-1:-1;;;15897:18:1;;;15890:36;15943:19;;74691:73:0::1;15566:402:1::0;74691:73:0::1;74775:28;74794:8;74775:18;:28::i;78020:100::-:0;73590:13;:11;:13::i;:::-;78090:10:::1;:22:::0;;-1:-1:-1;;78090:22:0::1;;::::0;;;::::1;::::0;;;::::1;::::0;;78020:100::o;14592:615::-;14677:4;-1:-1:-1;;;;;;;;;14977:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;15054:25:0;;;14977:102;:179;;;-1:-1:-1;;;;;;;;15131:25:0;-1:-1:-1;;;15131:25:0;;14592:615::o;23985:273::-;24042:4;24132:13;;24122:7;:23;24079:152;;;;-1:-1:-1;;24183:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;24183:43:0;:48;;23985:273::o;73869:132::-;73777:6;;-1:-1:-1;;;;;73777:6:0;42633:10;73933:23;73925:68;;;;-1:-1:-1;;;73925:68:0;;16175:2:1;73925:68:0;;;16157:21:1;;;16194:18;;;16187:30;16253:34;16233:18;;;16226:62;16305:18;;73925:68:0;15973:356:1;24342:104:0;24411:27;24421:2;24425:8;24411:27;;;;;;;;;;;;:9;:27::i;16945:1129::-;17012:7;17047;17149:13;;17142:4;:20;17138:869;;;17187:14;17204:23;;;:17;:23;;;;;;-1:-1:-1;;;17293:23:0;;17289:699;;17812:113;17819:11;17812:113;;-1:-1:-1;;;17890:6:0;17872:25;;;;:17;:25;;;;;;17812:113;;17289:699;17164:843;17138:869;18035:31;;-1:-1:-1;;;18035:31:0;;;;;;;;;;;58520:317;58635:6;58610:21;:31;;58602:73;;;;-1:-1:-1;;;58602:73:0;;16536:2:1;58602:73:0;;;16518:21:1;16575:2;16555:18;;;16548:30;16614:31;16594:18;;;16587:59;16663:18;;58602:73:0;16334:353:1;58602:73:0;58689:12;58707:9;-1:-1:-1;;;;;58707:14:0;58729:6;58707:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58688:52;;;58759:7;58751:78;;;;-1:-1:-1;;;58751:78:0;;17104:2:1;58751:78:0;;;17086:21:1;17143:2;17123:18;;;17116:30;17182:34;17162:18;;;17155:62;17253:28;17233:18;;;17226:56;17299:19;;58751:78:0;16902:422:1;70171:332:0;69887:5;-1:-1:-1;;;;;70274:33:0;;;;70266:88;;;;-1:-1:-1;;;70266:88:0;;17531:2:1;70266:88:0;;;17513:21:1;17570:2;17550:18;;;17543:30;17609:34;17589:18;;;17582:62;-1:-1:-1;;;17660:18:1;;;17653:40;17710:19;;70266:88:0;17329:406:1;70266:88:0;-1:-1:-1;;;;;70373:22:0;;70365:60;;;;-1:-1:-1;;;70365:60:0;;17942:2:1;70365:60:0;;;17924:21:1;17981:2;17961:18;;;17954:30;18020:27;18000:18;;;17993:55;18065:18;;70365:60:0;17740:349:1;70365:60:0;70460:35;;;;;;;;;-1:-1:-1;;;;;70460:35:0;;;;;;-1:-1:-1;;;;;70460:35:0;;;;;;;;;;-1:-1:-1;;;70438:57:0;;;;-1:-1:-1;70438:57:0;70171:332::o;74971:191::-;75064:6;;;-1:-1:-1;;;;;75081:17:0;;;-1:-1:-1;;;;;;75081:17:0;;;;;;;75114:40;;75064:6;;;75081:17;75064:6;;75114:40;;75045:16;;75114:40;75034:128;74971:191;:::o;18622:153::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18742:24:0;;;;:17;:24;;;;;;18723:44;;:18;:44::i;38201:716::-;38385:88;;-1:-1:-1;;;38385:88:0;;38364:4;;-1:-1:-1;;;;;38385:45:0;;;;;:88;;42633:10;;38452:4;;38458:7;;38467:5;;38385:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38385:88:0;;;;;;;;-1:-1:-1;;38385:88:0;;;;;;;;;;;;:::i;:::-;;;38381:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38668:13:0;;38664:235;;38714:40;;-1:-1:-1;;;38714:40:0;;;;;;;;;;;38664:235;38857:6;38851:13;38842:6;38838:2;38834:15;38827:38;38381:529;-1:-1:-1;;;;;;38544:64:0;-1:-1:-1;;;38544:64:0;;-1:-1:-1;38381:529:0;38201:716;;;;;;:::o;19278:158::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19381:47:0;19400:27;19419:7;19400:18;:27::i;:::-;19381:18;:47::i;53959:723::-;54015:13;54236:10;54232:53;;-1:-1:-1;;54263:10:0;;;;;;;;;;;;-1:-1:-1;;;54263:10:0;;;;;53959:723::o;54232:53::-;54310:5;54295:12;54351:78;54358:9;;54351:78;;54384:8;;;;:::i;:::-;;-1:-1:-1;54407:10:0;;-1:-1:-1;54415:2:0;54407:10;;:::i;:::-;;;54351:78;;;54439:19;54471:6;-1:-1:-1;;;;;54461:17:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;54461:17:0;;54439:39;;54489:154;54496:10;;54489:154;;54523:11;54533:1;54523:11;;:::i;:::-;;-1:-1:-1;54592:10:0;54600:2;54592:5;:10;:::i;:::-;54579:24;;:2;:24;:::i;:::-;54566:39;;54549:6;54556;54549:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;54549:56:0;;;;;;;;-1:-1:-1;54620:11:0;54629:2;54620:11;;:::i;:::-;;;54489:154;;24862:681;24985:19;24991:2;24995:8;24985:5;:19::i;:::-;-1:-1:-1;;;;;25046:14:0;;;:19;25042:483;;25100:13;;25148:14;;;25181:233;25212:62;25251:1;25255:2;25259:7;;;;;;25268:5;25212:30;:62::i;:::-;25207:167;;25310:40;;-1:-1:-1;;;25310:40:0;;;;;;;;;;;25207:167;25409:3;25401:5;:11;25181:233;;25496:3;25479:13;;:20;25475:34;;25501:8;;;25475:34;25067:458;;24862:681;;;:::o;18168:363::-;-1:-1:-1;;;;;;;;;;;;;18278:41:0;;;;10480:3;18364:32;;;-1:-1:-1;;;;;18330:67:0;-1:-1:-1;;;18330:67:0;-1:-1:-1;;;18427:23:0;;:28;;-1:-1:-1;;;18408:47:0;;;;10997:3;18495:27;;;;-1:-1:-1;;;18466:57:0;-1:-1:-1;18168:363:0:o;25816:1529::-;25904:13;;-1:-1:-1;;;;;25932:16:0;;25928:48;;25957:19;;-1:-1:-1;;;25957:19:0;;;;;;;;;;;25928:48;25991:13;25987:44;;26013:18;;-1:-1:-1;;;26013:18:0;;;;;;;;;;;25987:44;-1:-1:-1;;;;;26519:22:0;;;;;;:18;:22;;9963:2;26519:22;;:70;;26557:31;26545:44;;26519:70;;;19927:11;19903:22;19899:40;-1:-1:-1;21637:15:0;;21612:23;21608:45;19896:51;19886:62;26832:31;;;;:17;:31;;;;;:173;26850:12;27081:23;;;27119:101;27146:35;;27171:9;;;;;-1:-1:-1;;;;;27146:35:0;;;27163:1;;27146:35;;27163:1;;27146:35;27215:3;27205:7;:13;27119:101;;27236:13;:19;-1:-1:-1;23075:185:0;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;688:258::-;760:1;770:113;784:6;781:1;778:13;770:113;;;860:11;;;854:18;841:11;;;834:39;806:2;799:10;770:113;;;901:6;898:1;895:13;892:48;;;-1:-1:-1;;936:1:1;918:16;;911:27;688:258::o;951:::-;993:3;1031:5;1025:12;1058:6;1053:3;1046:19;1074:63;1130:6;1123:4;1118:3;1114:14;1107:4;1100:5;1096:16;1074:63;:::i;:::-;1191:2;1170:15;-1:-1:-1;;1166:29:1;1157:39;;;;1198:4;1153:50;;951:258;-1:-1:-1;;951:258:1:o;1214:220::-;1363:2;1352:9;1345:21;1326:4;1383:45;1424:2;1413:9;1409:18;1401:6;1383:45;:::i;1439:180::-;1498:6;1551:2;1539:9;1530:7;1526:23;1522:32;1519:52;;;1567:1;1564;1557:12;1519:52;-1:-1:-1;1590:23:1;;1439:180;-1:-1:-1;1439:180:1:o;1832:173::-;1900:20;;-1:-1:-1;;;;;1949:31:1;;1939:42;;1929:70;;1995:1;1992;1985:12;1929:70;1832:173;;;:::o;2010:254::-;2078:6;2086;2139:2;2127:9;2118:7;2114:23;2110:32;2107:52;;;2155:1;2152;2145:12;2107:52;2178:29;2197:9;2178:29;:::i;:::-;2168:39;2254:2;2239:18;;;;2226:32;;-1:-1:-1;;;2010:254:1:o;2466:163::-;2533:20;;2593:10;2582:22;;2572:33;;2562:61;;2619:1;2616;2609:12;2634:258;2701:6;2709;2762:2;2750:9;2741:7;2737:23;2733:32;2730:52;;;2778:1;2775;2768:12;2730:52;2801:29;2820:9;2801:29;:::i;:::-;2791:39;;2849:37;2882:2;2871:9;2867:18;2849:37;:::i;:::-;2839:47;;2634:258;;;;;:::o;3079:328::-;3156:6;3164;3172;3225:2;3213:9;3204:7;3200:23;3196:32;3193:52;;;3241:1;3238;3231:12;3193:52;3264:29;3283:9;3264:29;:::i;:::-;3254:39;;3312:38;3346:2;3335:9;3331:18;3312:38;:::i;:::-;3302:48;;3397:2;3386:9;3382:18;3369:32;3359:42;;3079:328;;;;;:::o;3412:248::-;3480:6;3488;3541:2;3529:9;3520:7;3516:23;3512:32;3509:52;;;3557:1;3554;3547:12;3509:52;-1:-1:-1;;3580:23:1;;;3650:2;3635:18;;;3622:32;;-1:-1:-1;3412:248:1:o;3944:186::-;4003:6;4056:2;4044:9;4035:7;4031:23;4027:32;4024:52;;;4072:1;4069;4062:12;4024:52;4095:29;4114:9;4095:29;:::i;4135:862::-;4285:4;4327:3;4316:9;4312:19;4304:27;;4364:6;4358:13;4347:9;4340:32;4419:4;4411:6;4407:17;4401:24;4444:10;4510:2;4496:12;4492:21;4485:4;4474:9;4470:20;4463:51;4582:2;4574:4;4566:6;4562:17;4556:24;4552:33;4545:4;4534:9;4530:20;4523:63;4654:2;4646:4;4638:6;4634:17;4628:24;4624:33;4617:4;4606:9;4602:20;4595:63;4726:2;4718:4;4710:6;4706:17;4700:24;4696:33;4689:4;4678:9;4674:20;4667:63;4798:2;4790:4;4782:6;4778:17;4772:24;4768:33;4761:4;4750:9;4746:20;4739:63;4870:2;4862:4;4854:6;4850:17;4844:24;4840:33;4833:4;4822:9;4818:20;4811:63;;;4923:4;4915:6;4911:17;4905:24;4938:53;4985:4;4974:9;4970:20;4954:14;470:13;463:21;451:34;;400:91;4938:53;;4135:862;;;;:::o;5002:127::-;5063:10;5058:3;5054:20;5051:1;5044:31;5094:4;5091:1;5084:15;5118:4;5115:1;5108:15;5134:275;5205:2;5199:9;5270:2;5251:13;;-1:-1:-1;;5247:27:1;5235:40;;-1:-1:-1;;;;;5290:34:1;;5326:22;;;5287:62;5284:88;;;5352:18;;:::i;:::-;5388:2;5381:22;5134:275;;-1:-1:-1;5134:275:1:o;5414:946::-;5498:6;5529:2;5572;5560:9;5551:7;5547:23;5543:32;5540:52;;;5588:1;5585;5578:12;5540:52;5628:9;5615:23;-1:-1:-1;;;;;5698:2:1;5690:6;5687:14;5684:34;;;5714:1;5711;5704:12;5684:34;5752:6;5741:9;5737:22;5727:32;;5797:7;5790:4;5786:2;5782:13;5778:27;5768:55;;5819:1;5816;5809:12;5768:55;5855:2;5842:16;5877:2;5873;5870:10;5867:36;;;5883:18;;:::i;:::-;5929:2;5926:1;5922:10;5912:20;;5952:28;5976:2;5972;5968:11;5952:28;:::i;:::-;6014:15;;;6084:11;;;6080:20;;;6045:12;;;;6112:19;;;6109:39;;;6144:1;6141;6134:12;6109:39;6168:11;;;;6188:142;6204:6;6199:3;6196:15;6188:142;;;6270:17;;6258:30;;6221:12;;;;6308;;;;6188:142;;;6349:5;5414:946;-1:-1:-1;;;;;;;;5414:946:1:o;6365:349::-;6449:12;;-1:-1:-1;;;;;6445:38:1;6433:51;;6537:4;6526:16;;;6520:23;-1:-1:-1;;;;;6516:48:1;6500:14;;;6493:72;6628:4;6617:16;;;6611:23;6604:31;6597:39;6581:14;;;6574:63;6690:4;6679:16;;;6673:23;6698:8;6669:38;6653:14;;6646:62;6365:349::o;6719:720::-;6950:2;7002:21;;;7072:13;;6975:18;;;7094:22;;;6921:4;;6950:2;7173:15;;;;7147:2;7132:18;;;6921:4;7216:197;7230:6;7227:1;7224:13;7216:197;;;7279:52;7327:3;7318:6;7312:13;7279:52;:::i;:::-;7388:15;;;;7360:4;7351:14;;;;;7252:1;7245:9;7216:197;;7444:292;7502:6;7555:2;7543:9;7534:7;7530:23;7526:32;7523:52;;;7571:1;7568;7561:12;7523:52;7610:9;7597:23;-1:-1:-1;;;;;7653:5:1;7649:38;7642:5;7639:49;7629:77;;7702:1;7699;7692:12;7741:407;7806:5;-1:-1:-1;;;;;7832:6:1;7829:30;7826:56;;;7862:18;;:::i;:::-;7900:57;7945:2;7924:15;;-1:-1:-1;;7920:29:1;7951:4;7916:40;7900:57;:::i;:::-;7891:66;;7980:6;7973:5;7966:21;8020:3;8011:6;8006:3;8002:16;7999:25;7996:45;;;8037:1;8034;8027:12;7996:45;8086:6;8081:3;8074:4;8067:5;8063:16;8050:43;8140:1;8133:4;8124:6;8117:5;8113:18;8109:29;8102:40;7741:407;;;;;:::o;8153:451::-;8222:6;8275:2;8263:9;8254:7;8250:23;8246:32;8243:52;;;8291:1;8288;8281:12;8243:52;8331:9;8318:23;-1:-1:-1;;;;;8356:6:1;8353:30;8350:50;;;8396:1;8393;8386:12;8350:50;8419:22;;8472:4;8464:13;;8460:27;-1:-1:-1;8450:55:1;;8501:1;8498;8491:12;8450:55;8524:74;8590:7;8585:2;8572:16;8567:2;8563;8559:11;8524:74;:::i;8609:632::-;8780:2;8832:21;;;8902:13;;8805:18;;;8924:22;;;8751:4;;8780:2;9003:15;;;;8977:2;8962:18;;;8751:4;9046:169;9060:6;9057:1;9054:13;9046:169;;;9121:13;;9109:26;;9190:15;;;;9155:12;;;;9082:1;9075:9;9046:169;;9246:322;9323:6;9331;9339;9392:2;9380:9;9371:7;9367:23;9363:32;9360:52;;;9408:1;9405;9398:12;9360:52;9431:29;9450:9;9431:29;:::i;:::-;9421:39;9507:2;9492:18;;9479:32;;-1:-1:-1;9558:2:1;9543:18;;;9530:32;;9246:322;-1:-1:-1;;;9246:322:1:o;9573:160::-;9638:20;;9694:13;;9687:21;9677:32;;9667:60;;9723:1;9720;9713:12;9738:254;9803:6;9811;9864:2;9852:9;9843:7;9839:23;9835:32;9832:52;;;9880:1;9877;9870:12;9832:52;9903:29;9922:9;9903:29;:::i;:::-;9893:39;;9951:35;9982:2;9971:9;9967:18;9951:35;:::i;9997:184::-;10055:6;10108:2;10096:9;10087:7;10083:23;10079:32;10076:52;;;10124:1;10121;10114:12;10076:52;10147:28;10165:9;10147:28;:::i;10186:667::-;10281:6;10289;10297;10305;10358:3;10346:9;10337:7;10333:23;10329:33;10326:53;;;10375:1;10372;10365:12;10326:53;10398:29;10417:9;10398:29;:::i;:::-;10388:39;;10446:38;10480:2;10469:9;10465:18;10446:38;:::i;:::-;10436:48;;10531:2;10520:9;10516:18;10503:32;10493:42;;10586:2;10575:9;10571:18;10558:32;-1:-1:-1;;;;;10605:6:1;10602:30;10599:50;;;10645:1;10642;10635:12;10599:50;10668:22;;10721:4;10713:13;;10709:27;-1:-1:-1;10699:55:1;;10750:1;10747;10740:12;10699:55;10773:74;10839:7;10834:2;10821:16;10816:2;10812;10808:11;10773:74;:::i;:::-;10763:84;;;10186:667;;;;;;;:::o;10858:264::-;11052:3;11037:19;;11065:51;11041:9;11098:6;11065:51;:::i;11127:260::-;11195:6;11203;11256:2;11244:9;11235:7;11231:23;11227:32;11224:52;;;11272:1;11269;11262:12;11224:52;11295:29;11314:9;11295:29;:::i;:::-;11285:39;;11343:38;11377:2;11366:9;11362:18;11343:38;:::i;11392:180::-;11448:6;11501:2;11489:9;11480:7;11476:23;11472:32;11469:52;;;11517:1;11514;11507:12;11469:52;11540:26;11556:9;11540:26;:::i;11577:380::-;11656:1;11652:12;;;;11699;;;11720:61;;11774:4;11766:6;11762:17;11752:27;;11720:61;11827:2;11819:6;11816:14;11796:18;11793:38;11790:161;;;11873:10;11868:3;11864:20;11861:1;11854:31;11908:4;11905:1;11898:15;11936:4;11933:1;11926:15;11790:161;;11577:380;;;:::o;11962:127::-;12023:10;12018:3;12014:20;12011:1;12004:31;12054:4;12051:1;12044:15;12078:4;12075:1;12068:15;12094:228;12133:3;12161:10;12198:2;12195:1;12191:10;12228:2;12225:1;12221:10;12259:3;12255:2;12251:12;12246:3;12243:21;12240:47;;;12267:18;;:::i;:::-;12303:13;;12094:228;-1:-1:-1;;;;12094:228:1:o;12673:168::-;12713:7;12779:1;12775;12771:6;12767:14;12764:1;12761:21;12756:1;12749:9;12742:17;12738:45;12735:71;;;12786:18;;:::i;:::-;-1:-1:-1;12826:9:1;;12673:168::o;12846:127::-;12907:10;12902:3;12898:20;12895:1;12888:31;12938:4;12935:1;12928:15;12962:4;12959:1;12952:15;12978:120;13018:1;13044;13034:35;;13049:18;;:::i;:::-;-1:-1:-1;13083:9:1;;12978:120::o;13103:127::-;13164:10;13159:3;13155:20;13152:1;13145:31;13195:4;13192:1;13185:15;13219:4;13216:1;13209:15;13583:221;13622:4;13651:10;13711;;;;13681;;13733:12;;;13730:38;;;13748:18;;:::i;:::-;13785:13;;13583:221;-1:-1:-1;;;13583:221:1:o;13809:128::-;13849:3;13880:1;13876:6;13873:1;13870:13;13867:39;;;13886:18;;:::i;:::-;-1:-1:-1;13922:9:1;;13809:128::o;14990:571::-;15270:3;15308:6;15302:13;15324:53;15370:6;15365:3;15358:4;15350:6;15346:17;15324:53;:::i;:::-;15440:13;;15399:16;;;;15462:57;15440:13;15399:16;15496:4;15484:17;;15462:57;:::i;18094:489::-;-1:-1:-1;;;;;18363:15:1;;;18345:34;;18415:15;;18410:2;18395:18;;18388:43;18462:2;18447:18;;18440:34;;;18510:3;18505:2;18490:18;;18483:31;;;18288:4;;18531:46;;18557:19;;18549:6;18531:46;:::i;:::-;18523:54;18094:489;-1:-1:-1;;;;;;18094:489:1:o;18588:249::-;18657:6;18710:2;18698:9;18689:7;18685:23;18681:32;18678:52;;;18726:1;18723;18716:12;18678:52;18758:9;18752:16;18777:30;18801:5;18777:30;:::i;18842:135::-;18881:3;-1:-1:-1;;18902:17:1;;18899:43;;;18922:18;;:::i;:::-;-1:-1:-1;18969:1:1;18958:13;;18842:135::o;18982:125::-;19022:4;19050:1;19047;19044:8;19041:34;;;19055:18;;:::i;:::-;-1:-1:-1;19092:9:1;;18982:125::o;19112:112::-;19144:1;19170;19160:35;;19175:18;;:::i;:::-;-1:-1:-1;19209:9:1;;19112:112::o
Swarm Source
ipfs://e5d55422e1d2886f522d30d02efabeabdd2a60e92d9cd8784d169c65466824a1
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.