Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 933 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Approval For... | 21105413 | 24 days ago | IN | 0 ETH | 0.00011439 | ||||
Set Approval For... | 21105411 | 24 days ago | IN | 0 ETH | 0.00010012 | ||||
Set Approval For... | 20534338 | 104 days ago | IN | 0 ETH | 0.00025105 | ||||
Set Approval For... | 17109420 | 584 days ago | IN | 0 ETH | 0.00097929 | ||||
Set Approval For... | 17107286 | 584 days ago | IN | 0 ETH | 0.00222657 | ||||
Set Approval For... | 16768238 | 632 days ago | IN | 0 ETH | 0.00091341 | ||||
Set Approval For... | 16751830 | 635 days ago | IN | 0 ETH | 0.00091072 | ||||
Set Approval For... | 16747057 | 635 days ago | IN | 0 ETH | 0.00095259 | ||||
Set Approval For... | 16745989 | 635 days ago | IN | 0 ETH | 0.00086198 | ||||
Set Approval For... | 15810370 | 766 days ago | IN | 0 ETH | 0.00051826 | ||||
Set Approval For... | 15810369 | 766 days ago | IN | 0 ETH | 0.00052001 | ||||
Set Approval For... | 15804092 | 767 days ago | IN | 0 ETH | 0.00082389 | ||||
Safe Transfer Fr... | 15804015 | 767 days ago | IN | 0 ETH | 0.00109832 | ||||
Set Approval For... | 15797608 | 768 days ago | IN | 0 ETH | 0.00089836 | ||||
Set Approval For... | 15789015 | 769 days ago | IN | 0 ETH | 0.00080258 | ||||
Set Approval For... | 15787550 | 769 days ago | IN | 0 ETH | 0.00088982 | ||||
Set Approval For... | 15787457 | 769 days ago | IN | 0 ETH | 0.00094975 | ||||
Set Approval For... | 15787207 | 769 days ago | IN | 0 ETH | 0.00083183 | ||||
Set Approval For... | 15585440 | 798 days ago | IN | 0 ETH | 0.0001989 | ||||
Set Approval For... | 15477516 | 814 days ago | IN | 0 ETH | 0.00029372 | ||||
Set Approval For... | 15476440 | 814 days ago | IN | 0 ETH | 0.00036028 | ||||
Set Approval For... | 15470525 | 815 days ago | IN | 0 ETH | 0.0003158 | ||||
Set Approval For... | 15469887 | 815 days ago | IN | 0 ETH | 0.00027389 | ||||
Set Approval For... | 15469875 | 815 days ago | IN | 0 ETH | 0.00038164 | ||||
Set Approval For... | 15469590 | 815 days ago | IN | 0 ETH | 0.00021028 |
Latest 1 internal transaction
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
15468649 | 816 days ago | 0.302 ETH |
Loading...
Loading
Contract Name:
Abstraction
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-09-03 */ /** *Submitted for verification at Etherscan.io on 2022-08-31 */ /** *Submitted for verification at Etherscan.io on 2022-08-18 */ /** *Submitted for verification at Etherscan.io on 2022-08-18 */ // SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/security/ReentrancyGuard.sol /** Where am i?....... */ // 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/Strings.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } // File: @openzeppelin/contracts/utils/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: erc721a/contracts/IERC721A.sol // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of an ERC721A compliant contract. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set through `_extraData`. uint24 extraData; } /** * @dev Returns the total amount of tokens stored by the contract. * * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens. */ function totalSupply() external view returns (uint256); // ============================== // IERC165 // ============================== /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================== // IERC721 // ============================== /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================== // IERC721Metadata // ============================== /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================== // IERC2309 // ============================== /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` (inclusive) is transferred from `from` to `to`, * as defined in the ERC2309 standard. See `_mintERC2309` for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } // File: erc721a/contracts/ERC721A.sol // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev ERC721 token receiver interface. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, * including the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at `_startTokenId()` * (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Mask of an entry in packed address data. uint256 private constant BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with `_mintERC2309`. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to `_mintERC2309` // is required to cause an overflow, which is unrealistic. uint256 private constant MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The tokenId of the next token to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See `_packedOwnershipOf` implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see `_totalMinted`. */ function totalSupply() public view override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to `_startTokenId()` unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view returns (uint256) { return _burnCounter; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes of the XOR of // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165 // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)` return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_MINTED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_BURNED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX); _packedAddressData[owner] = packed; } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & BITMASK_BURNED == 0) { // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. // // We can directly compare the packed value. // If the address is zero, packed is zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> BITPOS_START_TIMESTAMP); ownership.burned = packed & BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> BITPOS_EXTRA_DATA); } /** * Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, BITMASK_ADDRESS) // `owner | (block.timestamp << BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << BITPOS_NEXT_INITIALIZED`. result := shl(BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned. } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 tokenId = startTokenId; uint256 end = startTokenId + quantity; do { emit Transfer(address(0), to, tokenId++); } while (tokenId < end); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { mapping(uint256 => address) storage tokenApprovalsPtr = _tokenApprovals; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`. assembly { // Compute the slot. mstore(0x00, tokenId) mstore(0x20, tokenApprovalsPtr.slot) approvedAddressSlot := keccak256(0x00, 0x40) // Load the slot's value from storage. approvedAddress := sload(approvedAddressSlot) } } /** * @dev Returns whether the `approvedAddress` is equals to `from` or `msgSender`. */ function _isOwnerOrApproved( address approvedAddress, address from, address msgSender ) private pure returns (bool result) { assembly { // Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean. from := and(from, BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, BITMASK_ADDRESS) // `msgSender == from || msgSender == approvedAddress`. result := or(eq(msgSender, from), eq(msgSender, approvedAddress)) } } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isOwnerOrApproved(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isOwnerOrApproved(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (BITMASK_BURNED | BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << BITPOS_EXTRA_DATA; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. * This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. * This includes minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function _toString(uint256 value) internal pure returns (string memory ptr) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128. ptr := add(mload(0x40), 128) // Update the free memory pointer to allocate. mstore(0x40, ptr) // Cache the end of the memory to calculate the length later. let end := ptr // We write the string from the rightmost digit to the leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // Costs a bit more than early returning for the zero case, // but cheaper in terms of deployment and overall runtime costs. for { // Initialize and perform the first pass without check. let temp := value // Move the pointer 1 byte leftwards to point to an empty character slot. ptr := sub(ptr, 1) // Write the character to the pointer. 48 is the ASCII index of '0'. mstore8(ptr, add(48, mod(temp, 10))) temp := div(temp, 10) } temp { // Keep dividing `temp` until zero. temp := div(temp, 10) } { // Body of the for loop. ptr := sub(ptr, 1) mstore8(ptr, add(48, mod(temp, 10))) } let length := sub(end, ptr) // Move the pointer 32 bytes leftwards to make room for the length. ptr := sub(ptr, 32) // Store the length. mstore(ptr, length) } } } // File: erc721a/contracts/extensions/IERC721AQueryable.sol // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of an ERC721AQueryable compliant contract. */ interface IERC721AQueryable is IERC721A { /** * Invalid query range (`start` >= `stop`). */ error InvalidQueryRange(); /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * - `addr` = `address(0)` * - `startTimestamp` = `0` * - `burned` = `false` * * If the `tokenId` is burned: * - `addr` = `<Address of owner before token was burned>` * - `startTimestamp` = `<Timestamp when token was burned>` * - `burned = `true` * * Otherwise: * - `addr` = `<Address of owner>` * - `startTimestamp` = `<Timestamp of start of ownership>` * - `burned = `false` */ function explicitOwnershipOf(uint256 tokenId) external view returns (TokenOwnership memory); /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory); /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start` < `stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view returns (uint256[] memory); /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(totalSupply) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K pfp collections should be fine). */ function tokensOfOwner(address owner) external view returns (uint256[] memory); } // File: erc721a/contracts/extensions/ERC721AQueryable.sol // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @title ERC721A Queryable * @dev ERC721A subclass with convenience query functions. */ abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable { /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * - `addr` = `address(0)` * - `startTimestamp` = `0` * - `burned` = `false` * - `extraData` = `0` * * If the `tokenId` is burned: * - `addr` = `<Address of owner before token was burned>` * - `startTimestamp` = `<Timestamp when token was burned>` * - `burned = `true` * - `extraData` = `<Extra data when token was burned>` * * Otherwise: * - `addr` = `<Address of owner>` * - `startTimestamp` = `<Timestamp of start of ownership>` * - `burned = `false` * - `extraData` = `<Extra data at start of ownership>` */ function explicitOwnershipOf(uint256 tokenId) public view override returns (TokenOwnership memory) { TokenOwnership memory ownership; if (tokenId < _startTokenId() || tokenId >= _nextTokenId()) { return ownership; } ownership = _ownershipAt(tokenId); if (ownership.burned) { return ownership; } return _ownershipOf(tokenId); } /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] memory tokenIds) external view override returns (TokenOwnership[] memory) { unchecked { uint256 tokenIdsLength = tokenIds.length; TokenOwnership[] memory ownerships = new TokenOwnership[](tokenIdsLength); for (uint256 i; i != tokenIdsLength; ++i) { ownerships[i] = explicitOwnershipOf(tokenIds[i]); } return ownerships; } } /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start` < `stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view override returns (uint256[] memory) { unchecked { if (start >= stop) revert InvalidQueryRange(); uint256 tokenIdsIdx; uint256 stopLimit = _nextTokenId(); // Set `start = max(start, _startTokenId())`. if (start < _startTokenId()) { start = _startTokenId(); } // Set `stop = min(stop, stopLimit)`. if (stop > stopLimit) { stop = stopLimit; } uint256 tokenIdsMaxLength = balanceOf(owner); // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`, // to cater for cases where `balanceOf(owner)` is too big. if (start < stop) { uint256 rangeLength = stop - start; if (rangeLength < tokenIdsMaxLength) { tokenIdsMaxLength = rangeLength; } } else { tokenIdsMaxLength = 0; } uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength); if (tokenIdsMaxLength == 0) { return tokenIds; } // We need to call `explicitOwnershipOf(start)`, // because the slot at `start` may not be initialized. TokenOwnership memory ownership = explicitOwnershipOf(start); address currOwnershipAddr; // If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`. // `ownership.address` will not be zero, as `start` is clamped to the valid token ID range. if (!ownership.burned) { currOwnershipAddr = ownership.addr; } for (uint256 i = start; i != stop && tokenIdsIdx != tokenIdsMaxLength; ++i) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } // Downsize the array to fit. assembly { mstore(tokenIds, tokenIdsIdx) } return tokenIds; } } /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(totalSupply) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K pfp collections should be fine). */ function tokensOfOwner(address owner) external view override returns (uint256[] memory) { unchecked { uint256 tokenIdsIdx; address currOwnershipAddr; uint256 tokenIdsLength = balanceOf(owner); uint256[] memory tokenIds = new uint256[](tokenIdsLength); TokenOwnership memory ownership; for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } return tokenIds; } } } pragma solidity ^0.8.0; contract Abstraction is ERC721A, Ownable, ReentrancyGuard { using Strings for uint; string public hiddenMetadataUri; string public baseTokenURI = "ipfs://Qmd/"; uint256 public maxSupply = 666; uint256 public MAX_MINTS_PER_TX = 10; uint256 public PUBLIC_SALE_PRICE = 0.005 ether; uint256 public NUM_FREE_MINTS = 0; uint256 public MAX_FREE_PER_WALLET = 0; uint256 public freeNFTAlreadyMinted = 0; bool public isPublicSaleActive = false; constructor( string memory _tokenName, string memory _tokenSymbol, string memory _hiddenMetadataUri ) ERC721A(_tokenName, _tokenSymbol) { setHiddenMetadataUri(_hiddenMetadataUri); } function mint(uint256 numberOfTokens) external payable { require(isPublicSaleActive, "Public sale is not open"); require(totalSupply() + numberOfTokens < maxSupply + 1, "No more"); if(freeNFTAlreadyMinted + numberOfTokens > NUM_FREE_MINTS){ require( (PUBLIC_SALE_PRICE * numberOfTokens) <= msg.value, "Incorrect ETH value sent" ); } else { if (balanceOf(msg.sender) + numberOfTokens > MAX_FREE_PER_WALLET) { require( (PUBLIC_SALE_PRICE * numberOfTokens) <= msg.value, "Incorrect ETH value sent" ); require( numberOfTokens <= MAX_MINTS_PER_TX, "Max mints per transaction exceeded" ); } else { require( numberOfTokens <= MAX_FREE_PER_WALLET, "Max mints per transaction exceeded" ); freeNFTAlreadyMinted += numberOfTokens; } } _safeMint(msg.sender, numberOfTokens); } function setBaseURI(string memory baseURI) public onlyOwner { baseTokenURI = baseURI; } function treasuryMint(uint quantity) public onlyOwner { require( quantity > 0, "Invalid mint amount" ); require( totalSupply() + quantity <= maxSupply, "Maximum supply exceeded" ); _safeMint(msg.sender, quantity); } function withdraw() public onlyOwner nonReentrant { // This will transfer the remaining contract balance to the owner. // Do not remove this otherwise you will not be able to withdraw the funds. // ============================================================================= (bool os, ) = payable(owner()).call{value: address(this).balance}(''); require(os); // ============================================================================= } function tokenURI(uint _tokenId) public view virtual override returns (string memory) { require( _exists(_tokenId), "ERC721Metadata: URI query for nonexistent token" ); return string(abi.encodePacked(baseTokenURI, "/", _tokenId.toString(), ".json")); } function _baseURI() internal view virtual override returns (string memory) { return baseTokenURI; } function setIsPublicSaleActive(bool _isPublicSaleActive) external onlyOwner { isPublicSaleActive = _isPublicSaleActive; } function setHiddenMetadataUri(string memory _hiddenMetadataUri) public onlyOwner { hiddenMetadataUri = _hiddenMetadataUri; } function setNumFreeMints(uint256 _numfreemints) external onlyOwner { NUM_FREE_MINTS = _numfreemints; } function setSalePrice(uint256 _price) external onlyOwner { PUBLIC_SALE_PRICE = _price; } function setMaxLimitPerTransaction(uint256 _limit) external onlyOwner { MAX_MINTS_PER_TX = _limit; } function setFreeLimitPerWallet(uint256 _limit) external onlyOwner { MAX_FREE_PER_WALLET = _limit; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_tokenName","type":"string"},{"internalType":"string","name":"_tokenSymbol","type":"string"},{"internalType":"string","name":"_hiddenMetadataUri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"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":"MAX_FREE_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINTS_PER_TX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NUM_FREE_MINTS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_SALE_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeNFTAlreadyMinted","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":[],"name":"hiddenMetadataUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setFreeLimitPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hiddenMetadataUri","type":"string"}],"name":"setHiddenMetadataUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isPublicSaleActive","type":"bool"}],"name":"setIsPublicSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setMaxLimitPerTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_numfreemints","type":"uint256"}],"name":"setNumFreeMints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setSalePrice","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":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"treasuryMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60c0604052600b60808190526a697066733a2f2f516d642f60a81b60a09081526200002c919081620001bc565b5061029a600c55600a600d556611c37937e08000600e556000600f81905560108190556011556012805460ff191690553480156200006957600080fd5b5060405162002043380380620020438339810160408190526200008c9162000319565b825183908390620000a5906002906020850190620001bc565b508051620000bb906003906020840190620001bc565b50506000805550620000cd33620000e6565b6001600955620000dd8162000138565b505050620003fd565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620001426200015b565b80516200015790600a906020840190620001bc565b5050565b6008546001600160a01b03163314620001ba5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b565b828054620001ca90620003aa565b90600052602060002090601f016020900481019282620001ee576000855562000239565b82601f106200020957805160ff191683800117855562000239565b8280016001018555821562000239579182015b82811115620002395782518255916020019190600101906200021c565b50620002479291506200024b565b5090565b5b808211156200024757600081556001016200024c565b600082601f8301126200027457600080fd5b81516001600160401b0380821115620002915762000291620003e7565b604051601f8301601f19908116603f01168101908282118183101715620002bc57620002bc620003e7565b81604052838152602092508683858801011115620002d957600080fd5b600091505b83821015620002fd5785820183015181830184015290820190620002de565b838211156200030f5760008385830101525b9695505050505050565b6000806000606084860312156200032f57600080fd5b83516001600160401b03808211156200034757600080fd5b620003558783880162000262565b945060208601519150808211156200036c57600080fd5b6200037a8783880162000262565b935060408601519150808211156200039157600080fd5b50620003a08682870162000262565b9150509250925092565b600181811c90821680620003bf57607f821691505b60208210811415620003e157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b611c36806200040d6000396000f3fe60806040526004361061020f5760003560e01c806370a0823111610118578063a45ba8e7116100a0578063d547cfb71161006f578063d547cfb7146105b9578063d5abeb01146105ce578063e985e9c5146105e4578063efdc77881461062d578063f2fde38b1461064d57600080fd5b8063a45ba8e71461054e578063b88d4fde14610563578063c6a91b4214610583578063c87b56dd1461059957600080fd5b8063982d669e116100e7578063982d669e146104cf57806398710d1e146104e55780639e9fcffc146104fb578063a0712d681461051b578063a22cb4651461052e57600080fd5b806370a0823114610467578063715018a6146104875780638da5cb5b1461049c57806395d89b41146104ba57600080fd5b80631e84c4131161019b5780633ccfd60b1161016a5780633ccfd60b146103d257806342842e0e146103e75780634fdd43cb1461040757806355f804b3146104275780636352211e1461044757600080fd5b80631e84c41314610358578063202f298a1461037257806323b872dd1461039257806328cad13d146103b257600080fd5b8063095ea7b3116101e2578063095ea7b3146102c75780630a00ae83146102e957806318160ddd146103095780631919fed714610322578063193ad7b41461034257600080fd5b806301ffc9a71461021457806306fdde031461024957806307e89ec01461026b578063081812fc1461028f575b600080fd5b34801561022057600080fd5b5061023461022f366004611859565b61066d565b60405190151581526020015b60405180910390f35b34801561025557600080fd5b5061025e6106bf565b6040516102409190611a45565b34801561027757600080fd5b50610281600e5481565b604051908152602001610240565b34801561029b57600080fd5b506102af6102aa3660046118dc565b610751565b6040516001600160a01b039091168152602001610240565b3480156102d357600080fd5b506102e76102e2366004611814565b610795565b005b3480156102f557600080fd5b506102e76103043660046118dc565b610835565b34801561031557600080fd5b5060015460005403610281565b34801561032e57600080fd5b506102e761033d3660046118dc565b610842565b34801561034e57600080fd5b5061028160115481565b34801561036457600080fd5b506012546102349060ff1681565b34801561037e57600080fd5b506102e761038d3660046118dc565b61084f565b34801561039e57600080fd5b506102e76103ad366004611732565b61085c565b3480156103be57600080fd5b506102e76103cd36600461183e565b6109ed565b3480156103de57600080fd5b506102e7610a08565b3480156103f357600080fd5b506102e7610402366004611732565b610ae6565b34801561041357600080fd5b506102e7610422366004611893565b610b06565b34801561043357600080fd5b506102e7610442366004611893565b610b25565b34801561045357600080fd5b506102af6104623660046118dc565b610b40565b34801561047357600080fd5b506102816104823660046116e4565b610b4b565b34801561049357600080fd5b506102e7610b9a565b3480156104a857600080fd5b506008546001600160a01b03166102af565b3480156104c657600080fd5b5061025e610bae565b3480156104db57600080fd5b50610281600f5481565b3480156104f157600080fd5b5061028160105481565b34801561050757600080fd5b506102e76105163660046118dc565b610bbd565b6102e76105293660046118dc565b610bca565b34801561053a57600080fd5b506102e76105493660046117ea565b610dcb565b34801561055a57600080fd5b5061025e610e61565b34801561056f57600080fd5b506102e761057e36600461176e565b610eef565b34801561058f57600080fd5b50610281600d5481565b3480156105a557600080fd5b5061025e6105b43660046118dc565b610f39565b3480156105c557600080fd5b5061025e610fda565b3480156105da57600080fd5b50610281600c5481565b3480156105f057600080fd5b506102346105ff3660046116ff565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561063957600080fd5b506102e76106483660046118dc565b610fe7565b34801561065957600080fd5b506102e76106683660046116e4565b61109e565b60006301ffc9a760e01b6001600160e01b03198316148061069e57506380ac58cd60e01b6001600160e01b03198316145b806106b95750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546106ce90611b28565b80601f01602080910402602001604051908101604052809291908181526020018280546106fa90611b28565b80156107475780601f1061071c57610100808354040283529160200191610747565b820191906000526020600020905b81548152906001019060200180831161072a57829003601f168201915b5050505050905090565b600061075c82611114565b610779576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006107a082610b40565b9050336001600160a01b038216146107d9576107bc81336105ff565b6107d9576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b61083d61113b565b600f55565b61084a61113b565b600e55565b61085761113b565b601055565b600061086782611195565b9050836001600160a01b0316816001600160a01b03161461089a5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176108e7576108ca86336105ff565b6108e757604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661090e57604051633a954ecd60e21b815260040160405180910390fd5b801561091957600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b83166109a457600184016000818152600460205260409020546109a25760005481146109a25760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6109f561113b565b6012805460ff1916911515919091179055565b610a1061113b565b60026009541415610a685760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b60026009556000610a816008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610acb576040519150601f19603f3d011682016040523d82523d6000602084013e610ad0565b606091505b5050905080610ade57600080fd5b506001600955565b610b0183838360405180602001604052806000815250610eef565b505050565b610b0e61113b565b8051610b2190600a9060208401906115a9565b5050565b610b2d61113b565b8051610b2190600b9060208401906115a9565b60006106b982611195565b60006001600160a01b038216610b74576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610ba261113b565b610bac60006111fd565b565b6060600380546106ce90611b28565b610bc561113b565b600d55565b60125460ff16610c1c5760405162461bcd60e51b815260206004820152601760248201527f5075626c69632073616c65206973206e6f74206f70656e0000000000000000006044820152606401610a5f565b600c54610c2a906001611a9a565b81610c386001546000540390565b610c429190611a9a565b10610c795760405162461bcd60e51b81526020600482015260076024820152664e6f206d6f726560c81b6044820152606401610a5f565b600f5481601154610c8a9190611a9a565b1115610ced573481600e54610c9f9190611ac6565b1115610ce85760405162461bcd60e51b8152602060048201526018602482015277125b98dbdc9c9958dd08115512081d985b1d59481cd95b9d60421b6044820152606401610a5f565b610dbe565b60105481610cfa33610b4b565b610d049190611a9a565b1115610d84573481600e54610d199190611ac6565b1115610d625760405162461bcd60e51b8152602060048201526018602482015277125b98dbdc9c9958dd08115512081d985b1d59481cd95b9d60421b6044820152606401610a5f565b600d54811115610ce85760405162461bcd60e51b8152600401610a5f90611a58565b601054811115610da65760405162461bcd60e51b8152600401610a5f90611a58565b8060116000828254610db89190611a9a565b90915550505b610dc8338261124f565b50565b6001600160a01b038216331415610df55760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600a8054610e6e90611b28565b80601f0160208091040260200160405190810160405280929190818152602001828054610e9a90611b28565b8015610ee75780601f10610ebc57610100808354040283529160200191610ee7565b820191906000526020600020905b815481529060010190602001808311610eca57829003601f168201915b505050505081565b610efa84848461085c565b6001600160a01b0383163b15610f3357610f1684848484611269565b610f33576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610f4482611114565b610fa85760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610a5f565b600b610fb383611361565b604051602001610fc492919061193d565b6040516020818303038152906040529050919050565b600b8054610e6e90611b28565b610fef61113b565b600081116110355760405162461bcd60e51b8152602060048201526013602482015272125b9d985b1a59081b5a5b9d08185b5bdd5b9d606a1b6044820152606401610a5f565b600c54816110466001546000540390565b6110509190611a9a565b1115610dbe5760405162461bcd60e51b815260206004820152601760248201527f4d6178696d756d20737570706c792065786365656465640000000000000000006044820152606401610a5f565b6110a661113b565b6001600160a01b03811661110b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a5f565b610dc8816111fd565b60008054821080156106b9575050600090815260046020526040902054600160e01b161590565b6008546001600160a01b03163314610bac5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a5f565b6000816000548110156111e457600081815260046020526040902054600160e01b81166111e2575b806111db5750600019016000818152600460205260409020546111bd565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610b2182826040518060200160405280600081525061145f565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061129e903390899088908890600401611a08565b602060405180830381600087803b1580156112b857600080fd5b505af19250505080156112e8575060408051601f3d908101601f191682019092526112e591810190611876565b60015b611343573d808015611316576040519150601f19603f3d011682016040523d82523d6000602084013e61131b565b606091505b50805161133b576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060816113855750506040805180820190915260018152600360fc1b602082015290565b8160005b81156113af578061139981611b63565b91506113a89050600a83611ab2565b9150611389565b60008167ffffffffffffffff8111156113ca576113ca611bd4565b6040519080825280601f01601f1916602001820160405280156113f4576020820181803683370190505b5090505b841561135957611409600183611ae5565b9150611416600a86611b7e565b611421906030611a9a565b60f81b81838151811061143657611436611bbe565b60200101906001600160f81b031916908160001a905350611458600a86611ab2565b94506113f8565b61146983836114cc565b6001600160a01b0383163b15610b01576000548281035b6114936000868380600101945086611269565b6114b0576040516368d2bf6b60e11b815260040160405180910390fd5b8181106114805781600054146114c557600080fd5b5050505050565b6000546001600160a01b0383166114f557604051622e076360e81b815260040160405180910390fd5b816115135760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260046020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821061155d5760005550505050565b8280546115b590611b28565b90600052602060002090601f0160209004810192826115d7576000855561161d565b82601f106115f057805160ff191683800117855561161d565b8280016001018555821561161d579182015b8281111561161d578251825591602001919060010190611602565b5061162992915061162d565b5090565b5b80821115611629576000815560010161162e565b600067ffffffffffffffff8084111561165d5761165d611bd4565b604051601f8501601f19908116603f0116810190828211818310171561168557611685611bd4565b8160405280935085815286868601111561169e57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b03811681146116cf57600080fd5b919050565b803580151581146116cf57600080fd5b6000602082840312156116f657600080fd5b6111db826116b8565b6000806040838503121561171257600080fd5b61171b836116b8565b9150611729602084016116b8565b90509250929050565b60008060006060848603121561174757600080fd5b611750846116b8565b925061175e602085016116b8565b9150604084013590509250925092565b6000806000806080858703121561178457600080fd5b61178d856116b8565b935061179b602086016116b8565b925060408501359150606085013567ffffffffffffffff8111156117be57600080fd5b8501601f810187136117cf57600080fd5b6117de87823560208401611642565b91505092959194509250565b600080604083850312156117fd57600080fd5b611806836116b8565b9150611729602084016116d4565b6000806040838503121561182757600080fd5b611830836116b8565b946020939093013593505050565b60006020828403121561185057600080fd5b6111db826116d4565b60006020828403121561186b57600080fd5b81356111db81611bea565b60006020828403121561188857600080fd5b81516111db81611bea565b6000602082840312156118a557600080fd5b813567ffffffffffffffff8111156118bc57600080fd5b8201601f810184136118cd57600080fd5b61135984823560208401611642565b6000602082840312156118ee57600080fd5b5035919050565b6000815180845261190d816020860160208601611afc565b601f01601f19169290920160200192915050565b60008151611933818560208601611afc565b9290920192915050565b600080845481600182811c91508083168061195957607f831692505b602080841082141561197957634e487b7160e01b86526022600452602486fd5b81801561198d576001811461199e576119cb565b60ff198616895284890196506119cb565b60008b81526020902060005b868110156119c35781548b8201529085019083016119aa565b505084890196505b5050505050506119ff6119ee6119e883602f60f81b815260010190565b86611921565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611a3b908301846118f5565b9695505050505050565b6020815260006111db60208301846118f5565b60208082526022908201527f4d6178206d696e747320706572207472616e73616374696f6e20657863656564604082015261195960f21b606082015260800190565b60008219821115611aad57611aad611b92565b500190565b600082611ac157611ac1611ba8565b500490565b6000816000190483118215151615611ae057611ae0611b92565b500290565b600082821015611af757611af7611b92565b500390565b60005b83811015611b17578181015183820152602001611aff565b83811115610f335750506000910152565b600181811c90821680611b3c57607f821691505b60208210811415611b5d57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611b7757611b77611b92565b5060010190565b600082611b8d57611b8d611ba8565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610dc857600080fdfea26469706673582212206450f25037bc248d526f8a34f1ef53683f7adadecb1b8863f4e7770da663135c64736f6c63430008070033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000b4162737472616374696f6e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002414200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000076a6a6a6a6a6a6a00000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061020f5760003560e01c806370a0823111610118578063a45ba8e7116100a0578063d547cfb71161006f578063d547cfb7146105b9578063d5abeb01146105ce578063e985e9c5146105e4578063efdc77881461062d578063f2fde38b1461064d57600080fd5b8063a45ba8e71461054e578063b88d4fde14610563578063c6a91b4214610583578063c87b56dd1461059957600080fd5b8063982d669e116100e7578063982d669e146104cf57806398710d1e146104e55780639e9fcffc146104fb578063a0712d681461051b578063a22cb4651461052e57600080fd5b806370a0823114610467578063715018a6146104875780638da5cb5b1461049c57806395d89b41146104ba57600080fd5b80631e84c4131161019b5780633ccfd60b1161016a5780633ccfd60b146103d257806342842e0e146103e75780634fdd43cb1461040757806355f804b3146104275780636352211e1461044757600080fd5b80631e84c41314610358578063202f298a1461037257806323b872dd1461039257806328cad13d146103b257600080fd5b8063095ea7b3116101e2578063095ea7b3146102c75780630a00ae83146102e957806318160ddd146103095780631919fed714610322578063193ad7b41461034257600080fd5b806301ffc9a71461021457806306fdde031461024957806307e89ec01461026b578063081812fc1461028f575b600080fd5b34801561022057600080fd5b5061023461022f366004611859565b61066d565b60405190151581526020015b60405180910390f35b34801561025557600080fd5b5061025e6106bf565b6040516102409190611a45565b34801561027757600080fd5b50610281600e5481565b604051908152602001610240565b34801561029b57600080fd5b506102af6102aa3660046118dc565b610751565b6040516001600160a01b039091168152602001610240565b3480156102d357600080fd5b506102e76102e2366004611814565b610795565b005b3480156102f557600080fd5b506102e76103043660046118dc565b610835565b34801561031557600080fd5b5060015460005403610281565b34801561032e57600080fd5b506102e761033d3660046118dc565b610842565b34801561034e57600080fd5b5061028160115481565b34801561036457600080fd5b506012546102349060ff1681565b34801561037e57600080fd5b506102e761038d3660046118dc565b61084f565b34801561039e57600080fd5b506102e76103ad366004611732565b61085c565b3480156103be57600080fd5b506102e76103cd36600461183e565b6109ed565b3480156103de57600080fd5b506102e7610a08565b3480156103f357600080fd5b506102e7610402366004611732565b610ae6565b34801561041357600080fd5b506102e7610422366004611893565b610b06565b34801561043357600080fd5b506102e7610442366004611893565b610b25565b34801561045357600080fd5b506102af6104623660046118dc565b610b40565b34801561047357600080fd5b506102816104823660046116e4565b610b4b565b34801561049357600080fd5b506102e7610b9a565b3480156104a857600080fd5b506008546001600160a01b03166102af565b3480156104c657600080fd5b5061025e610bae565b3480156104db57600080fd5b50610281600f5481565b3480156104f157600080fd5b5061028160105481565b34801561050757600080fd5b506102e76105163660046118dc565b610bbd565b6102e76105293660046118dc565b610bca565b34801561053a57600080fd5b506102e76105493660046117ea565b610dcb565b34801561055a57600080fd5b5061025e610e61565b34801561056f57600080fd5b506102e761057e36600461176e565b610eef565b34801561058f57600080fd5b50610281600d5481565b3480156105a557600080fd5b5061025e6105b43660046118dc565b610f39565b3480156105c557600080fd5b5061025e610fda565b3480156105da57600080fd5b50610281600c5481565b3480156105f057600080fd5b506102346105ff3660046116ff565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561063957600080fd5b506102e76106483660046118dc565b610fe7565b34801561065957600080fd5b506102e76106683660046116e4565b61109e565b60006301ffc9a760e01b6001600160e01b03198316148061069e57506380ac58cd60e01b6001600160e01b03198316145b806106b95750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546106ce90611b28565b80601f01602080910402602001604051908101604052809291908181526020018280546106fa90611b28565b80156107475780601f1061071c57610100808354040283529160200191610747565b820191906000526020600020905b81548152906001019060200180831161072a57829003601f168201915b5050505050905090565b600061075c82611114565b610779576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006107a082610b40565b9050336001600160a01b038216146107d9576107bc81336105ff565b6107d9576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b61083d61113b565b600f55565b61084a61113b565b600e55565b61085761113b565b601055565b600061086782611195565b9050836001600160a01b0316816001600160a01b03161461089a5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176108e7576108ca86336105ff565b6108e757604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661090e57604051633a954ecd60e21b815260040160405180910390fd5b801561091957600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b83166109a457600184016000818152600460205260409020546109a25760005481146109a25760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6109f561113b565b6012805460ff1916911515919091179055565b610a1061113b565b60026009541415610a685760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b60026009556000610a816008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610acb576040519150601f19603f3d011682016040523d82523d6000602084013e610ad0565b606091505b5050905080610ade57600080fd5b506001600955565b610b0183838360405180602001604052806000815250610eef565b505050565b610b0e61113b565b8051610b2190600a9060208401906115a9565b5050565b610b2d61113b565b8051610b2190600b9060208401906115a9565b60006106b982611195565b60006001600160a01b038216610b74576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610ba261113b565b610bac60006111fd565b565b6060600380546106ce90611b28565b610bc561113b565b600d55565b60125460ff16610c1c5760405162461bcd60e51b815260206004820152601760248201527f5075626c69632073616c65206973206e6f74206f70656e0000000000000000006044820152606401610a5f565b600c54610c2a906001611a9a565b81610c386001546000540390565b610c429190611a9a565b10610c795760405162461bcd60e51b81526020600482015260076024820152664e6f206d6f726560c81b6044820152606401610a5f565b600f5481601154610c8a9190611a9a565b1115610ced573481600e54610c9f9190611ac6565b1115610ce85760405162461bcd60e51b8152602060048201526018602482015277125b98dbdc9c9958dd08115512081d985b1d59481cd95b9d60421b6044820152606401610a5f565b610dbe565b60105481610cfa33610b4b565b610d049190611a9a565b1115610d84573481600e54610d199190611ac6565b1115610d625760405162461bcd60e51b8152602060048201526018602482015277125b98dbdc9c9958dd08115512081d985b1d59481cd95b9d60421b6044820152606401610a5f565b600d54811115610ce85760405162461bcd60e51b8152600401610a5f90611a58565b601054811115610da65760405162461bcd60e51b8152600401610a5f90611a58565b8060116000828254610db89190611a9a565b90915550505b610dc8338261124f565b50565b6001600160a01b038216331415610df55760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600a8054610e6e90611b28565b80601f0160208091040260200160405190810160405280929190818152602001828054610e9a90611b28565b8015610ee75780601f10610ebc57610100808354040283529160200191610ee7565b820191906000526020600020905b815481529060010190602001808311610eca57829003601f168201915b505050505081565b610efa84848461085c565b6001600160a01b0383163b15610f3357610f1684848484611269565b610f33576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610f4482611114565b610fa85760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610a5f565b600b610fb383611361565b604051602001610fc492919061193d565b6040516020818303038152906040529050919050565b600b8054610e6e90611b28565b610fef61113b565b600081116110355760405162461bcd60e51b8152602060048201526013602482015272125b9d985b1a59081b5a5b9d08185b5bdd5b9d606a1b6044820152606401610a5f565b600c54816110466001546000540390565b6110509190611a9a565b1115610dbe5760405162461bcd60e51b815260206004820152601760248201527f4d6178696d756d20737570706c792065786365656465640000000000000000006044820152606401610a5f565b6110a661113b565b6001600160a01b03811661110b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a5f565b610dc8816111fd565b60008054821080156106b9575050600090815260046020526040902054600160e01b161590565b6008546001600160a01b03163314610bac5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a5f565b6000816000548110156111e457600081815260046020526040902054600160e01b81166111e2575b806111db5750600019016000818152600460205260409020546111bd565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610b2182826040518060200160405280600081525061145f565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061129e903390899088908890600401611a08565b602060405180830381600087803b1580156112b857600080fd5b505af19250505080156112e8575060408051601f3d908101601f191682019092526112e591810190611876565b60015b611343573d808015611316576040519150601f19603f3d011682016040523d82523d6000602084013e61131b565b606091505b50805161133b576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060816113855750506040805180820190915260018152600360fc1b602082015290565b8160005b81156113af578061139981611b63565b91506113a89050600a83611ab2565b9150611389565b60008167ffffffffffffffff8111156113ca576113ca611bd4565b6040519080825280601f01601f1916602001820160405280156113f4576020820181803683370190505b5090505b841561135957611409600183611ae5565b9150611416600a86611b7e565b611421906030611a9a565b60f81b81838151811061143657611436611bbe565b60200101906001600160f81b031916908160001a905350611458600a86611ab2565b94506113f8565b61146983836114cc565b6001600160a01b0383163b15610b01576000548281035b6114936000868380600101945086611269565b6114b0576040516368d2bf6b60e11b815260040160405180910390fd5b8181106114805781600054146114c557600080fd5b5050505050565b6000546001600160a01b0383166114f557604051622e076360e81b815260040160405180910390fd5b816115135760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260046020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821061155d5760005550505050565b8280546115b590611b28565b90600052602060002090601f0160209004810192826115d7576000855561161d565b82601f106115f057805160ff191683800117855561161d565b8280016001018555821561161d579182015b8281111561161d578251825591602001919060010190611602565b5061162992915061162d565b5090565b5b80821115611629576000815560010161162e565b600067ffffffffffffffff8084111561165d5761165d611bd4565b604051601f8501601f19908116603f0116810190828211818310171561168557611685611bd4565b8160405280935085815286868601111561169e57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b03811681146116cf57600080fd5b919050565b803580151581146116cf57600080fd5b6000602082840312156116f657600080fd5b6111db826116b8565b6000806040838503121561171257600080fd5b61171b836116b8565b9150611729602084016116b8565b90509250929050565b60008060006060848603121561174757600080fd5b611750846116b8565b925061175e602085016116b8565b9150604084013590509250925092565b6000806000806080858703121561178457600080fd5b61178d856116b8565b935061179b602086016116b8565b925060408501359150606085013567ffffffffffffffff8111156117be57600080fd5b8501601f810187136117cf57600080fd5b6117de87823560208401611642565b91505092959194509250565b600080604083850312156117fd57600080fd5b611806836116b8565b9150611729602084016116d4565b6000806040838503121561182757600080fd5b611830836116b8565b946020939093013593505050565b60006020828403121561185057600080fd5b6111db826116d4565b60006020828403121561186b57600080fd5b81356111db81611bea565b60006020828403121561188857600080fd5b81516111db81611bea565b6000602082840312156118a557600080fd5b813567ffffffffffffffff8111156118bc57600080fd5b8201601f810184136118cd57600080fd5b61135984823560208401611642565b6000602082840312156118ee57600080fd5b5035919050565b6000815180845261190d816020860160208601611afc565b601f01601f19169290920160200192915050565b60008151611933818560208601611afc565b9290920192915050565b600080845481600182811c91508083168061195957607f831692505b602080841082141561197957634e487b7160e01b86526022600452602486fd5b81801561198d576001811461199e576119cb565b60ff198616895284890196506119cb565b60008b81526020902060005b868110156119c35781548b8201529085019083016119aa565b505084890196505b5050505050506119ff6119ee6119e883602f60f81b815260010190565b86611921565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611a3b908301846118f5565b9695505050505050565b6020815260006111db60208301846118f5565b60208082526022908201527f4d6178206d696e747320706572207472616e73616374696f6e20657863656564604082015261195960f21b606082015260800190565b60008219821115611aad57611aad611b92565b500190565b600082611ac157611ac1611ba8565b500490565b6000816000190483118215151615611ae057611ae0611b92565b500290565b600082821015611af757611af7611b92565b500390565b60005b83811015611b17578181015183820152602001611aff565b83811115610f335750506000910152565b600181811c90821680611b3c57607f821691505b60208210811415611b5d57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611b7757611b77611b92565b5060010190565b600082611b8d57611b8d611ba8565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610dc857600080fdfea26469706673582212206450f25037bc248d526f8a34f1ef53683f7adadecb1b8863f4e7770da663135c64736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000b4162737472616374696f6e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002414200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000076a6a6a6a6a6a6a00000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _tokenName (string): Abstraction
Arg [1] : _tokenSymbol (string): AB
Arg [2] : _hiddenMetadataUri (string): jjjjjjj
-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [4] : 4162737472616374696f6e000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [6] : 4142000000000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [8] : 6a6a6a6a6a6a6a00000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
62797:3906:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23828:615;;;;;;;;;;-1:-1:-1;23828:615:0;;;;;:::i;:::-;;:::i;:::-;;;7503:14:1;;7496:22;7478:41;;7466:2;7451:18;23828:615:0;;;;;;;;29475:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;63059:47::-;;;;;;;;;;;;;;;;;;;11587:25:1;;;11575:2;11560:18;63059:47:0;11441:177:1;31421:204:0;;;;;;;;;;-1:-1:-1;31421:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6801:32:1;;;6783:51;;6771:2;6756:18;31421:204:0;6637:203:1;30969:386:0;;;;;;;;;;-1:-1:-1;30969:386:0;;;;;:::i;:::-;;:::i;:::-;;66185:129;;;;;;;;;;-1:-1:-1;66185:129:0;;;;;:::i;:::-;;:::i;22882:315::-;;;;;;;;;;-1:-1:-1;23148:12:0;;22935:7;23132:13;:28;22882:315;;66320:115;;;;;;;;;;-1:-1:-1;66320:115:0;;;;;:::i;:::-;;:::i;63194:39::-;;;;;;;;;;;;;;;;63238:38;;;;;;;;;;-1:-1:-1;63238:38:0;;;;;;;;66574:126;;;;;;;;;;-1:-1:-1;66574:126:0;;;;;:::i;:::-;;:::i;40686:2800::-;;;;;;;;;;-1:-1:-1;40686:2800:0;;;;;:::i;:::-;;:::i;65895:148::-;;;;;;;;;;-1:-1:-1;65895:148:0;;;;;:::i;:::-;;:::i;64955:475::-;;;;;;;;;;;;;:::i;32311:185::-;;;;;;;;;;-1:-1:-1;32311:185:0;;;;;:::i;:::-;;:::i;66047:132::-;;;;;;;;;;-1:-1:-1;66047:132:0;;;;;:::i;:::-;;:::i;64553:108::-;;;;;;;;;;-1:-1:-1;64553:108:0;;;;;:::i;:::-;;:::i;29264:144::-;;;;;;;;;;-1:-1:-1;29264:144:0;;;;;:::i;:::-;;:::i;24507:224::-;;;;;;;;;;-1:-1:-1;24507:224:0;;;;;:::i;:::-;;:::i;8419:103::-;;;;;;;;;;;;;:::i;7771:87::-;;;;;;;;;;-1:-1:-1;7844:6:0;;-1:-1:-1;;;;;7844:6:0;7771:87;;29644:104;;;;;;;;;;;;;:::i;63111:34::-;;;;;;;;;;;;;;;;63150:39;;;;;;;;;;;;;;;;66441:127;;;;;;;;;;-1:-1:-1;66441:127:0;;;;;:::i;:::-;;:::i;63499:1048::-;;;;;;:::i;:::-;;:::i;31697:308::-;;;;;;;;;;-1:-1:-1;31697:308:0;;;;;:::i;:::-;;:::i;62891:31::-;;;;;;;;;;;;;:::i;32567:399::-;;;;;;;;;;-1:-1:-1;32567:399:0;;;;;:::i;:::-;;:::i;63017:37::-;;;;;;;;;;;;;;;;65436:312;;;;;;;;;;-1:-1:-1;65436:312:0;;;;;:::i;:::-;;:::i;62931:44::-;;;;;;;;;;;;;:::i;62980:32::-;;;;;;;;;;;;;;;;32076:164;;;;;;;;;;-1:-1:-1;32076:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;32197:25:0;;;32173:4;32197:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;32076:164;64667:284;;;;;;;;;;-1:-1:-1;64667:284:0;;;;;:::i;:::-;;:::i;8677:201::-;;;;;;;;;;-1:-1:-1;8677:201:0;;;;;:::i;:::-;;:::i;23828:615::-;23913:4;-1:-1:-1;;;;;;;;;24213:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;24290:25:0;;;24213:102;:179;;;-1:-1:-1;;;;;;;;;;24367:25:0;;;24213:179;24193:199;23828:615;-1:-1:-1;;23828:615:0:o;29475:100::-;29529:13;29562:5;29555:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29475:100;:::o;31421:204::-;31489:7;31514:16;31522:7;31514;:16::i;:::-;31509:64;;31539:34;;-1:-1:-1;;;31539:34:0;;;;;;;;;;;31509:64;-1:-1:-1;31593:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;31593:24:0;;31421:204::o;30969:386::-;31042:13;31058:16;31066:7;31058;:16::i;:::-;31042:32;-1:-1:-1;51869:10:0;-1:-1:-1;;;;;31091:28:0;;;31087:175;;31139:44;31156:5;51869:10;32076:164;:::i;31139:44::-;31134:128;;31211:35;;-1:-1:-1;;;31211:35:0;;;;;;;;;;;31134:128;31274:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;31274:29:0;-1:-1:-1;;;;;31274:29:0;;;;;;;;;31319:28;;31274:24;;31319:28;;;;;;;31031:324;30969:386;;:::o;66185:129::-;7657:13;:11;:13::i;:::-;66278:14:::1;:30:::0;66185:129::o;66320:115::-;7657:13;:11;:13::i;:::-;66403:17:::1;:26:::0;66320:115::o;66574:126::-;7657:13;:11;:13::i;:::-;66666:19:::1;:28:::0;66574:126::o;40686:2800::-;40820:27;40850;40869:7;40850:18;:27::i;:::-;40820:57;;40935:4;-1:-1:-1;;;;;40894:45:0;40910:19;-1:-1:-1;;;;;40894:45:0;;40890:86;;40948:28;;-1:-1:-1;;;40948:28:0;;;;;;;;;;;40890:86;40990:27;39416:21;;;39243:15;39458:4;39451:36;39540:4;39524:21;;39630:26;;51869:10;40383:30;;;-1:-1:-1;;;;;40081:26:0;;40362:19;;;40359:55;41169:174;;41256:43;41273:4;51869:10;32076:164;:::i;41256:43::-;41251:92;;41308:35;;-1:-1:-1;;;41308:35:0;;;;;;;;;;;41251:92;-1:-1:-1;;;;;41360:16:0;;41356:52;;41385:23;;-1:-1:-1;;;41385:23:0;;;;;;;;;;;41356:52;41557:15;41554:160;;;41697:1;41676:19;41669:30;41554:160;-1:-1:-1;;;;;42092:24:0;;;;;;;:18;:24;;;;;;42090:26;;-1:-1:-1;;42090:26:0;;;42161:22;;;;;;;;;42159:24;;-1:-1:-1;42159:24:0;;;29163:11;29139:22;29135:40;29122:62;-1:-1:-1;;;29122:62:0;42454:26;;;;:17;:26;;;;;:174;-1:-1:-1;;;42748:46:0;;42744:626;;42852:1;42842:11;;42820:19;42975:30;;;:17;:30;;;;;;42971:384;;43113:13;;43098:11;:28;43094:242;;43260:30;;;;:17;:30;;;;;:52;;;43094:242;42801:569;42744:626;43417:7;43413:2;-1:-1:-1;;;;;43398:27:0;43407:4;-1:-1:-1;;;;;43398:27:0;;;;;;;;;;;40809:2677;;;40686:2800;;;:::o;65895:148::-;7657:13;:11;:13::i;:::-;65997:18:::1;:40:::0;;-1:-1:-1;;65997:40:0::1;::::0;::::1;;::::0;;;::::1;::::0;;65895:148::o;64955:475::-;7657:13;:11;:13::i;:::-;2197:1:::1;2795:7;;:19;;2787:63;;;::::0;-1:-1:-1;;;2787:63:0;;10931:2:1;2787:63:0::1;::::0;::::1;10913:21:1::0;10970:2;10950:18;;;10943:30;11009:33;10989:18;;;10982:61;11060:18;;2787:63:0::1;;;;;;;;;2197:1;2928:7;:18:::0;65252:7:::2;65273;7844:6:::0;;-1:-1:-1;;;;;7844:6:0;;7771:87;65273:7:::2;-1:-1:-1::0;;;;;65265:21:0::2;65294;65265:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65251:69;;;65335:2;65327:11;;;::::0;::::2;;-1:-1:-1::0;2153:1:0::1;3107:7;:22:::0;64955:475::o;32311:185::-;32449:39;32466:4;32472:2;32476:7;32449:39;;;;;;;;;;;;:16;:39::i;:::-;32311:185;;;:::o;66047:132::-;7657:13;:11;:13::i;:::-;66135:38;;::::1;::::0;:17:::1;::::0;:38:::1;::::0;::::1;::::0;::::1;:::i;:::-;;66047:132:::0;:::o;64553:108::-;7657:13;:11;:13::i;:::-;64633:22;;::::1;::::0;:12:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;29264:144::-:0;29328:7;29371:27;29390:7;29371:18;:27::i;24507:224::-;24571:7;-1:-1:-1;;;;;24595:19:0;;24591:60;;24623:28;;-1:-1:-1;;;24623:28:0;;;;;;;;;;;24591:60;-1:-1:-1;;;;;;24669:25:0;;;;;:18;:25;;;;;;19062:13;24669:54;;24507:224::o;8419:103::-;7657:13;:11;:13::i;:::-;8484:30:::1;8511:1;8484:18;:30::i;:::-;8419:103::o:0;29644:104::-;29700:13;29733:7;29726:14;;;;;:::i;66441:127::-;7657:13;:11;:13::i;:::-;66537:16:::1;:25:::0;66441:127::o;63499:1048::-;63586:18;;;;63578:54;;;;-1:-1:-1;;;63578:54:0;;11291:2:1;63578:54:0;;;11273:21:1;11330:2;11310:18;;;11303:30;11369:25;11349:18;;;11342:53;11412:18;;63578:54:0;11089:347:1;63578:54:0;63680:9;;:13;;63692:1;63680:13;:::i;:::-;63663:14;63647:13;23148:12;;22935:7;23132:13;:28;;22882:315;63647:13;:30;;;;:::i;:::-;:46;63639:66;;;;-1:-1:-1;;;63639:66:0;;7956:2:1;63639:66:0;;;7938:21:1;7995:1;7975:18;;;7968:29;-1:-1:-1;;;8013:18:1;;;8006:37;8060:18;;63639:66:0;7754:330:1;63639:66:0;63757:14;;63740;63717:20;;:37;;;;:::i;:::-;:54;63714:784;;;63845:9;63826:14;63806:17;;:34;;;;:::i;:::-;63805:49;;63783:123;;;;-1:-1:-1;;;63783:123:0;;10578:2:1;63783:123:0;;;10560:21:1;10617:2;10597:18;;;10590:30;-1:-1:-1;;;10636:18:1;;;10629:54;10700:18;;63783:123:0;10376:348:1;63783:123:0;63714:784;;;63976:19;;63959:14;63935:21;63945:10;63935:9;:21::i;:::-;:38;;;;:::i;:::-;:60;63931:560;;;64070:9;64051:14;64031:17;;:34;;;;:::i;:::-;64030:49;;64008:123;;;;-1:-1:-1;;;64008:123:0;;10578:2:1;64008:123:0;;;10560:21:1;10617:2;10597:18;;;10590:30;-1:-1:-1;;;10636:18:1;;;10629:54;10700:18;;64008:123:0;10376:348:1;64008:123:0;64182:16;;64164:14;:34;;64142:118;;;;-1:-1:-1;;;64142:118:0;;;;;;;:::i;63931:560::-;64337:19;;64319:14;:37;;64293:133;;;;-1:-1:-1;;;64293:133:0;;;;;;;:::i;:::-;64465:14;64441:20;;:38;;;;;;;:::i;:::-;;;;-1:-1:-1;;63931:560:0;64504:37;64514:10;64526:14;64504:9;:37::i;:::-;63499:1048;:::o;31697:308::-;-1:-1:-1;;;;;31796:31:0;;51869:10;31796:31;31792:61;;;31836:17;;-1:-1:-1;;;31836:17:0;;;;;;;;;;;31792:61;51869:10;31866:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;31866:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;31866:60:0;;;;;;;;;;31942:55;;7478:41:1;;;31866:49:0;;51869:10;31942:55;;7451:18:1;31942:55:0;;;;;;;31697:308;;:::o;62891:31::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;32567:399::-;32734:31;32747:4;32753:2;32757:7;32734:12;:31::i;:::-;-1:-1:-1;;;;;32780:14:0;;;:19;32776:183;;32819:56;32850:4;32856:2;32860:7;32869:5;32819:30;:56::i;:::-;32814:145;;32903:40;;-1:-1:-1;;;32903:40:0;;;;;;;;;;;32814:145;32567:399;;;;:::o;65436:312::-;65532:13;65573:17;65581:8;65573:7;:17::i;:::-;65557:98;;;;-1:-1:-1;;;65557:98:0;;9814:2:1;65557:98:0;;;9796:21:1;9853:2;9833:18;;;9826:30;9892:34;9872:18;;;9865:62;-1:-1:-1;;;9943:18:1;;;9936:45;9998:19;;65557:98:0;9612:411:1;65557:98:0;65693:12;65712:19;:8;:17;:19::i;:::-;65676:65;;;;;;;;;:::i;:::-;;;;;;;;;;;;;65662:80;;65436:312;;;:::o;62931:44::-;;;;;;;:::i;64667:284::-;7657:13;:11;:13::i;:::-;64768:1:::1;64757:8;:12;64741:65;;;::::0;-1:-1:-1;;;64741:65:0;;10230:2:1;64741:65:0::1;::::0;::::1;10212:21:1::0;10269:2;10249:18;;;10242:30;-1:-1:-1;;;10288:18:1;;;10281:49;10347:18;;64741:65:0::1;10028:343:1::0;64741:65:0::1;64857:9;;64845:8;64829:13;23148:12:::0;;22935:7;23132:13;:28;;22882:315;64829:13:::1;:24;;;;:::i;:::-;:37;;64813:94;;;::::0;-1:-1:-1;;;64813:94:0;;9101:2:1;64813:94:0::1;::::0;::::1;9083:21:1::0;9140:2;9120:18;;;9113:30;9179:25;9159:18;;;9152:53;9222:18;;64813:94:0::1;8899:347:1::0;8677:201:0;7657:13;:11;:13::i;:::-;-1:-1:-1;;;;;8766:22:0;::::1;8758:73;;;::::0;-1:-1:-1;;;8758:73:0;;8291:2:1;8758:73:0::1;::::0;::::1;8273:21:1::0;8330:2;8310:18;;;8303:30;8369:34;8349:18;;;8342:62;-1:-1:-1;;;8420:18:1;;;8413:36;8466:19;;8758:73:0::1;8089:402:1::0;8758:73:0::1;8842:28;8861:8;8842:18;:28::i;33221:273::-:0;33278:4;33368:13;;33358:7;:23;33315:152;;;;-1:-1:-1;;33419:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;33419:43:0;:48;;33221:273::o;7936:132::-;7844:6;;-1:-1:-1;;;;;7844:6:0;51869:10;8000:23;7992:68;;;;-1:-1:-1;;;7992:68:0;;9453:2:1;7992:68:0;;;9435:21:1;;;9472:18;;;9465:30;9531:34;9511:18;;;9504:62;9583:18;;7992:68:0;9251:356:1;26181:1129:0;26248:7;26283;26385:13;;26378:4;:20;26374:869;;;26423:14;26440:23;;;:17;:23;;;;;;-1:-1:-1;;;26529:23:0;;26525:699;;27048:113;27055:11;27048:113;;-1:-1:-1;;;27126:6:0;27108:25;;;;:17;:25;;;;;;27048:113;;;27194:6;26181:1129;-1:-1:-1;;;26181:1129:0:o;26525:699::-;26400:843;26374:869;27271:31;;-1:-1:-1;;;27271:31:0;;;;;;;;;;;9038:191;9131:6;;;-1:-1:-1;;;;;9148:17:0;;;-1:-1:-1;;;;;;9148:17:0;;;;;;;9181:40;;9131:6;;;9148:17;9131:6;;9181:40;;9112:16;;9181:40;9101:128;9038:191;:::o;33578:104::-;33647:27;33657:2;33661:8;33647:27;;;;;;;;;;;;:9;:27::i;47437:716::-;47621:88;;-1:-1:-1;;;47621:88:0;;47600:4;;-1:-1:-1;;;;;47621:45:0;;;;;:88;;51869:10;;47688:4;;47694:7;;47703:5;;47621:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47621:88:0;;;;;;;;-1:-1:-1;;47621:88:0;;;;;;;;;;;;:::i;:::-;;;47617:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47904:13:0;;47900:235;;47950:40;;-1:-1:-1;;;47950:40:0;;;;;;;;;;;47900:235;48093:6;48087:13;48078:6;48074:2;48070:15;48063:38;47617:529;-1:-1:-1;;;;;;47780:64:0;-1:-1:-1;;;47780:64:0;;-1:-1:-1;47617:529:0;47437:716;;;;;;:::o;3574:723::-;3630:13;3851:10;3847:53;;-1:-1:-1;;3878:10:0;;;;;;;;;;;;-1:-1:-1;;;3878:10:0;;;;;3574:723::o;3847:53::-;3925:5;3910:12;3966:78;3973:9;;3966:78;;3999:8;;;;:::i;:::-;;-1:-1:-1;4022:10:0;;-1:-1:-1;4030:2:0;4022:10;;:::i;:::-;;;3966:78;;;4054:19;4086:6;4076:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4076:17:0;;4054:39;;4104:154;4111:10;;4104:154;;4138:11;4148:1;4138:11;;:::i;:::-;;-1:-1:-1;4207:10:0;4215:2;4207:5;:10;:::i;:::-;4194:24;;:2;:24;:::i;:::-;4181:39;;4164:6;4171;4164:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;4164:56:0;;;;;;;;-1:-1:-1;4235:11:0;4244:2;4235:11;;:::i;:::-;;;4104:154;;34098:681;34221:19;34227:2;34231:8;34221:5;:19::i;:::-;-1:-1:-1;;;;;34282:14:0;;;:19;34278:483;;34322:11;34336:13;34384:14;;;34417:233;34448:62;34487:1;34491:2;34495:7;;;;;;34504:5;34448:30;:62::i;:::-;34443:167;;34546:40;;-1:-1:-1;;;34546:40:0;;;;;;;;;;;34443:167;34645:3;34637:5;:11;34417:233;;34732:3;34715:13;;:20;34711:34;;34737:8;;;34711:34;34303:458;;34098:681;;;:::o;35052:1529::-;35117:20;35140:13;-1:-1:-1;;;;;35168:16:0;;35164:48;;35193:19;;-1:-1:-1;;;35193:19:0;;;;;;;;;;;35164:48;35227:13;35223:44;;35249:18;;-1:-1:-1;;;35249:18:0;;;;;;;;;;;35223:44;-1:-1:-1;;;;;35755:22:0;;;;;;:18;:22;;19199:2;35755:22;;:70;;35793:31;35781:44;;35755:70;;;29163:11;29139:22;29135:40;-1:-1:-1;30873:15:0;;30848:23;30844:45;29132:51;29122:62;36068:31;;;;:17;:31;;;;;:173;36086:12;36317:23;;;36355:101;36382:35;;36407:9;;;;;-1:-1:-1;;;;;36382:35:0;;;36399:1;;36382:35;;36399:1;;36382:35;36451:3;36441:7;:13;36355:101;;36472:13;:19;-1:-1:-1;32311:185:0;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:70;;813:1;810;803:12;747:70;650:173;;;:::o;828:160::-;893:20;;949:13;;942:21;932:32;;922:60;;978:1;975;968:12;993:186;1052:6;1105:2;1093:9;1084:7;1080:23;1076:32;1073:52;;;1121:1;1118;1111:12;1073:52;1144:29;1163:9;1144:29;:::i;1184:260::-;1252:6;1260;1313:2;1301:9;1292:7;1288:23;1284:32;1281:52;;;1329:1;1326;1319:12;1281:52;1352:29;1371:9;1352:29;:::i;:::-;1342:39;;1400:38;1434:2;1423:9;1419:18;1400:38;:::i;:::-;1390:48;;1184:260;;;;;:::o;1449:328::-;1526:6;1534;1542;1595:2;1583:9;1574:7;1570:23;1566:32;1563:52;;;1611:1;1608;1601:12;1563:52;1634:29;1653:9;1634:29;:::i;:::-;1624:39;;1682:38;1716:2;1705:9;1701:18;1682:38;:::i;:::-;1672:48;;1767:2;1756:9;1752:18;1739:32;1729:42;;1449:328;;;;;:::o;1782:666::-;1877:6;1885;1893;1901;1954:3;1942:9;1933:7;1929:23;1925:33;1922:53;;;1971:1;1968;1961:12;1922:53;1994:29;2013:9;1994:29;:::i;:::-;1984:39;;2042:38;2076:2;2065:9;2061:18;2042:38;:::i;:::-;2032:48;;2127:2;2116:9;2112:18;2099:32;2089:42;;2182:2;2171:9;2167:18;2154:32;2209:18;2201:6;2198:30;2195:50;;;2241:1;2238;2231:12;2195:50;2264:22;;2317:4;2309:13;;2305:27;-1:-1:-1;2295:55:1;;2346:1;2343;2336:12;2295:55;2369:73;2434:7;2429:2;2416:16;2411:2;2407;2403:11;2369:73;:::i;:::-;2359:83;;;1782:666;;;;;;;:::o;2453:254::-;2518:6;2526;2579:2;2567:9;2558:7;2554:23;2550:32;2547:52;;;2595:1;2592;2585:12;2547:52;2618:29;2637:9;2618:29;:::i;:::-;2608:39;;2666:35;2697:2;2686:9;2682:18;2666:35;:::i;2712:254::-;2780:6;2788;2841:2;2829:9;2820:7;2816:23;2812:32;2809:52;;;2857:1;2854;2847:12;2809:52;2880:29;2899:9;2880:29;:::i;:::-;2870:39;2956:2;2941:18;;;;2928:32;;-1:-1:-1;;;2712:254:1:o;2971:180::-;3027:6;3080:2;3068:9;3059:7;3055:23;3051:32;3048:52;;;3096:1;3093;3086:12;3048:52;3119:26;3135:9;3119:26;:::i;3156:245::-;3214:6;3267:2;3255:9;3246:7;3242:23;3238:32;3235:52;;;3283:1;3280;3273:12;3235:52;3322:9;3309:23;3341:30;3365:5;3341:30;:::i;3406:249::-;3475:6;3528:2;3516:9;3507:7;3503:23;3499:32;3496:52;;;3544:1;3541;3534:12;3496:52;3576:9;3570:16;3595:30;3619:5;3595:30;:::i;3660:450::-;3729:6;3782:2;3770:9;3761:7;3757:23;3753:32;3750:52;;;3798:1;3795;3788:12;3750:52;3838:9;3825:23;3871:18;3863:6;3860:30;3857:50;;;3903:1;3900;3893:12;3857:50;3926:22;;3979:4;3971:13;;3967:27;-1:-1:-1;3957:55:1;;4008:1;4005;3998:12;3957:55;4031:73;4096:7;4091:2;4078:16;4073:2;4069;4065:11;4031:73;:::i;4115:180::-;4174:6;4227:2;4215:9;4206:7;4202:23;4198:32;4195:52;;;4243:1;4240;4233:12;4195:52;-1:-1:-1;4266:23:1;;4115:180;-1:-1:-1;4115:180:1:o;4300:257::-;4341:3;4379:5;4373:12;4406:6;4401:3;4394:19;4422:63;4478:6;4471:4;4466:3;4462:14;4455:4;4448:5;4444:16;4422:63;:::i;:::-;4539:2;4518:15;-1:-1:-1;;4514:29:1;4505:39;;;;4546:4;4501:50;;4300:257;-1:-1:-1;;4300:257:1:o;4562:185::-;4604:3;4642:5;4636:12;4657:52;4702:6;4697:3;4690:4;4683:5;4679:16;4657:52;:::i;:::-;4725:16;;;;;4562:185;-1:-1:-1;;4562:185:1:o;4989:1433::-;5367:3;5396:1;5429:6;5423:13;5459:3;5481:1;5509:9;5505:2;5501:18;5491:28;;5569:2;5558:9;5554:18;5591;5581:61;;5635:4;5627:6;5623:17;5613:27;;5581:61;5661:2;5709;5701:6;5698:14;5678:18;5675:38;5672:165;;;-1:-1:-1;;;5736:33:1;;5792:4;5789:1;5782:15;5822:4;5743:3;5810:17;5672:165;5853:18;5880:104;;;;5998:1;5993:320;;;;5846:467;;5880:104;-1:-1:-1;;5913:24:1;;5901:37;;5958:16;;;;-1:-1:-1;5880:104:1;;5993:320;11696:1;11689:14;;;11733:4;11720:18;;6088:1;6102:165;6116:6;6113:1;6110:13;6102:165;;;6194:14;;6181:11;;;6174:35;6237:16;;;;6131:10;;6102:165;;;6106:3;;6296:6;6291:3;6287:16;6280:23;;5846:467;;;;;;;6329:87;6354:61;6380:34;6410:3;-1:-1:-1;;;4935:16:1;;4976:1;4967:11;;4870:114;6380:34;6372:6;6354:61;:::i;:::-;-1:-1:-1;;;4812:20:1;;4857:1;4848:11;;4752:113;6329:87;6322:94;4989:1433;-1:-1:-1;;;;;4989:1433:1:o;6845:488::-;-1:-1:-1;;;;;7114:15:1;;;7096:34;;7166:15;;7161:2;7146:18;;7139:43;7213:2;7198:18;;7191:34;;;7261:3;7256:2;7241:18;;7234:31;;;7039:4;;7282:45;;7307:19;;7299:6;7282:45;:::i;:::-;7274:53;6845:488;-1:-1:-1;;;;;;6845:488:1:o;7530:219::-;7679:2;7668:9;7661:21;7642:4;7699:44;7739:2;7728:9;7724:18;7716:6;7699:44;:::i;8496:398::-;8698:2;8680:21;;;8737:2;8717:18;;;8710:30;8776:34;8771:2;8756:18;;8749:62;-1:-1:-1;;;8842:2:1;8827:18;;8820:32;8884:3;8869:19;;8496:398::o;11749:128::-;11789:3;11820:1;11816:6;11813:1;11810:13;11807:39;;;11826:18;;:::i;:::-;-1:-1:-1;11862:9:1;;11749:128::o;11882:120::-;11922:1;11948;11938:35;;11953:18;;:::i;:::-;-1:-1:-1;11987:9:1;;11882:120::o;12007:168::-;12047:7;12113:1;12109;12105:6;12101:14;12098:1;12095:21;12090:1;12083:9;12076:17;12072:45;12069:71;;;12120:18;;:::i;:::-;-1:-1:-1;12160:9:1;;12007:168::o;12180:125::-;12220:4;12248:1;12245;12242:8;12239:34;;;12253:18;;:::i;:::-;-1:-1:-1;12290:9:1;;12180:125::o;12310:258::-;12382:1;12392:113;12406:6;12403:1;12400:13;12392:113;;;12482:11;;;12476:18;12463:11;;;12456:39;12428:2;12421:10;12392:113;;;12523:6;12520:1;12517:13;12514:48;;;-1:-1:-1;;12558:1:1;12540:16;;12533:27;12310:258::o;12573:380::-;12652:1;12648:12;;;;12695;;;12716:61;;12770:4;12762:6;12758:17;12748:27;;12716:61;12823:2;12815:6;12812:14;12792:18;12789:38;12786:161;;;12869:10;12864:3;12860:20;12857:1;12850:31;12904:4;12901:1;12894:15;12932:4;12929:1;12922:15;12786:161;;12573:380;;;:::o;12958:135::-;12997:3;-1:-1:-1;;13018:17:1;;13015:43;;;13038:18;;:::i;:::-;-1:-1:-1;13085:1:1;13074:13;;12958:135::o;13098:112::-;13130:1;13156;13146:35;;13161:18;;:::i;:::-;-1:-1:-1;13195:9:1;;13098:112::o;13215:127::-;13276:10;13271:3;13267:20;13264:1;13257:31;13307:4;13304:1;13297:15;13331:4;13328:1;13321:15;13347:127;13408:10;13403:3;13399:20;13396:1;13389:31;13439:4;13436:1;13429:15;13463:4;13460:1;13453:15;13479:127;13540:10;13535:3;13531:20;13528:1;13521:31;13571:4;13568:1;13561:15;13595:4;13592:1;13585:15;13611:127;13672:10;13667:3;13663:20;13660:1;13653:31;13703:4;13700:1;13693:15;13727:4;13724:1;13717:15;13743:131;-1:-1:-1;;;;;;13817:32:1;;13807:43;;13797:71;;13864:1;13861;13854:12
Swarm Source
ipfs://6450f25037bc248d526f8a34f1ef53683f7adadecb1b8863f4e7770da663135c
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ 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.