Source Code
Overview
ETH Balance
0.001000000000000174 ETH
Eth Value
$1.85 (@ $1,854.80/ETH)More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 884 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Set Approval For... | 24099943 | 41 days ago | IN | 0 ETH | 0.00000254 | ||||
| Set Approval For... | 22175787 | 310 days ago | IN | 0 ETH | 0.00004942 | ||||
| Set Approval For... | 18599473 | 810 days ago | IN | 0 ETH | 0.00090324 | ||||
| Transfer From | 18599446 | 810 days ago | IN | 0 ETH | 0.00160745 | ||||
| Set Approval For... | 18371748 | 842 days ago | IN | 0 ETH | 0.00026405 | ||||
| Safe Transfer Fr... | 18335670 | 847 days ago | IN | 0 ETH | 0.00076 | ||||
| Set Approval For... | 17516448 | 962 days ago | IN | 0 ETH | 0.00063655 | ||||
| Set Approval For... | 17514140 | 962 days ago | IN | 0 ETH | 0.00089361 | ||||
| Safe Transfer Fr... | 17514065 | 962 days ago | IN | 0 ETH | 0.00254083 | ||||
| Set Approval For... | 16873531 | 1052 days ago | IN | 0 ETH | 0.00027693 | ||||
| Safe Transfer Fr... | 16705602 | 1076 days ago | IN | 0 ETH | 0.00144313 | ||||
| Set Approval For... | 16672531 | 1081 days ago | IN | 0 ETH | 0.000946 | ||||
| Set Approval For... | 16053198 | 1167 days ago | IN | 0 ETH | 0.00050321 | ||||
| Set Approval For... | 16050064 | 1168 days ago | IN | 0 ETH | 0.00036881 | ||||
| Set Approval For... | 16033175 | 1170 days ago | IN | 0 ETH | 0.00073763 | ||||
| Set Approval For... | 16024082 | 1171 days ago | IN | 0 ETH | 0.00041491 | ||||
| Set Approval For... | 15968025 | 1179 days ago | IN | 0 ETH | 0.00055322 | ||||
| Set Approval For... | 15895301 | 1189 days ago | IN | 0 ETH | 0.00081368 | ||||
| Set Approval For... | 15776816 | 1206 days ago | IN | 0 ETH | 0.00132565 | ||||
| Set Approval For... | 15730067 | 1212 days ago | IN | 0 ETH | 0.0004611 | ||||
| Set Approval For... | 15704177 | 1216 days ago | IN | 0 ETH | 0.00025749 | ||||
| Set Approval For... | 15704172 | 1216 days ago | IN | 0 ETH | 0.00024657 | ||||
| Set Approval For... | 15659404 | 1222 days ago | IN | 0 ETH | 0.00021075 | ||||
| Set Approval For... | 15659340 | 1222 days ago | IN | 0 ETH | 0.00023836 | ||||
| Set Approval For... | 15653861 | 1223 days ago | IN | 0 ETH | 0.00073393 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
PsychedelicScrolls
Compiler Version
v0.8.16+commit.07a7930e
Contract Source Code (Solidity)
/**
*Submitted for verification at Etherscan.io on 2022-08-25
*/
// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts/utils/Strings.sol
pragma solidity ^0.8.0;
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
/**
* @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);
}
}
// File: @openzeppelin/contracts/utils/Address.sol
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)
pragma solidity ^0.8.1;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
* ====
*
* [IMPORTANT]
* ====
* You shouldn't rely on `isContract` to protect against flash loan attacks!
*
* Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
* like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
* constructor.
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize/address.code.length, which returns 0
// for contracts in construction, since the code is only stored at the end
// of the constructor execution.
return account.code.length > 0;
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(
address(this).balance >= amount,
"Address: insufficient balance"
);
(bool success, ) = recipient.call{value: amount}("");
require(
success,
"Address: unable to send value, recipient may have reverted"
);
}
/**
* @dev Performs a Solidity function call using a low level `call`. A
* plain `call` is an unsafe replacement for a function call: use this
* function instead.
*
* If `target` reverts with a revert reason, it is bubbled up by this
* function (like regular Solidity function calls).
*
* Returns the raw returned data. To convert to the expected return value,
* use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
*
* Requirements:
*
* - `target` must be a contract.
* - calling `target` with `data` must not revert.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data)
internal
returns (bytes memory)
{
return functionCall(target, data, "Address: low-level call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
* `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but also transferring `value` wei to `target`.
*
* Requirements:
*
* - the calling contract must have an ETH balance of at least `value`.
* - the called Solidity function must be `payable`.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value
) internal returns (bytes memory) {
return
functionCallWithValue(
target,
data,
value,
"Address: low-level call with value failed"
);
}
/**
* @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
* with `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value,
string memory errorMessage
) internal returns (bytes memory) {
require(
address(this).balance >= value,
"Address: insufficient balance for call"
);
require(isContract(target), "Address: call to non-contract");
(bool success, bytes memory returndata) = target.call{value: value}(
data
);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data)
internal
view
returns (bytes memory)
{
return
functionStaticCall(
target,
data,
"Address: low-level static call failed"
);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(
address target,
bytes memory data,
string memory errorMessage
) internal view returns (bytes memory) {
require(isContract(target), "Address: static call to non-contract");
(bool success, bytes memory returndata) = target.staticcall(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data)
internal
returns (bytes memory)
{
return
functionDelegateCall(
target,
data,
"Address: low-level delegate call failed"
);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
require(isContract(target), "Address: delegate call to non-contract");
(bool success, bytes memory returndata) = target.delegatecall(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
* revert reason using the provided one.
*
* _Available since v4.3._
*/
function verifyCallResult(
bool success,
bytes memory returndata,
string memory errorMessage
) internal pure returns (bytes memory) {
if (success) {
return returndata;
} else {
// Look for revert reason and bubble it up if present
if (returndata.length > 0) {
// The easiest way to bubble the revert reason is using memory via assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
}
// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)
pragma solidity ^0.8.0;
/**
* @title ERC721 token receiver interface
* @dev Interface for any contract that wants to support safeTransfers
* from ERC721 asset contracts.
*/
interface IERC721Receiver {
/**
* @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
* by `operator` from `from`, this function is called.
*
* It must return its Solidity selector to confirm the token transfer.
* If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
*
* The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
*/
function onERC721Received(
address operator,
address from,
uint256 tokenId,
bytes calldata data
) external returns (bytes4);
}
// File: @openzeppelin/contracts/utils/introspection/IERC165.sol
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
*
* Implementers can declare support of contract interfaces, which can then be
* queried by others ({ERC165Checker}).
*
* For an implementation, see {ERC165}.
*/
interface IERC165 {
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
* to learn more about how these ids are created.
*
* This function call must use less than 30 000 gas.
*/
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}
// File: @openzeppelin/contracts/utils/introspection/ERC165.sol
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)
pragma solidity ^0.8.0;
/**
* @dev Implementation of the {IERC165} interface.
*
* Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
* for the additional interface id that will be supported. For example:
*
* ```solidity
* function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
* return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
* }
* ```
*
* Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
*/
abstract contract ERC165 is IERC165 {
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId)
public
view
virtual
override
returns (bool)
{
return interfaceId == type(IERC165).interfaceId;
}
}
// File: @openzeppelin/contracts/token/ERC721/IERC721.sol
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)
pragma solidity ^0.8.0;
/**
* @dev Required interface of an ERC721 compliant contract.
*/
interface IERC721 is IERC165 {
/**
* @dev Emitted when `tokenId` token is transferred from `from` to `to`.
*/
event Transfer(
address indexed from,
address indexed to,
uint256 indexed tokenId
);
/**
* @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
*/
event Approval(
address indexed owner,
address indexed approved,
uint256 indexed tokenId
);
/**
* @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
*/
event ApprovalForAll(
address indexed owner,
address indexed operator,
bool approved
);
/**
* @dev Returns the number of tokens in ``owner``'s account.
*/
function balanceOf(address owner) external view returns (uint256 balance);
/**
* @dev Returns the owner of the `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function ownerOf(uint256 tokenId) external view returns (address owner);
/**
* @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
* are aware of the ERC721 protocol to prevent tokens from being forever locked.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId
) external;
/**
* @dev Transfers `tokenId` token from `from` to `to`.
*
* WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
*
* Emits a {Transfer} event.
*/
function transferFrom(
address from,
address to,
uint256 tokenId
) external;
/**
* @dev Gives permission to `to` to transfer `tokenId` token to another account.
* The approval is cleared when the token is transferred.
*
* Only a single account can be approved at a time, so approving the zero address clears previous approvals.
*
* Requirements:
*
* - The caller must own the token or be an approved operator.
* - `tokenId` must exist.
*
* Emits an {Approval} event.
*/
function approve(address to, uint256 tokenId) external;
/**
* @dev Returns the account approved for `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function getApproved(uint256 tokenId)
external
view
returns (address operator);
/**
* @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 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);
/**
* @dev Safely transfers `tokenId` token from `from` to `to`.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId,
bytes calldata data
) external;
}
// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)
pragma solidity ^0.8.0;
/**
* @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
* @dev See https://eips.ethereum.org/EIPS/eip-721
*/
interface IERC721Enumerable is IERC721 {
/**
* @dev Returns the total amount of tokens stored by the contract.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns a token ID owned by `owner` at a given `index` of its token list.
* Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
*/
function tokenOfOwnerByIndex(address owner, uint256 index)
external
view
returns (uint256);
/**
* @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
* Use along with {totalSupply} to enumerate all tokens.
*/
function tokenByIndex(uint256 index) external view returns (uint256);
}
// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)
pragma solidity ^0.8.0;
/**
* @title ERC-721 Non-Fungible Token Standard, optional metadata extension
* @dev See https://eips.ethereum.org/EIPS/eip-721
*/
interface IERC721Metadata is IERC721 {
/**
* @dev Returns the token collection name.
*/
function name() external view returns (string memory);
/**
* @dev Returns the token collection symbol.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
*/
function tokenURI(uint256 tokenId) external view returns (string memory);
}
// File: @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: erc721a/contracts/ERC721A.sol
// Creator: Chiru Labs
pragma solidity ^0.8.4;
error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintedQueryForZeroAddress();
error BurnedQueryForZeroAddress();
error AuxQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error OwnerIndexOutOfBounds();
error OwnerQueryForNonexistentToken();
error TokenIndexOutOfBounds();
error TransferCallerNotOwnerNorApproved();
error TransferFromIncorrectOwner();
error TransferToNonERC721ReceiverImplementer();
error TransferToZeroAddress();
error URIQueryForNonexistentToken();
/**
* @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
* the Metadata extension. Built to optimize for lower gas during batch mints.
*
* Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..).
*
* Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
*
* Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256).
*/
contract ERC721A is Context, ERC165, IERC721, IERC721Metadata {
using Address for address;
using Strings for uint256;
// Compiler will pack this into a single 256bit word.
struct TokenOwnership {
// The address of the owner.
address addr;
// Keeps track of the start time of ownership with minimal overhead for tokenomics.
uint64 startTimestamp;
// Whether the token has been burned.
bool burned;
}
// Compiler will pack this into a single 256bit word.
struct AddressData {
// Realistically, 2**64-1 is more than enough.
uint64 balance;
// Keeps track of mint count with minimal overhead for tokenomics.
uint64 numberMinted;
// Keeps track of burn count with minimal overhead for tokenomics.
uint64 numberBurned;
// For miscellaneous variable(s) pertaining to the address
// (e.g. number of whitelist mint slots used).
// If there are multiple variables, please pack them into a uint64.
uint64 aux;
}
// The tokenId of the next token to be minted.
uint256 internal _currentIndex;
// The number of tokens burned.
uint256 internal _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 ownershipOf implementation for details.
mapping(uint256 => TokenOwnership) internal _ownerships;
// Mapping owner address to address data
mapping(address => AddressData) private _addressData;
// Mapping from token ID to approved address
mapping(uint256 => address) private _tokenApprovals;
// Mapping from owner to operator approvals
mapping(address => mapping(address => bool)) private _operatorApprovals;
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
_currentIndex = _startTokenId();
}
/**
* To change the starting tokenId, please override this function.
*/
function _startTokenId() internal view virtual returns (uint256) {
return 0;
}
/**
* @dev See {IERC721Enumerable-totalSupply}.
* @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens.
*/
function totalSupply() public view returns (uint256) {
// Counter underflow is impossible as _burnCounter cannot be incremented
// more than _currentIndex - _startTokenId() times
unchecked {
return _currentIndex - _burnCounter - _startTokenId();
}
}
/**
* Returns the total amount of tokens minted in the contract.
*/
function _totalMinted() internal view returns (uint256) {
// Counter underflow is impossible as _currentIndex does not decrement,
// and it is initialized to _startTokenId()
unchecked {
return _currentIndex - _startTokenId();
}
}
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId)
public
view
virtual
override(ERC165, IERC165)
returns (bool)
{
return
interfaceId == type(IERC721).interfaceId ||
interfaceId == type(IERC721Metadata).interfaceId ||
super.supportsInterface(interfaceId);
}
/**
* @dev See {IERC721-balanceOf}.
*/
function balanceOf(address owner) public view override returns (uint256) {
if (owner == address(0)) revert BalanceQueryForZeroAddress();
return uint256(_addressData[owner].balance);
}
/**
* Returns the number of tokens minted by `owner`.
*/
function _numberMinted(address owner) internal view returns (uint256) {
if (owner == address(0)) revert MintedQueryForZeroAddress();
return uint256(_addressData[owner].numberMinted);
}
/**
* Returns the number of tokens burned by or on behalf of `owner`.
*/
function _numberBurned(address owner) internal view returns (uint256) {
if (owner == address(0)) revert BurnedQueryForZeroAddress();
return uint256(_addressData[owner].numberBurned);
}
/**
* Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
*/
function _getAux(address owner) internal view returns (uint64) {
if (owner == address(0)) revert AuxQueryForZeroAddress();
return _addressData[owner].aux;
}
/**
* Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
* If there are multiple variables, please pack them into a uint64.
*/
function _setAux(address owner, uint64 aux) internal {
if (owner == address(0)) revert AuxQueryForZeroAddress();
_addressData[owner].aux = aux;
}
/**
* Gas spent here starts off proportional to the maximum mint batch size.
* It gradually moves to O(1) as tokens get transferred around in the collection over time.
*/
function ownershipOf(uint256 tokenId)
internal
view
returns (TokenOwnership memory)
{
uint256 curr = tokenId;
unchecked {
if (_startTokenId() <= curr && curr < _currentIndex) {
TokenOwnership memory ownership = _ownerships[curr];
if (!ownership.burned) {
if (ownership.addr != address(0)) {
return ownership;
}
// Invariant:
// There will always be an ownership that has an address and is not burned
// before an ownership that does not have an address and is not burned.
// Hence, curr will not underflow.
while (true) {
curr--;
ownership = _ownerships[curr];
if (ownership.addr != address(0)) {
return ownership;
}
}
}
}
}
revert OwnerQueryForNonexistentToken();
}
/**
* @dev See {IERC721-ownerOf}.
*/
function ownerOf(uint256 tokenId) public view override returns (address) {
return ownershipOf(tokenId).addr;
}
/**
* @dev See {IERC721Metadata-name}.
*/
function name() public view virtual override returns (string memory) {
return _name;
}
/**
* @dev See {IERC721Metadata-symbol}.
*/
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
/**
* @dev See {IERC721Metadata-tokenURI}.
*/
function tokenURI(uint256 tokenId)
public
view
virtual
override
returns (string memory)
{
if (!_exists(tokenId)) revert URIQueryForNonexistentToken();
string memory baseURI = _baseURI();
return
bytes(baseURI).length != 0
? string(abi.encodePacked(baseURI, tokenId.toString()))
: "";
}
/**
* @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
* token will be the concatenation of the `baseURI` and the `tokenId`. Empty
* by default, can be overriden in child contracts.
*/
function _baseURI() internal view virtual returns (string memory) {
return "";
}
/**
* @dev See {IERC721-approve}.
*/
function approve(address to, uint256 tokenId) public override {
address owner = ERC721A.ownerOf(tokenId);
if (to == owner) revert ApprovalToCurrentOwner();
if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) {
revert ApprovalCallerNotOwnerNorApproved();
}
_approve(to, tokenId, owner);
}
/**
* @dev See {IERC721-getApproved}.
*/
function getApproved(uint256 tokenId)
public
view
override
returns (address)
{
if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();
return _tokenApprovals[tokenId];
}
/**
* @dev See {IERC721-setApprovalForAll}.
*/
function setApprovalForAll(address operator, bool approved)
public
override
{
if (operator == _msgSender()) revert ApproveToCaller();
_operatorApprovals[_msgSender()][operator] = approved;
emit ApprovalForAll(_msgSender(), operator, approved);
}
/**
* @dev See {IERC721-isApprovedForAll}.
*/
function isApprovedForAll(address owner, address operator)
public
view
virtual
override
returns (bool)
{
return _operatorApprovals[owner][operator];
}
/**
* @dev See {IERC721-transferFrom}.
*/
function transferFrom(
address from,
address to,
uint256 tokenId
) public virtual override {
_transfer(from, to, tokenId);
}
/**
* @dev See {IERC721-safeTransferFrom}.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId
) public virtual override {
safeTransferFrom(from, to, tokenId, "");
}
/**
* @dev See {IERC721-safeTransferFrom}.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId,
bytes memory _data
) public virtual override {
_transfer(from, to, tokenId);
if (
to.isContract() &&
!_checkContractOnERC721Received(from, to, tokenId, _data)
) {
revert TransferToNonERC721ReceiverImplementer();
}
}
/**
* @dev Returns whether `tokenId` exists.
*
* Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
*
* Tokens start existing when they are minted (`_mint`),
*/
function _exists(uint256 tokenId) internal view returns (bool) {
return
_startTokenId() <= tokenId &&
tokenId < _currentIndex &&
!_ownerships[tokenId].burned;
}
function _safeMint(address to, uint256 quantity) internal {
_safeMint(to, quantity, "");
}
/**
* @dev Safely mints `quantity` tokens and transfers them to `to`.
*
* Requirements:
*
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
* - `quantity` must be greater than 0.
*
* Emits a {Transfer} event.
*/
function _safeMint(
address to,
uint256 quantity,
bytes memory _data
) internal {
_mint(to, quantity, _data, true);
}
/**
* @dev Mints `quantity` tokens and transfers them to `to`.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - `quantity` must be greater than 0.
*
* Emits a {Transfer} event.
*/
function _mint(
address to,
uint256 quantity,
bytes memory _data,
bool safe
) internal {
uint256 startTokenId = _currentIndex;
if (to == address(0)) revert MintToZeroAddress();
if (quantity == 0) revert MintZeroQuantity();
_beforeTokenTransfers(address(0), to, startTokenId, quantity);
// Overflows are incredibly unrealistic.
// balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
// updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
unchecked {
_addressData[to].balance += uint64(quantity);
_addressData[to].numberMinted += uint64(quantity);
_ownerships[startTokenId].addr = to;
_ownerships[startTokenId].startTimestamp = uint64(block.timestamp);
uint256 updatedIndex = startTokenId;
uint256 end = updatedIndex + quantity;
if (safe && to.isContract()) {
do {
emit Transfer(address(0), to, updatedIndex);
if (
!_checkContractOnERC721Received(
address(0),
to,
updatedIndex++,
_data
)
) {
revert TransferToNonERC721ReceiverImplementer();
}
} while (updatedIndex != end);
// Reentrancy protection
if (_currentIndex != startTokenId) revert();
} else {
do {
emit Transfer(address(0), to, updatedIndex++);
} while (updatedIndex != end);
}
_currentIndex = updatedIndex;
}
_afterTokenTransfers(address(0), to, startTokenId, quantity);
}
/**
* @dev Transfers `tokenId` from `from` to `to`.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
*
* Emits a {Transfer} event.
*/
function _transfer(
address from,
address to,
uint256 tokenId
) private {
TokenOwnership memory prevOwnership = ownershipOf(tokenId);
bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr ||
isApprovedForAll(prevOwnership.addr, _msgSender()) ||
getApproved(tokenId) == _msgSender());
if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();
if (to == address(0)) revert TransferToZeroAddress();
_beforeTokenTransfers(from, to, tokenId, 1);
// Clear approvals from the previous owner
_approve(address(0), tokenId, prevOwnership.addr);
// 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 {
_addressData[from].balance -= 1;
_addressData[to].balance += 1;
_ownerships[tokenId].addr = to;
_ownerships[tokenId].startTimestamp = uint64(block.timestamp);
// If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
// Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
uint256 nextTokenId = tokenId + 1;
if (_ownerships[nextTokenId].addr == address(0)) {
// This will suffice for checking _exists(nextTokenId),
// as a burned slot cannot contain the zero address.
if (nextTokenId < _currentIndex) {
_ownerships[nextTokenId].addr = prevOwnership.addr;
_ownerships[nextTokenId].startTimestamp = prevOwnership
.startTimestamp;
}
}
}
emit Transfer(from, to, tokenId);
_afterTokenTransfers(from, to, tokenId, 1);
}
/**
* @dev Destroys `tokenId`.
* The approval is cleared when the token is burned.
*
* Requirements:
*
* - `tokenId` must exist.
*
* Emits a {Transfer} event.
*/
function _burn(uint256 tokenId) internal virtual {
TokenOwnership memory prevOwnership = ownershipOf(tokenId);
_beforeTokenTransfers(prevOwnership.addr, address(0), tokenId, 1);
// Clear approvals from the previous owner
_approve(address(0), tokenId, prevOwnership.addr);
// 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 {
_addressData[prevOwnership.addr].balance -= 1;
_addressData[prevOwnership.addr].numberBurned += 1;
// Keep track of who burned the token, and the timestamp of burning.
_ownerships[tokenId].addr = prevOwnership.addr;
_ownerships[tokenId].startTimestamp = uint64(block.timestamp);
_ownerships[tokenId].burned = true;
// If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it.
// Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
uint256 nextTokenId = tokenId + 1;
if (_ownerships[nextTokenId].addr == address(0)) {
// This will suffice for checking _exists(nextTokenId),
// as a burned slot cannot contain the zero address.
if (nextTokenId < _currentIndex) {
_ownerships[nextTokenId].addr = prevOwnership.addr;
_ownerships[nextTokenId].startTimestamp = prevOwnership
.startTimestamp;
}
}
}
emit Transfer(prevOwnership.addr, address(0), tokenId);
_afterTokenTransfers(prevOwnership.addr, address(0), tokenId, 1);
// Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
unchecked {
_burnCounter++;
}
}
/**
* @dev Approve `to` to operate on `tokenId`
*
* Emits a {Approval} event.
*/
function _approve(
address to,
uint256 tokenId,
address owner
) private {
_tokenApprovals[tokenId] = to;
emit Approval(owner, to, tokenId);
}
/**
* @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract.
*
* @param from address representing the previous owner of the given token ID
* @param to target address that will receive the tokens
* @param tokenId uint256 ID of the token to be transferred
* @param _data bytes optional data to send along with the call
* @return bool whether the call correctly returned the expected magic value
*/
function _checkContractOnERC721Received(
address from,
address to,
uint256 tokenId,
bytes memory _data
) private returns (bool) {
try
IERC721Receiver(to).onERC721Received(
_msgSender(),
from,
tokenId,
_data
)
returns (bytes4 retval) {
return retval == IERC721Receiver(to).onERC721Received.selector;
} catch (bytes memory reason) {
if (reason.length == 0) {
revert TransferToNonERC721ReceiverImplementer();
} else {
assembly {
revert(add(32, reason), mload(reason))
}
}
}
}
/**
* @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
* And also called before burning one token.
*
* startTokenId - the first token id to be transferred
* quantity - the amount to be transferred
*
* Calling conditions:
*
* - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
* transferred to `to`.
* - When `from` is zero, `tokenId` will be minted for `to`.
* - When `to` is zero, `tokenId` will be burned by `from`.
* - `from` and `to` are never both zero.
*/
function _beforeTokenTransfers(
address from,
address to,
uint256 startTokenId,
uint256 quantity
) internal virtual {}
/**
* @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
* minting.
* And also called after one token has been burned.
*
* startTokenId - the first token id to be transferred
* quantity - the amount to be transferred
*
* Calling conditions:
*
* - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
* transferred to `to`.
* - When `from` is zero, `tokenId` has been minted for `to`.
* - When `to` is zero, `tokenId` has been burned by `from`.
* - `from` and `to` are never both zero.
*/
function _afterTokenTransfers(
address from,
address to,
uint256 startTokenId,
uint256 quantity
) internal virtual {}
}
// File: @openzeppelin/contracts/access/Ownable.sol
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)
pragma solidity ^0.8.0;
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(
address indexed previousOwner,
address indexed newOwner
);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor() {
_transferOwnership(_msgSender());
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
_;
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions anymore. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby removing any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(
newOwner != address(0),
"Ownable: new owner is the zero address"
);
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)
pragma solidity ^0.8.0;
/**
* @dev Contract module that helps prevent reentrant calls to a function.
*
* Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
* available, which can be applied to functions to make sure there are no nested
* (reentrant) calls to them.
*
* Note that because there is a single `nonReentrant` guard, functions marked as
* `nonReentrant` may not call one another. This can be worked around by making
* those functions `private`, and then adding `external` `nonReentrant` entry
* points to them.
*
* TIP: If you would like to learn more about reentrancy and alternative ways
* to protect against it, check out our blog post
* https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
*/
abstract contract ReentrancyGuard {
// Booleans are more expensive than uint256 or any type that takes up a full
// word because each write operation emits an extra SLOAD to first read the
// slot's contents, replace the bits taken up by the boolean, and then write
// back. This is the compiler's defense against contract upgrades and
// pointer aliasing, and it cannot be disabled.
// The values being non-zero value makes deployment a bit more expensive,
// but in exchange the refund on every call to nonReentrant will be lower in
// amount. Since refunds are capped to a percentage of the total
// transaction's gas, it is best to keep them low in cases like this one, to
// increase the likelihood of the full refund coming into effect.
uint256 private constant _NOT_ENTERED = 1;
uint256 private constant _ENTERED = 2;
uint256 private _status;
constructor() {
_status = _NOT_ENTERED;
}
/**
* @dev Prevents a contract from calling itself, directly or indirectly.
* Calling a `nonReentrant` function from another `nonReentrant`
* function is not supported. It is possible to prevent this from happening
* by making the `nonReentrant` function external, and making it call a
* `private` function that does the actual work.
*/
modifier nonReentrant() {
// On the first call to nonReentrant, _notEntered will be true
require(_status != _ENTERED, "ReentrancyGuard: reentrant call");
// Any calls to nonReentrant after this point will fail
_status = _ENTERED;
_;
// By storing the original value once again, a refund is triggered (see
// https://eips.ethereum.org/EIPS/eip-2200)
_status = _NOT_ENTERED;
}
}
// OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol)
pragma solidity ^0.8.0;
// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.
/**
* @dev Wrappers over Solidity's arithmetic operations.
*
* NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
* now has built in overflow checking.
*/
library SafeMath {
/**
* @dev Returns the addition of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function tryAdd(uint256 a, uint256 b)
internal
pure
returns (bool, uint256)
{
unchecked {
uint256 c = a + b;
if (c < a) return (false, 0);
return (true, c);
}
}
/**
* @dev Returns the subtraction of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function trySub(uint256 a, uint256 b)
internal
pure
returns (bool, uint256)
{
unchecked {
if (b > a) return (false, 0);
return (true, a - b);
}
}
/**
* @dev Returns the multiplication of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function tryMul(uint256 a, uint256 b)
internal
pure
returns (bool, uint256)
{
unchecked {
// Gas optimization: this is cheaper than requiring 'a' not being zero, but the
// benefit is lost if 'b' is also tested.
// See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
if (a == 0) return (true, 0);
uint256 c = a * b;
if (c / a != b) return (false, 0);
return (true, c);
}
}
/**
* @dev Returns the division of two unsigned integers, with a division by zero flag.
*
* _Available since v3.4._
*/
function tryDiv(uint256 a, uint256 b)
internal
pure
returns (bool, uint256)
{
unchecked {
if (b == 0) return (false, 0);
return (true, a / b);
}
}
/**
* @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
*
* _Available since v3.4._
*/
function tryMod(uint256 a, uint256 b)
internal
pure
returns (bool, uint256)
{
unchecked {
if (b == 0) return (false, 0);
return (true, a % b);
}
}
/**
* @dev Returns the addition of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `+` operator.
*
* Requirements:
*
* - Addition cannot overflow.
*/
function add(uint256 a, uint256 b) internal pure returns (uint256) {
return a + b;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting on
* overflow (when the result is negative).
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
return a - b;
}
/**
* @dev Returns the multiplication of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `*` operator.
*
* Requirements:
*
* - Multiplication cannot overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
return a * b;
}
/**
* @dev Returns the integer division of two unsigned integers, reverting on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator.
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b) internal pure returns (uint256) {
return a / b;
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* reverting when dividing by zero.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(uint256 a, uint256 b) internal pure returns (uint256) {
return a % b;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting with custom message on
* overflow (when the result is negative).
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {trySub}.
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
unchecked {
require(b <= a, errorMessage);
return a - b;
}
}
/**
* @dev Returns the integer division of two unsigned integers, reverting with custom message on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator. Note: this function uses a
* `revert` opcode (which leaves remaining gas untouched) while Solidity
* uses an invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
unchecked {
require(b > 0, errorMessage);
return a / b;
}
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* reverting with custom message when dividing by zero.
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {tryMod}.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
unchecked {
require(b > 0, errorMessage);
return a % b;
}
}
}
pragma solidity ^0.8.4;
contract PsychedelicScrolls is ERC721A, Ownable, ReentrancyGuard {
using Strings for uint256;
using SafeMath for uint256;
error MaxSupplyExceeded();
error NotAllowlisted();
error MaxPerWalletExceeded();
error PreSaleNotActive();
error PublicSaleNotActive();
error NoContracts();
uint16 public maxSupply = 500;
uint8 public maxMintAmount = 1;
string private _baseTokenURI =
"ipfs://QmSXCfDmgjLSKqChHjSwKNuVbLh3TnKcK3MoDdvGR5dGC1";
bool public presaleActive;
bool public publicSaleActive;
mapping(address => bool) private _allowList;
constructor() ERC721A("Owlers", "Psychedelic Scrolls") {}
modifier callerIsUser() {
if (msg.sender != tx.origin) revert NoContracts();
_;
}
function isAllowlisted(address _user) external view returns (bool) {
return _allowList[_user];
}
function airdrop(address _address, uint256 _amount) external onlyOwner {
if (totalSupply() + _amount > maxSupply) revert MaxSupplyExceeded();
_safeMint(_address, _amount);
}
function presaleMint(uint8 _amount) external payable callerIsUser {
if (!presaleActive) revert PreSaleNotActive();
if (totalSupply() + _amount > maxSupply) revert MaxSupplyExceeded();
if (!_allowList[msg.sender]) revert NotAllowlisted();
if (_numberMinted(msg.sender) + _amount > maxMintAmount)
revert MaxPerWalletExceeded();
_safeMint(msg.sender, _amount);
}
function mint(uint8 _amount) external payable callerIsUser {
if (!publicSaleActive) revert PublicSaleNotActive();
if (totalSupply() + _amount > maxSupply) revert MaxSupplyExceeded();
if (_numberMinted(msg.sender) + _amount > maxMintAmount)
revert MaxPerWalletExceeded();
_safeMint(msg.sender, _amount);
}
function setMaxMintAmount(uint8 _maxMintAmount) external onlyOwner {
maxMintAmount = _maxMintAmount;
}
function setBaseURI(string calldata baseURI) external onlyOwner {
_baseTokenURI = baseURI;
}
function tokenURI(uint256 tokenId)
public
view
override
returns (string memory)
{
require(_exists(tokenId), "ERC721Metadata: Token ID does not exist");
return
bytes(_baseTokenURI).length > 0
? string(
abi.encodePacked(
_baseTokenURI,
"/",
tokenId.toString(),
".json"
)
)
: "";
}
function togglePresale() external onlyOwner {
presaleActive = !presaleActive;
}
function togglePublicsale() external onlyOwner {
publicSaleActive = !publicSaleActive;
}
function setAllowlistAddresses(address[] calldata _users)
external
onlyOwner
{
for (uint256 i = 0; i < _users.length; i++) {
_allowList[_users[i]] = true;
}
}
function withdraw() public onlyOwner {
(bool os, ) = payable(owner()).call{value: address(this).balance}("");
require(os);
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MaxPerWalletExceeded","type":"error"},{"inputs":[],"name":"MaxSupplyExceeded","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"MintedQueryForZeroAddress","type":"error"},{"inputs":[],"name":"NoContracts","type":"error"},{"inputs":[],"name":"NotAllowlisted","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"PreSaleNotActive","type":"error"},{"inputs":[],"name":"PublicSaleNotActive","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"isAllowlisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"maxMintAmount","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"_amount","type":"uint8"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"_amount","type":"uint8"}],"name":"presaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_users","type":"address[]"}],"name":"setAllowlistAddresses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_maxMintAmount","type":"uint8"}],"name":"setMaxMintAmount","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":[],"name":"togglePresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePublicsale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
600a805462ffffff1916620101f417905560e06040526035608081815290620020f660a039600b90620000339082620001cb565b503480156200004157600080fd5b50604051806040016040528060068152602001654f776c65727360d01b8152506040518060400160405280601381526020017f50737963686564656c6963205363726f6c6c73000000000000000000000000008152508160029081620000a89190620001cb565b506003620000b78282620001cb565b50506000805550620000c933620000d4565b600160095562000297565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200015157607f821691505b6020821081036200017257634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001c657600081815260208120601f850160051c81016020861015620001a15750805b601f850160051c820191505b81811015620001c257828155600101620001ad565b5050505b505050565b81516001600160401b03811115620001e757620001e762000126565b620001ff81620001f884546200013c565b8462000178565b602080601f8311600181146200023757600084156200021e5750858301515b600019600386901b1c1916600185901b178555620001c2565b600085815260208120601f198616915b82811015620002685788860151825594840194600190910190840162000247565b5085821015620002875787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b611e4f80620002a76000396000f3fe6080604052600436106101d85760003560e01c806370a0823111610102578063bc8893b411610095578063e985e9c511610064578063e985e9c51461055d578063f2fde38b1461057d578063f617f9201461059d578063fd46d787146105b057600080fd5b8063bc8893b4146104d0578063bd9b39a4146104ef578063c87b56dd1461050f578063d5abeb011461052f57600080fd5b8063953c8025116100d1578063953c80251461046657806395d89b411461047b578063a22cb46514610490578063b88d4fde146104b057600080fd5b806370a08231146103f3578063715018a6146104135780638ba4cc3c146104285780638da5cb5b1461044857600080fd5b806323b872dd1161017a57806353135ca01161014957806353135ca01461038657806355f804b3146103a05780636352211e146103c05780636ecd2306146103e057600080fd5b806323b872dd1461031c578063343937431461033c5780633ccfd60b1461035157806342842e0e1461036657600080fd5b8063081812fc116101b6578063081812fc1461026d578063095ea7b3146102a557806318160ddd146102c7578063239c70ae146102ea57600080fd5b806301ffc9a7146101dd57806305a3b8091461021257806306fdde031461024b575b600080fd5b3480156101e957600080fd5b506101fd6101f836600461175d565b6105d0565b60405190151581526020015b60405180910390f35b34801561021e57600080fd5b506101fd61022d36600461179d565b6001600160a01b03166000908152600d602052604090205460ff1690565b34801561025757600080fd5b50610260610622565b6040516102099190611808565b34801561027957600080fd5b5061028d61028836600461181b565b6106b4565b6040516001600160a01b039091168152602001610209565b3480156102b157600080fd5b506102c56102c0366004611834565b6106f8565b005b3480156102d357600080fd5b50600154600054035b604051908152602001610209565b3480156102f657600080fd5b50600a5461030a9062010000900460ff1681565b60405160ff9091168152602001610209565b34801561032857600080fd5b506102c561033736600461185e565b610785565b34801561034857600080fd5b506102c5610790565b34801561035d57600080fd5b506102c56107d7565b34801561037257600080fd5b506102c561038136600461185e565b610875565b34801561039257600080fd5b50600c546101fd9060ff1681565b3480156103ac57600080fd5b506102c56103bb36600461189a565b610890565b3480156103cc57600080fd5b5061028d6103db36600461181b565b6108c7565b6102c56103ee36600461190c565b6108d9565b3480156103ff57600080fd5b506102dc61040e36600461179d565b6109b2565b34801561041f57600080fd5b506102c5610a01565b34801561043457600080fd5b506102c5610443366004611834565b610a37565b34801561045457600080fd5b506008546001600160a01b031661028d565b34801561047257600080fd5b506102c5610aad565b34801561048757600080fd5b50610260610af4565b34801561049c57600080fd5b506102c56104ab36600461192f565b610b03565b3480156104bc57600080fd5b506102c56104cb366004611981565b610b98565b3480156104dc57600080fd5b50600c546101fd90610100900460ff1681565b3480156104fb57600080fd5b506102c561050a366004611a5d565b610be9565b34801561051b57600080fd5b5061026061052a36600461181b565b610c85565b34801561053b57600080fd5b50600a5461054a9061ffff1681565b60405161ffff9091168152602001610209565b34801561056957600080fd5b506101fd610578366004611ac0565b610d48565b34801561058957600080fd5b506102c561059836600461179d565b610d76565b6102c56105ab36600461190c565b610e0e565b3480156105bc57600080fd5b506102c56105cb36600461190c565b610ec2565b60006001600160e01b031982166380ac58cd60e01b148061060157506001600160e01b03198216635b5e139f60e01b145b8061061c57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606002805461063190611af3565b80601f016020809104026020016040519081016040528092919081815260200182805461065d90611af3565b80156106aa5780601f1061067f576101008083540402835291602001916106aa565b820191906000526020600020905b81548152906001019060200180831161068d57829003601f168201915b5050505050905090565b60006106bf82610f0a565b6106dc576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610703826108c7565b9050806001600160a01b0316836001600160a01b0316036107375760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161480159061075757506107558133610d48565b155b15610775576040516367d9dca160e11b815260040160405180910390fd5b610780838383610f35565b505050565b610780838383610f91565b6008546001600160a01b031633146107c35760405162461bcd60e51b81526004016107ba90611b2d565b60405180910390fd5b600c805460ff19811660ff90911615179055565b6008546001600160a01b031633146108015760405162461bcd60e51b81526004016107ba90611b2d565b60006108156008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d806000811461085f576040519150601f19603f3d011682016040523d82523d6000602084013e610864565b606091505b505090508061087257600080fd5b50565b61078083838360405180602001604052806000815250610b98565b6008546001600160a01b031633146108ba5760405162461bcd60e51b81526004016107ba90611b2d565b600b610780828483611bb0565b60006108d2826111a7565b5192915050565b3332146108f95760405163875fdad760e01b815260040160405180910390fd5b600c54610100900460ff16610921576040516331f423c160e21b815260040160405180910390fd5b600a5461ffff1660ff82166109396001546000540390565b6109439190611c86565b111561096257604051638a164f6360e01b815260040160405180910390fd5b600a5460ff62010000909104811690821661097c336112c3565b6109869190611c86565b11156109a557604051637ab0312d60e11b815260040160405180910390fd5b610872338260ff16611319565b60006001600160a01b0382166109db576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610a2b5760405162461bcd60e51b81526004016107ba90611b2d565b610a356000611333565b565b6008546001600160a01b03163314610a615760405162461bcd60e51b81526004016107ba90611b2d565b600a5461ffff1681610a766001546000540390565b610a809190611c86565b1115610a9f57604051638a164f6360e01b815260040160405180910390fd5b610aa98282611319565b5050565b6008546001600160a01b03163314610ad75760405162461bcd60e51b81526004016107ba90611b2d565b600c805461ff001981166101009182900460ff1615909102179055565b60606003805461063190611af3565b336001600160a01b03831603610b2c5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610ba3848484610f91565b6001600160a01b0383163b15158015610bc55750610bc384848484611385565b155b15610be3576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6008546001600160a01b03163314610c135760405162461bcd60e51b81526004016107ba90611b2d565b60005b81811015610780576001600d6000858585818110610c3657610c36611c99565b9050602002016020810190610c4b919061179d565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610c7d81611caf565b915050610c16565b6060610c9082610f0a565b610cec5760405162461bcd60e51b815260206004820152602760248201527f4552433732314d657461646174613a20546f6b656e20494420646f6573206e6f6044820152661d08195e1a5cdd60ca1b60648201526084016107ba565b6000600b8054610cfb90611af3565b905011610d17576040518060200160405280600081525061061c565b600b610d2283611471565b604051602001610d33929190611cc8565b60405160208183030381529060405292915050565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6008546001600160a01b03163314610da05760405162461bcd60e51b81526004016107ba90611b2d565b6001600160a01b038116610e055760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107ba565b61087281611333565b333214610e2e5760405163875fdad760e01b815260040160405180910390fd5b600c5460ff16610e51576040516371e1355f60e11b815260040160405180910390fd5b600a5461ffff1660ff8216610e696001546000540390565b610e739190611c86565b1115610e9257604051638a164f6360e01b815260040160405180910390fd5b336000908152600d602052604090205460ff16610962576040516306fb10a960e01b815260040160405180910390fd5b6008546001600160a01b03163314610eec5760405162461bcd60e51b81526004016107ba90611b2d565b600a805460ff909216620100000262ff000019909216919091179055565b600080548210801561061c575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610f9c826111a7565b80519091506000906001600160a01b0316336001600160a01b03161480610fca57508151610fca9033610d48565b80610fe5575033610fda846106b4565b6001600160a01b0316145b90508061100557604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b03161461103a5760405162a1148160e81b815260040160405180910390fd5b6001600160a01b03841661106157604051633a954ecd60e21b815260040160405180910390fd5b6110716000848460000151610f35565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b42909216919091021790925590860180835291205490911661115d5760005481101561115d578251600082815260046020908152604090912080549186015167ffffffffffffffff16600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b6040805160608101825260008082526020820181905291810191909152816000548110156112aa57600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff161515918101829052906112a85780516001600160a01b03161561123e579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff16151592810192909252156112a3579392505050565b61123e565b505b604051636f96cda160e11b815260040160405180910390fd5b60006001600160a01b0382166112ec576040516335ebb31960e01b815260040160405180910390fd5b506001600160a01b0316600090815260056020526040902054600160401b900467ffffffffffffffff1690565b610aa9828260405180602001604052806000815250611572565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906113ba903390899088908890600401611d6e565b6020604051808303816000875af19250505080156113f5575060408051601f3d908101601f191682019092526113f291810190611dab565b60015b611453573d808015611423576040519150601f19603f3d011682016040523d82523d6000602084013e611428565b606091505b50805160000361144b576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060816000036114985750506040805180820190915260018152600360fc1b602082015290565b8160005b81156114c257806114ac81611caf565b91506114bb9050600a83611dde565b915061149c565b60008167ffffffffffffffff8111156114dd576114dd61196b565b6040519080825280601f01601f191660200182016040528015611507576020820181803683370190505b5090505b84156114695761151c600183611df2565b9150611529600a86611e05565b611534906030611c86565b60f81b81838151811061154957611549611c99565b60200101906001600160f81b031916908160001a90535061156b600a86611dde565b945061150b565b61078083838360016000546001600160a01b0385166115a357604051622e076360e81b815260040160405180910390fd5b836000036115c45760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168c018116918217600160401b67ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b42909216919091021790558080850183801561167157506001600160a01b0387163b15155b156116f9575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46116c26000888480600101955088611385565b6116df576040516368d2bf6b60e11b815260040160405180910390fd5b8082036116775782600054146116f457600080fd5b61173e565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082036116fa575b506000556111a0565b6001600160e01b03198116811461087257600080fd5b60006020828403121561176f57600080fd5b813561177a81611747565b9392505050565b80356001600160a01b038116811461179857600080fd5b919050565b6000602082840312156117af57600080fd5b61177a82611781565b60005b838110156117d35781810151838201526020016117bb565b50506000910152565b600081518084526117f48160208601602086016117b8565b601f01601f19169290920160200192915050565b60208152600061177a60208301846117dc565b60006020828403121561182d57600080fd5b5035919050565b6000806040838503121561184757600080fd5b61185083611781565b946020939093013593505050565b60008060006060848603121561187357600080fd5b61187c84611781565b925061188a60208501611781565b9150604084013590509250925092565b600080602083850312156118ad57600080fd5b823567ffffffffffffffff808211156118c557600080fd5b818501915085601f8301126118d957600080fd5b8135818111156118e857600080fd5b8660208285010111156118fa57600080fd5b60209290920196919550909350505050565b60006020828403121561191e57600080fd5b813560ff8116811461177a57600080fd5b6000806040838503121561194257600080fd5b61194b83611781565b91506020830135801515811461196057600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561199757600080fd5b6119a085611781565b93506119ae60208601611781565b925060408501359150606085013567ffffffffffffffff808211156119d257600080fd5b818701915087601f8301126119e657600080fd5b8135818111156119f8576119f861196b565b604051601f8201601f19908116603f01168101908382118183101715611a2057611a2061196b565b816040528281528a6020848701011115611a3957600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060208385031215611a7057600080fd5b823567ffffffffffffffff80821115611a8857600080fd5b818501915085601f830112611a9c57600080fd5b813581811115611aab57600080fd5b8660208260051b85010111156118fa57600080fd5b60008060408385031215611ad357600080fd5b611adc83611781565b9150611aea60208401611781565b90509250929050565b600181811c90821680611b0757607f821691505b602082108103611b2757634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b601f82111561078057600081815260208120601f850160051c81016020861015611b895750805b601f850160051c820191505b81811015611ba857828155600101611b95565b505050505050565b67ffffffffffffffff831115611bc857611bc861196b565b611bdc83611bd68354611af3565b83611b62565b6000601f841160018114611c105760008515611bf85750838201355b600019600387901b1c1916600186901b1783556111a0565b600083815260209020601f19861690835b82811015611c415786850135825560209485019460019092019101611c21565b5086821015611c5e5760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561061c5761061c611c70565b634e487b7160e01b600052603260045260246000fd5b600060018201611cc157611cc1611c70565b5060010190565b6000808454611cd681611af3565b60018281168015611cee5760018114611d0357611d32565b60ff1984168752821515830287019450611d32565b8860005260208060002060005b85811015611d295781548a820152908401908201611d10565b50505082870194505b50602f60f81b845286519250611d4e8382860160208a016117b8565b64173539b7b760d91b939092019182019290925260060195945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611da1908301846117dc565b9695505050505050565b600060208284031215611dbd57600080fd5b815161177a81611747565b634e487b7160e01b600052601260045260246000fd5b600082611ded57611ded611dc8565b500490565b8181038181111561061c5761061c611c70565b600082611e1457611e14611dc8565b50069056fea2646970667358221220a7ed74fbf66df10804b1b3840e039c5f09d314f6934a725955dafb3cdc83eac264736f6c63430008100033697066733a2f2f516d53584366446d676a4c534b714368486a53774b4e7556624c6833546e4b634b334d6f44647647523564474331
Deployed Bytecode
0x6080604052600436106101d85760003560e01c806370a0823111610102578063bc8893b411610095578063e985e9c511610064578063e985e9c51461055d578063f2fde38b1461057d578063f617f9201461059d578063fd46d787146105b057600080fd5b8063bc8893b4146104d0578063bd9b39a4146104ef578063c87b56dd1461050f578063d5abeb011461052f57600080fd5b8063953c8025116100d1578063953c80251461046657806395d89b411461047b578063a22cb46514610490578063b88d4fde146104b057600080fd5b806370a08231146103f3578063715018a6146104135780638ba4cc3c146104285780638da5cb5b1461044857600080fd5b806323b872dd1161017a57806353135ca01161014957806353135ca01461038657806355f804b3146103a05780636352211e146103c05780636ecd2306146103e057600080fd5b806323b872dd1461031c578063343937431461033c5780633ccfd60b1461035157806342842e0e1461036657600080fd5b8063081812fc116101b6578063081812fc1461026d578063095ea7b3146102a557806318160ddd146102c7578063239c70ae146102ea57600080fd5b806301ffc9a7146101dd57806305a3b8091461021257806306fdde031461024b575b600080fd5b3480156101e957600080fd5b506101fd6101f836600461175d565b6105d0565b60405190151581526020015b60405180910390f35b34801561021e57600080fd5b506101fd61022d36600461179d565b6001600160a01b03166000908152600d602052604090205460ff1690565b34801561025757600080fd5b50610260610622565b6040516102099190611808565b34801561027957600080fd5b5061028d61028836600461181b565b6106b4565b6040516001600160a01b039091168152602001610209565b3480156102b157600080fd5b506102c56102c0366004611834565b6106f8565b005b3480156102d357600080fd5b50600154600054035b604051908152602001610209565b3480156102f657600080fd5b50600a5461030a9062010000900460ff1681565b60405160ff9091168152602001610209565b34801561032857600080fd5b506102c561033736600461185e565b610785565b34801561034857600080fd5b506102c5610790565b34801561035d57600080fd5b506102c56107d7565b34801561037257600080fd5b506102c561038136600461185e565b610875565b34801561039257600080fd5b50600c546101fd9060ff1681565b3480156103ac57600080fd5b506102c56103bb36600461189a565b610890565b3480156103cc57600080fd5b5061028d6103db36600461181b565b6108c7565b6102c56103ee36600461190c565b6108d9565b3480156103ff57600080fd5b506102dc61040e36600461179d565b6109b2565b34801561041f57600080fd5b506102c5610a01565b34801561043457600080fd5b506102c5610443366004611834565b610a37565b34801561045457600080fd5b506008546001600160a01b031661028d565b34801561047257600080fd5b506102c5610aad565b34801561048757600080fd5b50610260610af4565b34801561049c57600080fd5b506102c56104ab36600461192f565b610b03565b3480156104bc57600080fd5b506102c56104cb366004611981565b610b98565b3480156104dc57600080fd5b50600c546101fd90610100900460ff1681565b3480156104fb57600080fd5b506102c561050a366004611a5d565b610be9565b34801561051b57600080fd5b5061026061052a36600461181b565b610c85565b34801561053b57600080fd5b50600a5461054a9061ffff1681565b60405161ffff9091168152602001610209565b34801561056957600080fd5b506101fd610578366004611ac0565b610d48565b34801561058957600080fd5b506102c561059836600461179d565b610d76565b6102c56105ab36600461190c565b610e0e565b3480156105bc57600080fd5b506102c56105cb36600461190c565b610ec2565b60006001600160e01b031982166380ac58cd60e01b148061060157506001600160e01b03198216635b5e139f60e01b145b8061061c57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606002805461063190611af3565b80601f016020809104026020016040519081016040528092919081815260200182805461065d90611af3565b80156106aa5780601f1061067f576101008083540402835291602001916106aa565b820191906000526020600020905b81548152906001019060200180831161068d57829003601f168201915b5050505050905090565b60006106bf82610f0a565b6106dc576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610703826108c7565b9050806001600160a01b0316836001600160a01b0316036107375760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161480159061075757506107558133610d48565b155b15610775576040516367d9dca160e11b815260040160405180910390fd5b610780838383610f35565b505050565b610780838383610f91565b6008546001600160a01b031633146107c35760405162461bcd60e51b81526004016107ba90611b2d565b60405180910390fd5b600c805460ff19811660ff90911615179055565b6008546001600160a01b031633146108015760405162461bcd60e51b81526004016107ba90611b2d565b60006108156008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d806000811461085f576040519150601f19603f3d011682016040523d82523d6000602084013e610864565b606091505b505090508061087257600080fd5b50565b61078083838360405180602001604052806000815250610b98565b6008546001600160a01b031633146108ba5760405162461bcd60e51b81526004016107ba90611b2d565b600b610780828483611bb0565b60006108d2826111a7565b5192915050565b3332146108f95760405163875fdad760e01b815260040160405180910390fd5b600c54610100900460ff16610921576040516331f423c160e21b815260040160405180910390fd5b600a5461ffff1660ff82166109396001546000540390565b6109439190611c86565b111561096257604051638a164f6360e01b815260040160405180910390fd5b600a5460ff62010000909104811690821661097c336112c3565b6109869190611c86565b11156109a557604051637ab0312d60e11b815260040160405180910390fd5b610872338260ff16611319565b60006001600160a01b0382166109db576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610a2b5760405162461bcd60e51b81526004016107ba90611b2d565b610a356000611333565b565b6008546001600160a01b03163314610a615760405162461bcd60e51b81526004016107ba90611b2d565b600a5461ffff1681610a766001546000540390565b610a809190611c86565b1115610a9f57604051638a164f6360e01b815260040160405180910390fd5b610aa98282611319565b5050565b6008546001600160a01b03163314610ad75760405162461bcd60e51b81526004016107ba90611b2d565b600c805461ff001981166101009182900460ff1615909102179055565b60606003805461063190611af3565b336001600160a01b03831603610b2c5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610ba3848484610f91565b6001600160a01b0383163b15158015610bc55750610bc384848484611385565b155b15610be3576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6008546001600160a01b03163314610c135760405162461bcd60e51b81526004016107ba90611b2d565b60005b81811015610780576001600d6000858585818110610c3657610c36611c99565b9050602002016020810190610c4b919061179d565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610c7d81611caf565b915050610c16565b6060610c9082610f0a565b610cec5760405162461bcd60e51b815260206004820152602760248201527f4552433732314d657461646174613a20546f6b656e20494420646f6573206e6f6044820152661d08195e1a5cdd60ca1b60648201526084016107ba565b6000600b8054610cfb90611af3565b905011610d17576040518060200160405280600081525061061c565b600b610d2283611471565b604051602001610d33929190611cc8565b60405160208183030381529060405292915050565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6008546001600160a01b03163314610da05760405162461bcd60e51b81526004016107ba90611b2d565b6001600160a01b038116610e055760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107ba565b61087281611333565b333214610e2e5760405163875fdad760e01b815260040160405180910390fd5b600c5460ff16610e51576040516371e1355f60e11b815260040160405180910390fd5b600a5461ffff1660ff8216610e696001546000540390565b610e739190611c86565b1115610e9257604051638a164f6360e01b815260040160405180910390fd5b336000908152600d602052604090205460ff16610962576040516306fb10a960e01b815260040160405180910390fd5b6008546001600160a01b03163314610eec5760405162461bcd60e51b81526004016107ba90611b2d565b600a805460ff909216620100000262ff000019909216919091179055565b600080548210801561061c575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610f9c826111a7565b80519091506000906001600160a01b0316336001600160a01b03161480610fca57508151610fca9033610d48565b80610fe5575033610fda846106b4565b6001600160a01b0316145b90508061100557604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b03161461103a5760405162a1148160e81b815260040160405180910390fd5b6001600160a01b03841661106157604051633a954ecd60e21b815260040160405180910390fd5b6110716000848460000151610f35565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b42909216919091021790925590860180835291205490911661115d5760005481101561115d578251600082815260046020908152604090912080549186015167ffffffffffffffff16600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b6040805160608101825260008082526020820181905291810191909152816000548110156112aa57600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff161515918101829052906112a85780516001600160a01b03161561123e579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff16151592810192909252156112a3579392505050565b61123e565b505b604051636f96cda160e11b815260040160405180910390fd5b60006001600160a01b0382166112ec576040516335ebb31960e01b815260040160405180910390fd5b506001600160a01b0316600090815260056020526040902054600160401b900467ffffffffffffffff1690565b610aa9828260405180602001604052806000815250611572565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906113ba903390899088908890600401611d6e565b6020604051808303816000875af19250505080156113f5575060408051601f3d908101601f191682019092526113f291810190611dab565b60015b611453573d808015611423576040519150601f19603f3d011682016040523d82523d6000602084013e611428565b606091505b50805160000361144b576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060816000036114985750506040805180820190915260018152600360fc1b602082015290565b8160005b81156114c257806114ac81611caf565b91506114bb9050600a83611dde565b915061149c565b60008167ffffffffffffffff8111156114dd576114dd61196b565b6040519080825280601f01601f191660200182016040528015611507576020820181803683370190505b5090505b84156114695761151c600183611df2565b9150611529600a86611e05565b611534906030611c86565b60f81b81838151811061154957611549611c99565b60200101906001600160f81b031916908160001a90535061156b600a86611dde565b945061150b565b61078083838360016000546001600160a01b0385166115a357604051622e076360e81b815260040160405180910390fd5b836000036115c45760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168c018116918217600160401b67ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b42909216919091021790558080850183801561167157506001600160a01b0387163b15155b156116f9575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46116c26000888480600101955088611385565b6116df576040516368d2bf6b60e11b815260040160405180910390fd5b8082036116775782600054146116f457600080fd5b61173e565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082036116fa575b506000556111a0565b6001600160e01b03198116811461087257600080fd5b60006020828403121561176f57600080fd5b813561177a81611747565b9392505050565b80356001600160a01b038116811461179857600080fd5b919050565b6000602082840312156117af57600080fd5b61177a82611781565b60005b838110156117d35781810151838201526020016117bb565b50506000910152565b600081518084526117f48160208601602086016117b8565b601f01601f19169290920160200192915050565b60208152600061177a60208301846117dc565b60006020828403121561182d57600080fd5b5035919050565b6000806040838503121561184757600080fd5b61185083611781565b946020939093013593505050565b60008060006060848603121561187357600080fd5b61187c84611781565b925061188a60208501611781565b9150604084013590509250925092565b600080602083850312156118ad57600080fd5b823567ffffffffffffffff808211156118c557600080fd5b818501915085601f8301126118d957600080fd5b8135818111156118e857600080fd5b8660208285010111156118fa57600080fd5b60209290920196919550909350505050565b60006020828403121561191e57600080fd5b813560ff8116811461177a57600080fd5b6000806040838503121561194257600080fd5b61194b83611781565b91506020830135801515811461196057600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561199757600080fd5b6119a085611781565b93506119ae60208601611781565b925060408501359150606085013567ffffffffffffffff808211156119d257600080fd5b818701915087601f8301126119e657600080fd5b8135818111156119f8576119f861196b565b604051601f8201601f19908116603f01168101908382118183101715611a2057611a2061196b565b816040528281528a6020848701011115611a3957600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060208385031215611a7057600080fd5b823567ffffffffffffffff80821115611a8857600080fd5b818501915085601f830112611a9c57600080fd5b813581811115611aab57600080fd5b8660208260051b85010111156118fa57600080fd5b60008060408385031215611ad357600080fd5b611adc83611781565b9150611aea60208401611781565b90509250929050565b600181811c90821680611b0757607f821691505b602082108103611b2757634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b601f82111561078057600081815260208120601f850160051c81016020861015611b895750805b601f850160051c820191505b81811015611ba857828155600101611b95565b505050505050565b67ffffffffffffffff831115611bc857611bc861196b565b611bdc83611bd68354611af3565b83611b62565b6000601f841160018114611c105760008515611bf85750838201355b600019600387901b1c1916600186901b1783556111a0565b600083815260209020601f19861690835b82811015611c415786850135825560209485019460019092019101611c21565b5086821015611c5e5760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561061c5761061c611c70565b634e487b7160e01b600052603260045260246000fd5b600060018201611cc157611cc1611c70565b5060010190565b6000808454611cd681611af3565b60018281168015611cee5760018114611d0357611d32565b60ff1984168752821515830287019450611d32565b8860005260208060002060005b85811015611d295781548a820152908401908201611d10565b50505082870194505b50602f60f81b845286519250611d4e8382860160208a016117b8565b64173539b7b760d91b939092019182019290925260060195945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611da1908301846117dc565b9695505050505050565b600060208284031215611dbd57600080fd5b815161177a81611747565b634e487b7160e01b600052601260045260246000fd5b600082611ded57611ded611dc8565b500490565b8181038181111561061c5761061c611c70565b600082611e1457611e14611dc8565b50069056fea2646970667358221220a7ed74fbf66df10804b1b3840e039c5f09d314f6934a725955dafb3cdc83eac264736f6c63430008100033
Deployed Bytecode Sourcemap
57022:3311:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26409:355;;;;;;;;;;-1:-1:-1;26409:355:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;26409:355:0;;;;;;;;57829:110;;;;;;;;;;-1:-1:-1;57829:110:0;;;;;:::i;:::-;-1:-1:-1;;;;;57914:17:0;57890:4;57914:17;;;:10;:17;;;;;;;;;57829:110;29876:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;31476:245::-;;;;;;;;;;-1:-1:-1;31476:245:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2066:32:1;;;2048:51;;2036:2;2021:18;31476:245:0;1902:203:1;31039:371:0;;;;;;;;;;-1:-1:-1;31039:371:0;;;;;:::i;:::-;;:::i;:::-;;25658:303;;;;;;;;;;-1:-1:-1;25912:12:0;;25702:7;25896:13;:28;25658:303;;;2515:25:1;;;2503:2;2488:18;25658:303:0;2369:177:1;57388:30:0;;;;;;;;;;-1:-1:-1;57388:30:0;;;;;;;;;;;;;;2723:4:1;2711:17;;;2693:36;;2681:2;2666:18;57388:30:0;2551:184:1;32447:170:0;;;;;;;;;;-1:-1:-1;32447:170:0;;;;;:::i;:::-;;:::i;59747:93::-;;;;;;;;;;;;;:::i;60183:147::-;;;;;;;;;;;;;:::i;32688:185::-;;;;;;;;;;-1:-1:-1;32688:185:0;;;;;:::i;:::-;;:::i;57531:25::-;;;;;;;;;;-1:-1:-1;57531:25:0;;;;;;;;59077:106;;;;;;;;;;-1:-1:-1;59077:106:0;;;;;:::i;:::-;;:::i;29685:124::-;;;;;;;;;;-1:-1:-1;29685:124:0;;;;;:::i;:::-;;:::i;58583:362::-;;;;;;:::i;:::-;;:::i;26828:206::-;;;;;;;;;;-1:-1:-1;26828:206:0;;;;;:::i;:::-;;:::i;46310:103::-;;;;;;;;;;;;;:::i;57947:196::-;;;;;;;;;;-1:-1:-1;57947:196:0;;;;;:::i;:::-;;:::i;45659:87::-;;;;;;;;;;-1:-1:-1;45732:6:0;;-1:-1:-1;;;;;45732:6:0;45659:87;;59848:102;;;;;;;;;;;;;:::i;30045:104::-;;;;;;;;;;;;;:::i;31793:302::-;;;;;;;;;;-1:-1:-1;31793:302:0;;;;;:::i;:::-;;:::i;32944:406::-;;;;;;;;;;-1:-1:-1;32944:406:0;;;;;:::i;:::-;;:::i;57563:28::-;;;;;;;;;;-1:-1:-1;57563:28:0;;;;;;;;;;;59958:217;;;;;;;;;;-1:-1:-1;59958:217:0;;;;;:::i;:::-;;:::i;59191:548::-;;;;;;;;;;-1:-1:-1;59191:548:0;;;;;:::i;:::-;;:::i;57350:29::-;;;;;;;;;;-1:-1:-1;57350:29:0;;;;;;;;;;;6365:6:1;6353:19;;;6335:38;;6323:2;6308:18;57350:29:0;6191:188:1;32166:214:0;;;;;;;;;;-1:-1:-1;32166:214:0;;;;;:::i;:::-;;:::i;46568:238::-;;;;;;;;;;-1:-1:-1;46568:238:0;;;;;:::i;:::-;;:::i;58151:424::-;;;;;;:::i;:::-;;:::i;58953:116::-;;;;;;;;;;-1:-1:-1;58953:116:0;;;;;:::i;:::-;;:::i;26409:355::-;26556:4;-1:-1:-1;;;;;;26598:40:0;;-1:-1:-1;;;26598:40:0;;:105;;-1:-1:-1;;;;;;;26655:48:0;;-1:-1:-1;;;26655:48:0;26598:105;:158;;;-1:-1:-1;;;;;;;;;;14065:40:0;;;26720:36;26578:178;26409:355;-1:-1:-1;;26409:355:0:o;29876:100::-;29930:13;29963:5;29956:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29876:100;:::o;31476:245::-;31580:7;31610:16;31618:7;31610;:16::i;:::-;31605:64;;31635:34;;-1:-1:-1;;;31635:34:0;;;;;;;;;;;31605:64;-1:-1:-1;31689:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;31689:24:0;;31476:245::o;31039:371::-;31112:13;31128:24;31144:7;31128:15;:24::i;:::-;31112:40;;31173:5;-1:-1:-1;;;;;31167:11:0;:2;-1:-1:-1;;;;;31167:11:0;;31163:48;;31187:24;;-1:-1:-1;;;31187:24:0;;;;;;;;;;;31163:48;21803:10;-1:-1:-1;;;;;31228:21:0;;;;;;:63;;-1:-1:-1;31254:37:0;31271:5;21803:10;32166:214;:::i;31254:37::-;31253:38;31228:63;31224:138;;;31315:35;;-1:-1:-1;;;31315:35:0;;;;;;;;;;;31224:138;31374:28;31383:2;31387:7;31396:5;31374:8;:28::i;:::-;31101:309;31039:371;;:::o;32447:170::-;32581:28;32591:4;32597:2;32601:7;32581:9;:28::i;59747:93::-;45732:6;;-1:-1:-1;;;;;45732:6:0;21803:10;45879:23;45871:68;;;;-1:-1:-1;;;45871:68:0;;;;;;;:::i;:::-;;;;;;;;;59819:13:::1;::::0;;-1:-1:-1;;59802:30:0;::::1;59819:13;::::0;;::::1;59818:14;59802:30;::::0;;59747:93::o;60183:147::-;45732:6;;-1:-1:-1;;;;;45732:6:0;21803:10;45879:23;45871:68;;;;-1:-1:-1;;;45871:68:0;;;;;;;:::i;:::-;60232:7:::1;60253;45732:6:::0;;-1:-1:-1;;;;;45732:6:0;;45659:87;60253:7:::1;-1:-1:-1::0;;;;;60245:21:0::1;60274;60245:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60231:69;;;60319:2;60311:11;;;::::0;::::1;;60220:110;60183:147::o:0;32688:185::-;32826:39;32843:4;32849:2;32853:7;32826:39;;;;;;;;;;;;:16;:39::i;59077:106::-;45732:6;;-1:-1:-1;;;;;45732:6:0;21803:10;45879:23;45871:68;;;;-1:-1:-1;;;45871:68:0;;;;;;;:::i;:::-;59152:13:::1;:23;59168:7:::0;;59152:13;:23:::1;:::i;29685:124::-:0;29749:7;29776:20;29788:7;29776:11;:20::i;:::-;:25;;29685:124;-1:-1:-1;;29685:124:0:o;58583:362::-;57756:10;57770:9;57756:23;57752:49;;57788:13;;-1:-1:-1;;;57788:13:0;;;;;;;;;;;57752:49;58658:16:::1;::::0;::::1;::::0;::::1;;;58653:51;;58683:21;;-1:-1:-1::0;;;58683:21:0::1;;;;;;;;;;;58653:51;58745:9;::::0;::::1;;58719:23;::::0;::::1;:13;25912:12:::0;;25702:7;25896:13;:28;;25658:303;58719:13:::1;:23;;;;:::i;:::-;:35;58715:67;;;58763:19;;-1:-1:-1::0;;;58763:19:0::1;;;;;;;;;;;58715:67;58837:13;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;58799:35;::::1;:25;58813:10;58799:13;:25::i;:::-;:35;;;;:::i;:::-;:51;58795:99;;;58872:22;;-1:-1:-1::0;;;58872:22:0::1;;;;;;;;;;;58795:99;58907:30;58917:10;58929:7;58907:30;;:9;:30::i;26828:206::-:0;26892:7;-1:-1:-1;;;;;26916:19:0;;26912:60;;26944:28;;-1:-1:-1;;;26944:28:0;;;;;;;;;;;26912:60;-1:-1:-1;;;;;;26998:19:0;;;;;:12;:19;;;;;:27;;;;26828:206::o;46310:103::-;45732:6;;-1:-1:-1;;;;;45732:6:0;21803:10;45879:23;45871:68;;;;-1:-1:-1;;;45871:68:0;;;;;;;:::i;:::-;46375:30:::1;46402:1;46375:18;:30::i;:::-;46310:103::o:0;57947:196::-;45732:6;;-1:-1:-1;;;;;45732:6:0;21803:10;45879:23;45871:68;;;;-1:-1:-1;;;45871:68:0;;;;;;;:::i;:::-;58059:9:::1;::::0;::::1;;58049:7:::0;58033:13:::1;25912:12:::0;;25702:7;25896:13;:28;;25658:303;58033:13:::1;:23;;;;:::i;:::-;:35;58029:67;;;58077:19;;-1:-1:-1::0;;;58077:19:0::1;;;;;;;;;;;58029:67;58107:28;58117:8;58127:7;58107:9;:28::i;:::-;57947:196:::0;;:::o;59848:102::-;45732:6;;-1:-1:-1;;;;;45732:6:0;21803:10;45879:23;45871:68;;;;-1:-1:-1;;;45871:68:0;;;;;;;:::i;:::-;59926:16:::1;::::0;;-1:-1:-1;;59906:36:0;::::1;59926:16;::::0;;;::::1;;;59925:17;59906:36:::0;;::::1;;::::0;;59848:102::o;30045:104::-;30101:13;30134:7;30127:14;;;;;:::i;31793:302::-;21803:10;-1:-1:-1;;;;;31907:24:0;;;31903:54;;31940:17;;-1:-1:-1;;;31940:17:0;;;;;;;;;;;31903:54;21803:10;31970:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;31970:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;31970:53:0;;;;;;;;;;32039:48;;540:41:1;;;31970:42:0;;21803:10;32039:48;;513:18:1;32039:48:0;;;;;;;31793:302;;:::o;32944:406::-;33111:28;33121:4;33127:2;33131:7;33111:9;:28::i;:::-;-1:-1:-1;;;;;33168:13:0;;3659:19;:23;;33168:89;;;;;33201:56;33232:4;33238:2;33242:7;33251:5;33201:30;:56::i;:::-;33200:57;33168:89;33150:193;;;33291:40;;-1:-1:-1;;;33291:40:0;;;;;;;;;;;33150:193;32944:406;;;;:::o;59958:217::-;45732:6;;-1:-1:-1;;;;;45732:6:0;21803:10;45879:23;45871:68;;;;-1:-1:-1;;;45871:68:0;;;;;;;:::i;:::-;60074:9:::1;60069:99;60089:17:::0;;::::1;60069:99;;;60152:4;60128:10;:21;60139:6;;60146:1;60139:9;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;60128:21:0::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;60128:21:0;:28;;-1:-1:-1;;60128:28:0::1;::::0;::::1;;::::0;;;::::1;::::0;;60108:3;::::1;::::0;::::1;:::i;:::-;;;;60069:99;;59191:548:::0;59292:13;59331:16;59339:7;59331;:16::i;:::-;59323:68;;;;-1:-1:-1;;;59323:68:0;;10399:2:1;59323:68:0;;;10381:21:1;10438:2;10418:18;;;10411:30;10477:34;10457:18;;;10450:62;-1:-1:-1;;;10528:18:1;;;10521:37;10575:19;;59323:68:0;10197:403:1;59323:68:0;59452:1;59428:13;59422:27;;;;;:::i;:::-;;;:31;:309;;;;;;;;;;;;;;;;;59545:13;59615:18;:7;:16;:18::i;:::-;59502:188;;;;;;;;;:::i;:::-;;;;;;;;;;;;;59402:329;59191:548;-1:-1:-1;;59191:548:0:o;32166:214::-;-1:-1:-1;;;;;32337:25:0;;;32308:4;32337:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;32166:214::o;46568:238::-;45732:6;;-1:-1:-1;;;;;45732:6:0;21803:10;45879:23;45871:68;;;;-1:-1:-1;;;45871:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;46671:22:0;::::1;46649:110;;;::::0;-1:-1:-1;;;46649:110:0;;12134:2:1;46649:110:0::1;::::0;::::1;12116:21:1::0;12173:2;12153:18;;;12146:30;12212:34;12192:18;;;12185:62;-1:-1:-1;;;12263:18:1;;;12256:36;12309:19;;46649:110:0::1;11932:402:1::0;46649:110:0::1;46770:28;46789:8;46770:18;:28::i;58151:424::-:0;57756:10;57770:9;57756:23;57752:49;;57788:13;;-1:-1:-1;;;57788:13:0;;;;;;;;;;;57752:49;58233:13:::1;::::0;::::1;;58228:45;;58255:18;;-1:-1:-1::0;;;58255:18:0::1;;;;;;;;;;;58228:45;58314:9;::::0;::::1;;58288:23;::::0;::::1;:13;25912:12:::0;;25702:7;25896:13;:28;;25658:303;58288:13:::1;:23;;;;:::i;:::-;:35;58284:67;;;58332:19;;-1:-1:-1::0;;;58332:19:0::1;;;;;;;;;;;58284:67;58378:10;58367:22;::::0;;;:10:::1;:22;::::0;;;;;::::1;;58362:52;;58398:16;;-1:-1:-1::0;;;58398:16:0::1;;;;;;;;;;;58953:116:::0;45732:6;;-1:-1:-1;;;;;45732:6:0;21803:10;45879:23;45871:68;;;;-1:-1:-1;;;45871:68:0;;;;;;;:::i;:::-;59031:13:::1;:30:::0;;::::1;::::0;;::::1;::::0;::::1;-1:-1:-1::0;;59031:30:0;;::::1;::::0;;;::::1;::::0;;58953:116::o;33605:213::-;33662:4;33752:13;;33742:7;:23;33699:111;;;;-1:-1:-1;;33783:20:0;;;;:11;:20;;;;;:27;-1:-1:-1;;;33783:27:0;;;;33782:28;;33605:213::o;41485:196::-;41600:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;41600:29:0;-1:-1:-1;;;;;41600:29:0;;;;;;;;;41645:28;;41600:24;;41645:28;;;;;;;41485:196;;;:::o;36935:2138::-;37050:35;37088:20;37100:7;37088:11;:20::i;:::-;37163:18;;37050:58;;-1:-1:-1;37121:22:0;;-1:-1:-1;;;;;37147:34:0;21803:10;-1:-1:-1;;;;;37147:34:0;;:101;;;-1:-1:-1;37215:18:0;;37198:50;;21803:10;32166:214;:::i;37198:50::-;37147:154;;;-1:-1:-1;21803:10:0;37265:20;37277:7;37265:11;:20::i;:::-;-1:-1:-1;;;;;37265:36:0;;37147:154;37121:181;;37320:17;37315:66;;37346:35;;-1:-1:-1;;;37346:35:0;;;;;;;;;;;37315:66;37418:4;-1:-1:-1;;;;;37396:26:0;:13;:18;;;-1:-1:-1;;;;;37396:26:0;;37392:67;;37431:28;;-1:-1:-1;;;37431:28:0;;;;;;;;;;;37392:67;-1:-1:-1;;;;;37474:16:0;;37470:52;;37499:23;;-1:-1:-1;;;37499:23:0;;;;;;;;;;;37470:52;37643:49;37660:1;37664:7;37673:13;:18;;;37643:8;:49::i;:::-;-1:-1:-1;;;;;37988:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;37988:31:0;;;;;;;-1:-1:-1;;37988:31:0;;;;;;;38034:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;38034:29:0;;;;;;;;;;;38080:20;;;:11;:20;;;;;;:30;;-1:-1:-1;;;;;;38125:61:0;;;;-1:-1:-1;;;38170:15:0;38125:61;;;;;;;;;;;38460:11;;;38490:24;;;;;:29;38460:11;;38490:29;38486:471;;38715:13;;38701:11;:27;38697:245;;;38785:18;;;38753:24;;;:11;:24;;;;;;;;:50;;38868:54;;;;38826:96;;-1:-1:-1;;;38826:96:0;-1:-1:-1;;;;;;38826:96:0;;;-1:-1:-1;;;;;38753:50:0;;;38826:96;;;;;;;38697:245;37963:1005;39004:7;39000:2;-1:-1:-1;;;;;38985:27:0;38994:4;-1:-1:-1;;;;;38985:27:0;;;;;;;;;;;39023:42;37039:2034;;36935:2138;;;:::o;28483:1140::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;28625:7:0;28708:13;;28701:4;:20;28670:886;;;28742:31;28776:17;;;:11;:17;;;;;;;;;28742:51;;;;;;;;;-1:-1:-1;;;;;28742:51:0;;;;-1:-1:-1;;;28742:51:0;;;;;;;;;;;-1:-1:-1;;;28742:51:0;;;;;;;;;;;;;;28812:729;;28862:14;;-1:-1:-1;;;;;28862:28:0;;28858:101;;28926:9;28483:1140;-1:-1:-1;;;28483:1140:0:o;28858:101::-;-1:-1:-1;;;29301:6:0;29346:17;;;;:11;:17;;;;;;;;;29334:29;;;;;;;;;-1:-1:-1;;;;;29334:29:0;;;;;-1:-1:-1;;;29334:29:0;;;;;;;;;;;-1:-1:-1;;;29334:29:0;;;;;;;;;;;;;29394:28;29390:109;;29462:9;28483:1140;-1:-1:-1;;;28483:1140:0:o;29390:109::-;29261:261;;;28723:833;28670:886;29584:31;;-1:-1:-1;;;29584:31:0;;;;;;;;;;;27116:207;27177:7;-1:-1:-1;;;;;27201:19:0;;27197:59;;27229:27;;-1:-1:-1;;;27229:27:0;;;;;;;;;;;27197:59;-1:-1:-1;;;;;;27282:19:0;;;;;:12;:19;;;;;:32;-1:-1:-1;;;27282:32:0;;;;;27116:207::o;33826:104::-;33895:27;33905:2;33909:8;33895:27;;;;;;;;;;;;:9;:27::i;46966:191::-;47059:6;;;-1:-1:-1;;;;;47076:17:0;;;-1:-1:-1;;;;;;47076:17:0;;;;;;;47109:40;;47059:6;;;47076:17;47059:6;;47109:40;;47040:16;;47109:40;47029:128;46966:191;:::o;42173:772::-;42370:155;;-1:-1:-1;;;42370:155:0;;42336:4;;-1:-1:-1;;;;;42370:36:0;;;;;:155;;21803:10;;42456:4;;42479:7;;42505:5;;42370:155;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42370:155:0;;;;;;;;-1:-1:-1;;42370:155:0;;;;;;;;;;;;:::i;:::-;;;42353:585;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42696:6;:13;42713:1;42696:18;42692:235;;42742:40;;-1:-1:-1;;;42742:40:0;;;;;;;;;;;42692:235;42885:6;42879:13;42870:6;42866:2;42862:15;42855:38;42353:585;-1:-1:-1;;;;;;42581:55:0;-1:-1:-1;;;42581:55:0;;-1:-1:-1;42353:585:0;42173:772;;;;;;:::o;342:723::-;398:13;619:5;628:1;619:10;615:53;;-1:-1:-1;;646:10:0;;;;;;;;;;;;-1:-1:-1;;;646:10:0;;;;;342:723::o;615:53::-;693:5;678:12;734:78;741:9;;734:78;;767:8;;;;:::i;:::-;;-1:-1:-1;790:10:0;;-1:-1:-1;798:2:0;790:10;;:::i;:::-;;;734:78;;;822:19;854:6;844:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;844:17:0;;822:39;;872:154;879:10;;872:154;;906:11;916:1;906:11;;:::i;:::-;;-1:-1:-1;975:10:0;983:2;975:5;:10;:::i;:::-;962:24;;:2;:24;:::i;:::-;949:39;;932:6;939;932:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;932:56:0;;;;;;;;-1:-1:-1;1003:11:0;1012:2;1003:11;;:::i;:::-;;;872:154;;34293:163;34416:32;34422:2;34426:8;34436:5;34443:4;34854:20;34877:13;-1:-1:-1;;;;;34905:16:0;;34901:48;;34930:19;;-1:-1:-1;;;34930:19:0;;;;;;;;;;;34901:48;34964:8;34976:1;34964:13;34960:44;;34986:18;;-1:-1:-1;;;34986:18:0;;;;;;;;;;;34960:44;-1:-1:-1;;;;;35355:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;35414:49:0;;35355:44;;;;;;;;35414:49;;;-1:-1:-1;;;;;35355:44:0;;;;;;35414:49;;;;;;;;;;;;;;;;35480:25;;;:11;:25;;;;;;:35;;-1:-1:-1;;;;;;35530:66:0;;;;-1:-1:-1;;;35580:15:0;35530:66;;;;;;;;;;35480:25;35677:23;;;35721:4;:23;;;;-1:-1:-1;;;;;;35729:13:0;;3659:19;:23;;35729:15;35717:832;;;35765:505;35796:38;;35821:12;;-1:-1:-1;;;;;35796:38:0;;;35813:1;;35796:38;;35813:1;;35796:38;35888:212;35957:1;35990:2;36023:14;;;;;;36068:5;35888:30;:212::i;:::-;35857:365;;36158:40;;-1:-1:-1;;;36158:40:0;;;;;;;;;;;35857:365;36265:3;36249:12;:19;35765:505;;36351:12;36334:13;;:29;36330:43;;36365:8;;;36330:43;35717:832;;;36414:120;36445:40;;36470:14;;;;;-1:-1:-1;;;;;36445:40:0;;;36462:1;;36445:40;;36462:1;;36445:40;36529:3;36513:12;:19;36414:120;;35717:832;-1:-1:-1;36563:13:0;:28;36613:60;32944:406;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;:::-;384:5;150:245;-1:-1:-1;;;150:245:1:o;592:173::-;660:20;;-1:-1:-1;;;;;709:31:1;;699:42;;689:70;;755:1;752;745:12;689:70;592:173;;;:::o;770:186::-;829:6;882:2;870:9;861:7;857:23;853:32;850:52;;;898:1;895;888:12;850:52;921:29;940:9;921:29;:::i;961:250::-;1046:1;1056:113;1070:6;1067:1;1064:13;1056:113;;;1146:11;;;1140:18;1127:11;;;1120:39;1092:2;1085:10;1056:113;;;-1:-1:-1;;1203:1:1;1185:16;;1178:27;961:250::o;1216:271::-;1258:3;1296:5;1290:12;1323:6;1318:3;1311:19;1339:76;1408:6;1401:4;1396:3;1392:14;1385:4;1378:5;1374:16;1339:76;:::i;:::-;1469:2;1448:15;-1:-1:-1;;1444:29:1;1435:39;;;;1476:4;1431:50;;1216:271;-1:-1:-1;;1216:271:1:o;1492:220::-;1641:2;1630:9;1623:21;1604:4;1661:45;1702:2;1691:9;1687:18;1679:6;1661:45;:::i;1717:180::-;1776:6;1829:2;1817:9;1808:7;1804:23;1800:32;1797:52;;;1845:1;1842;1835:12;1797:52;-1:-1:-1;1868:23:1;;1717:180;-1:-1:-1;1717:180:1:o;2110:254::-;2178:6;2186;2239:2;2227:9;2218:7;2214:23;2210:32;2207:52;;;2255:1;2252;2245:12;2207:52;2278:29;2297:9;2278:29;:::i;:::-;2268:39;2354:2;2339:18;;;;2326:32;;-1:-1:-1;;;2110:254:1:o;2740:328::-;2817:6;2825;2833;2886:2;2874:9;2865:7;2861:23;2857:32;2854:52;;;2902:1;2899;2892:12;2854:52;2925:29;2944:9;2925:29;:::i;:::-;2915:39;;2973:38;3007:2;2996:9;2992:18;2973:38;:::i;:::-;2963:48;;3058:2;3047:9;3043:18;3030:32;3020:42;;2740:328;;;;;:::o;3073:592::-;3144:6;3152;3205:2;3193:9;3184:7;3180:23;3176:32;3173:52;;;3221:1;3218;3211:12;3173:52;3261:9;3248:23;3290:18;3331:2;3323:6;3320:14;3317:34;;;3347:1;3344;3337:12;3317:34;3385:6;3374:9;3370:22;3360:32;;3430:7;3423:4;3419:2;3415:13;3411:27;3401:55;;3452:1;3449;3442:12;3401:55;3492:2;3479:16;3518:2;3510:6;3507:14;3504:34;;;3534:1;3531;3524:12;3504:34;3579:7;3574:2;3565:6;3561:2;3557:15;3553:24;3550:37;3547:57;;;3600:1;3597;3590:12;3547:57;3631:2;3623:11;;;;;3653:6;;-1:-1:-1;3073:592:1;;-1:-1:-1;;;;3073:592:1:o;3670:269::-;3727:6;3780:2;3768:9;3759:7;3755:23;3751:32;3748:52;;;3796:1;3793;3786:12;3748:52;3835:9;3822:23;3885:4;3878:5;3874:16;3867:5;3864:27;3854:55;;3905:1;3902;3895:12;3944:347;4009:6;4017;4070:2;4058:9;4049:7;4045:23;4041:32;4038:52;;;4086:1;4083;4076:12;4038:52;4109:29;4128:9;4109:29;:::i;:::-;4099:39;;4188:2;4177:9;4173:18;4160:32;4235:5;4228:13;4221:21;4214:5;4211:32;4201:60;;4257:1;4254;4247:12;4201:60;4280:5;4270:15;;;3944:347;;;;;:::o;4296:127::-;4357:10;4352:3;4348:20;4345:1;4338:31;4388:4;4385:1;4378:15;4412:4;4409:1;4402:15;4428:1138;4523:6;4531;4539;4547;4600:3;4588:9;4579:7;4575:23;4571:33;4568:53;;;4617:1;4614;4607:12;4568:53;4640:29;4659:9;4640:29;:::i;:::-;4630:39;;4688:38;4722:2;4711:9;4707:18;4688:38;:::i;:::-;4678:48;;4773:2;4762:9;4758:18;4745:32;4735:42;;4828:2;4817:9;4813:18;4800:32;4851:18;4892:2;4884:6;4881:14;4878:34;;;4908:1;4905;4898:12;4878:34;4946:6;4935:9;4931:22;4921:32;;4991:7;4984:4;4980:2;4976:13;4972:27;4962:55;;5013:1;5010;5003:12;4962:55;5049:2;5036:16;5071:2;5067;5064:10;5061:36;;;5077:18;;:::i;:::-;5152:2;5146:9;5120:2;5206:13;;-1:-1:-1;;5202:22:1;;;5226:2;5198:31;5194:40;5182:53;;;5250:18;;;5270:22;;;5247:46;5244:72;;;5296:18;;:::i;:::-;5336:10;5332:2;5325:22;5371:2;5363:6;5356:18;5411:7;5406:2;5401;5397;5393:11;5389:20;5386:33;5383:53;;;5432:1;5429;5422:12;5383:53;5488:2;5483;5479;5475:11;5470:2;5462:6;5458:15;5445:46;5533:1;5528:2;5523;5515:6;5511:15;5507:24;5500:35;5554:6;5544:16;;;;;;;4428:1138;;;;;;;:::o;5571:615::-;5657:6;5665;5718:2;5706:9;5697:7;5693:23;5689:32;5686:52;;;5734:1;5731;5724:12;5686:52;5774:9;5761:23;5803:18;5844:2;5836:6;5833:14;5830:34;;;5860:1;5857;5850:12;5830:34;5898:6;5887:9;5883:22;5873:32;;5943:7;5936:4;5932:2;5928:13;5924:27;5914:55;;5965:1;5962;5955:12;5914:55;6005:2;5992:16;6031:2;6023:6;6020:14;6017:34;;;6047:1;6044;6037:12;6017:34;6100:7;6095:2;6085:6;6082:1;6078:14;6074:2;6070:23;6066:32;6063:45;6060:65;;;6121:1;6118;6111:12;6384:260;6452:6;6460;6513:2;6501:9;6492:7;6488:23;6484:32;6481:52;;;6529:1;6526;6519:12;6481:52;6552:29;6571:9;6552:29;:::i;:::-;6542:39;;6600:38;6634:2;6623:9;6619:18;6600:38;:::i;:::-;6590:48;;6384:260;;;;;:::o;6649:380::-;6728:1;6724:12;;;;6771;;;6792:61;;6846:4;6838:6;6834:17;6824:27;;6792:61;6899:2;6891:6;6888:14;6868:18;6865:38;6862:161;;6945:10;6940:3;6936:20;6933:1;6926:31;6980:4;6977:1;6970:15;7008:4;7005:1;6998:15;6862:161;;6649:380;;;:::o;7034:356::-;7236:2;7218:21;;;7255:18;;;7248:30;7314:34;7309:2;7294:18;;7287:62;7381:2;7366:18;;7034:356::o;7731:545::-;7833:2;7828:3;7825:11;7822:448;;;7869:1;7894:5;7890:2;7883:17;7939:4;7935:2;7925:19;8009:2;7997:10;7993:19;7990:1;7986:27;7980:4;7976:38;8045:4;8033:10;8030:20;8027:47;;;-1:-1:-1;8068:4:1;8027:47;8123:2;8118:3;8114:12;8111:1;8107:20;8101:4;8097:31;8087:41;;8178:82;8196:2;8189:5;8186:13;8178:82;;;8241:17;;;8222:1;8211:13;8178:82;;;8182:3;;;7731:545;;;:::o;8452:1206::-;8576:18;8571:3;8568:27;8565:53;;;8598:18;;:::i;:::-;8627:94;8717:3;8677:38;8709:4;8703:11;8677:38;:::i;:::-;8671:4;8627:94;:::i;:::-;8747:1;8772:2;8767:3;8764:11;8789:1;8784:616;;;;9444:1;9461:3;9458:93;;;-1:-1:-1;9517:19:1;;;9504:33;9458:93;-1:-1:-1;;8409:1:1;8405:11;;;8401:24;8397:29;8387:40;8433:1;8429:11;;;8384:57;9564:78;;8757:895;;8784:616;7678:1;7671:14;;;7715:4;7702:18;;-1:-1:-1;;8820:17:1;;;8921:9;8943:229;8957:7;8954:1;8951:14;8943:229;;;9046:19;;;9033:33;9018:49;;9153:4;9138:20;;;;9106:1;9094:14;;;;8973:12;8943:229;;;8947:3;9200;9191:7;9188:16;9185:159;;;9324:1;9320:6;9314:3;9308;9305:1;9301:11;9297:21;9293:34;9289:39;9276:9;9271:3;9267:19;9254:33;9250:79;9242:6;9235:95;9185:159;;;9387:1;9381:3;9378:1;9374:11;9370:19;9364:4;9357:33;8757:895;;8452:1206;;;:::o;9663:127::-;9724:10;9719:3;9715:20;9712:1;9705:31;9755:4;9752:1;9745:15;9779:4;9776:1;9769:15;9795:125;9860:9;;;9881:10;;;9878:36;;;9894:18;;:::i;9925:127::-;9986:10;9981:3;9977:20;9974:1;9967:31;10017:4;10014:1;10007:15;10041:4;10038:1;10031:15;10057:135;10096:3;10117:17;;;10114:43;;10137:18;;:::i;:::-;-1:-1:-1;10184:1:1;10173:13;;10057:135::o;10605:1322::-;10983:3;11012:1;11045:6;11039:13;11075:36;11101:9;11075:36;:::i;:::-;11130:1;11147:18;;;11174:133;;;;11321:1;11316:356;;;;11140:532;;11174:133;-1:-1:-1;;11207:24:1;;11195:37;;11280:14;;11273:22;11261:35;;11252:45;;;-1:-1:-1;11174:133:1;;11316:356;11347:6;11344:1;11337:17;11377:4;11422:2;11419:1;11409:16;11447:1;11461:165;11475:6;11472:1;11469:13;11461:165;;;11553:14;;11540:11;;;11533:35;11596:16;;;;11490:10;;11461:165;;;11465:3;;;11655:6;11650:3;11646:16;11639:23;;11140:532;;-1:-1:-1;;;11688:3:1;11681:16;11728:6;11722:13;11706:29;;11744:77;11812:8;11807:2;11802:3;11798:12;11791:4;11783:6;11779:17;11744:77;:::i;:::-;-1:-1:-1;;;11840:18:1;;;;11874:11;;;11867:28;;;;11919:1;11911:10;;10605:1322;-1:-1:-1;;;;;10605:1322:1:o;12339:489::-;-1:-1:-1;;;;;12608:15:1;;;12590:34;;12660:15;;12655:2;12640:18;;12633:43;12707:2;12692:18;;12685:34;;;12755:3;12750:2;12735:18;;12728:31;;;12533:4;;12776:46;;12802:19;;12794:6;12776:46;:::i;:::-;12768:54;12339:489;-1:-1:-1;;;;;;12339:489:1:o;12833:249::-;12902:6;12955:2;12943:9;12934:7;12930:23;12926:32;12923:52;;;12971:1;12968;12961:12;12923:52;13003:9;12997:16;13022:30;13046:5;13022:30;:::i;13087:127::-;13148:10;13143:3;13139:20;13136:1;13129:31;13179:4;13176:1;13169:15;13203:4;13200:1;13193:15;13219:120;13259:1;13285;13275:35;;13290:18;;:::i;:::-;-1:-1:-1;13324:9:1;;13219:120::o;13344:128::-;13411:9;;;13432:11;;;13429:37;;;13446:18;;:::i;13477:112::-;13509:1;13535;13525:35;;13540:18;;:::i;:::-;-1:-1:-1;13574:9:1;;13477:112::o
Swarm Source
ipfs://a7ed74fbf66df10804b1b3840e039c5f09d314f6934a725955dafb3cdc83eac2
Loading...
Loading
Loading...
Loading
Net Worth in USD
$1.85
Net Worth in ETH
0.000995
Token Allocations
ETH
100.00%
Multichain Portfolio | 34 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|---|---|---|---|---|
| ETH | 100.00% | $1,845.19 | 0.001 | $1.85 |
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.