Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 438 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Approval For... | 20368842 | 167 days ago | IN | 0 ETH | 0.00025344 | ||||
Set Approval For... | 20365451 | 167 days ago | IN | 0 ETH | 0.00014819 | ||||
Set Approval For... | 15630666 | 831 days ago | IN | 0 ETH | 0.00063928 | ||||
Set Approval For... | 15629908 | 831 days ago | IN | 0 ETH | 0.00058342 | ||||
Set Approval For... | 15629839 | 831 days ago | IN | 0 ETH | 0.00045673 | ||||
Public Mint | 15629835 | 831 days ago | IN | 0 ETH | 0.00021707 | ||||
Set Approval For... | 15629822 | 831 days ago | IN | 0 ETH | 0.00049492 | ||||
Set Approval For... | 15629821 | 831 days ago | IN | 0 ETH | 0.00050895 | ||||
Set Approval For... | 15629821 | 831 days ago | IN | 0 ETH | 0.00050895 | ||||
Set Approval For... | 15629821 | 831 days ago | IN | 0 ETH | 0.00050895 | ||||
Set Approval For... | 15629821 | 831 days ago | IN | 0 ETH | 0.00050895 | ||||
Set Approval For... | 15629821 | 831 days ago | IN | 0 ETH | 0.00050895 | ||||
Set Approval For... | 15629821 | 831 days ago | IN | 0 ETH | 0.00050895 | ||||
Set Approval For... | 15629821 | 831 days ago | IN | 0 ETH | 0.00050895 | ||||
Set Approval For... | 15629821 | 831 days ago | IN | 0 ETH | 0.00050895 | ||||
Set Approval For... | 15629821 | 831 days ago | IN | 0 ETH | 0.00050895 | ||||
Set Approval For... | 15629821 | 831 days ago | IN | 0 ETH | 0.00050895 | ||||
Set Approval For... | 15629820 | 831 days ago | IN | 0 ETH | 0.00051005 | ||||
Set Approval For... | 15629820 | 831 days ago | IN | 0 ETH | 0.00053306 | ||||
Set Approval For... | 15629820 | 831 days ago | IN | 0 ETH | 0.00053306 | ||||
Set Approval For... | 15629820 | 831 days ago | IN | 0 ETH | 0.00053306 | ||||
Set Approval For... | 15629820 | 831 days ago | IN | 0 ETH | 0.00053306 | ||||
Set Approval For... | 15629820 | 831 days ago | IN | 0 ETH | 0.00053306 | ||||
Set Approval For... | 15629820 | 831 days ago | IN | 0 ETH | 0.00053306 | ||||
Set Approval For... | 15629820 | 831 days ago | IN | 0 ETH | 0.00053306 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
HyperloopPunks
Compiler Version
v0.8.9+commit.e5eed63a
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-09-27 */ // File: erc721a/contracts/IERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external payable; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } // File: erc721a/contracts/ERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) public payable virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } } // File: @openzeppelin/contracts/security/ReentrancyGuard.sol // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // 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); } } // File: contracts/hyperlooppunks.sol //SPDX-License-Identifier: MIT pragma solidity ^0.8.9; enum ContractStatus { disable, open } contract HyperloopPunks is Ownable, ERC721A, ERC2981, ReentrancyGuard { ContractStatus public CONTRACT_STATUS = ContractStatus.disable; uint96 public immutable ROYALTY_FEE_NUMERATOR = 500; uint256 public immutable MAX_FREE_PER_WALLET = 1; uint256 public immutable MAX_TX_PER_WALLET = 3; uint256 public immutable PRICE = 0.003 ether; uint256 public immutable TOTAL_SUPPLY = 333; string internal baseURI = "ipfs://bafybeiciygans5xcmmcur2yaspyujx3d7p4jsmvyy43b7gb4ym5wawuulu/"; modifier isEthAvailable(uint256 quantity) { require(msg.value >= getSalePrice(msg.sender, quantity), "Insufficient funds"); _; } modifier isMaxTxReached(uint256 quantity) { require(_numberMinted(msg.sender) + quantity <= MAX_TX_PER_WALLET, "Exceeded tx limit"); _; } modifier isSupplyUnavailable(uint256 quantity) { require(totalSupply() + quantity <= TOTAL_SUPPLY, "Max supply reached"); _; } modifier isUser() { require(tx.origin == msg.sender, "Invalid User"); _; } constructor() ERC721A("HyperloopPunks", "HYPUNK") { _setDefaultRoyalty(owner(), ROYALTY_FEE_NUMERATOR); } function getTotalSupplyLeft() public view returns (uint256) { return TOTAL_SUPPLY - totalSupply(); } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function publicMint(uint256 quantity) public payable virtual nonReentrant isUser isSupplyUnavailable(quantity) isMaxTxReached(quantity) isEthAvailable(quantity) { require( CONTRACT_STATUS == ContractStatus.open, "Contract is not opened" ); _mint(msg.sender, quantity); } function internalMint(uint256 quantity) public virtual onlyOwner nonReentrant isUser isSupplyUnavailable(quantity) { _mint(msg.sender, quantity); } function getTotalMinted(address addr) public view returns (uint256) { return _numberMinted(addr); } function setBaseURI(string memory newURI) external virtual onlyOwner { baseURI = newURI; } function setStatus(ContractStatus status) external onlyOwner { CONTRACT_STATUS = status; } function _startTokenId() internal view virtual override returns (uint256) { return 1; } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721A, ERC2981) returns (bool) { return ERC721A.supportsInterface(interfaceId) || ERC2981.supportsInterface(interfaceId) || super.supportsInterface(interfaceId); } function getSalePrice(address sender, uint256 quantity) private view returns (uint256) { bool isAlreadyMinted = _numberMinted(sender) > 0; return isAlreadyMinted ? PRICE * (quantity) : PRICE * (quantity - MAX_FREE_PER_WALLET); } function withdraw(uint256 balance) external onlyOwner nonReentrant isUser { (bool success, ) = msg.sender.call{value: balance}(""); require(success, "Transfer failed."); } function withdrawAll() external onlyOwner nonReentrant isUser { (bool success, ) = msg.sender.call{value: address(this).balance}(""); require(success, "Transfer failed."); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"CONTRACT_STATUS","outputs":[{"internalType":"enum ContractStatus","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_FREE_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TX_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ROYALTY_FEE_NUMERATOR","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"getTotalMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalSupplyLeft","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"internalMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum ContractStatus","name":"status","type":"uint8"}],"name":"setStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"balance","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
600c805460ff191690556101f4608052600160a052600360c052660aa87bee53800060e05261014d610100526101a0604052604361012081815290620020b36101403980516200005891600d9160209091019062000276565b503480156200006657600080fd5b506040518060400160405280600e81526020016d48797065726c6f6f7050756e6b7360901b81525060405180604001604052806006815260200165485950554e4b60d01b815250620000c7620000c16200011d60201b60201c565b62000121565b8151620000dc90600390602085019062000276565b508051620000f290600490602084019062000276565b506001808155600b55505060005462000117906001600160a01b031660805162000171565b62000359565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6127106001600160601b0382161115620001e55760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084015b60405180910390fd5b6001600160a01b0382166200023d5760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401620001dc565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600955565b82805462000284906200031c565b90600052602060002090601f016020900481019282620002a85760008555620002f3565b82601f10620002c357805160ff1916838001178555620002f3565b82800160010185558215620002f3579182015b82811115620002f3578251825591602001919060010190620002d6565b506200030192915062000305565b5090565b5b8082111562000301576000815560010162000306565b600181811c908216806200033157607f821691505b602082108114156200035357634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c05160e05161010051611ce4620003cf600039600081816104aa01528181610ab601528181610fe701526111570152600081816104580152818161138901526113b80152600081816104f30152610b37015260008181610527015261135e015260006103820152611ce46000f3fe6080604052600436106101e35760003560e01c8063853828b611610102578063a22cb46511610095578063c87b56dd11610064578063c87b56dd146105e3578063defcbacb14610603578063e985e9c514610618578063f2fde38b1461066157600080fd5b8063a22cb46514610569578063acd0d9a614610589578063b88d4fde146105a9578063bf7b779c146105bc57600080fd5b806395d89b41116100d157806395d89b41146104cc578063975e840e146104e157806398710d1e146105155780639a9c1bb11461054957600080fd5b8063853828b6146104315780638d859f3e146104465780638da5cb5b1461047a578063902d55a51461049857600080fd5b80632e1a7d4d1161017a57806355f804b31161014957806355f804b3146103bc5780636352211e146103dc57806370a08231146103fc578063715018a61461041c57600080fd5b80632e1a7d4d1461031d5780632e49d78b1461033d57806342842e0e1461035d57806355850fe61461037057600080fd5b806318160ddd116101b657806318160ddd1461028c57806323b872dd146102b85780632a55205a146102cb5780632db115441461030a57600080fd5b806301ffc9a7146101e857806306fdde031461021d578063081812fc1461023f578063095ea7b314610277575b600080fd5b3480156101f457600080fd5b50610208610203366004611788565b610681565b60405190151581526020015b60405180910390f35b34801561022957600080fd5b506102326106b0565b60405161021491906117fd565b34801561024b57600080fd5b5061025f61025a366004611810565b610742565b6040516001600160a01b039091168152602001610214565b61028a610285366004611845565b610786565b005b34801561029857600080fd5b506102aa600254600154036000190190565b604051908152602001610214565b61028a6102c636600461186f565b610826565b3480156102d757600080fd5b506102eb6102e63660046118ab565b6109b7565b604080516001600160a01b039093168352602083019190915201610214565b61028a610318366004611810565b610a63565b34801561032957600080fd5b5061028a610338366004611810565b610c6f565b34801561034957600080fd5b5061028a6103583660046118cd565b610d52565b61028a61036b36600461186f565b610d80565b34801561037c57600080fd5b506103a47f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160601b039091168152602001610214565b3480156103c857600080fd5b5061028a6103d736600461197a565b610da0565b3480156103e857600080fd5b5061025f6103f7366004611810565b610dbf565b34801561040857600080fd5b506102aa6104173660046119c3565b610dca565b34801561042857600080fd5b5061028a610e19565b34801561043d57600080fd5b5061028a610e2d565b34801561045257600080fd5b506102aa7f000000000000000000000000000000000000000000000000000000000000000081565b34801561048657600080fd5b506000546001600160a01b031661025f565b3480156104a457600080fd5b506102aa7f000000000000000000000000000000000000000000000000000000000000000081565b3480156104d857600080fd5b50610232610f0f565b3480156104ed57600080fd5b506102aa7f000000000000000000000000000000000000000000000000000000000000000081565b34801561052157600080fd5b506102aa7f000000000000000000000000000000000000000000000000000000000000000081565b34801561055557600080fd5b506102aa6105643660046119c3565b610f1e565b34801561057557600080fd5b5061028a6105843660046119de565b610f29565b34801561059557600080fd5b5061028a6105a4366004611810565b610f95565b61028a6105b7366004611a1a565b61106f565b3480156105c857600080fd5b50600c546105d69060ff1681565b6040516102149190611aac565b3480156105ef57600080fd5b506102326105fe366004611810565b6110b9565b34801561060f57600080fd5b506102aa61113e565b34801561062457600080fd5b50610208610633366004611ad4565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b34801561066d57600080fd5b5061028a61067c3660046119c3565b611180565b600061068c826111f9565b8061069b575061069b82611247565b806106aa57506106aa82611247565b92915050565b6060600380546106bf90611b07565b80601f01602080910402602001604051908101604052809291908181526020018280546106eb90611b07565b80156107385780601f1061070d57610100808354040283529160200191610738565b820191906000526020600020905b81548152906001019060200180831161071b57829003601f168201915b5050505050905090565b600061074d8261127c565b61076a576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b600061079182610dbf565b9050336001600160a01b038216146107ca576107ad8133610633565b6107ca576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610831826112b1565b9050836001600160a01b0316816001600160a01b0316146108645760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b038816909114176108b1576108948633610633565b6108b157604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166108d857604051633a954ecd60e21b815260040160405180910390fd5b80156108e357600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040902055600160e11b831661096e576001840160008181526005602052604090205461096c57600154811461096c5760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6000828152600a602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610a2c5750604080518082019091526009546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610a4b906001600160601b031687611b58565b610a559190611b77565b915196919550909350505050565b6002600b541415610a8f5760405162461bcd60e51b8152600401610a8690611b99565b60405180910390fd5b6002600b55323314610ab35760405162461bcd60e51b8152600401610a8690611bd0565b807f000000000000000000000000000000000000000000000000000000000000000081610ae7600254600154036000190190565b610af19190611bf6565b1115610b345760405162461bcd60e51b815260206004820152601260248201527113585e081cdd5c1c1b1e481c995858da195960721b6044820152606401610a86565b817f000000000000000000000000000000000000000000000000000000000000000081610b603361131a565b610b6a9190611bf6565b1115610bac5760405162461bcd60e51b8152602060048201526011602482015270115e18d959591959081d1e081b1a5b5a5d607a1b6044820152606401610a86565b82610bb73382611343565b341015610bfb5760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b6044820152606401610a86565b6001600c5460ff166001811115610c1457610c14611a96565b14610c5a5760405162461bcd60e51b815260206004820152601660248201527510dbdb9d1c9858dd081a5cc81b9bdd081bdc195b995960521b6044820152606401610a86565b610c6433856113e4565b50506001600b555050565b610c776114db565b6002600b541415610c9a5760405162461bcd60e51b8152600401610a8690611b99565b6002600b55323314610cbe5760405162461bcd60e51b8152600401610a8690611bd0565b604051600090339083908381818185875af1925050503d8060008114610d00576040519150601f19603f3d011682016040523d82523d6000602084013e610d05565b606091505b5050905080610d495760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610a86565b50506001600b55565b610d5a6114db565b600c805482919060ff191660018381811115610d7857610d78611a96565b021790555050565b610d9b8383836040518060200160405280600081525061106f565b505050565b610da86114db565b8051610dbb90600d9060208401906116d9565b5050565b60006106aa826112b1565b60006001600160a01b038216610df3576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b610e216114db565b610e2b6000611535565b565b610e356114db565b6002600b541415610e585760405162461bcd60e51b8152600401610a8690611b99565b6002600b55323314610e7c5760405162461bcd60e51b8152600401610a8690611bd0565b604051600090339047908381818185875af1925050503d8060008114610ebe576040519150601f19603f3d011682016040523d82523d6000602084013e610ec3565b606091505b5050905080610f075760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610a86565b506001600b55565b6060600480546106bf90611b07565b60006106aa8261131a565b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610f9d6114db565b6002600b541415610fc05760405162461bcd60e51b8152600401610a8690611b99565b6002600b55323314610fe45760405162461bcd60e51b8152600401610a8690611bd0565b807f000000000000000000000000000000000000000000000000000000000000000081611018600254600154036000190190565b6110229190611bf6565b11156110655760405162461bcd60e51b815260206004820152601260248201527113585e081cdd5c1c1b1e481c995858da195960721b6044820152606401610a86565b610d4933836113e4565b61107a848484610826565b6001600160a01b0383163b156110b35761109684848484611585565b6110b3576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60606110c48261127c565b6110e157604051630a14c4b560e41b815260040160405180910390fd5b60006110eb61167c565b905080516000141561110c5760405180602001604052806000815250611137565b806111168461168b565b604051602001611127929190611c0e565b6040516020818303038152906040525b9392505050565b6000611151600254600154036000190190565b61117b907f0000000000000000000000000000000000000000000000000000000000000000611c3d565b905090565b6111886114db565b6001600160a01b0381166111ed5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a86565b6111f681611535565b50565b60006301ffc9a760e01b6001600160e01b03198316148061122a57506380ac58cd60e01b6001600160e01b03198316145b806106aa5750506001600160e01b031916635b5e139f60e01b1490565b60006001600160e01b0319821663152a902d60e11b14806106aa57506301ffc9a760e01b6001600160e01b03198316146106aa565b600081600111158015611290575060015482105b80156106aa575050600090815260056020526040902054600160e01b161590565b600081806001116113015760015481101561130157600081815260056020526040902054600160e01b81166112ff575b806111375750600019016000818152600560205260409020546112e1565b505b604051636f96cda160e11b815260040160405180910390fd5b6001600160a01b03166000908152600660205260409081902054901c67ffffffffffffffff1690565b60008060006113518561131a565b119050806113b2576113837f000000000000000000000000000000000000000000000000000000000000000084611c3d565b6113ad907f0000000000000000000000000000000000000000000000000000000000000000611b58565b6113dc565b6113dc837f0000000000000000000000000000000000000000000000000000000000000000611b58565b949350505050565b600154816114055760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526006602090815260408083208054680100000000000000018802019055848352600590915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146114b457808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010161147c565b50816114d257604051622e076360e81b815260040160405180910390fd5b60015550505050565b6000546001600160a01b03163314610e2b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a86565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906115ba903390899088908890600401611c54565b602060405180830381600087803b1580156115d457600080fd5b505af1925050508015611604575060408051601f3d908101601f1916820190925261160191810190611c91565b60015b61165f573d808015611632576040519150601f19603f3d011682016040523d82523d6000602084013e611637565b606091505b508051611657576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6060600d80546106bf90611b07565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a9004806116c2576116c7565b6116a5565b50819003601f19909101908152919050565b8280546116e590611b07565b90600052602060002090601f016020900481019282611707576000855561174d565b82601f1061172057805160ff191683800117855561174d565b8280016001018555821561174d579182015b8281111561174d578251825591602001919060010190611732565b5061175992915061175d565b5090565b5b80821115611759576000815560010161175e565b6001600160e01b0319811681146111f657600080fd5b60006020828403121561179a57600080fd5b813561113781611772565b60005b838110156117c05781810151838201526020016117a8565b838111156110b35750506000910152565b600081518084526117e98160208601602086016117a5565b601f01601f19169290920160200192915050565b60208152600061113760208301846117d1565b60006020828403121561182257600080fd5b5035919050565b80356001600160a01b038116811461184057600080fd5b919050565b6000806040838503121561185857600080fd5b61186183611829565b946020939093013593505050565b60008060006060848603121561188457600080fd5b61188d84611829565b925061189b60208501611829565b9150604084013590509250925092565b600080604083850312156118be57600080fd5b50508035926020909101359150565b6000602082840312156118df57600080fd5b81356002811061113757600080fd5b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561191f5761191f6118ee565b604051601f8501601f19908116603f01168101908282118183101715611947576119476118ee565b8160405280935085815286868601111561196057600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561198c57600080fd5b813567ffffffffffffffff8111156119a357600080fd5b8201601f810184136119b457600080fd5b6113dc84823560208401611904565b6000602082840312156119d557600080fd5b61113782611829565b600080604083850312156119f157600080fd5b6119fa83611829565b915060208301358015158114611a0f57600080fd5b809150509250929050565b60008060008060808587031215611a3057600080fd5b611a3985611829565b9350611a4760208601611829565b925060408501359150606085013567ffffffffffffffff811115611a6a57600080fd5b8501601f81018713611a7b57600080fd5b611a8a87823560208401611904565b91505092959194509250565b634e487b7160e01b600052602160045260246000fd5b6020810160028310611ace57634e487b7160e01b600052602160045260246000fd5b91905290565b60008060408385031215611ae757600080fd5b611af083611829565b9150611afe60208401611829565b90509250929050565b600181811c90821680611b1b57607f821691505b60208210811415611b3c57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615611b7257611b72611b42565b500290565b600082611b9457634e487b7160e01b600052601260045260246000fd5b500490565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6020808252600c908201526b24b73b30b634b2102ab9b2b960a11b604082015260600190565b60008219821115611c0957611c09611b42565b500190565b60008351611c208184602088016117a5565b835190830190611c348183602088016117a5565b01949350505050565b600082821015611c4f57611c4f611b42565b500390565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611c87908301846117d1565b9695505050505050565b600060208284031215611ca357600080fd5b81516111378161177256fea2646970667358221220be22597780f185e1c1687090aa7bec8822f665fd20eef64bbf3bb1b6a98e93ed64736f6c63430008090033697066733a2f2f6261667962656963697967616e733578636d6d637572327961737079756a7833643770346a736d76797934336237676234796d3577617775756c752f
Deployed Bytecode
0x6080604052600436106101e35760003560e01c8063853828b611610102578063a22cb46511610095578063c87b56dd11610064578063c87b56dd146105e3578063defcbacb14610603578063e985e9c514610618578063f2fde38b1461066157600080fd5b8063a22cb46514610569578063acd0d9a614610589578063b88d4fde146105a9578063bf7b779c146105bc57600080fd5b806395d89b41116100d157806395d89b41146104cc578063975e840e146104e157806398710d1e146105155780639a9c1bb11461054957600080fd5b8063853828b6146104315780638d859f3e146104465780638da5cb5b1461047a578063902d55a51461049857600080fd5b80632e1a7d4d1161017a57806355f804b31161014957806355f804b3146103bc5780636352211e146103dc57806370a08231146103fc578063715018a61461041c57600080fd5b80632e1a7d4d1461031d5780632e49d78b1461033d57806342842e0e1461035d57806355850fe61461037057600080fd5b806318160ddd116101b657806318160ddd1461028c57806323b872dd146102b85780632a55205a146102cb5780632db115441461030a57600080fd5b806301ffc9a7146101e857806306fdde031461021d578063081812fc1461023f578063095ea7b314610277575b600080fd5b3480156101f457600080fd5b50610208610203366004611788565b610681565b60405190151581526020015b60405180910390f35b34801561022957600080fd5b506102326106b0565b60405161021491906117fd565b34801561024b57600080fd5b5061025f61025a366004611810565b610742565b6040516001600160a01b039091168152602001610214565b61028a610285366004611845565b610786565b005b34801561029857600080fd5b506102aa600254600154036000190190565b604051908152602001610214565b61028a6102c636600461186f565b610826565b3480156102d757600080fd5b506102eb6102e63660046118ab565b6109b7565b604080516001600160a01b039093168352602083019190915201610214565b61028a610318366004611810565b610a63565b34801561032957600080fd5b5061028a610338366004611810565b610c6f565b34801561034957600080fd5b5061028a6103583660046118cd565b610d52565b61028a61036b36600461186f565b610d80565b34801561037c57600080fd5b506103a47f00000000000000000000000000000000000000000000000000000000000001f481565b6040516001600160601b039091168152602001610214565b3480156103c857600080fd5b5061028a6103d736600461197a565b610da0565b3480156103e857600080fd5b5061025f6103f7366004611810565b610dbf565b34801561040857600080fd5b506102aa6104173660046119c3565b610dca565b34801561042857600080fd5b5061028a610e19565b34801561043d57600080fd5b5061028a610e2d565b34801561045257600080fd5b506102aa7f000000000000000000000000000000000000000000000000000aa87bee53800081565b34801561048657600080fd5b506000546001600160a01b031661025f565b3480156104a457600080fd5b506102aa7f000000000000000000000000000000000000000000000000000000000000014d81565b3480156104d857600080fd5b50610232610f0f565b3480156104ed57600080fd5b506102aa7f000000000000000000000000000000000000000000000000000000000000000381565b34801561052157600080fd5b506102aa7f000000000000000000000000000000000000000000000000000000000000000181565b34801561055557600080fd5b506102aa6105643660046119c3565b610f1e565b34801561057557600080fd5b5061028a6105843660046119de565b610f29565b34801561059557600080fd5b5061028a6105a4366004611810565b610f95565b61028a6105b7366004611a1a565b61106f565b3480156105c857600080fd5b50600c546105d69060ff1681565b6040516102149190611aac565b3480156105ef57600080fd5b506102326105fe366004611810565b6110b9565b34801561060f57600080fd5b506102aa61113e565b34801561062457600080fd5b50610208610633366004611ad4565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b34801561066d57600080fd5b5061028a61067c3660046119c3565b611180565b600061068c826111f9565b8061069b575061069b82611247565b806106aa57506106aa82611247565b92915050565b6060600380546106bf90611b07565b80601f01602080910402602001604051908101604052809291908181526020018280546106eb90611b07565b80156107385780601f1061070d57610100808354040283529160200191610738565b820191906000526020600020905b81548152906001019060200180831161071b57829003601f168201915b5050505050905090565b600061074d8261127c565b61076a576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b600061079182610dbf565b9050336001600160a01b038216146107ca576107ad8133610633565b6107ca576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610831826112b1565b9050836001600160a01b0316816001600160a01b0316146108645760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b038816909114176108b1576108948633610633565b6108b157604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166108d857604051633a954ecd60e21b815260040160405180910390fd5b80156108e357600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040902055600160e11b831661096e576001840160008181526005602052604090205461096c57600154811461096c5760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6000828152600a602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610a2c5750604080518082019091526009546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610a4b906001600160601b031687611b58565b610a559190611b77565b915196919550909350505050565b6002600b541415610a8f5760405162461bcd60e51b8152600401610a8690611b99565b60405180910390fd5b6002600b55323314610ab35760405162461bcd60e51b8152600401610a8690611bd0565b807f000000000000000000000000000000000000000000000000000000000000014d81610ae7600254600154036000190190565b610af19190611bf6565b1115610b345760405162461bcd60e51b815260206004820152601260248201527113585e081cdd5c1c1b1e481c995858da195960721b6044820152606401610a86565b817f000000000000000000000000000000000000000000000000000000000000000381610b603361131a565b610b6a9190611bf6565b1115610bac5760405162461bcd60e51b8152602060048201526011602482015270115e18d959591959081d1e081b1a5b5a5d607a1b6044820152606401610a86565b82610bb73382611343565b341015610bfb5760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b6044820152606401610a86565b6001600c5460ff166001811115610c1457610c14611a96565b14610c5a5760405162461bcd60e51b815260206004820152601660248201527510dbdb9d1c9858dd081a5cc81b9bdd081bdc195b995960521b6044820152606401610a86565b610c6433856113e4565b50506001600b555050565b610c776114db565b6002600b541415610c9a5760405162461bcd60e51b8152600401610a8690611b99565b6002600b55323314610cbe5760405162461bcd60e51b8152600401610a8690611bd0565b604051600090339083908381818185875af1925050503d8060008114610d00576040519150601f19603f3d011682016040523d82523d6000602084013e610d05565b606091505b5050905080610d495760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610a86565b50506001600b55565b610d5a6114db565b600c805482919060ff191660018381811115610d7857610d78611a96565b021790555050565b610d9b8383836040518060200160405280600081525061106f565b505050565b610da86114db565b8051610dbb90600d9060208401906116d9565b5050565b60006106aa826112b1565b60006001600160a01b038216610df3576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b610e216114db565b610e2b6000611535565b565b610e356114db565b6002600b541415610e585760405162461bcd60e51b8152600401610a8690611b99565b6002600b55323314610e7c5760405162461bcd60e51b8152600401610a8690611bd0565b604051600090339047908381818185875af1925050503d8060008114610ebe576040519150601f19603f3d011682016040523d82523d6000602084013e610ec3565b606091505b5050905080610f075760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610a86565b506001600b55565b6060600480546106bf90611b07565b60006106aa8261131a565b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610f9d6114db565b6002600b541415610fc05760405162461bcd60e51b8152600401610a8690611b99565b6002600b55323314610fe45760405162461bcd60e51b8152600401610a8690611bd0565b807f000000000000000000000000000000000000000000000000000000000000014d81611018600254600154036000190190565b6110229190611bf6565b11156110655760405162461bcd60e51b815260206004820152601260248201527113585e081cdd5c1c1b1e481c995858da195960721b6044820152606401610a86565b610d4933836113e4565b61107a848484610826565b6001600160a01b0383163b156110b35761109684848484611585565b6110b3576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60606110c48261127c565b6110e157604051630a14c4b560e41b815260040160405180910390fd5b60006110eb61167c565b905080516000141561110c5760405180602001604052806000815250611137565b806111168461168b565b604051602001611127929190611c0e565b6040516020818303038152906040525b9392505050565b6000611151600254600154036000190190565b61117b907f000000000000000000000000000000000000000000000000000000000000014d611c3d565b905090565b6111886114db565b6001600160a01b0381166111ed5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a86565b6111f681611535565b50565b60006301ffc9a760e01b6001600160e01b03198316148061122a57506380ac58cd60e01b6001600160e01b03198316145b806106aa5750506001600160e01b031916635b5e139f60e01b1490565b60006001600160e01b0319821663152a902d60e11b14806106aa57506301ffc9a760e01b6001600160e01b03198316146106aa565b600081600111158015611290575060015482105b80156106aa575050600090815260056020526040902054600160e01b161590565b600081806001116113015760015481101561130157600081815260056020526040902054600160e01b81166112ff575b806111375750600019016000818152600560205260409020546112e1565b505b604051636f96cda160e11b815260040160405180910390fd5b6001600160a01b03166000908152600660205260409081902054901c67ffffffffffffffff1690565b60008060006113518561131a565b119050806113b2576113837f000000000000000000000000000000000000000000000000000000000000000184611c3d565b6113ad907f000000000000000000000000000000000000000000000000000aa87bee538000611b58565b6113dc565b6113dc837f000000000000000000000000000000000000000000000000000aa87bee538000611b58565b949350505050565b600154816114055760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526006602090815260408083208054680100000000000000018802019055848352600590915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146114b457808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010161147c565b50816114d257604051622e076360e81b815260040160405180910390fd5b60015550505050565b6000546001600160a01b03163314610e2b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a86565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906115ba903390899088908890600401611c54565b602060405180830381600087803b1580156115d457600080fd5b505af1925050508015611604575060408051601f3d908101601f1916820190925261160191810190611c91565b60015b61165f573d808015611632576040519150601f19603f3d011682016040523d82523d6000602084013e611637565b606091505b508051611657576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6060600d80546106bf90611b07565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a9004806116c2576116c7565b6116a5565b50819003601f19909101908152919050565b8280546116e590611b07565b90600052602060002090601f016020900481019282611707576000855561174d565b82601f1061172057805160ff191683800117855561174d565b8280016001018555821561174d579182015b8281111561174d578251825591602001919060010190611732565b5061175992915061175d565b5090565b5b80821115611759576000815560010161175e565b6001600160e01b0319811681146111f657600080fd5b60006020828403121561179a57600080fd5b813561113781611772565b60005b838110156117c05781810151838201526020016117a8565b838111156110b35750506000910152565b600081518084526117e98160208601602086016117a5565b601f01601f19169290920160200192915050565b60208152600061113760208301846117d1565b60006020828403121561182257600080fd5b5035919050565b80356001600160a01b038116811461184057600080fd5b919050565b6000806040838503121561185857600080fd5b61186183611829565b946020939093013593505050565b60008060006060848603121561188457600080fd5b61188d84611829565b925061189b60208501611829565b9150604084013590509250925092565b600080604083850312156118be57600080fd5b50508035926020909101359150565b6000602082840312156118df57600080fd5b81356002811061113757600080fd5b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561191f5761191f6118ee565b604051601f8501601f19908116603f01168101908282118183101715611947576119476118ee565b8160405280935085815286868601111561196057600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561198c57600080fd5b813567ffffffffffffffff8111156119a357600080fd5b8201601f810184136119b457600080fd5b6113dc84823560208401611904565b6000602082840312156119d557600080fd5b61113782611829565b600080604083850312156119f157600080fd5b6119fa83611829565b915060208301358015158114611a0f57600080fd5b809150509250929050565b60008060008060808587031215611a3057600080fd5b611a3985611829565b9350611a4760208601611829565b925060408501359150606085013567ffffffffffffffff811115611a6a57600080fd5b8501601f81018713611a7b57600080fd5b611a8a87823560208401611904565b91505092959194509250565b634e487b7160e01b600052602160045260246000fd5b6020810160028310611ace57634e487b7160e01b600052602160045260246000fd5b91905290565b60008060408385031215611ae757600080fd5b611af083611829565b9150611afe60208401611829565b90509250929050565b600181811c90821680611b1b57607f821691505b60208210811415611b3c57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615611b7257611b72611b42565b500290565b600082611b9457634e487b7160e01b600052601260045260246000fd5b500490565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6020808252600c908201526b24b73b30b634b2102ab9b2b960a11b604082015260600190565b60008219821115611c0957611c09611b42565b500190565b60008351611c208184602088016117a5565b835190830190611c348183602088016117a5565b01949350505050565b600082821015611c4f57611c4f611b42565b500390565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611c87908301846117d1565b9695505050505050565b600060208284031215611ca357600080fd5b81516111378161177256fea2646970667358221220be22597780f185e1c1687090aa7bec8822f665fd20eef64bbf3bb1b6a98e93ed64736f6c63430008090033
Deployed Bytecode Sourcemap
64958:3814:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67655:326;;;;;;;;;;-1:-1:-1;67655:326:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;67655:326:0;;;;;;;;19306:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;25797:218::-;;;;;;;;;;-1:-1:-1;25797:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;25797:218:0;1528:203:1;25230:408:0;;;;;;:::i;:::-;;:::i;:::-;;15057:323;;;;;;;;;;;;15331:12;;67638:1;15315:13;:28;-1:-1:-1;;15315:46:0;;15057:323;;;;2319:25:1;;;2307:2;2292:18;15057:323:0;2173:177:1;29436:2825:0;;;;;;:::i;:::-;;:::i;58694:442::-;;;;;;;;;;-1:-1:-1;58694:442:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;3133:32:1;;;3115:51;;3197:2;3182:18;;3175:34;;;;3088:18;58694:442:0;2941:274:1;66475:389:0;;;;;;:::i;:::-;;:::i;68313:223::-;;;;;;;;;;-1:-1:-1;68313:223:0;;;;;:::i;:::-;;:::i;67372:121::-;;;;;;;;;;-1:-1:-1;67372:121:0;;;;;:::i;:::-;;:::i;32357:193::-;;;;;;:::i;:::-;;:::i;65108:51::-;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;3662:39:1;;;3644:58;;3632:2;3617:18;65108:51:0;3500:208:1;67235:129:0;;;;;;;;;;-1:-1:-1;67235:129:0;;;;;:::i;:::-;;:::i;20699:152::-;;;;;;;;;;-1:-1:-1;20699:152:0;;;;;:::i;:::-;;:::i;16241:233::-;;;;;;;;;;-1:-1:-1;16241:233:0;;;;;:::i;:::-;;:::i;63967:103::-;;;;;;;;;;;;;:::i;68544:225::-;;;;;;;;;;;;;:::i;65274:44::-;;;;;;;;;;;;;;;63319:87;;;;;;;;;;-1:-1:-1;63365:7:0;63392:6;-1:-1:-1;;;;;63392:6:0;63319:87;;65325:43;;;;;;;;;;;;;;;19482:104;;;;;;;;;;;;;:::i;65221:46::-;;;;;;;;;;;;;;;65166:48;;;;;;;;;;;;;;;67090:137;;;;;;;;;;-1:-1:-1;67090:137:0;;;;;:::i;:::-;;:::i;26355:234::-;;;;;;;;;;-1:-1:-1;26355:234:0;;;;;:::i;:::-;;:::i;66872:206::-;;;;;;;;;;-1:-1:-1;66872:206:0;;;;;:::i;:::-;;:::i;33148:407::-;;;;;;:::i;:::-;;:::i;65037:62::-;;;;;;;;;;-1:-1:-1;65037:62:0;;;;;;;;;;;;;;;:::i;19692:318::-;;;;;;;;;;-1:-1:-1;19692:318:0;;;;;:::i;:::-;;:::i;66189:131::-;;;;;;;;;;;;;:::i;26746:164::-;;;;;;;;;;-1:-1:-1;26746:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;26867:25:0;;;26843:4;26867:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;26746:164;64225:201;;;;;;;;;;-1:-1:-1;64225:201:0;;;;;:::i;:::-;;:::i;67655:326::-;67793:4;67831:38;67857:11;67831:25;:38::i;:::-;:91;;;;67884:38;67910:11;67884:25;:38::i;:::-;67831:142;;;;67937:36;67961:11;67937:23;:36::i;:::-;67813:160;67655:326;-1:-1:-1;;67655:326:0:o;19306:100::-;19360:13;19393:5;19386:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19306:100;:::o;25797:218::-;25873:7;25898:16;25906:7;25898;:16::i;:::-;25893:64;;25923:34;;-1:-1:-1;;;25923:34:0;;;;;;;;;;;25893:64;-1:-1:-1;25977:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;25977:30:0;;25797:218::o;25230:408::-;25319:13;25335:16;25343:7;25335;:16::i;:::-;25319:32;-1:-1:-1;49563:10:0;-1:-1:-1;;;;;25368:28:0;;;25364:175;;25416:44;25433:5;49563:10;26746:164;:::i;25416:44::-;25411:128;;25488:35;;-1:-1:-1;;;25488:35:0;;;;;;;;;;;25411:128;25551:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;25551:35:0;-1:-1:-1;;;;;25551:35:0;;;;;;;;;25602:28;;25551:24;;25602:28;;;;;;;25308:330;25230:408;;:::o;29436:2825::-;29578:27;29608;29627:7;29608:18;:27::i;:::-;29578:57;;29693:4;-1:-1:-1;;;;;29652:45:0;29668:19;-1:-1:-1;;;;;29652:45:0;;29648:86;;29706:28;;-1:-1:-1;;;29706:28:0;;;;;;;;;;;29648:86;29748:27;28544:24;;;:15;:24;;;;;28772:26;;49563:10;28169:30;;;-1:-1:-1;;;;;27862:28:0;;28147:20;;;28144:56;29934:180;;30027:43;30044:4;49563:10;26746:164;:::i;30027:43::-;30022:92;;30079:35;;-1:-1:-1;;;30079:35:0;;;;;;;;;;;30022:92;-1:-1:-1;;;;;30131:16:0;;30127:52;;30156:23;;-1:-1:-1;;;30156:23:0;;;;;;;;;;;30127:52;30328:15;30325:160;;;30468:1;30447:19;30440:30;30325:160;-1:-1:-1;;;;;30865:24:0;;;;;;;:18;:24;;;;;;30863:26;;-1:-1:-1;;30863:26:0;;;30934:22;;;;;;;;;30932:24;;-1:-1:-1;30932:24:0;;;24088:11;24063:23;24059:41;24046:63;-1:-1:-1;;;24046:63:0;31227:26;;;;:17;:26;;;;;:175;-1:-1:-1;;;31522:47:0;;31518:627;;31627:1;31617:11;;31595:19;31750:30;;;:17;:30;;;;;;31746:384;;31888:13;;31873:11;:28;31869:242;;32035:30;;;;:17;:30;;;;;:52;;;31869:242;31576:569;31518:627;32192:7;32188:2;-1:-1:-1;;;;;32173:27:0;32182:4;-1:-1:-1;;;;;32173:27:0;;;;;;;;;;;29567:2694;;;29436:2825;;;:::o;58694:442::-;58791:7;58849:27;;;:17;:27;;;;;;;;58820:56;;;;;;;;;-1:-1:-1;;;;;58820:56:0;;;;;-1:-1:-1;;;58820:56:0;;;-1:-1:-1;;;;;58820:56:0;;;;;;;;58791:7;;58889:92;;-1:-1:-1;58940:29:0;;;;;;;;;58950:19;58940:29;-1:-1:-1;;;;;58940:29:0;;;;-1:-1:-1;;;58940:29:0;;-1:-1:-1;;;;;58940:29:0;;;;;58889:92;59031:23;;;;58993:21;;59502:5;;59018:36;;-1:-1:-1;;;;;59018:36:0;:10;:36;:::i;:::-;59017:58;;;;:::i;:::-;59096:16;;;;;-1:-1:-1;58694:442:0;;-1:-1:-1;;;;58694:442:0:o;66475:389::-;53247:1;53845:7;;:19;;53837:63;;;;-1:-1:-1;;;53837:63:0;;;;;;;:::i;:::-;;;;;;;;;53247:1;53978:7;:18;65998:9:::1;66011:10;65998:23;65990:48;;;;-1:-1:-1::0;;;65990:48:0::1;;;;;;;:::i;:::-;66618:8:::2;65902:12;65890:8;65874:13;15331:12:::0;;67638:1;15315:13;:28;-1:-1:-1;;15315:46:0;;15057:323;65874:13:::2;:24;;;;:::i;:::-;:40;;65866:71;;;::::0;-1:-1:-1;;;65866:71:0;;8850:2:1;65866:71:0::2;::::0;::::2;8832:21:1::0;8889:2;8869:18;;;8862:30;-1:-1:-1;;;8908:18:1;;;8901:48;8966:18;;65866:71:0::2;8648:342:1::0;65866:71:0::2;66650:8:::3;65741:17;65729:8;65701:25;65715:10;65701:13;:25::i;:::-;:36;;;;:::i;:::-;:57;;65693:87;;;::::0;-1:-1:-1;;;65693:87:0;;9197:2:1;65693:87:0::3;::::0;::::3;9179:21:1::0;9236:2;9216:18;;;9209:30;-1:-1:-1;;;9255:18:1;;;9248:47;9312:18;;65693:87:0::3;8995:341:1::0;65693:87:0::3;66682:8:::4;65555:34;65568:10;65580:8;65555:12;:34::i;:::-;65542:9;:47;;65534:78;;;::::0;-1:-1:-1;;;65534:78:0;;9543:2:1;65534:78:0::4;::::0;::::4;9525:21:1::0;9582:2;9562:18;;;9555:30;-1:-1:-1;;;9601:18:1;;;9594:48;9659:18;;65534:78:0::4;9341:342:1::0;65534:78:0::4;66747:19:::5;66728:15;::::0;::::5;;::::0;:38;::::5;;;;;;:::i;:::-;;66706:110;;;::::0;-1:-1:-1;;;66706:110:0;;9890:2:1;66706:110:0::5;::::0;::::5;9872:21:1::0;9929:2;9909:18;;;9902:30;-1:-1:-1;;;9948:18:1;;;9941:52;10010:18;;66706:110:0::5;9688:346:1::0;66706:110:0::5;66829:27;66835:10;66847:8;66829:5;:27::i;:::-;-1:-1:-1::0;;53203:1:0;54157:7;:22;-1:-1:-1;;66475:389:0:o;68313:223::-;63205:13;:11;:13::i;:::-;53247:1:::1;53845:7;;:19;;53837:63;;;;-1:-1:-1::0;;;53837:63:0::1;;;;;;;:::i;:::-;53247:1;53978:7;:18:::0;65998:9:::2;66011:10;65998:23;65990:48;;;;-1:-1:-1::0;;;65990:48:0::2;;;;;;;:::i;:::-;68448:35:::3;::::0;68430:12:::3;::::0;68448:10:::3;::::0;68471:7;;68430:12;68448:35;68430:12;68448:35;68471:7;68448:10;:35:::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;68429:54;;;68500:7;68492:36;;;::::0;-1:-1:-1;;;68492:36:0;;10451:2:1;68492:36:0::3;::::0;::::3;10433:21:1::0;10490:2;10470:18;;;10463:30;-1:-1:-1;;;10509:18:1;;;10502:46;10565:18;;68492:36:0::3;10249:340:1::0;68492:36:0::3;-1:-1:-1::0;;53203:1:0::1;54157:7;:22:::0;68313:223::o;67372:121::-;63205:13;:11;:13::i;:::-;67461:15:::1;:24:::0;;67479:6;;67461:15;-1:-1:-1;;67461:24:0::1;::::0;67479:6;67461:24;;::::1;;;;;;:::i;:::-;;;;;;67372:121:::0;:::o;32357:193::-;32503:39;32520:4;32526:2;32530:7;32503:39;;;;;;;;;;;;:16;:39::i;:::-;32357:193;;;:::o;67235:129::-;63205:13;:11;:13::i;:::-;67340:16;;::::1;::::0;:7:::1;::::0;:16:::1;::::0;::::1;::::0;::::1;:::i;:::-;;67235:129:::0;:::o;20699:152::-;20771:7;20814:27;20833:7;20814:18;:27::i;16241:233::-;16313:7;-1:-1:-1;;;;;16337:19:0;;16333:60;;16365:28;;-1:-1:-1;;;16365:28:0;;;;;;;;;;;16333:60;-1:-1:-1;;;;;;16411:25:0;;;;;:18;:25;;;;;;10400:13;16411:55;;16241:233::o;63967:103::-;63205:13;:11;:13::i;:::-;64032:30:::1;64059:1;64032:18;:30::i;:::-;63967:103::o:0;68544:225::-;63205:13;:11;:13::i;:::-;53247:1:::1;53845:7;;:19;;53837:63;;;;-1:-1:-1::0;;;53837:63:0::1;;;;;;;:::i;:::-;53247:1;53978:7;:18:::0;65998:9:::2;66011:10;65998:23;65990:48;;;;-1:-1:-1::0;;;65990:48:0::2;;;;;;;:::i;:::-;68667:49:::3;::::0;68649:12:::3;::::0;68667:10:::3;::::0;68690:21:::3;::::0;68649:12;68667:49;68649:12;68667:49;68690:21;68667:10;:49:::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;68648:68;;;68733:7;68725:36;;;::::0;-1:-1:-1;;;68725:36:0;;10451:2:1;68725:36:0::3;::::0;::::3;10433:21:1::0;10490:2;10470:18;;;10463:30;-1:-1:-1;;;10509:18:1;;;10502:46;10565:18;;68725:36:0::3;10249:340:1::0;68725:36:0::3;-1:-1:-1::0;53203:1:0::1;54157:7;:22:::0;68544:225::o;19482:104::-;19538:13;19571:7;19564:14;;;;;:::i;67090:137::-;67170:7;67200:19;67214:4;67200:13;:19::i;26355:234::-;49563:10;26450:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;26450:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;26450:60:0;;;;;;;;;;26526:55;;540:41:1;;;26450:49:0;;49563:10;26526:55;;513:18:1;26526:55:0;;;;;;;26355:234;;:::o;66872:206::-;63205:13;:11;:13::i;:::-;53247:1:::1;53845:7;;:19;;53837:63;;;;-1:-1:-1::0;;;53837:63:0::1;;;;;;;:::i;:::-;53247:1;53978:7;:18:::0;65998:9:::2;66011:10;65998:23;65990:48;;;;-1:-1:-1::0;;;65990:48:0::2;;;;;;;:::i;:::-;67019:8:::3;65902:12;65890:8;65874:13;15331:12:::0;;67638:1;15315:13;:28;-1:-1:-1;;15315:46:0;;15057:323;65874:13:::3;:24;;;;:::i;:::-;:40;;65866:71;;;::::0;-1:-1:-1;;;65866:71:0;;8850:2:1;65866:71:0::3;::::0;::::3;8832:21:1::0;8889:2;8869:18;;;8862:30;-1:-1:-1;;;8908:18:1;;;8901:48;8966:18;;65866:71:0::3;8648:342:1::0;65866:71:0::3;67043:27:::4;67049:10;67061:8;67043:5;:27::i;33148:407::-:0;33323:31;33336:4;33342:2;33346:7;33323:12;:31::i;:::-;-1:-1:-1;;;;;33369:14:0;;;:19;33365:183;;33408:56;33439:4;33445:2;33449:7;33458:5;33408:30;:56::i;:::-;33403:145;;33492:40;;-1:-1:-1;;;33492:40:0;;;;;;;;;;;33403:145;33148:407;;;;:::o;19692:318::-;19765:13;19796:16;19804:7;19796;:16::i;:::-;19791:59;;19821:29;;-1:-1:-1;;;19821:29:0;;;;;;;;;;;19791:59;19863:21;19887:10;:8;:10::i;:::-;19863:34;;19921:7;19915:21;19940:1;19915:26;;:87;;;;;;;;;;;;;;;;;19968:7;19977:18;19987:7;19977:9;:18::i;:::-;19951:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;19915:87;19908:94;19692:318;-1:-1:-1;;;19692:318:0:o;66189:131::-;66254:7;66299:13;15331:12;;67638:1;15315:13;:28;-1:-1:-1;;15315:46:0;;15057:323;66299:13;66284:28;;:12;:28;:::i;:::-;66277:35;;66189:131;:::o;64225:201::-;63205:13;:11;:13::i;:::-;-1:-1:-1;;;;;64314:22:0;::::1;64306:73;;;::::0;-1:-1:-1;;;64306:73:0;;11401:2:1;64306:73:0::1;::::0;::::1;11383:21:1::0;11440:2;11420:18;;;11413:30;11479:34;11459:18;;;11452:62;-1:-1:-1;;;11530:18:1;;;11523:36;11576:19;;64306:73:0::1;11199:402:1::0;64306:73:0::1;64390:28;64409:8;64390:18;:28::i;:::-;64225:201:::0;:::o;18404:639::-;18489:4;-1:-1:-1;;;;;;;;;18813:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;18890:25:0;;;18813:102;:179;;;-1:-1:-1;;;;;;;;18967:25:0;-1:-1:-1;;;18967:25:0;;18404:639::o;58424:215::-;58526:4;-1:-1:-1;;;;;;58550:41:0;;-1:-1:-1;;;58550:41:0;;:81;;-1:-1:-1;;;;;;;;;;56085:40:0;;;58595:36;55976:157;27168:282;27233:4;27289:7;67638:1;27270:26;;:66;;;;;27323:13;;27313:7;:23;27270:66;:153;;;;-1:-1:-1;;27374:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;27374:44:0;:49;;27168:282::o;21854:1275::-;21921:7;21956;;67638:1;22005:23;22001:1061;;22058:13;;22051:4;:20;22047:1015;;;22096:14;22113:23;;;:17;:23;;;;;;-1:-1:-1;;;22202:24:0;;22198:845;;22867:113;22874:11;22867:113;;-1:-1:-1;;;22945:6:0;22927:25;;;;:17;:25;;;;;;22867:113;;22198:845;22073:989;22047:1015;23090:31;;-1:-1:-1;;;23090:31:0;;;;;;;;;;;16556:178;-1:-1:-1;;;;;16645:25:0;16617:7;16645:25;;;:18;:25;;10538:2;16645:25;;;;;:50;;10400:13;16644:82;;16556:178::o;67989:316::-;68088:7;68111:20;68158:1;68134:21;68148:6;68134:13;:21::i;:::-;:25;68111:48;;68188:15;:109;;68266:30;68277:19;68266:8;:30;:::i;:::-;68257:40;;:5;:40;:::i;:::-;68188:109;;;68221:18;68230:8;68221:5;:18;:::i;:::-;68170:127;67989:316;-1:-1:-1;;;;67989:316:0:o;36817:2966::-;36913:13;;36941;36937:44;;36963:18;;-1:-1:-1;;;36963:18:0;;;;;;;;;;;36937:44;-1:-1:-1;;;;;37469:22:0;;;;;;:18;:22;;;;10538:2;37469:22;;;:71;;37507:32;37495:45;;37469:71;;;37783:31;;;:17;:31;;;;;-1:-1:-1;24519:15:0;;24493:24;24489:46;24088:11;24063:23;24059:41;24056:52;24046:63;;37783:173;;38018:23;;;;37783:31;;37469:22;;38783:25;37469:22;;38636:335;39297:1;39283:12;39279:20;39237:346;39338:3;39329:7;39326:16;39237:346;;39556:7;39546:8;39543:1;39516:25;39513:1;39510;39505:59;39391:1;39378:15;39237:346;;;-1:-1:-1;39616:13:0;39612:45;;39638:19;;-1:-1:-1;;;39638:19:0;;;;;;;;;;;39612:45;39674:13;:19;-1:-1:-1;32357:193:0;;;:::o;63484:132::-;63365:7;63392:6;-1:-1:-1;;;;;63392:6:0;49563:10;63548:23;63540:68;;;;-1:-1:-1;;;63540:68:0;;11808:2:1;63540:68:0;;;11790:21:1;;;11827:18;;;11820:30;11886:34;11866:18;;;11859:62;11938:18;;63540:68:0;11606:356:1;64586:191:0;64660:16;64679:6;;-1:-1:-1;;;;;64696:17:0;;;-1:-1:-1;;;;;;64696:17:0;;;;;;64729:40;;64679:6;;;;;;;64729:40;;64660:16;64729:40;64649:128;64586:191;:::o;35639:716::-;35823:88;;-1:-1:-1;;;35823:88:0;;35802:4;;-1:-1:-1;;;;;35823:45:0;;;;;:88;;49563:10;;35890:4;;35896:7;;35905:5;;35823:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35823:88:0;;;;;;;;-1:-1:-1;;35823:88:0;;;;;;;;;;;;:::i;:::-;;;35819:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36106:13:0;;36102:235;;36152:40;;-1:-1:-1;;;36152:40:0;;;;;;;;;;;36102:235;36295:6;36289:13;36280:6;36276:2;36272:15;36265:38;35819:529;-1:-1:-1;;;;;;35982:64:0;-1:-1:-1;;;35982:64:0;;-1:-1:-1;35639:716:0;;;;;;:::o;66328:139::-;66416:13;66452:7;66445:14;;;;;:::i;49683:1745::-;49748:17;50182:4;50175;50169:11;50165:22;50274:1;50268:4;50261:15;50349:4;50346:1;50342:12;50335:19;;;50431:1;50426:3;50419:14;50535:3;50774:5;50756:428;50822:1;50817:3;50813:11;50806:18;;50993:2;50987:4;50983:13;50979:2;50975:22;50970:3;50962:36;51087:2;51077:13;;;51144:25;;51162:5;;51144:25;50756:428;;;-1:-1:-1;51214:13:0;;;-1:-1:-1;;51329:14:0;;;51391:19;;;51329:14;49683:1745;-1:-1:-1;49683:1745: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;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:1;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:1:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:1;;1343:180;-1:-1:-1;1343:180:1:o;1736:173::-;1804:20;;-1:-1:-1;;;;;1853:31:1;;1843:42;;1833:70;;1899:1;1896;1889:12;1833:70;1736:173;;;:::o;1914:254::-;1982:6;1990;2043:2;2031:9;2022:7;2018:23;2014:32;2011:52;;;2059:1;2056;2049:12;2011:52;2082:29;2101:9;2082:29;:::i;:::-;2072:39;2158:2;2143:18;;;;2130:32;;-1:-1:-1;;;1914:254:1:o;2355:328::-;2432:6;2440;2448;2501:2;2489:9;2480:7;2476:23;2472:32;2469:52;;;2517:1;2514;2507:12;2469:52;2540:29;2559:9;2540:29;:::i;:::-;2530:39;;2588:38;2622:2;2611:9;2607:18;2588:38;:::i;:::-;2578:48;;2673:2;2662:9;2658:18;2645:32;2635:42;;2355:328;;;;;:::o;2688:248::-;2756:6;2764;2817:2;2805:9;2796:7;2792:23;2788:32;2785:52;;;2833:1;2830;2823:12;2785:52;-1:-1:-1;;2856:23:1;;;2926:2;2911:18;;;2898:32;;-1:-1:-1;2688:248:1:o;3220:275::-;3298:6;3351:2;3339:9;3330:7;3326:23;3322:32;3319:52;;;3367:1;3364;3357:12;3319:52;3406:9;3393:23;3445:1;3438:5;3435:12;3425:40;;3461:1;3458;3451:12;3713:127;3774:10;3769:3;3765:20;3762:1;3755:31;3805:4;3802:1;3795:15;3829:4;3826:1;3819:15;3845:632;3910:5;3940:18;3981:2;3973:6;3970:14;3967:40;;;3987:18;;:::i;:::-;4062:2;4056:9;4030:2;4116:15;;-1:-1:-1;;4112:24:1;;;4138:2;4108:33;4104:42;4092:55;;;4162:18;;;4182:22;;;4159:46;4156:72;;;4208:18;;:::i;:::-;4248:10;4244:2;4237:22;4277:6;4268:15;;4307:6;4299;4292:22;4347:3;4338:6;4333:3;4329:16;4326:25;4323:45;;;4364:1;4361;4354:12;4323:45;4414:6;4409:3;4402:4;4394:6;4390:17;4377:44;4469:1;4462:4;4453:6;4445;4441:19;4437:30;4430:41;;;;3845:632;;;;;:::o;4482:451::-;4551:6;4604:2;4592:9;4583:7;4579:23;4575:32;4572:52;;;4620:1;4617;4610:12;4572:52;4660:9;4647:23;4693:18;4685:6;4682:30;4679:50;;;4725:1;4722;4715:12;4679:50;4748:22;;4801:4;4793:13;;4789:27;-1:-1:-1;4779:55:1;;4830:1;4827;4820:12;4779:55;4853:74;4919:7;4914:2;4901:16;4896:2;4892;4888:11;4853:74;:::i;4938:186::-;4997:6;5050:2;5038:9;5029:7;5025:23;5021:32;5018:52;;;5066:1;5063;5056:12;5018:52;5089:29;5108:9;5089:29;:::i;5129:347::-;5194:6;5202;5255:2;5243:9;5234:7;5230:23;5226:32;5223:52;;;5271:1;5268;5261:12;5223:52;5294:29;5313:9;5294:29;:::i;:::-;5284:39;;5373:2;5362:9;5358:18;5345:32;5420:5;5413:13;5406:21;5399:5;5396:32;5386:60;;5442:1;5439;5432:12;5386:60;5465:5;5455:15;;;5129:347;;;;;:::o;5481:667::-;5576:6;5584;5592;5600;5653:3;5641:9;5632:7;5628:23;5624:33;5621:53;;;5670:1;5667;5660:12;5621:53;5693:29;5712:9;5693:29;:::i;:::-;5683:39;;5741:38;5775:2;5764:9;5760:18;5741:38;:::i;:::-;5731:48;;5826:2;5815:9;5811:18;5798:32;5788:42;;5881:2;5870:9;5866:18;5853:32;5908:18;5900:6;5897:30;5894:50;;;5940:1;5937;5930:12;5894:50;5963:22;;6016:4;6008:13;;6004:27;-1:-1:-1;5994:55:1;;6045:1;6042;6035:12;5994:55;6068:74;6134:7;6129:2;6116:16;6111:2;6107;6103:11;6068:74;:::i;:::-;6058:84;;;5481:667;;;;;;;:::o;6153:127::-;6214:10;6209:3;6205:20;6202:1;6195:31;6245:4;6242:1;6235:15;6269:4;6266:1;6259:15;6285:347;6436:2;6421:18;;6469:1;6458:13;;6448:144;;6514:10;6509:3;6505:20;6502:1;6495:31;6549:4;6546:1;6539:15;6577:4;6574:1;6567:15;6448:144;6601:25;;;6285:347;:::o;6637:260::-;6705:6;6713;6766:2;6754:9;6745:7;6741:23;6737:32;6734:52;;;6782:1;6779;6772:12;6734:52;6805:29;6824:9;6805:29;:::i;:::-;6795:39;;6853:38;6887:2;6876:9;6872:18;6853:38;:::i;:::-;6843:48;;6637:260;;;;;:::o;6902:380::-;6981:1;6977:12;;;;7024;;;7045:61;;7099:4;7091:6;7087:17;7077:27;;7045:61;7152:2;7144:6;7141:14;7121:18;7118:38;7115:161;;;7198:10;7193:3;7189:20;7186:1;7179:31;7233:4;7230:1;7223:15;7261:4;7258:1;7251:15;7115:161;;6902:380;;;:::o;7287:127::-;7348:10;7343:3;7339:20;7336:1;7329:31;7379:4;7376:1;7369:15;7403:4;7400:1;7393:15;7419:168;7459:7;7525:1;7521;7517:6;7513:14;7510:1;7507:21;7502:1;7495:9;7488:17;7484:45;7481:71;;;7532:18;;:::i;:::-;-1:-1:-1;7572:9:1;;7419:168::o;7592:217::-;7632:1;7658;7648:132;;7702:10;7697:3;7693:20;7690:1;7683:31;7737:4;7734:1;7727:15;7765:4;7762:1;7755:15;7648:132;-1:-1:-1;7794:9:1;;7592:217::o;7814:355::-;8016:2;7998:21;;;8055:2;8035:18;;;8028:30;8094:33;8089:2;8074:18;;8067:61;8160:2;8145:18;;7814:355::o;8174:336::-;8376:2;8358:21;;;8415:2;8395:18;;;8388:30;-1:-1:-1;;;8449:2:1;8434:18;;8427:42;8501:2;8486:18;;8174:336::o;8515:128::-;8555:3;8586:1;8582:6;8579:1;8576:13;8573:39;;;8592:18;;:::i;:::-;-1:-1:-1;8628:9:1;;8515:128::o;10594:470::-;10773:3;10811:6;10805:13;10827:53;10873:6;10868:3;10861:4;10853:6;10849:17;10827:53;:::i;:::-;10943:13;;10902:16;;;;10965:57;10943:13;10902:16;10999:4;10987:17;;10965:57;:::i;:::-;11038:20;;10594:470;-1:-1:-1;;;;10594:470:1:o;11069:125::-;11109:4;11137:1;11134;11131:8;11128:34;;;11142:18;;:::i;:::-;-1:-1:-1;11179:9:1;;11069:125::o;11967:489::-;-1:-1:-1;;;;;12236:15:1;;;12218:34;;12288:15;;12283:2;12268:18;;12261:43;12335:2;12320:18;;12313:34;;;12383:3;12378:2;12363:18;;12356:31;;;12161:4;;12404:46;;12430:19;;12422:6;12404:46;:::i;:::-;12396:54;11967:489;-1:-1:-1;;;;;;11967:489:1:o;12461:249::-;12530:6;12583:2;12571:9;12562:7;12558:23;12554:32;12551:52;;;12599:1;12596;12589:12;12551:52;12631:9;12625:16;12650:30;12674:5;12650:30;:::i
Swarm Source
ipfs://be22597780f185e1c1687090aa7bec8822f665fd20eef64bbf3bb1b6a98e93ed
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.