Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 41 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Approval For... | 15857254 | 834 days ago | IN | 0 ETH | 0.0004961 | ||||
Withdraw | 15852822 | 835 days ago | IN | 0 ETH | 0.00033604 | ||||
Pause | 15852730 | 835 days ago | IN | 0 ETH | 0.00031058 | ||||
Wl Mint | 15850553 | 835 days ago | IN | 0.02 ETH | 0.00107431 | ||||
Wl Mint | 15848307 | 835 days ago | IN | 0.02 ETH | 0.00281841 | ||||
Wl Mint | 15848295 | 835 days ago | IN | 0.02 ETH | 0.00223517 | ||||
Wl Mint | 15848276 | 835 days ago | IN | 0.02 ETH | 0.00287453 | ||||
Wl Mint | 15848260 | 835 days ago | IN | 0.02 ETH | 0.00276369 | ||||
Wl Mint | 15848241 | 835 days ago | IN | 0.02 ETH | 0.00258251 | ||||
Wl Mint | 15848224 | 835 days ago | IN | 0.02 ETH | 0.00282575 | ||||
Wl Mint | 15848204 | 835 days ago | IN | 0.02 ETH | 0.00330688 | ||||
Wl Mint | 15848188 | 835 days ago | IN | 0.02 ETH | 0.00336964 | ||||
Wl Mint | 15848172 | 835 days ago | IN | 0.02 ETH | 0.00301754 | ||||
Wl Mint | 15848154 | 835 days ago | IN | 0.02 ETH | 0.00296017 | ||||
Wl Mint | 15848136 | 835 days ago | IN | 0.02 ETH | 0.00328975 | ||||
Wl Mint | 15848133 | 835 days ago | IN | 0.02 ETH | 0.00319027 | ||||
Wl Mint | 15848125 | 835 days ago | IN | 0.02 ETH | 0.00326453 | ||||
Wl Mint | 15848121 | 835 days ago | IN | 0.02 ETH | 0.00294367 | ||||
Wl Mint | 15848095 | 835 days ago | IN | 0.02 ETH | 0.00368574 | ||||
Wl Mint | 15848091 | 835 days ago | IN | 0.02 ETH | 0.00336396 | ||||
Wl Mint | 15848087 | 835 days ago | IN | 0.02 ETH | 0.00359919 | ||||
Set Approval For... | 15848057 | 835 days ago | IN | 0 ETH | 0.00133599 | ||||
Wl Mint | 15848052 | 835 days ago | IN | 0.02 ETH | 0.00345669 | ||||
Wl Mint | 15848035 | 835 days ago | IN | 0.02 ETH | 0.00370937 | ||||
Wl Mint | 15847931 | 835 days ago | IN | 0.02 ETH | 0.00757658 |
Latest 1 internal transaction
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
15852822 | 835 days ago | 0.52 ETH |
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
JUSTUS
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-10-28 */ // File: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata( bytes32[] calldata proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`, * consuming from one or the other at each step according to the instructions given by * `proofFlags`. * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof} * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } } // 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.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external payable; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } // File: erc721a/contracts/ERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) public payable virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } } // File: contracts/Justus.sol pragma solidity ^0.8.9; contract JUSTUS is ERC721A, Ownable { using Strings for uint256; uint256 public constant maxSupply = 7777; uint256 public constant freeSupply = 277; uint256 public constant wlPrice = 0.01 ether; uint256 public constant publicPrice = 0.015 ether; uint256 public constant maxPublicTx = 3; uint256 public constant maxMintWl = 2; uint256 public freeMinted = 0; string private baseTokenURI = 'ipfs://bafybeihyp4s2akslh5a6phfdgub7fqli2pth5zwzo6oagtyqwjm6zp6fku/'; bool private _paused = true; bool private _wlPeriod = true; address private freeMintWallet; bytes32 private wlRoot; mapping(address => uint256) private wlClaimed; modifier whenNotPaused { require(!_paused, "Contract is paused"); _; } modifier wlActive { require(_wlPeriod, "Whitelist period inactive"); _; } modifier wlEnded { require(!_wlPeriod, "Whitelist period active"); _; } constructor(string memory _name, string memory _symbol, bytes32 _wlRoot) ERC721A(_name, _symbol) { wlRoot = _wlRoot; } function pause() external onlyOwner { _paused = true; } function unpause() external onlyOwner { _paused = false; } function isPaused() external view returns(bool) { return _paused; } function setWlPeriod(bool _status) external onlyOwner { _wlPeriod = _status; } function isWlPeriod() external view returns(bool) { return _wlPeriod; } function setFreemintWallet(address _address) external onlyOwner { freeMintWallet = _address; } function _startTokenId() internal view virtual override(ERC721A) returns(uint256) { return 1; } function publicMint(uint256 _qty) external payable whenNotPaused { require(!_wlPeriod, "Whitelist period inactive"); require(_totalMinted() + _qty <= maxSupply, "Out of stock"); require(_qty <= maxPublicTx, "Cannot exeed maximum per transaction"); require(msg.value == publicPrice * _qty, "Not enough ETH send"); _safeMint(msg.sender, _qty); } function freeMint(uint256 _qty) external whenNotPaused { require(freeMinted + _qty <= freeSupply, "out of stock"); require(msg.sender == freeMintWallet, "you are not free minter"); freeMinted += _qty; _safeMint(msg.sender, _qty); } function updateWlRoot(bytes32 _wlRoot) external onlyOwner { wlRoot = _wlRoot; } function isWlMinter(bytes32[] calldata _proof, bytes32 _leaf) public view returns(bool) { return MerkleProof.verify(_proof, wlRoot, _leaf); } function wlMint(uint256 _qty, bytes32[] calldata _proof, bytes32 _leaf) external payable whenNotPaused { require(_wlPeriod, "Whitelist period inactive"); require(_totalMinted() + _qty <= maxSupply, "Out of stock"); require(keccak256(abi.encodePacked(msg.sender)) == _leaf, "Not the correct leaf"); require(isWlMinter(_proof, _leaf), "Not in whitelist"); require(wlClaimed[msg.sender] + _qty <= maxMintWl, "Will exceed maxMintWl"); require(msg.value == wlPrice * _qty, "Not enough ETH send"); wlClaimed[msg.sender] += _qty; _safeMint(msg.sender, _qty); } function wlClaimedBy(address _address) external view returns(uint256) { require(_address != address(0), "Zero address not found"); return wlClaimed[_address]; } function _baseURI() internal view virtual override returns (string memory) { return baseTokenURI; } function setBaseURI(string calldata baseURI) external onlyOwner { baseTokenURI = baseURI; } 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), ".json")) : ''; } function withdraw() external onlyOwner { uint256 balance = address(this).balance; payable(msg.sender).transfer(balance); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"bytes32","name":"_wlRoot","type":"bytes32"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_qty","type":"uint256"}],"name":"freeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"freeMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"},{"internalType":"bytes32","name":"_leaf","type":"bytes32"}],"name":"isWlMinter","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isWlPeriod","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintWl","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPublicTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_qty","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setFreemintWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_status","type":"bool"}],"name":"setWlPeriod","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_wlRoot","type":"bytes32"}],"name":"updateWlRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"wlClaimedBy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_qty","type":"uint256"},{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"},{"internalType":"bytes32","name":"_leaf","type":"bytes32"}],"name":"wlMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"wlPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60006009556101006040526043608081815290620021d060a039600a906200002890826200019d565b50600b805461ffff19166101011790553480156200004557600080fd5b506040516200221338038062002213833981016040819052620000689162000318565b828260026200007883826200019d565b5060036200008782826200019d565b50506001600055506200009a33620000a6565b600c55506200038b9050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200012357607f821691505b6020821081036200014457634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200019857600081815260208120601f850160051c81016020861015620001735750805b601f850160051c820191505b8181101562000194578281556001016200017f565b5050505b505050565b81516001600160401b03811115620001b957620001b9620000f8565b620001d181620001ca84546200010e565b846200014a565b602080601f831160018114620002095760008415620001f05750858301515b600019600386901b1c1916600185901b17855562000194565b600085815260208120601f198616915b828110156200023a5788860151825594840194600190910190840162000219565b5085821015620002595787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600082601f8301126200027b57600080fd5b81516001600160401b0380821115620002985762000298620000f8565b604051601f8301601f19908116603f01168101908282118183101715620002c357620002c3620000f8565b81604052838152602092508683858801011115620002e057600080fd5b600091505b83821015620003045785820183015181830184015290820190620002e5565b600093810190920192909252949350505050565b6000806000606084860312156200032e57600080fd5b83516001600160401b03808211156200034657600080fd5b620003548783880162000269565b945060208601519150808211156200036b57600080fd5b506200037a8682870162000269565b925050604084015190509250925092565b611e35806200039b6000396000f3fe6080604052600436106102255760003560e01c8063715018a611610123578063b4559929116100ab578063c87b56dd1161006f578063c87b56dd146105c6578063d10a1a2b146105e6578063d5abeb01146105fc578063e985e9c514610612578063f2fde38b1461063257600080fd5b8063b455992914610538578063b6b597cd14610558578063b87e5e1414610578578063b88d4fde14610598578063c7f8d01a146105ab57600080fd5b806395d89b41116100f257806395d89b41146104bb57806396ae80eb146104d0578063a22cb465146104e5578063a945bf8014610505578063b187bd261461052057600080fd5b8063715018a6146104535780637c928fe9146104685780638456cb59146104885780638da5cb5b1461049d57600080fd5b80632db11544116101b157806352ada6061161017557806352ada606146103be57806355f804b3146103d35780636352211e146103f35780636cc658511461041357806370a082311461043357600080fd5b80632db11544146103515780633ccfd60b146103645780633f4ba83a1461037957806342842e0e1461038e5780634ea6c576146103a157600080fd5b80630de4b042116101f85780630de4b042146102ce578063130ec935146102e157806318160ddd1461030157806323b872dd1461032857806324a6ab0c1461033b57600080fd5b806301ffc9a71461022a57806306fdde031461025f578063081812fc14610281578063095ea7b3146102b9575b600080fd5b34801561023657600080fd5b5061024a61024536600461177e565b610652565b60405190151581526020015b60405180910390f35b34801561026b57600080fd5b506102746106a4565b60405161025691906117eb565b34801561028d57600080fd5b506102a161029c3660046117fe565b610736565b6040516001600160a01b039091168152602001610256565b6102cc6102c7366004611833565b61077a565b005b6102cc6102dc3660046118a9565b61081a565b3480156102ed57600080fd5b5061024a6102fc3660046118fc565b610aa3565b34801561030d57600080fd5b5060015460005403600019015b604051908152602001610256565b6102cc610336366004611948565b610aee565b34801561034757600080fd5b5061031a61011581565b6102cc61035f3660046117fe565b610c87565b34801561037057600080fd5b506102cc610e15565b34801561038557600080fd5b506102cc610e50565b6102cc61039c366004611948565b610e64565b3480156103ad57600080fd5b50600b54610100900460ff1661024a565b3480156103ca57600080fd5b5061031a600281565b3480156103df57600080fd5b506102cc6103ee366004611984565b610e84565b3480156103ff57600080fd5b506102a161040e3660046117fe565b610e99565b34801561041f57600080fd5b506102cc61042e3660046119f6565b610ea4565b34801561043f57600080fd5b5061031a61044e3660046119f6565b610ed6565b34801561045f57600080fd5b506102cc610f25565b34801561047457600080fd5b506102cc6104833660046117fe565b610f39565b34801561049457600080fd5b506102cc61102c565b3480156104a957600080fd5b506008546001600160a01b03166102a1565b3480156104c757600080fd5b50610274611043565b3480156104dc57600080fd5b5061031a600381565b3480156104f157600080fd5b506102cc610500366004611a21565b611052565b34801561051157600080fd5b5061031a66354a6ba7a1800081565b34801561052c57600080fd5b50600b5460ff1661024a565b34801561054457600080fd5b506102cc610553366004611a54565b6110be565b34801561056457600080fd5b5061031a6105733660046119f6565b6110e0565b34801561058457600080fd5b506102cc6105933660046117fe565b61114d565b6102cc6105a6366004611a85565b61115a565b3480156105b757600080fd5b5061031a662386f26fc1000081565b3480156105d257600080fd5b506102746105e13660046117fe565b61119e565b3480156105f257600080fd5b5061031a60095481565b34801561060857600080fd5b5061031a611e6181565b34801561061e57600080fd5b5061024a61062d366004611b61565b611222565b34801561063e57600080fd5b506102cc61064d3660046119f6565b611250565b60006301ffc9a760e01b6001600160e01b03198316148061068357506380ac58cd60e01b6001600160e01b03198316145b8061069e5750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546106b390611b8b565b80601f01602080910402602001604051908101604052809291908181526020018280546106df90611b8b565b801561072c5780601f106107015761010080835404028352916020019161072c565b820191906000526020600020905b81548152906001019060200180831161070f57829003601f168201915b5050505050905090565b6000610741826112c6565b61075e576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061078582610e99565b9050336001600160a01b038216146107be576107a18133611222565b6107be576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600b5460ff16156108465760405162461bcd60e51b815260040161083d90611bc5565b60405180910390fd5b600b54610100900460ff166108995760405162461bcd60e51b815260206004820152601960248201527857686974656c69737420706572696f6420696e61637469766560381b604482015260640161083d565b611e61846108aa6000546000190190565b6108b49190611c07565b11156108f15760405162461bcd60e51b815260206004820152600c60248201526b4f7574206f662073746f636b60a01b604482015260640161083d565b6040516bffffffffffffffffffffffff193360601b1660208201528190603401604051602081830303815290604052805190602001201461096b5760405162461bcd60e51b81526020600482015260146024820152732737ba103a34329031b7b93932b1ba103632b0b360611b604482015260640161083d565b610976838383610aa3565b6109b55760405162461bcd60e51b815260206004820152601060248201526f139bdd081a5b881dda1a5d195b1a5cdd60821b604482015260640161083d565b336000908152600d60205260409020546002906109d3908690611c07565b1115610a195760405162461bcd60e51b815260206004820152601560248201527415da5b1b08195e18d95959081b585e135a5b9d15db605a1b604482015260640161083d565b610a2a84662386f26fc10000611c1a565b3414610a6e5760405162461bcd60e51b8152602060048201526013602482015272139bdd08195b9bdd59da08115512081cd95b99606a1b604482015260640161083d565b336000908152600d602052604081208054869290610a8d908490611c07565b90915550610a9d905033856112fb565b50505050565b6000610ae684848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600c549150859050611315565b949350505050565b6000610af98261132b565b9050836001600160a01b0316816001600160a01b031614610b2c5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610b7957610b5c8633611222565b610b7957604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610ba057604051633a954ecd60e21b815260040160405180910390fd5b8015610bab57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610c3d57600184016000818152600460205260408120549003610c3b576000548114610c3b5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b600b5460ff1615610caa5760405162461bcd60e51b815260040161083d90611bc5565b600b54610100900460ff1615610cfe5760405162461bcd60e51b815260206004820152601960248201527857686974656c69737420706572696f6420696e61637469766560381b604482015260640161083d565b611e6181610d0f6000546000190190565b610d199190611c07565b1115610d565760405162461bcd60e51b815260206004820152600c60248201526b4f7574206f662073746f636b60a01b604482015260640161083d565b6003811115610db35760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f74206578656564206d6178696d756d20706572207472616e7361636044820152633a34b7b760e11b606482015260840161083d565b610dc48166354a6ba7a18000611c1a565b3414610e085760405162461bcd60e51b8152602060048201526013602482015272139bdd08195b9bdd59da08115512081cd95b99606a1b604482015260640161083d565b610e1233826112fb565b50565b610e1d61139a565b6040514790339082156108fc029083906000818181858888f19350505050158015610e4c573d6000803e3d6000fd5b5050565b610e5861139a565b600b805460ff19169055565b610e7f8383836040518060200160405280600081525061115a565b505050565b610e8c61139a565b600a610e7f828483611c77565b600061069e8261132b565b610eac61139a565b600b80546001600160a01b03909216620100000262010000600160b01b0319909216919091179055565b60006001600160a01b038216610eff576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610f2d61139a565b610f3760006113f4565b565b600b5460ff1615610f5c5760405162461bcd60e51b815260040161083d90611bc5565b61011581600954610f6d9190611c07565b1115610faa5760405162461bcd60e51b815260206004820152600c60248201526b6f7574206f662073746f636b60a01b604482015260640161083d565b600b546201000090046001600160a01b0316331461100a5760405162461bcd60e51b815260206004820152601760248201527f796f7520617265206e6f742066726565206d696e746572000000000000000000604482015260640161083d565b806009600082825461101c9190611c07565b90915550610e12905033826112fb565b61103461139a565b600b805460ff19166001179055565b6060600380546106b390611b8b565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6110c661139a565b600b80549115156101000261ff0019909216919091179055565b60006001600160a01b0382166111315760405162461bcd60e51b815260206004820152601660248201527516995c9bc81859191c995cdcc81b9bdd08199bdd5b9960521b604482015260640161083d565b506001600160a01b03166000908152600d602052604090205490565b61115561139a565b600c55565b611165848484610aee565b6001600160a01b0383163b15610a9d5761118184848484611446565b610a9d576040516368d2bf6b60e11b815260040160405180910390fd5b60606111a9826112c6565b6111c657604051630a14c4b560e41b815260040160405180910390fd5b60006111d0611531565b905080516000036111f0576040518060200160405280600081525061121b565b806111fa84611540565b60405160200161120b929190611d37565b6040516020818303038152906040525b9392505050565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b61125861139a565b6001600160a01b0381166112bd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161083d565b610e12816113f4565b6000816001111580156112da575060005482105b801561069e575050600090815260046020526040902054600160e01b161590565b610e4c828260405180602001604052806000815250611584565b60008261132285846115f1565b14949350505050565b60008180600111611381576000548110156113815760008181526004602052604081205490600160e01b8216900361137f575b8060000361121b57506000190160008181526004602052604090205461135e565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b03163314610f375760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161083d565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061147b903390899088908890600401611d76565b6020604051808303816000875af19250505080156114b6575060408051601f3d908101601f191682019092526114b391810190611db3565b60015b611514573d8080156114e4576040519150601f19603f3d011682016040523d82523d6000602084013e6114e9565b606091505b50805160000361150c576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6060600a80546106b390611b8b565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a90048061155a5750819003601f19909101908152919050565b61158e838361163e565b6001600160a01b0383163b15610e7f576000548281035b6115b86000868380600101945086611446565b6115d5576040516368d2bf6b60e11b815260040160405180910390fd5b8181106115a55781600054146115ea57600080fd5b5050505050565b600081815b8451811015611636576116228286838151811061161557611615611dd0565b602002602001015161173c565b91508061162e81611de6565b9150506115f6565b509392505050565b60008054908290036116635760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461171257808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016116da565b508160000361173357604051622e076360e81b815260040160405180910390fd5b60005550505050565b600081831061175857600082815260208490526040902061121b565b5060009182526020526040902090565b6001600160e01b031981168114610e1257600080fd5b60006020828403121561179057600080fd5b813561121b81611768565b60005b838110156117b657818101518382015260200161179e565b50506000910152565b600081518084526117d781602086016020860161179b565b601f01601f19169290920160200192915050565b60208152600061121b60208301846117bf565b60006020828403121561181057600080fd5b5035919050565b80356001600160a01b038116811461182e57600080fd5b919050565b6000806040838503121561184657600080fd5b61184f83611817565b946020939093013593505050565b60008083601f84011261186f57600080fd5b50813567ffffffffffffffff81111561188757600080fd5b6020830191508360208260051b85010111156118a257600080fd5b9250929050565b600080600080606085870312156118bf57600080fd5b84359350602085013567ffffffffffffffff8111156118dd57600080fd5b6118e98782880161185d565b9598909750949560400135949350505050565b60008060006040848603121561191157600080fd5b833567ffffffffffffffff81111561192857600080fd5b6119348682870161185d565b909790965060209590950135949350505050565b60008060006060848603121561195d57600080fd5b61196684611817565b925061197460208501611817565b9150604084013590509250925092565b6000806020838503121561199757600080fd5b823567ffffffffffffffff808211156119af57600080fd5b818501915085601f8301126119c357600080fd5b8135818111156119d257600080fd5b8660208285010111156119e457600080fd5b60209290920196919550909350505050565b600060208284031215611a0857600080fd5b61121b82611817565b8035801515811461182e57600080fd5b60008060408385031215611a3457600080fd5b611a3d83611817565b9150611a4b60208401611a11565b90509250929050565b600060208284031215611a6657600080fd5b61121b82611a11565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215611a9b57600080fd5b611aa485611817565b9350611ab260208601611817565b925060408501359150606085013567ffffffffffffffff80821115611ad657600080fd5b818701915087601f830112611aea57600080fd5b813581811115611afc57611afc611a6f565b604051601f8201601f19908116603f01168101908382118183101715611b2457611b24611a6f565b816040528281528a6020848701011115611b3d57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215611b7457600080fd5b611b7d83611817565b9150611a4b60208401611817565b600181811c90821680611b9f57607f821691505b602082108103611bbf57634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526012908201527110dbdb9d1c9858dd081a5cc81c185d5cd95960721b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b8082018082111561069e5761069e611bf1565b808202811582820484141761069e5761069e611bf1565b601f821115610e7f57600081815260208120601f850160051c81016020861015611c585750805b601f850160051c820191505b81811015610c7f57828155600101611c64565b67ffffffffffffffff831115611c8f57611c8f611a6f565b611ca383611c9d8354611b8b565b83611c31565b6000601f841160018114611cd75760008515611cbf5750838201355b600019600387901b1c1916600186901b1783556115ea565b600083815260209020601f19861690835b82811015611d085786850135825560209485019460019092019101611ce8565b5086821015611d255760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b60008351611d4981846020880161179b565b835190830190611d5d81836020880161179b565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611da9908301846117bf565b9695505050505050565b600060208284031215611dc557600080fd5b815161121b81611768565b634e487b7160e01b600052603260045260246000fd5b600060018201611df857611df8611bf1565b506001019056fea2646970667358221220becd3f20b9c4c50e5d455c6f808b65e58c246100f08f1b594ad569b8696f203464736f6c63430008110033697066733a2f2f62616679626569687970347332616b736c68356136706866646775623766716c6932707468357a777a6f366f6167747971776a6d367a7036666b752f000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0c28204197ddf35d8ed93f4c9187eb35fac01c8dd5009da8456d04f809c3c72db00000000000000000000000000000000000000000000000000000000000000074a5553542055530000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024a55000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102255760003560e01c8063715018a611610123578063b4559929116100ab578063c87b56dd1161006f578063c87b56dd146105c6578063d10a1a2b146105e6578063d5abeb01146105fc578063e985e9c514610612578063f2fde38b1461063257600080fd5b8063b455992914610538578063b6b597cd14610558578063b87e5e1414610578578063b88d4fde14610598578063c7f8d01a146105ab57600080fd5b806395d89b41116100f257806395d89b41146104bb57806396ae80eb146104d0578063a22cb465146104e5578063a945bf8014610505578063b187bd261461052057600080fd5b8063715018a6146104535780637c928fe9146104685780638456cb59146104885780638da5cb5b1461049d57600080fd5b80632db11544116101b157806352ada6061161017557806352ada606146103be57806355f804b3146103d35780636352211e146103f35780636cc658511461041357806370a082311461043357600080fd5b80632db11544146103515780633ccfd60b146103645780633f4ba83a1461037957806342842e0e1461038e5780634ea6c576146103a157600080fd5b80630de4b042116101f85780630de4b042146102ce578063130ec935146102e157806318160ddd1461030157806323b872dd1461032857806324a6ab0c1461033b57600080fd5b806301ffc9a71461022a57806306fdde031461025f578063081812fc14610281578063095ea7b3146102b9575b600080fd5b34801561023657600080fd5b5061024a61024536600461177e565b610652565b60405190151581526020015b60405180910390f35b34801561026b57600080fd5b506102746106a4565b60405161025691906117eb565b34801561028d57600080fd5b506102a161029c3660046117fe565b610736565b6040516001600160a01b039091168152602001610256565b6102cc6102c7366004611833565b61077a565b005b6102cc6102dc3660046118a9565b61081a565b3480156102ed57600080fd5b5061024a6102fc3660046118fc565b610aa3565b34801561030d57600080fd5b5060015460005403600019015b604051908152602001610256565b6102cc610336366004611948565b610aee565b34801561034757600080fd5b5061031a61011581565b6102cc61035f3660046117fe565b610c87565b34801561037057600080fd5b506102cc610e15565b34801561038557600080fd5b506102cc610e50565b6102cc61039c366004611948565b610e64565b3480156103ad57600080fd5b50600b54610100900460ff1661024a565b3480156103ca57600080fd5b5061031a600281565b3480156103df57600080fd5b506102cc6103ee366004611984565b610e84565b3480156103ff57600080fd5b506102a161040e3660046117fe565b610e99565b34801561041f57600080fd5b506102cc61042e3660046119f6565b610ea4565b34801561043f57600080fd5b5061031a61044e3660046119f6565b610ed6565b34801561045f57600080fd5b506102cc610f25565b34801561047457600080fd5b506102cc6104833660046117fe565b610f39565b34801561049457600080fd5b506102cc61102c565b3480156104a957600080fd5b506008546001600160a01b03166102a1565b3480156104c757600080fd5b50610274611043565b3480156104dc57600080fd5b5061031a600381565b3480156104f157600080fd5b506102cc610500366004611a21565b611052565b34801561051157600080fd5b5061031a66354a6ba7a1800081565b34801561052c57600080fd5b50600b5460ff1661024a565b34801561054457600080fd5b506102cc610553366004611a54565b6110be565b34801561056457600080fd5b5061031a6105733660046119f6565b6110e0565b34801561058457600080fd5b506102cc6105933660046117fe565b61114d565b6102cc6105a6366004611a85565b61115a565b3480156105b757600080fd5b5061031a662386f26fc1000081565b3480156105d257600080fd5b506102746105e13660046117fe565b61119e565b3480156105f257600080fd5b5061031a60095481565b34801561060857600080fd5b5061031a611e6181565b34801561061e57600080fd5b5061024a61062d366004611b61565b611222565b34801561063e57600080fd5b506102cc61064d3660046119f6565b611250565b60006301ffc9a760e01b6001600160e01b03198316148061068357506380ac58cd60e01b6001600160e01b03198316145b8061069e5750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546106b390611b8b565b80601f01602080910402602001604051908101604052809291908181526020018280546106df90611b8b565b801561072c5780601f106107015761010080835404028352916020019161072c565b820191906000526020600020905b81548152906001019060200180831161070f57829003601f168201915b5050505050905090565b6000610741826112c6565b61075e576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061078582610e99565b9050336001600160a01b038216146107be576107a18133611222565b6107be576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600b5460ff16156108465760405162461bcd60e51b815260040161083d90611bc5565b60405180910390fd5b600b54610100900460ff166108995760405162461bcd60e51b815260206004820152601960248201527857686974656c69737420706572696f6420696e61637469766560381b604482015260640161083d565b611e61846108aa6000546000190190565b6108b49190611c07565b11156108f15760405162461bcd60e51b815260206004820152600c60248201526b4f7574206f662073746f636b60a01b604482015260640161083d565b6040516bffffffffffffffffffffffff193360601b1660208201528190603401604051602081830303815290604052805190602001201461096b5760405162461bcd60e51b81526020600482015260146024820152732737ba103a34329031b7b93932b1ba103632b0b360611b604482015260640161083d565b610976838383610aa3565b6109b55760405162461bcd60e51b815260206004820152601060248201526f139bdd081a5b881dda1a5d195b1a5cdd60821b604482015260640161083d565b336000908152600d60205260409020546002906109d3908690611c07565b1115610a195760405162461bcd60e51b815260206004820152601560248201527415da5b1b08195e18d95959081b585e135a5b9d15db605a1b604482015260640161083d565b610a2a84662386f26fc10000611c1a565b3414610a6e5760405162461bcd60e51b8152602060048201526013602482015272139bdd08195b9bdd59da08115512081cd95b99606a1b604482015260640161083d565b336000908152600d602052604081208054869290610a8d908490611c07565b90915550610a9d905033856112fb565b50505050565b6000610ae684848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600c549150859050611315565b949350505050565b6000610af98261132b565b9050836001600160a01b0316816001600160a01b031614610b2c5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610b7957610b5c8633611222565b610b7957604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610ba057604051633a954ecd60e21b815260040160405180910390fd5b8015610bab57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610c3d57600184016000818152600460205260408120549003610c3b576000548114610c3b5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b600b5460ff1615610caa5760405162461bcd60e51b815260040161083d90611bc5565b600b54610100900460ff1615610cfe5760405162461bcd60e51b815260206004820152601960248201527857686974656c69737420706572696f6420696e61637469766560381b604482015260640161083d565b611e6181610d0f6000546000190190565b610d199190611c07565b1115610d565760405162461bcd60e51b815260206004820152600c60248201526b4f7574206f662073746f636b60a01b604482015260640161083d565b6003811115610db35760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f74206578656564206d6178696d756d20706572207472616e7361636044820152633a34b7b760e11b606482015260840161083d565b610dc48166354a6ba7a18000611c1a565b3414610e085760405162461bcd60e51b8152602060048201526013602482015272139bdd08195b9bdd59da08115512081cd95b99606a1b604482015260640161083d565b610e1233826112fb565b50565b610e1d61139a565b6040514790339082156108fc029083906000818181858888f19350505050158015610e4c573d6000803e3d6000fd5b5050565b610e5861139a565b600b805460ff19169055565b610e7f8383836040518060200160405280600081525061115a565b505050565b610e8c61139a565b600a610e7f828483611c77565b600061069e8261132b565b610eac61139a565b600b80546001600160a01b03909216620100000262010000600160b01b0319909216919091179055565b60006001600160a01b038216610eff576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610f2d61139a565b610f3760006113f4565b565b600b5460ff1615610f5c5760405162461bcd60e51b815260040161083d90611bc5565b61011581600954610f6d9190611c07565b1115610faa5760405162461bcd60e51b815260206004820152600c60248201526b6f7574206f662073746f636b60a01b604482015260640161083d565b600b546201000090046001600160a01b0316331461100a5760405162461bcd60e51b815260206004820152601760248201527f796f7520617265206e6f742066726565206d696e746572000000000000000000604482015260640161083d565b806009600082825461101c9190611c07565b90915550610e12905033826112fb565b61103461139a565b600b805460ff19166001179055565b6060600380546106b390611b8b565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6110c661139a565b600b80549115156101000261ff0019909216919091179055565b60006001600160a01b0382166111315760405162461bcd60e51b815260206004820152601660248201527516995c9bc81859191c995cdcc81b9bdd08199bdd5b9960521b604482015260640161083d565b506001600160a01b03166000908152600d602052604090205490565b61115561139a565b600c55565b611165848484610aee565b6001600160a01b0383163b15610a9d5761118184848484611446565b610a9d576040516368d2bf6b60e11b815260040160405180910390fd5b60606111a9826112c6565b6111c657604051630a14c4b560e41b815260040160405180910390fd5b60006111d0611531565b905080516000036111f0576040518060200160405280600081525061121b565b806111fa84611540565b60405160200161120b929190611d37565b6040516020818303038152906040525b9392505050565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b61125861139a565b6001600160a01b0381166112bd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161083d565b610e12816113f4565b6000816001111580156112da575060005482105b801561069e575050600090815260046020526040902054600160e01b161590565b610e4c828260405180602001604052806000815250611584565b60008261132285846115f1565b14949350505050565b60008180600111611381576000548110156113815760008181526004602052604081205490600160e01b8216900361137f575b8060000361121b57506000190160008181526004602052604090205461135e565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b03163314610f375760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161083d565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061147b903390899088908890600401611d76565b6020604051808303816000875af19250505080156114b6575060408051601f3d908101601f191682019092526114b391810190611db3565b60015b611514573d8080156114e4576040519150601f19603f3d011682016040523d82523d6000602084013e6114e9565b606091505b50805160000361150c576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6060600a80546106b390611b8b565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a90048061155a5750819003601f19909101908152919050565b61158e838361163e565b6001600160a01b0383163b15610e7f576000548281035b6115b86000868380600101945086611446565b6115d5576040516368d2bf6b60e11b815260040160405180910390fd5b8181106115a55781600054146115ea57600080fd5b5050505050565b600081815b8451811015611636576116228286838151811061161557611615611dd0565b602002602001015161173c565b91508061162e81611de6565b9150506115f6565b509392505050565b60008054908290036116635760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461171257808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016116da565b508160000361173357604051622e076360e81b815260040160405180910390fd5b60005550505050565b600081831061175857600082815260208490526040902061121b565b5060009182526020526040902090565b6001600160e01b031981168114610e1257600080fd5b60006020828403121561179057600080fd5b813561121b81611768565b60005b838110156117b657818101518382015260200161179e565b50506000910152565b600081518084526117d781602086016020860161179b565b601f01601f19169290920160200192915050565b60208152600061121b60208301846117bf565b60006020828403121561181057600080fd5b5035919050565b80356001600160a01b038116811461182e57600080fd5b919050565b6000806040838503121561184657600080fd5b61184f83611817565b946020939093013593505050565b60008083601f84011261186f57600080fd5b50813567ffffffffffffffff81111561188757600080fd5b6020830191508360208260051b85010111156118a257600080fd5b9250929050565b600080600080606085870312156118bf57600080fd5b84359350602085013567ffffffffffffffff8111156118dd57600080fd5b6118e98782880161185d565b9598909750949560400135949350505050565b60008060006040848603121561191157600080fd5b833567ffffffffffffffff81111561192857600080fd5b6119348682870161185d565b909790965060209590950135949350505050565b60008060006060848603121561195d57600080fd5b61196684611817565b925061197460208501611817565b9150604084013590509250925092565b6000806020838503121561199757600080fd5b823567ffffffffffffffff808211156119af57600080fd5b818501915085601f8301126119c357600080fd5b8135818111156119d257600080fd5b8660208285010111156119e457600080fd5b60209290920196919550909350505050565b600060208284031215611a0857600080fd5b61121b82611817565b8035801515811461182e57600080fd5b60008060408385031215611a3457600080fd5b611a3d83611817565b9150611a4b60208401611a11565b90509250929050565b600060208284031215611a6657600080fd5b61121b82611a11565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215611a9b57600080fd5b611aa485611817565b9350611ab260208601611817565b925060408501359150606085013567ffffffffffffffff80821115611ad657600080fd5b818701915087601f830112611aea57600080fd5b813581811115611afc57611afc611a6f565b604051601f8201601f19908116603f01168101908382118183101715611b2457611b24611a6f565b816040528281528a6020848701011115611b3d57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215611b7457600080fd5b611b7d83611817565b9150611a4b60208401611817565b600181811c90821680611b9f57607f821691505b602082108103611bbf57634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526012908201527110dbdb9d1c9858dd081a5cc81c185d5cd95960721b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b8082018082111561069e5761069e611bf1565b808202811582820484141761069e5761069e611bf1565b601f821115610e7f57600081815260208120601f850160051c81016020861015611c585750805b601f850160051c820191505b81811015610c7f57828155600101611c64565b67ffffffffffffffff831115611c8f57611c8f611a6f565b611ca383611c9d8354611b8b565b83611c31565b6000601f841160018114611cd75760008515611cbf5750838201355b600019600387901b1c1916600186901b1783556115ea565b600083815260209020601f19861690835b82811015611d085786850135825560209485019460019092019101611ce8565b5086821015611d255760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b60008351611d4981846020880161179b565b835190830190611d5d81836020880161179b565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611da9908301846117bf565b9695505050505050565b600060208284031215611dc557600080fd5b815161121b81611768565b634e487b7160e01b600052603260045260246000fd5b600060018201611df857611df8611bf1565b506001019056fea2646970667358221220becd3f20b9c4c50e5d455c6f808b65e58c246100f08f1b594ad569b8696f203464736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0c28204197ddf35d8ed93f4c9187eb35fac01c8dd5009da8456d04f809c3c72db00000000000000000000000000000000000000000000000000000000000000074a5553542055530000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024a55000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): JUST US
Arg [1] : _symbol (string): JU
Arg [2] : _wlRoot (bytes32): 0xc28204197ddf35d8ed93f4c9187eb35fac01c8dd5009da8456d04f809c3c72db
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : c28204197ddf35d8ed93f4c9187eb35fac01c8dd5009da8456d04f809c3c72db
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [4] : 4a55535420555300000000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [6] : 4a55000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
66320:4138:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33219:639;;;;;;;;;;-1:-1:-1;33219:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;33219:639:0;;;;;;;;34121:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;40612:218::-;;;;;;;;;;-1:-1:-1;40612:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;40612:218:0;1533:203:1;40045:408:0;;;;;;:::i;:::-;;:::i;:::-;;68968:616;;;;;;:::i;:::-;;:::i;68795:167::-;;;;;;;;;;-1:-1:-1;68795:167:0;;;;;:::i;:::-;;:::i;29872:323::-;;;;;;;;;;-1:-1:-1;68034:1:0;30146:12;29933:7;30130:13;:28;-1:-1:-1;;30130:46:0;29872:323;;;3784:25:1;;;3772:2;3757:18;29872:323:0;3638:177:1;44251:2825:0;;;;;;:::i;:::-;;:::i;66438:40::-;;;;;;;;;;;;66475:3;66438:40;;68047:389;;;;;;:::i;:::-;;:::i;70320:135::-;;;;;;;;;;;;;:::i;67472:66::-;;;;;;;;;;;;;:::i;47172:193::-;;;;;;:::i;:::-;;:::i;67717:79::-;;;;;;;;;;-1:-1:-1;67781:9:0;;;;;;;67717:79;;66630:37;;;;;;;;;;;;66666:1;66630:37;;69884:99;;;;;;;;;;-1:-1:-1;69884:99:0;;;;;:::i;:::-;;:::i;35514:152::-;;;;;;;;;;-1:-1:-1;35514:152:0;;;;;:::i;:::-;;:::i;67802:102::-;;;;;;;;;;-1:-1:-1;67802:102:0;;;;;:::i;:::-;;:::i;31056:233::-;;;;;;;;;;-1:-1:-1;31056:233:0;;;;;:::i;:::-;;:::i;13998:103::-;;;;;;;;;;;;;:::i;68442:254::-;;;;;;;;;;-1:-1:-1;68442:254:0;;;;;:::i;:::-;;:::i;67403:63::-;;;;;;;;;;;;;:::i;13350:87::-;;;;;;;;;;-1:-1:-1;13423:6:0;;-1:-1:-1;;;;;13423:6:0;13350:87;;34297:104;;;;;;;;;;;;;:::i;66586:39::-;;;;;;;;;;;;66624:1;66586:39;;41170:234;;;;;;;;;;-1:-1:-1;41170:234:0;;;;;:::i;:::-;;:::i;66532:49::-;;;;;;;;;;;;66570:11;66532:49;;67544:75;;;;;;;;;;-1:-1:-1;67606:7:0;;;;67544:75;;67625:86;;;;;;;;;;-1:-1:-1;67625:86:0;;;;;:::i;:::-;;:::i;69590:173::-;;;;;;;;;;-1:-1:-1;69590:173:0;;;;;:::i;:::-;;:::i;68702:87::-;;;;;;;;;;-1:-1:-1;68702:87:0;;;;;:::i;:::-;;:::i;47963:407::-;;;;;;:::i;:::-;;:::i;66483:44::-;;;;;;;;;;;;66517:10;66483:44;;69989:325;;;;;;;;;;-1:-1:-1;69989:325:0;;;;;:::i;:::-;;:::i;66672:29::-;;;;;;;;;;;;;;;;66393:40;;;;;;;;;;;;66429:4;66393:40;;41561:164;;;;;;;;;;-1:-1:-1;41561:164:0;;;;;:::i;:::-;;:::i;14256:201::-;;;;;;;;;;-1:-1:-1;14256:201:0;;;;;:::i;:::-;;:::i;33219:639::-;33304:4;-1:-1:-1;;;;;;;;;33628:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;33705:25:0;;;33628:102;:179;;;-1:-1:-1;;;;;;;;;;33782:25:0;;;33628:179;33608:199;33219:639;-1:-1:-1;;33219:639:0:o;34121:100::-;34175:13;34208:5;34201:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34121:100;:::o;40612:218::-;40688:7;40713:16;40721:7;40713;:16::i;:::-;40708:64;;40738:34;;-1:-1:-1;;;40738:34:0;;;;;;;;;;;40708:64;-1:-1:-1;40792:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;40792:30:0;;40612:218::o;40045:408::-;40134:13;40150:16;40158:7;40150;:16::i;:::-;40134:32;-1:-1:-1;64378:10:0;-1:-1:-1;;;;;40183:28:0;;;40179:175;;40231:44;40248:5;64378:10;41561:164;:::i;40231:44::-;40226:128;;40303:35;;-1:-1:-1;;;40303:35:0;;;;;;;;;;;40226:128;40366:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;40366:35:0;-1:-1:-1;;;;;40366:35:0;;;;;;;;;40417:28;;40366:24;;40417:28;;;;;;;40123:330;40045:408;;:::o;68968:616::-;67031:7;;;;67030:8;67022:39;;;;-1:-1:-1;;;67022:39:0;;;;;;;:::i;:::-;;;;;;;;;69104:9:::1;::::0;::::1;::::0;::::1;;;69096:47;;;::::0;-1:-1:-1;;;69096:47:0;;8209:2:1;69096:47:0::1;::::0;::::1;8191:21:1::0;8248:2;8228:18;;;8221:30;-1:-1:-1;;;8267:18:1;;;8260:55;8332:18;;69096:47:0::1;8007:349:1::0;69096:47:0::1;66429:4;69175;69158:14;30348:7:::0;30539:13;-1:-1:-1;;30539:31:0;;30293:296;69158:14:::1;:21;;;;:::i;:::-;:34;;69150:59;;;::::0;-1:-1:-1;;;69150:59:0;;8825:2:1;69150:59:0::1;::::0;::::1;8807:21:1::0;8864:2;8844:18;;;8837:30;-1:-1:-1;;;8883:18:1;;;8876:42;8935:18;;69150:59:0::1;8623:336:1::0;69150:59:0::1;69234:28;::::0;-1:-1:-1;;69251:10:0::1;9113:2:1::0;9109:15;9105:53;69234:28:0::1;::::0;::::1;9093:66:1::0;69267:5:0;;9175:12:1;;69234:28:0::1;;;;;;;;;;;;69224:39;;;;;;:48;69216:81;;;::::0;-1:-1:-1;;;69216:81:0;;9400:2:1;69216:81:0::1;::::0;::::1;9382:21:1::0;9439:2;9419:18;;;9412:30;-1:-1:-1;;;9458:18:1;;;9451:50;9518:18;;69216:81:0::1;9198:344:1::0;69216:81:0::1;69312:25;69323:6;;69331:5;69312:10;:25::i;:::-;69304:54;;;::::0;-1:-1:-1;;;69304:54:0;;9749:2:1;69304:54:0::1;::::0;::::1;9731:21:1::0;9788:2;9768:18;;;9761:30;-1:-1:-1;;;9807:18:1;;;9800:46;9863:18;;69304:54:0::1;9547:340:1::0;69304:54:0::1;69383:10;69373:21;::::0;;;:9:::1;:21;::::0;;;;;66666:1:::1;::::0;69373:28:::1;::::0;69397:4;;69373:28:::1;:::i;:::-;:41;;69365:75;;;::::0;-1:-1:-1;;;69365:75:0;;10094:2:1;69365:75:0::1;::::0;::::1;10076:21:1::0;10133:2;10113:18;;;10106:30;-1:-1:-1;;;10152:18:1;;;10145:51;10213:18;;69365:75:0::1;9892:345:1::0;69365:75:0::1;69468:14;69478:4:::0;66517:10:::1;69468:14;:::i;:::-;69455:9;:27;69447:59;;;::::0;-1:-1:-1;;;69447:59:0;;10617:2:1;69447:59:0::1;::::0;::::1;10599:21:1::0;10656:2;10636:18;;;10629:30;-1:-1:-1;;;10675:18:1;;;10668:49;10734:18;;69447:59:0::1;10415:343:1::0;69447:59:0::1;69525:10;69515:21;::::0;;;:9:::1;:21;::::0;;;;:29;;69540:4;;69515:21;:29:::1;::::0;69540:4;;69515:29:::1;:::i;:::-;::::0;;;-1:-1:-1;69551:27:0::1;::::0;-1:-1:-1;69561:10:0::1;69573:4:::0;69551:9:::1;:27::i;:::-;68968:616:::0;;;;:::o;68795:167::-;68892:4;68915:41;68934:6;;68915:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;68942:6:0;;;-1:-1:-1;68950:5:0;;-1:-1:-1;68915:18:0;:41::i;:::-;68908:48;68795:167;-1:-1:-1;;;;68795:167:0:o;44251:2825::-;44393:27;44423;44442:7;44423:18;:27::i;:::-;44393:57;;44508:4;-1:-1:-1;;;;;44467:45:0;44483:19;-1:-1:-1;;;;;44467:45:0;;44463:86;;44521:28;;-1:-1:-1;;;44521:28:0;;;;;;;;;;;44463:86;44563:27;43359:24;;;:15;:24;;;;;43587:26;;64378:10;42984:30;;;-1:-1:-1;;;;;42677:28:0;;42962:20;;;42959:56;44749:180;;44842:43;44859:4;64378:10;41561:164;:::i;44842:43::-;44837:92;;44894:35;;-1:-1:-1;;;44894:35:0;;;;;;;;;;;44837:92;-1:-1:-1;;;;;44946:16:0;;44942:52;;44971:23;;-1:-1:-1;;;44971:23:0;;;;;;;;;;;44942:52;45143:15;45140:160;;;45283:1;45262:19;45255:30;45140:160;-1:-1:-1;;;;;45680:24:0;;;;;;;:18;:24;;;;;;45678:26;;-1:-1:-1;;45678:26:0;;;45749:22;;;;;;;;;45747:24;;-1:-1:-1;45747:24:0;;;38903:11;38878:23;38874:41;38861:63;-1:-1:-1;;;38861:63:0;46042:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;46337:47:0;;:52;;46333:627;;46442:1;46432:11;;46410:19;46565:30;;;:17;:30;;;;;;:35;;46561:384;;46703:13;;46688:11;:28;46684:242;;46850:30;;;;:17;:30;;;;;:52;;;46684:242;46391:569;46333:627;47007:7;47003:2;-1:-1:-1;;;;;46988:27:0;46997:4;-1:-1:-1;;;;;46988:27:0;;;;;;;;;;;47026:42;44382:2694;;;44251:2825;;;:::o;68047:389::-;67031:7;;;;67030:8;67022:39;;;;-1:-1:-1;;;67022:39:0;;;;;;;:::i;:::-;68146:9:::1;::::0;::::1;::::0;::::1;;;68145:10;68137:48;;;::::0;-1:-1:-1;;;68137:48:0;;8209:2:1;68137:48:0::1;::::0;::::1;8191:21:1::0;8248:2;8228:18;;;8221:30;-1:-1:-1;;;8267:18:1;;;8260:55;8332:18;;68137:48:0::1;8007:349:1::0;68137:48:0::1;66429:4;68217;68200:14;30348:7:::0;30539:13;-1:-1:-1;;30539:31:0;;30293:296;68200:14:::1;:21;;;;:::i;:::-;:34;;68192:59;;;::::0;-1:-1:-1;;;68192:59:0;;8825:2:1;68192:59:0::1;::::0;::::1;8807:21:1::0;8864:2;8844:18;;;8837:30;-1:-1:-1;;;8883:18:1;;;8876:42;8935:18;;68192:59:0::1;8623:336:1::0;68192:59:0::1;66624:1;68266:4;:19;;68258:68;;;::::0;-1:-1:-1;;;68258:68:0;;10965:2:1;68258:68:0::1;::::0;::::1;10947:21:1::0;11004:2;10984:18;;;10977:30;11043:34;11023:18;;;11016:62;-1:-1:-1;;;11094:18:1;;;11087:34;11138:19;;68258:68:0::1;10763:400:1::0;68258:68:0::1;68354:18;68368:4:::0;66570:11:::1;68354:18;:::i;:::-;68341:9;:31;68333:63;;;::::0;-1:-1:-1;;;68333:63:0;;10617:2:1;68333:63:0::1;::::0;::::1;10599:21:1::0;10656:2;10636:18;;;10629:30;-1:-1:-1;;;10675:18:1;;;10668:49;10734:18;;68333:63:0::1;10415:343:1::0;68333:63:0::1;68403:27;68413:10;68425:4;68403:9;:27::i;:::-;68047:389:::0;:::o;70320:135::-;13236:13;:11;:13::i;:::-;70412:37:::1;::::0;70384:21:::1;::::0;70420:10:::1;::::0;70412:37;::::1;;;::::0;70384:21;;70366:15:::1;70412:37:::0;70366:15;70412:37;70384:21;70420:10;70412:37;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;70359:96;70320:135::o:0;67472:66::-;13236:13;:11;:13::i;:::-;67517:7:::1;:15:::0;;-1:-1:-1;;67517:15:0::1;::::0;;67472:66::o;47172:193::-;47318:39;47335:4;47341:2;47345:7;47318:39;;;;;;;;;;;;:16;:39::i;:::-;47172:193;;;:::o;69884:99::-;13236:13;:11;:13::i;:::-;69955:12:::1;:22;69970:7:::0;;69955:12;:22:::1;:::i;35514:152::-:0;35586:7;35629:27;35648:7;35629:18;:27::i;67802:102::-;13236:13;:11;:13::i;:::-;67873:14:::1;:25:::0;;-1:-1:-1;;;;;67873:25:0;;::::1;::::0;::::1;-1:-1:-1::0;;;;;;67873:25:0;;::::1;::::0;;;::::1;::::0;;67802:102::o;31056:233::-;31128:7;-1:-1:-1;;;;;31152:19:0;;31148:60;;31180:28;;-1:-1:-1;;;31180:28:0;;;;;;;;;;;31148:60;-1:-1:-1;;;;;;31226:25:0;;;;;:18;:25;;;;;;25215:13;31226:55;;31056:233::o;13998:103::-;13236:13;:11;:13::i;:::-;14063:30:::1;14090:1;14063:18;:30::i;:::-;13998:103::o:0;68442:254::-;67031:7;;;;67030:8;67022:39;;;;-1:-1:-1;;;67022:39:0;;;;;;;:::i;:::-;66475:3:::1;68525:4;68512:10;;:17;;;;:::i;:::-;:31;;68504:56;;;::::0;-1:-1:-1;;;68504:56:0;;13428:2:1;68504:56:0::1;::::0;::::1;13410:21:1::0;13467:2;13447:18;;;13440:30;-1:-1:-1;;;13486:18:1;;;13479:42;13538:18;;68504:56:0::1;13226:336:1::0;68504:56:0::1;68589:14;::::0;;;::::1;-1:-1:-1::0;;;;;68589:14:0::1;68575:10;:28;68567:64;;;::::0;-1:-1:-1;;;68567:64:0;;13769:2:1;68567:64:0::1;::::0;::::1;13751:21:1::0;13808:2;13788:18;;;13781:30;13847:25;13827:18;;;13820:53;13890:18;;68567:64:0::1;13567:347:1::0;68567:64:0::1;68652:4;68638:10;;:18;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;68663:27:0::1;::::0;-1:-1:-1;68673:10:0::1;68685:4:::0;68663:9:::1;:27::i;67403:63::-:0;13236:13;:11;:13::i;:::-;67446:7:::1;:14:::0;;-1:-1:-1;;67446:14:0::1;67456:4;67446:14;::::0;;67403:63::o;34297:104::-;34353:13;34386:7;34379:14;;;;;:::i;41170:234::-;64378:10;41265:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;41265:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;41265:60:0;;;;;;;;;;41341:55;;540:41:1;;;41265:49:0;;64378:10;41341:55;;513:18:1;41341:55:0;;;;;;;41170:234;;:::o;67625:86::-;13236:13;:11;:13::i;:::-;67686:9:::1;:19:::0;;;::::1;;;;-1:-1:-1::0;;67686:19:0;;::::1;::::0;;;::::1;::::0;;67625:86::o;69590:173::-;69651:7;-1:-1:-1;;;;;69675:22:0;;69667:57;;;;-1:-1:-1;;;69667:57:0;;14121:2:1;69667:57:0;;;14103:21:1;14160:2;14140:18;;;14133:30;-1:-1:-1;;;14179:18:1;;;14172:52;14241:18;;69667:57:0;13919:346:1;69667:57:0;-1:-1:-1;;;;;;69738:19:0;;;;;:9;:19;;;;;;;69590:173::o;68702:87::-;13236:13;:11;:13::i;:::-;68767:6:::1;:16:::0;68702:87::o;47963:407::-;48138:31;48151:4;48157:2;48161:7;48138:12;:31::i;:::-;-1:-1:-1;;;;;48184:14:0;;;:19;48180:183;;48223:56;48254:4;48260:2;48264:7;48273:5;48223:30;:56::i;:::-;48218:145;;48307:40;;-1:-1:-1;;;48307:40:0;;;;;;;;;;;69989:325;70062:13;70089:16;70097:7;70089;:16::i;:::-;70084:59;;70114:29;;-1:-1:-1;;;70114:29:0;;;;;;;;;;;70084:59;70150:21;70174:10;:8;:10::i;:::-;70150:34;;70204:7;70198:21;70223:1;70198:26;:110;;;;;;;;;;;;;;;;;70258:7;70267:18;70277:7;70267:9;:18::i;:::-;70241:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;70198:110;70191:117;69989:325;-1:-1:-1;;;69989:325:0:o;41561:164::-;-1:-1:-1;;;;;41682:25:0;;;41658:4;41682:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;41561:164::o;14256:201::-;13236:13;:11;:13::i;:::-;-1:-1:-1;;;;;14345:22:0;::::1;14337:73;;;::::0;-1:-1:-1;;;14337:73:0;;15140:2:1;14337:73:0::1;::::0;::::1;15122:21:1::0;15179:2;15159:18;;;15152:30;15218:34;15198:18;;;15191:62;-1:-1:-1;;;15269:18:1;;;15262:36;15315:19;;14337:73:0::1;14938:402:1::0;14337:73:0::1;14421:28;14440:8;14421:18;:28::i;41983:282::-:0;42048:4;42104:7;68034:1;42085:26;;:66;;;;;42138:13;;42128:7;:23;42085:66;:153;;;;-1:-1:-1;;42189:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;42189:44:0;:49;;41983:282::o;58123:112::-;58200:27;58210:2;58214:8;58200:27;;;;;;;;;;;;:9;:27::i;1219:190::-;1344:4;1397;1368:25;1381:5;1388:4;1368:12;:25::i;:::-;:33;;1219:190;-1:-1:-1;;;;1219:190:0:o;36669:1275::-;36736:7;36771;;68034:1;36820:23;36816:1061;;36873:13;;36866:4;:20;36862:1015;;;36911:14;36928:23;;;:17;:23;;;;;;;-1:-1:-1;;;37017:24:0;;:29;;37013:845;;37682:113;37689:6;37699:1;37689:11;37682:113;;-1:-1:-1;;;37760:6:0;37742:25;;;;:17;:25;;;;;;37682:113;;37013:845;36888:989;36862:1015;37905:31;;-1:-1:-1;;;37905:31:0;;;;;;;;;;;13515:132;13423:6;;-1:-1:-1;;;;;13423:6:0;64378:10;13579:23;13571:68;;;;-1:-1:-1;;;13571:68:0;;15547:2:1;13571:68:0;;;15529:21:1;;;15566:18;;;15559:30;15625:34;15605:18;;;15598:62;15677:18;;13571:68:0;15345:356:1;14617:191:0;14710:6;;;-1:-1:-1;;;;;14727:17:0;;;-1:-1:-1;;;;;;14727:17:0;;;;;;;14760:40;;14710:6;;;14727:17;14710:6;;14760:40;;14691:16;;14760:40;14680:128;14617:191;:::o;50454:716::-;50638:88;;-1:-1:-1;;;50638:88:0;;50617:4;;-1:-1:-1;;;;;50638:45:0;;;;;:88;;64378:10;;50705:4;;50711:7;;50720:5;;50638:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50638:88:0;;;;;;;;-1:-1:-1;;50638:88:0;;;;;;;;;;;;:::i;:::-;;;50634:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50921:6;:13;50938:1;50921:18;50917:235;;50967:40;;-1:-1:-1;;;50967:40:0;;;;;;;;;;;50917:235;51110:6;51104:13;51095:6;51091:2;51087:15;51080:38;50634:529;-1:-1:-1;;;;;;50797:64:0;-1:-1:-1;;;50797:64:0;;-1:-1:-1;50454:716:0;;;;;;:::o;69771:107::-;69831:13;69860:12;69853:19;;;;;:::i;64498:1745::-;64563:17;64997:4;64990;64984:11;64980:22;65089:1;65083:4;65076:15;65164:4;65161:1;65157:12;65150:19;;;65246:1;65241:3;65234:14;65350:3;65589:5;65571:428;65637:1;65632:3;65628:11;65621:18;;65808:2;65802:4;65798:13;65794:2;65790:22;65785:3;65777:36;65902:2;65892:13;;65959:25;65571:428;65959:25;-1:-1:-1;66029:13:0;;;-1:-1:-1;;66144:14:0;;;66206:19;;;66144:14;64498:1745;-1:-1:-1;64498:1745:0:o;57350:689::-;57481:19;57487:2;57491:8;57481:5;:19::i;:::-;-1:-1:-1;;;;;57542:14:0;;;:19;57538:483;;57582:11;57596:13;57644:14;;;57677:233;57708:62;57747:1;57751:2;57755:7;;;;;;57764:5;57708:30;:62::i;:::-;57703:167;;57806:40;;-1:-1:-1;;;57806:40:0;;;;;;;;;;;57703:167;57905:3;57897:5;:11;57677:233;;57992:3;57975:13;;:20;57971:34;;57997:8;;;57971:34;57563:458;;57350:689;;;:::o;2086:296::-;2169:7;2212:4;2169:7;2227:118;2251:5;:12;2247:1;:16;2227:118;;;2300:33;2310:12;2324:5;2330:1;2324:8;;;;;;;;:::i;:::-;;;;;;;2300:9;:33::i;:::-;2285:48;-1:-1:-1;2265:3:0;;;;:::i;:::-;;;;2227:118;;;-1:-1:-1;2362:12:0;2086:296;-1:-1:-1;;;2086:296:0:o;51632:2966::-;51705:20;51728:13;;;51756;;;51752:44;;51778:18;;-1:-1:-1;;;51778:18:0;;;;;;;;;;;51752:44;-1:-1:-1;;;;;52284:22:0;;;;;;:18;:22;;;;25353:2;52284:22;;;:71;;52322:32;52310:45;;52284:71;;;52598:31;;;:17;:31;;;;;-1:-1:-1;39334:15:0;;39308:24;39304:46;38903:11;38878:23;38874:41;38871:52;38861:63;;52598:173;;52833:23;;;;52598:31;;52284:22;;53598:25;52284:22;;53451:335;54112:1;54098:12;54094:20;54052:346;54153:3;54144:7;54141:16;54052:346;;54371:7;54361:8;54358:1;54331:25;54328:1;54325;54320:59;54206:1;54193:15;54052:346;;;54056:77;54431:8;54443:1;54431:13;54427:45;;54453:19;;-1:-1:-1;;;54453:19:0;;;;;;;;;;;54427:45;54489:13;:19;-1:-1:-1;47172:193:0;;;:::o;8293:149::-;8356:7;8387:1;8383;:5;:51;;8518:13;8612:15;;;8648:4;8641:15;;;8695:4;8679:21;;8383:51;;;-1:-1:-1;8518:13:0;8612:15;;;8648:4;8641:15;8695:4;8679:21;;;8293:149::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:1;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:1;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:1:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:1;;1348:180;-1:-1:-1;1348:180:1:o;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:1;;1848:42;;1838:70;;1904:1;1901;1894:12;1838:70;1741:173;;;:::o;1919:254::-;1987:6;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;2163:2;2148:18;;;;2135:32;;-1:-1:-1;;;1919:254:1:o;2178:367::-;2241:8;2251:6;2305:3;2298:4;2290:6;2286:17;2282:27;2272:55;;2323:1;2320;2313:12;2272:55;-1:-1:-1;2346:20:1;;2389:18;2378:30;;2375:50;;;2421:1;2418;2411:12;2375:50;2458:4;2450:6;2446:17;2434:29;;2518:3;2511:4;2501:6;2498:1;2494:14;2486:6;2482:27;2478:38;2475:47;2472:67;;;2535:1;2532;2525:12;2472:67;2178:367;;;;;:::o;2550:573::-;2654:6;2662;2670;2678;2731:2;2719:9;2710:7;2706:23;2702:32;2699:52;;;2747:1;2744;2737:12;2699:52;2783:9;2770:23;2760:33;;2844:2;2833:9;2829:18;2816:32;2871:18;2863:6;2860:30;2857:50;;;2903:1;2900;2893:12;2857:50;2942:70;3004:7;2995:6;2984:9;2980:22;2942:70;:::i;:::-;2550:573;;3031:8;;-1:-1:-1;2916:96:1;;3113:2;3098:18;3085:32;;2550:573;-1:-1:-1;;;;2550:573:1:o;3128:505::-;3223:6;3231;3239;3292:2;3280:9;3271:7;3267:23;3263:32;3260:52;;;3308:1;3305;3298:12;3260:52;3348:9;3335:23;3381:18;3373:6;3370:30;3367:50;;;3413:1;3410;3403:12;3367:50;3452:70;3514:7;3505:6;3494:9;3490:22;3452:70;:::i;:::-;3541:8;;3426:96;;-1:-1:-1;3623:2:1;3608:18;;;;3595:32;;3128:505;-1:-1:-1;;;;3128:505:1:o;3820:328::-;3897:6;3905;3913;3966:2;3954:9;3945:7;3941:23;3937:32;3934:52;;;3982:1;3979;3972:12;3934:52;4005:29;4024:9;4005:29;:::i;:::-;3995:39;;4053:38;4087:2;4076:9;4072:18;4053:38;:::i;:::-;4043:48;;4138:2;4127:9;4123:18;4110:32;4100:42;;3820:328;;;;;:::o;4153:592::-;4224:6;4232;4285:2;4273:9;4264:7;4260:23;4256:32;4253:52;;;4301:1;4298;4291:12;4253:52;4341:9;4328:23;4370:18;4411:2;4403:6;4400:14;4397:34;;;4427:1;4424;4417:12;4397:34;4465:6;4454:9;4450:22;4440:32;;4510:7;4503:4;4499:2;4495:13;4491:27;4481:55;;4532:1;4529;4522:12;4481:55;4572:2;4559:16;4598:2;4590:6;4587:14;4584:34;;;4614:1;4611;4604:12;4584:34;4659:7;4654:2;4645:6;4641:2;4637:15;4633:24;4630:37;4627:57;;;4680:1;4677;4670:12;4627:57;4711:2;4703:11;;;;;4733:6;;-1:-1:-1;4153:592:1;;-1:-1:-1;;;;4153:592:1:o;4750:186::-;4809:6;4862:2;4850:9;4841:7;4837:23;4833:32;4830:52;;;4878:1;4875;4868:12;4830:52;4901:29;4920:9;4901:29;:::i;4941:160::-;5006:20;;5062:13;;5055:21;5045:32;;5035:60;;5091:1;5088;5081:12;5106:254;5171:6;5179;5232:2;5220:9;5211:7;5207:23;5203:32;5200:52;;;5248:1;5245;5238:12;5200:52;5271:29;5290:9;5271:29;:::i;:::-;5261:39;;5319:35;5350:2;5339:9;5335:18;5319:35;:::i;:::-;5309:45;;5106:254;;;;;:::o;5365:180::-;5421:6;5474:2;5462:9;5453:7;5449:23;5445:32;5442:52;;;5490:1;5487;5480:12;5442:52;5513:26;5529:9;5513:26;:::i;5735:127::-;5796:10;5791:3;5787:20;5784:1;5777:31;5827:4;5824:1;5817:15;5851:4;5848:1;5841:15;5867:1138;5962:6;5970;5978;5986;6039:3;6027:9;6018:7;6014:23;6010:33;6007:53;;;6056:1;6053;6046:12;6007:53;6079:29;6098:9;6079:29;:::i;:::-;6069:39;;6127:38;6161:2;6150:9;6146:18;6127:38;:::i;:::-;6117:48;;6212:2;6201:9;6197:18;6184:32;6174:42;;6267:2;6256:9;6252:18;6239:32;6290:18;6331:2;6323:6;6320:14;6317:34;;;6347:1;6344;6337:12;6317:34;6385:6;6374:9;6370:22;6360:32;;6430:7;6423:4;6419:2;6415:13;6411:27;6401:55;;6452:1;6449;6442:12;6401:55;6488:2;6475:16;6510:2;6506;6503:10;6500:36;;;6516:18;;:::i;:::-;6591:2;6585:9;6559:2;6645:13;;-1:-1:-1;;6641:22:1;;;6665:2;6637:31;6633:40;6621:53;;;6689:18;;;6709:22;;;6686:46;6683:72;;;6735:18;;:::i;:::-;6775:10;6771:2;6764:22;6810:2;6802:6;6795:18;6850:7;6845:2;6840;6836;6832:11;6828:20;6825:33;6822:53;;;6871:1;6868;6861:12;6822:53;6927:2;6922;6918;6914:11;6909:2;6901:6;6897:15;6884:46;6972:1;6967:2;6962;6954:6;6950:15;6946:24;6939:35;6993:6;6983:16;;;;;;;5867:1138;;;;;;;:::o;7010:260::-;7078:6;7086;7139:2;7127:9;7118:7;7114:23;7110:32;7107:52;;;7155:1;7152;7145:12;7107:52;7178:29;7197:9;7178:29;:::i;:::-;7168:39;;7226:38;7260:2;7249:9;7245:18;7226:38;:::i;7275:380::-;7354:1;7350:12;;;;7397;;;7418:61;;7472:4;7464:6;7460:17;7450:27;;7418:61;7525:2;7517:6;7514:14;7494:18;7491:38;7488:161;;7571:10;7566:3;7562:20;7559:1;7552:31;7606:4;7603:1;7596:15;7634:4;7631:1;7624:15;7488:161;;7275:380;;;:::o;7660:342::-;7862:2;7844:21;;;7901:2;7881:18;;;7874:30;-1:-1:-1;;;7935:2:1;7920:18;;7913:48;7993:2;7978:18;;7660:342::o;8361:127::-;8422:10;8417:3;8413:20;8410:1;8403:31;8453:4;8450:1;8443:15;8477:4;8474:1;8467:15;8493:125;8558:9;;;8579:10;;;8576:36;;;8592:18;;:::i;10242:168::-;10315:9;;;10346;;10363:15;;;10357:22;;10343:37;10333:71;;10384:18;;:::i;11294:545::-;11396:2;11391:3;11388:11;11385:448;;;11432:1;11457:5;11453:2;11446:17;11502:4;11498:2;11488:19;11572:2;11560:10;11556:19;11553:1;11549:27;11543:4;11539:38;11608:4;11596:10;11593:20;11590:47;;;-1:-1:-1;11631:4:1;11590:47;11686:2;11681:3;11677:12;11674:1;11670:20;11664:4;11660:31;11650:41;;11741:82;11759:2;11752:5;11749:13;11741:82;;;11804:17;;;11785:1;11774:13;11741:82;;12015:1206;12139:18;12134:3;12131:27;12128:53;;;12161:18;;:::i;:::-;12190:94;12280:3;12240:38;12272:4;12266:11;12240:38;:::i;:::-;12234:4;12190:94;:::i;:::-;12310:1;12335:2;12330:3;12327:11;12352:1;12347:616;;;;13007:1;13024:3;13021:93;;;-1:-1:-1;13080:19:1;;;13067:33;13021:93;-1:-1:-1;;11972:1:1;11968:11;;;11964:24;11960:29;11950:40;11996:1;11992:11;;;11947:57;13127:78;;12320:895;;12347:616;11241:1;11234:14;;;11278:4;11265:18;;-1:-1:-1;;12383:17:1;;;12484:9;12506:229;12520:7;12517:1;12514:14;12506:229;;;12609:19;;;12596:33;12581:49;;12716:4;12701:20;;;;12669:1;12657:14;;;;12536:12;12506:229;;;12510:3;12763;12754:7;12751:16;12748:159;;;12887:1;12883:6;12877:3;12871;12868:1;12864:11;12860:21;12856:34;12852:39;12839:9;12834:3;12830:19;12817:33;12813:79;12805:6;12798:95;12748:159;;;12950:1;12944:3;12941:1;12937:11;12933:19;12927:4;12920:33;12320:895;;12015:1206;;;:::o;14270:663::-;14550:3;14588:6;14582:13;14604:66;14663:6;14658:3;14651:4;14643:6;14639:17;14604:66;:::i;:::-;14733:13;;14692:16;;;;14755:70;14733:13;14692:16;14802:4;14790:17;;14755:70;:::i;:::-;-1:-1:-1;;;14847:20:1;;14876:22;;;14925:1;14914:13;;14270:663;-1:-1:-1;;;;14270:663:1:o;15706:489::-;-1:-1:-1;;;;;15975:15:1;;;15957:34;;16027:15;;16022:2;16007:18;;16000:43;16074:2;16059:18;;16052:34;;;16122:3;16117:2;16102:18;;16095:31;;;15900:4;;16143:46;;16169:19;;16161:6;16143:46;:::i;:::-;16135:54;15706:489;-1:-1:-1;;;;;;15706:489:1:o;16200:249::-;16269:6;16322:2;16310:9;16301:7;16297:23;16293:32;16290:52;;;16338:1;16335;16328:12;16290:52;16370:9;16364:16;16389:30;16413:5;16389:30;:::i;16454:127::-;16515:10;16510:3;16506:20;16503:1;16496:31;16546:4;16543:1;16536:15;16570:4;16567:1;16560:15;16586:135;16625:3;16646:17;;;16643:43;;16666:18;;:::i;:::-;-1:-1:-1;16713:1:1;16702:13;;16586:135::o
Swarm Source
ipfs://becd3f20b9c4c50e5d455c6f808b65e58c246100f08f1b594ad569b8696f2034
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.