Source Code
Overview
HYPE Balance
HYPE Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 20 from a total of 20 transactions
| Transaction Hash |
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| Set Approval For... | 12961810 | 144 days ago | IN | 0 HYPE | 0.0001357 | ||||
| Set Approval For... | 12831302 | 145 days ago | IN | 0 HYPE | 0.0001013 | ||||
| Set Approval For... | 9724815 | 181 days ago | IN | 0 HYPE | 0.00003352 | ||||
| Withdraw | 9655398 | 182 days ago | IN | 0 HYPE | 0.00002033 | ||||
| Transfer Ownersh... | 9615831 | 182 days ago | IN | 0 HYPE | 0.00000286 | ||||
| Break Lock | 9614001 | 182 days ago | IN | 0 HYPE | 0.00000284 | ||||
| Mint Phase2 | 9507813 | 183 days ago | IN | 0.27709908 HYPE | 0.00001559 | ||||
| Mint Phase2 | 9457594 | 184 days ago | IN | 0.09236636 HYPE | 0.00002199 | ||||
| Mint Phase1 | 9456481 | 184 days ago | IN | 0.02236636 HYPE | 0.00000306 | ||||
| Mint Phase1 | 9456322 | 184 days ago | IN | 0.02236636 HYPE | 0.00002228 | ||||
| Mint Phase1 | 9456241 | 184 days ago | IN | 0.02236636 HYPE | 0.00001546 | ||||
| Mint Phase1 | 9456174 | 184 days ago | IN | 0.02236636 HYPE | 0.00007209 | ||||
| Mint Phase1 | 9456147 | 184 days ago | IN | 0.02236636 HYPE | 0.00008792 | ||||
| Mint Phase1 | 9455709 | 184 days ago | IN | 0.02236636 HYPE | 0.00181821 | ||||
| Mint Phase1 | 9455639 | 184 days ago | IN | 0.02236636 HYPE | 0.00002592 | ||||
| Mint Phase1 | 9455576 | 184 days ago | IN | 0.02236636 HYPE | 0.00001592 | ||||
| Mint Phase1 | 9455553 | 184 days ago | IN | 0.02236636 HYPE | 0.00001615 | ||||
| Mint Phase1 | 9455537 | 184 days ago | IN | 0.02236636 HYPE | 0.00001594 | ||||
| Mint Phase1 | 9455536 | 184 days ago | IN | 0.02236636 HYPE | 0.00001491 | ||||
| Mint Phase1 | 9455533 | 184 days ago | IN | 0.02236636 HYPE | 0.00001662 |
Latest 14 internal transactions
Advanced mode:
| Parent Transaction Hash | Block | From | To | |||
|---|---|---|---|---|---|---|
| 9655398 | 182 days ago | 0.266 HYPE | ||||
| 9507813 | 183 days ago | 0.07759908 HYPE | ||||
| 9457594 | 184 days ago | 0.02586636 HYPE | ||||
| 9456322 | 184 days ago | 0.02236636 HYPE | ||||
| 9456241 | 184 days ago | 0.02236636 HYPE | ||||
| 9456174 | 184 days ago | 0.02236636 HYPE | ||||
| 9456147 | 184 days ago | 0.02236636 HYPE | ||||
| 9455709 | 184 days ago | 0.02236636 HYPE | ||||
| 9455639 | 184 days ago | 0.02236636 HYPE | ||||
| 9455576 | 184 days ago | 0.02236636 HYPE | ||||
| 9455553 | 184 days ago | 0.02236636 HYPE | ||||
| 9455537 | 184 days ago | 0.02236636 HYPE | ||||
| 9455536 | 184 days ago | 0.02236636 HYPE | ||||
| 9455533 | 184 days ago | 0.02236636 HYPE |
Cross-Chain Transactions
Loading...
Loading
Contract Name:
KidsOnHype
Compiler Version
v0.8.28+commit.7893614a
Contract Source Code (Solidity)
/**
*Submitted for verification at hyperevmscan.io on 2025-07-28
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20 ^0.8.28 ^0.8.4;
// lib/openzeppelin-contracts/contracts/utils/structs/BitMaps.sol
// OpenZeppelin Contracts (last updated v5.0.0) (utils/structs/BitMaps.sol)
/**
* @dev Library for managing uint256 to bool mapping in a compact and efficient way, provided the keys are sequential.
* Largely inspired by Uniswap's https://github.com/Uniswap/merkle-distributor/blob/master/contracts/MerkleDistributor.sol[merkle-distributor].
*
* BitMaps pack 256 booleans across each bit of a single 256-bit slot of `uint256` type.
* Hence booleans corresponding to 256 _sequential_ indices would only consume a single slot,
* unlike the regular `bool` which would consume an entire slot for a single value.
*
* This results in gas savings in two ways:
*
* - Setting a zero value to non-zero only once every 256 times
* - Accessing the same warm slot for every 256 _sequential_ indices
*/
library BitMaps {
struct BitMap {
mapping(uint256 bucket => uint256) _data;
}
/**
* @dev Returns whether the bit at `index` is set.
*/
function get(BitMap storage bitmap, uint256 index) internal view returns (bool) {
uint256 bucket = index >> 8;
uint256 mask = 1 << (index & 0xff);
return bitmap._data[bucket] & mask != 0;
}
/**
* @dev Sets the bit at `index` to the boolean `value`.
*/
function setTo(BitMap storage bitmap, uint256 index, bool value) internal {
if (value) {
set(bitmap, index);
} else {
unset(bitmap, index);
}
}
/**
* @dev Sets the bit at `index`.
*/
function set(BitMap storage bitmap, uint256 index) internal {
uint256 bucket = index >> 8;
uint256 mask = 1 << (index & 0xff);
bitmap._data[bucket] |= mask;
}
/**
* @dev Unsets the bit at `index`.
*/
function unset(BitMap storage bitmap, uint256 index) internal {
uint256 bucket = index >> 8;
uint256 mask = 1 << (index & 0xff);
bitmap._data[bucket] &= ~mask;
}
}
// lib/openzeppelin-contracts/contracts/utils/Context.sol
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)
/**
* @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;
}
function _contextSuffixLength() internal view virtual returns (uint256) {
return 0;
}
}
// lib/openzeppelin-contracts/contracts/utils/cryptography/Hashes.sol
// OpenZeppelin Contracts (last updated v5.1.0) (utils/cryptography/Hashes.sol)
/**
* @dev Library of standard hash functions.
*
* _Available since v5.1._
*/
library Hashes {
/**
* @dev Commutative Keccak256 hash of a sorted pair of bytes32. Frequently used when working with merkle proofs.
*
* NOTE: Equivalent to the `standardNodeHash` in our https://github.com/OpenZeppelin/merkle-tree[JavaScript library].
*/
function commutativeKeccak256(bytes32 a, bytes32 b) internal pure returns (bytes32) {
return a < b ? efficientKeccak256(a, b) : efficientKeccak256(b, a);
}
/**
* @dev Implementation of keccak256(abi.encode(a, b)) that doesn't allocate or expand memory.
*/
function efficientKeccak256(bytes32 a, bytes32 b) internal pure returns (bytes32 value) {
assembly ("memory-safe") {
mstore(0x00, a)
mstore(0x20, b)
value := keccak256(0x00, 0x40)
}
}
}
// lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol
// OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/IERC165.sol)
/**
* @dev Interface of the ERC-165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[ERC].
*
* 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[ERC 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);
}
// lib/closedsea/lib/erc721a/contracts/IERC721A.sol
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs
/**
* @dev Interface of ERC721A.
*/
interface IERC721A {
/**
* The caller must own the token or be an approved operator.
*/
error ApprovalCallerNotOwnerNorApproved();
/**
* The token does not exist.
*/
error ApprovalQueryForNonexistentToken();
/**
* Cannot query the balance for the zero address.
*/
error BalanceQueryForZeroAddress();
/**
* Cannot mint to the zero address.
*/
error MintToZeroAddress();
/**
* The quantity of tokens minted must be more than zero.
*/
error MintZeroQuantity();
/**
* The token does not exist.
*/
error OwnerQueryForNonexistentToken();
/**
* The caller must own the token or be an approved operator.
*/
error TransferCallerNotOwnerNorApproved();
/**
* The token must be owned by `from`.
*/
error TransferFromIncorrectOwner();
/**
* Cannot safely transfer to a contract that does not implement the
* ERC721Receiver interface.
*/
error TransferToNonERC721ReceiverImplementer();
/**
* Cannot transfer to the zero address.
*/
error TransferToZeroAddress();
/**
* The token does not exist.
*/
error URIQueryForNonexistentToken();
/**
* The `quantity` minted with ERC2309 exceeds the safety limit.
*/
error MintERC2309QuantityExceedsLimit();
/**
* The `extraData` cannot be set on an unintialized ownership slot.
*/
error OwnershipNotInitializedForExtraData();
// =============================================================
// STRUCTS
// =============================================================
struct TokenOwnership {
// The address of the owner.
address addr;
// Stores the start time of ownership with minimal overhead for tokenomics.
uint64 startTimestamp;
// Whether the token has been burned.
bool burned;
// Arbitrary data similar to `startTimestamp` that can be set via {_extraData}.
uint24 extraData;
}
// =============================================================
// TOKEN COUNTERS
// =============================================================
/**
* @dev Returns the total number of tokens in existence.
* Burned tokens will reduce the count.
* To get the total number of tokens minted, please see {_totalMinted}.
*/
function totalSupply() external view returns (uint256);
// =============================================================
// IERC165
// =============================================================
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
* to learn more about how these ids are created.
*
* This function call must use less than 30000 gas.
*/
function supportsInterface(bytes4 interfaceId) external view returns (bool);
// =============================================================
// IERC721
// =============================================================
/**
* @dev Emitted when `tokenId` token is transferred from `from` to `to`.
*/
event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
*/
event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables or disables
* (`approved`) `operator` to manage all of its assets.
*/
event ApprovalForAll(address indexed owner, address indexed operator, bool approved);
/**
* @dev Returns the number of tokens in `owner`'s account.
*/
function balanceOf(address owner) external view returns (uint256 balance);
/**
* @dev Returns the owner of the `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function ownerOf(uint256 tokenId) external view returns (address owner);
/**
* @dev Safely transfers `tokenId` token from `from` to `to`,
* checking first that contract recipients are aware of the ERC721 protocol
* to prevent tokens from being forever locked.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must be have been allowed to move
* this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement
* {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId,
bytes calldata data
) external payable;
/**
* @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId
) external payable;
/**
* @dev Transfers `tokenId` from `from` to `to`.
*
* WARNING: Usage of this method is discouraged, use {safeTransferFrom}
* whenever possible.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token
* by either {approve} or {setApprovalForAll}.
*
* Emits a {Transfer} event.
*/
function transferFrom(
address from,
address to,
uint256 tokenId
) external payable;
/**
* @dev Gives permission to `to` to transfer `tokenId` token to another account.
* The approval is cleared when the token is transferred.
*
* Only a single account can be approved at a time, so approving the
* zero address clears previous approvals.
*
* Requirements:
*
* - The caller must own the token or be an approved operator.
* - `tokenId` must exist.
*
* Emits an {Approval} event.
*/
function approve(address to, uint256 tokenId) external payable;
/**
* @dev Approve or remove `operator` as an operator for the caller.
* Operators can call {transferFrom} or {safeTransferFrom}
* for any token owned by the caller.
*
* Requirements:
*
* - The `operator` cannot be the caller.
*
* Emits an {ApprovalForAll} event.
*/
function setApprovalForAll(address operator, bool _approved) external;
/**
* @dev Returns the account approved for `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function getApproved(uint256 tokenId) external view returns (address operator);
/**
* @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
*
* See {setApprovalForAll}.
*/
function isApprovedForAll(address owner, address operator) external view returns (bool);
// =============================================================
// IERC721Metadata
// =============================================================
/**
* @dev Returns the token collection name.
*/
function name() external view returns (string memory);
/**
* @dev Returns the token collection symbol.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
*/
function tokenURI(uint256 tokenId) external view returns (string memory);
// =============================================================
// IERC2309
// =============================================================
/**
* @dev Emitted when tokens in `fromTokenId` to `toTokenId`
* (inclusive) is transferred from `from` to `to`, as defined in the
* [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard.
*
* See {_mintERC2309} for more details.
*/
event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}
// lib/closedsea/src/OperatorFilterer.sol
/// @notice Optimized and flexible operator filterer to abide to OpenSea's
/// mandatory on-chain royalty enforcement in order for new collections to
/// receive royalties.
/// For more information, see:
/// See: https://github.com/ProjectOpenSea/operator-filter-registry
abstract contract OperatorFilterer {
/// @dev The default OpenSea operator blocklist subscription.
address internal constant _DEFAULT_SUBSCRIPTION = 0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6;
/// @dev The OpenSea operator filter registry.
address internal constant _OPERATOR_FILTER_REGISTRY = 0x000000000000AAeB6D7670E522A718067333cd4E;
/// @dev Registers the current contract to OpenSea's operator filter,
/// and subscribe to the default OpenSea operator blocklist.
/// Note: Will not revert nor update existing settings for repeated registration.
function _registerForOperatorFiltering() internal virtual {
_registerForOperatorFiltering(_DEFAULT_SUBSCRIPTION, true);
}
/// @dev Registers the current contract to OpenSea's operator filter.
/// Note: Will not revert nor update existing settings for repeated registration.
function _registerForOperatorFiltering(address subscriptionOrRegistrantToCopy, bool subscribe)
internal
virtual
{
/// @solidity memory-safe-assembly
assembly {
let functionSelector := 0x7d3e3dbe // `registerAndSubscribe(address,address)`.
// Clean the upper 96 bits of `subscriptionOrRegistrantToCopy` in case they are dirty.
subscriptionOrRegistrantToCopy := shr(96, shl(96, subscriptionOrRegistrantToCopy))
for {} iszero(subscribe) {} {
if iszero(subscriptionOrRegistrantToCopy) {
functionSelector := 0x4420e486 // `register(address)`.
break
}
functionSelector := 0xa0af2903 // `registerAndCopyEntries(address,address)`.
break
}
// Store the function selector.
mstore(0x00, shl(224, functionSelector))
// Store the `address(this)`.
mstore(0x04, address())
// Store the `subscriptionOrRegistrantToCopy`.
mstore(0x24, subscriptionOrRegistrantToCopy)
// Register into the registry.
if iszero(call(gas(), _OPERATOR_FILTER_REGISTRY, 0, 0x00, 0x44, 0x00, 0x04)) {
// If the function selector has not been overwritten,
// it is an out-of-gas error.
if eq(shr(224, mload(0x00)), functionSelector) {
// To prevent gas under-estimation.
revert(0, 0)
}
}
// Restore the part of the free memory pointer that was overwritten,
// which is guaranteed to be zero, because of Solidity's memory size limits.
mstore(0x24, 0)
}
}
/// @dev Modifier to guard a function and revert if the caller is a blocked operator.
modifier onlyAllowedOperator(address from) virtual {
if (from != msg.sender) {
if (!_isPriorityOperator(msg.sender)) {
if (_operatorFilteringEnabled()) _revertIfBlocked(msg.sender);
}
}
_;
}
/// @dev Modifier to guard a function from approving a blocked operator..
modifier onlyAllowedOperatorApproval(address operator) virtual {
if (!_isPriorityOperator(operator)) {
if (_operatorFilteringEnabled()) _revertIfBlocked(operator);
}
_;
}
/// @dev Helper function that reverts if the `operator` is blocked by the registry.
function _revertIfBlocked(address operator) private view {
/// @solidity memory-safe-assembly
assembly {
// Store the function selector of `isOperatorAllowed(address,address)`,
// shifted left by 6 bytes, which is enough for 8tb of memory.
// We waste 6-3 = 3 bytes to save on 6 runtime gas (PUSH1 0x224 SHL).
mstore(0x00, 0xc6171134001122334455)
// Store the `address(this)`.
mstore(0x1a, address())
// Store the `operator`.
mstore(0x3a, operator)
// `isOperatorAllowed` always returns true if it does not revert.
if iszero(staticcall(gas(), _OPERATOR_FILTER_REGISTRY, 0x16, 0x44, 0x00, 0x00)) {
// Bubble up the revert if the staticcall reverts.
returndatacopy(0x00, 0x00, returndatasize())
revert(0x00, returndatasize())
}
// We'll skip checking if `from` is inside the blacklist.
// Even though that can block transferring out of wrapper contracts,
// we don't want tokens to be stuck.
// Restore the part of the free memory pointer that was overwritten,
// which is guaranteed to be zero, if less than 8tb of memory is used.
mstore(0x3a, 0)
}
}
/// @dev For deriving contracts to override, so that operator filtering
/// can be turned on / off.
/// Returns true by default.
function _operatorFilteringEnabled() internal view virtual returns (bool) {
return true;
}
/// @dev For deriving contracts to override, so that preferred marketplaces can
/// skip operator filtering, helping users save gas.
/// Returns false for all inputs by default.
function _isPriorityOperator(address) internal view virtual returns (bool) {
return false;
}
}
// lib/openzeppelin-contracts/contracts/utils/introspection/ERC165.sol
// OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/ERC165.sol)
/**
* @dev Implementation of the {IERC165} interface.
*
* Contracts that want to implement ERC-165 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);
* }
* ```
*/
abstract contract ERC165 is IERC165 {
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) {
return interfaceId == type(IERC165).interfaceId;
}
}
// lib/closedsea/lib/erc721a/contracts/ERC721A.sol
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs
/**
* @dev Interface of ERC721 token receiver.
*/
interface ERC721A__IERC721Receiver {
function onERC721Received(
address operator,
address from,
uint256 tokenId,
bytes calldata data
) external returns (bytes4);
}
/**
* @title ERC721A
*
* @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721)
* Non-Fungible Token Standard, including the Metadata extension.
* Optimized for lower gas during batch mints.
*
* Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...)
* starting from `_startTokenId()`.
*
* Assumptions:
*
* - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
* - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256).
*/
contract ERC721A is IERC721A {
// Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364).
struct TokenApprovalRef {
address value;
}
// =============================================================
// CONSTANTS
// =============================================================
// Mask of an entry in packed address data.
uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1;
// The bit position of `numberMinted` in packed address data.
uint256 private constant _BITPOS_NUMBER_MINTED = 64;
// The bit position of `numberBurned` in packed address data.
uint256 private constant _BITPOS_NUMBER_BURNED = 128;
// The bit position of `aux` in packed address data.
uint256 private constant _BITPOS_AUX = 192;
// Mask of all 256 bits in packed address data except the 64 bits for `aux`.
uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1;
// The bit position of `startTimestamp` in packed ownership.
uint256 private constant _BITPOS_START_TIMESTAMP = 160;
// The bit mask of the `burned` bit in packed ownership.
uint256 private constant _BITMASK_BURNED = 1 << 224;
// The bit position of the `nextInitialized` bit in packed ownership.
uint256 private constant _BITPOS_NEXT_INITIALIZED = 225;
// The bit mask of the `nextInitialized` bit in packed ownership.
uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225;
// The bit position of `extraData` in packed ownership.
uint256 private constant _BITPOS_EXTRA_DATA = 232;
// Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`.
uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1;
// The mask of the lower 160 bits for addresses.
uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1;
// The maximum `quantity` that can be minted with {_mintERC2309}.
// This limit is to prevent overflows on the address data entries.
// For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309}
// is required to cause an overflow, which is unrealistic.
uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000;
// The `Transfer` event signature is given by:
// `keccak256(bytes("Transfer(address,address,uint256)"))`.
bytes32 private constant _TRANSFER_EVENT_SIGNATURE =
0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef;
// =============================================================
// STORAGE
// =============================================================
// The next token ID to be minted.
uint256 private _currentIndex;
// The number of tokens burned.
uint256 private _burnCounter;
// Token name
string private _name;
// Token symbol
string private _symbol;
// Mapping from token ID to ownership details
// An empty struct value does not necessarily mean the token is unowned.
// See {_packedOwnershipOf} implementation for details.
//
// Bits Layout:
// - [0..159] `addr`
// - [160..223] `startTimestamp`
// - [224] `burned`
// - [225] `nextInitialized`
// - [232..255] `extraData`
mapping(uint256 => uint256) private _packedOwnerships;
// Mapping owner address to address data.
//
// Bits Layout:
// - [0..63] `balance`
// - [64..127] `numberMinted`
// - [128..191] `numberBurned`
// - [192..255] `aux`
mapping(address => uint256) private _packedAddressData;
// Mapping from token ID to approved address.
mapping(uint256 => TokenApprovalRef) private _tokenApprovals;
// Mapping from owner to operator approvals
mapping(address => mapping(address => bool)) private _operatorApprovals;
// =============================================================
// CONSTRUCTOR
// =============================================================
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
_currentIndex = _startTokenId();
}
// =============================================================
// TOKEN COUNTING OPERATIONS
// =============================================================
/**
* @dev Returns the starting token ID.
* To change the starting token ID, please override this function.
*/
function _startTokenId() internal view virtual returns (uint256) {
return 0;
}
/**
* @dev Returns the next token ID to be minted.
*/
function _nextTokenId() internal view virtual returns (uint256) {
return _currentIndex;
}
/**
* @dev Returns the total number of tokens in existence.
* Burned tokens will reduce the count.
* To get the total number of tokens minted, please see {_totalMinted}.
*/
function totalSupply() public view virtual override returns (uint256) {
// Counter underflow is impossible as _burnCounter cannot be incremented
// more than `_currentIndex - _startTokenId()` times.
unchecked {
return _currentIndex - _burnCounter - _startTokenId();
}
}
/**
* @dev Returns the total amount of tokens minted in the contract.
*/
function _totalMinted() internal view virtual returns (uint256) {
// Counter underflow is impossible as `_currentIndex` does not decrement,
// and it is initialized to `_startTokenId()`.
unchecked {
return _currentIndex - _startTokenId();
}
}
/**
* @dev Returns the total number of tokens burned.
*/
function _totalBurned() internal view virtual returns (uint256) {
return _burnCounter;
}
// =============================================================
// ADDRESS DATA OPERATIONS
// =============================================================
/**
* @dev Returns the number of tokens in `owner`'s account.
*/
function balanceOf(address owner) public view virtual override returns (uint256) {
if (owner == address(0)) revert BalanceQueryForZeroAddress();
return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY;
}
/**
* Returns the number of tokens minted by `owner`.
*/
function _numberMinted(address owner) internal view returns (uint256) {
return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY;
}
/**
* Returns the number of tokens burned by or on behalf of `owner`.
*/
function _numberBurned(address owner) internal view returns (uint256) {
return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY;
}
/**
* Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
*/
function _getAux(address owner) internal view returns (uint64) {
return uint64(_packedAddressData[owner] >> _BITPOS_AUX);
}
/**
* Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
* If there are multiple variables, please pack them into a uint64.
*/
function _setAux(address owner, uint64 aux) internal virtual {
uint256 packed = _packedAddressData[owner];
uint256 auxCasted;
// Cast `aux` with assembly to avoid redundant masking.
assembly {
auxCasted := aux
}
packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX);
_packedAddressData[owner] = packed;
}
// =============================================================
// IERC165
// =============================================================
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
* to learn more about how these ids are created.
*
* This function call must use less than 30000 gas.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
// The interface IDs are constants representing the first 4 bytes
// of the XOR of all function selectors in the interface.
// See: [ERC165](https://eips.ethereum.org/EIPS/eip-165)
// (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`)
return
interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
}
// =============================================================
// IERC721Metadata
// =============================================================
/**
* @dev Returns the token collection name.
*/
function name() public view virtual override returns (string memory) {
return _name;
}
/**
* @dev Returns the token collection symbol.
*/
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
/**
* @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
*/
function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
if (!_exists(tokenId)) revert URIQueryForNonexistentToken();
string memory baseURI = _baseURI();
return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : '';
}
/**
* @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
* token will be the concatenation of the `baseURI` and the `tokenId`. Empty
* by default, it can be overridden in child contracts.
*/
function _baseURI() internal view virtual returns (string memory) {
return '';
}
// =============================================================
// OWNERSHIPS OPERATIONS
// =============================================================
/**
* @dev Returns the owner of the `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function ownerOf(uint256 tokenId) public view virtual override returns (address) {
return address(uint160(_packedOwnershipOf(tokenId)));
}
/**
* @dev Gas spent here starts off proportional to the maximum mint batch size.
* It gradually moves to O(1) as tokens get transferred around over time.
*/
function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) {
return _unpackedOwnership(_packedOwnershipOf(tokenId));
}
/**
* @dev Returns the unpacked `TokenOwnership` struct at `index`.
*/
function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) {
return _unpackedOwnership(_packedOwnerships[index]);
}
/**
* @dev Initializes the ownership slot minted at `index` for efficiency purposes.
*/
function _initializeOwnershipAt(uint256 index) internal virtual {
if (_packedOwnerships[index] == 0) {
_packedOwnerships[index] = _packedOwnershipOf(index);
}
}
/**
* Returns the packed ownership data of `tokenId`.
*/
function _packedOwnershipOf(uint256 tokenId) private view returns (uint256 packed) {
if (_startTokenId() <= tokenId) {
packed = _packedOwnerships[tokenId];
// If not burned.
if (packed & _BITMASK_BURNED == 0) {
// If the data at the starting slot does not exist, start the scan.
if (packed == 0) {
if (tokenId >= _currentIndex) revert OwnerQueryForNonexistentToken();
// Invariant:
// There will always be an initialized ownership slot
// (i.e. `ownership.addr != address(0) && ownership.burned == false`)
// before an unintialized ownership slot
// (i.e. `ownership.addr == address(0) && ownership.burned == false`)
// Hence, `tokenId` will not underflow.
//
// We can directly compare the packed value.
// If the address is zero, packed will be zero.
for (;;) {
unchecked {
packed = _packedOwnerships[--tokenId];
}
if (packed == 0) continue;
return packed;
}
}
// Otherwise, the data exists and is not burned. We can skip the scan.
// This is possible because we have already achieved the target condition.
// This saves 2143 gas on transfers of initialized tokens.
return packed;
}
}
revert OwnerQueryForNonexistentToken();
}
/**
* @dev Returns the unpacked `TokenOwnership` struct from `packed`.
*/
function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) {
ownership.addr = address(uint160(packed));
ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP);
ownership.burned = packed & _BITMASK_BURNED != 0;
ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA);
}
/**
* @dev Packs ownership data into a single uint256.
*/
function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) {
assembly {
// Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
owner := and(owner, _BITMASK_ADDRESS)
// `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`.
result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags))
}
}
/**
* @dev Returns the `nextInitialized` flag set if `quantity` equals 1.
*/
function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) {
// For branchless setting of the `nextInitialized` flag.
assembly {
// `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`.
result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1))
}
}
// =============================================================
// APPROVAL OPERATIONS
// =============================================================
/**
* @dev Gives permission to `to` to transfer `tokenId` token to another account. See {ERC721A-_approve}.
*
* Requirements:
*
* - The caller must own the token or be an approved operator.
*/
function approve(address to, uint256 tokenId) public payable virtual override {
_approve(to, tokenId, true);
}
/**
* @dev Returns the account approved for `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function getApproved(uint256 tokenId) public view virtual override returns (address) {
if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();
return _tokenApprovals[tokenId].value;
}
/**
* @dev Approve or remove `operator` as an operator for the caller.
* Operators can call {transferFrom} or {safeTransferFrom}
* for any token owned by the caller.
*
* Requirements:
*
* - The `operator` cannot be the caller.
*
* Emits an {ApprovalForAll} event.
*/
function setApprovalForAll(address operator, bool approved) public virtual override {
_operatorApprovals[_msgSenderERC721A()][operator] = approved;
emit ApprovalForAll(_msgSenderERC721A(), operator, approved);
}
/**
* @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
*
* See {setApprovalForAll}.
*/
function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
return _operatorApprovals[owner][operator];
}
/**
* @dev Returns whether `tokenId` exists.
*
* Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
*
* Tokens start existing when they are minted. See {_mint}.
*/
function _exists(uint256 tokenId) internal view virtual returns (bool) {
return
_startTokenId() <= tokenId &&
tokenId < _currentIndex && // If within bounds,
_packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned.
}
/**
* @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`.
*/
function _isSenderApprovedOrOwner(
address approvedAddress,
address owner,
address msgSender
) private pure returns (bool result) {
assembly {
// Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
owner := and(owner, _BITMASK_ADDRESS)
// Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean.
msgSender := and(msgSender, _BITMASK_ADDRESS)
// `msgSender == owner || msgSender == approvedAddress`.
result := or(eq(msgSender, owner), eq(msgSender, approvedAddress))
}
}
/**
* @dev Returns the storage slot and value for the approved address of `tokenId`.
*/
function _getApprovedSlotAndAddress(uint256 tokenId)
private
view
returns (uint256 approvedAddressSlot, address approvedAddress)
{
TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId];
// The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`.
assembly {
approvedAddressSlot := tokenApproval.slot
approvedAddress := sload(approvedAddressSlot)
}
}
// =============================================================
// TRANSFER OPERATIONS
// =============================================================
/**
* @dev Transfers `tokenId` from `from` to `to`.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token
* by either {approve} or {setApprovalForAll}.
*
* Emits a {Transfer} event.
*/
function transferFrom(
address from,
address to,
uint256 tokenId
) public payable virtual override {
uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);
if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner();
(uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId);
// The nested ifs save around 20+ gas over a compound boolean condition.
if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A()))
if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();
if (to == address(0)) revert TransferToZeroAddress();
_beforeTokenTransfers(from, to, tokenId, 1);
// Clear approvals from the previous owner.
assembly {
if approvedAddress {
// This is equivalent to `delete _tokenApprovals[tokenId]`.
sstore(approvedAddressSlot, 0)
}
}
// Underflow of the sender's balance is impossible because we check for
// ownership above and the recipient's balance can't realistically overflow.
// Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256.
unchecked {
// We can directly increment and decrement the balances.
--_packedAddressData[from]; // Updates: `balance -= 1`.
++_packedAddressData[to]; // Updates: `balance += 1`.
// Updates:
// - `address` to the next owner.
// - `startTimestamp` to the timestamp of transfering.
// - `burned` to `false`.
// - `nextInitialized` to `true`.
_packedOwnerships[tokenId] = _packOwnershipData(
to,
_BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked)
);
// If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) {
uint256 nextTokenId = tokenId + 1;
// If the next slot's address is zero and not burned (i.e. packed value is zero).
if (_packedOwnerships[nextTokenId] == 0) {
// If the next slot is within bounds.
if (nextTokenId != _currentIndex) {
// Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
_packedOwnerships[nextTokenId] = prevOwnershipPacked;
}
}
}
}
emit Transfer(from, to, tokenId);
_afterTokenTransfers(from, to, tokenId, 1);
}
/**
* @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId
) public payable virtual override {
safeTransferFrom(from, to, tokenId, '');
}
/**
* @dev Safely transfers `tokenId` token from `from` to `to`.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token
* by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement
* {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId,
bytes memory _data
) public payable virtual override {
transferFrom(from, to, tokenId);
if (to.code.length != 0)
if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
revert TransferToNonERC721ReceiverImplementer();
}
}
/**
* @dev Hook that is called before a set of serially-ordered token IDs
* are about to be transferred. This includes minting.
* And also called before burning one token.
*
* `startTokenId` - the first token ID to be transferred.
* `quantity` - the amount to be transferred.
*
* Calling conditions:
*
* - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
* transferred to `to`.
* - When `from` is zero, `tokenId` will be minted for `to`.
* - When `to` is zero, `tokenId` will be burned by `from`.
* - `from` and `to` are never both zero.
*/
function _beforeTokenTransfers(
address from,
address to,
uint256 startTokenId,
uint256 quantity
) internal virtual {}
/**
* @dev Hook that is called after a set of serially-ordered token IDs
* have been transferred. This includes minting.
* And also called after one token has been burned.
*
* `startTokenId` - the first token ID to be transferred.
* `quantity` - the amount to be transferred.
*
* Calling conditions:
*
* - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
* transferred to `to`.
* - When `from` is zero, `tokenId` has been minted for `to`.
* - When `to` is zero, `tokenId` has been burned by `from`.
* - `from` and `to` are never both zero.
*/
function _afterTokenTransfers(
address from,
address to,
uint256 startTokenId,
uint256 quantity
) internal virtual {}
/**
* @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract.
*
* `from` - Previous owner of the given token ID.
* `to` - Target address that will receive the token.
* `tokenId` - Token ID to be transferred.
* `_data` - Optional data to send along with the call.
*
* Returns whether the call correctly returned the expected magic value.
*/
function _checkContractOnERC721Received(
address from,
address to,
uint256 tokenId,
bytes memory _data
) private returns (bool) {
try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns (
bytes4 retval
) {
return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector;
} catch (bytes memory reason) {
if (reason.length == 0) {
revert TransferToNonERC721ReceiverImplementer();
} else {
assembly {
revert(add(32, reason), mload(reason))
}
}
}
}
// =============================================================
// MINT OPERATIONS
// =============================================================
/**
* @dev Mints `quantity` tokens and transfers them to `to`.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - `quantity` must be greater than 0.
*
* Emits a {Transfer} event for each mint.
*/
function _mint(address to, uint256 quantity) internal virtual {
uint256 startTokenId = _currentIndex;
if (quantity == 0) revert MintZeroQuantity();
_beforeTokenTransfers(address(0), to, startTokenId, quantity);
// Overflows are incredibly unrealistic.
// `balance` and `numberMinted` have a maximum limit of 2**64.
// `tokenId` has a maximum limit of 2**256.
unchecked {
// Updates:
// - `balance += quantity`.
// - `numberMinted += quantity`.
//
// We can directly add to the `balance` and `numberMinted`.
_packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);
// Updates:
// - `address` to the owner.
// - `startTimestamp` to the timestamp of minting.
// - `burned` to `false`.
// - `nextInitialized` to `quantity == 1`.
_packedOwnerships[startTokenId] = _packOwnershipData(
to,
_nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
);
uint256 toMasked;
uint256 end = startTokenId + quantity;
// Use assembly to loop and emit the `Transfer` event for gas savings.
// The duplicated `log4` removes an extra check and reduces stack juggling.
// The assembly, together with the surrounding Solidity code, have been
// delicately arranged to nudge the compiler into producing optimized opcodes.
assembly {
// Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
toMasked := and(to, _BITMASK_ADDRESS)
// Emit the `Transfer` event.
log4(
0, // Start of data (0, since no data).
0, // End of data (0, since no data).
_TRANSFER_EVENT_SIGNATURE, // Signature.
0, // `address(0)`.
toMasked, // `to`.
startTokenId // `tokenId`.
)
// The `iszero(eq(,))` check ensures that large values of `quantity`
// that overflows uint256 will make the loop run out of gas.
// The compiler will optimize the `iszero` away for performance.
for {
let tokenId := add(startTokenId, 1)
} iszero(eq(tokenId, end)) {
tokenId := add(tokenId, 1)
} {
// Emit the `Transfer` event. Similar to above.
log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId)
}
}
if (toMasked == 0) revert MintToZeroAddress();
_currentIndex = end;
}
_afterTokenTransfers(address(0), to, startTokenId, quantity);
}
/**
* @dev Mints `quantity` tokens and transfers them to `to`.
*
* This function is intended for efficient minting only during contract creation.
*
* It emits only one {ConsecutiveTransfer} as defined in
* [ERC2309](https://eips.ethereum.org/EIPS/eip-2309),
* instead of a sequence of {Transfer} event(s).
*
* Calling this function outside of contract creation WILL make your contract
* non-compliant with the ERC721 standard.
* For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309
* {ConsecutiveTransfer} event is only permissible during contract creation.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - `quantity` must be greater than 0.
*
* Emits a {ConsecutiveTransfer} event.
*/
function _mintERC2309(address to, uint256 quantity) internal virtual {
uint256 startTokenId = _currentIndex;
if (to == address(0)) revert MintToZeroAddress();
if (quantity == 0) revert MintZeroQuantity();
if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit();
_beforeTokenTransfers(address(0), to, startTokenId, quantity);
// Overflows are unrealistic due to the above check for `quantity` to be below the limit.
unchecked {
// Updates:
// - `balance += quantity`.
// - `numberMinted += quantity`.
//
// We can directly add to the `balance` and `numberMinted`.
_packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);
// Updates:
// - `address` to the owner.
// - `startTimestamp` to the timestamp of minting.
// - `burned` to `false`.
// - `nextInitialized` to `quantity == 1`.
_packedOwnerships[startTokenId] = _packOwnershipData(
to,
_nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
);
emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to);
_currentIndex = startTokenId + quantity;
}
_afterTokenTransfers(address(0), to, startTokenId, quantity);
}
/**
* @dev Safely mints `quantity` tokens and transfers them to `to`.
*
* Requirements:
*
* - If `to` refers to a smart contract, it must implement
* {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
* - `quantity` must be greater than 0.
*
* See {_mint}.
*
* Emits a {Transfer} event for each mint.
*/
function _safeMint(
address to,
uint256 quantity,
bytes memory _data
) internal virtual {
_mint(to, quantity);
unchecked {
if (to.code.length != 0) {
uint256 end = _currentIndex;
uint256 index = end - quantity;
do {
if (!_checkContractOnERC721Received(address(0), to, index++, _data)) {
revert TransferToNonERC721ReceiverImplementer();
}
} while (index < end);
// Reentrancy protection.
if (_currentIndex != end) revert();
}
}
}
/**
* @dev Equivalent to `_safeMint(to, quantity, '')`.
*/
function _safeMint(address to, uint256 quantity) internal virtual {
_safeMint(to, quantity, '');
}
// =============================================================
// APPROVAL OPERATIONS
// =============================================================
/**
* @dev Equivalent to `_approve(to, tokenId, false)`.
*/
function _approve(address to, uint256 tokenId) internal virtual {
_approve(to, tokenId, false);
}
/**
* @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:
*
* - `tokenId` must exist.
*
* Emits an {Approval} event.
*/
function _approve(
address to,
uint256 tokenId,
bool approvalCheck
) internal virtual {
address owner = ownerOf(tokenId);
if (approvalCheck)
if (_msgSenderERC721A() != owner)
if (!isApprovedForAll(owner, _msgSenderERC721A())) {
revert ApprovalCallerNotOwnerNorApproved();
}
_tokenApprovals[tokenId].value = to;
emit Approval(owner, to, tokenId);
}
// =============================================================
// BURN OPERATIONS
// =============================================================
/**
* @dev Equivalent to `_burn(tokenId, false)`.
*/
function _burn(uint256 tokenId) internal virtual {
_burn(tokenId, false);
}
/**
* @dev Destroys `tokenId`.
* The approval is cleared when the token is burned.
*
* Requirements:
*
* - `tokenId` must exist.
*
* Emits a {Transfer} event.
*/
function _burn(uint256 tokenId, bool approvalCheck) internal virtual {
uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);
address from = address(uint160(prevOwnershipPacked));
(uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId);
if (approvalCheck) {
// The nested ifs save around 20+ gas over a compound boolean condition.
if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A()))
if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();
}
_beforeTokenTransfers(from, address(0), tokenId, 1);
// Clear approvals from the previous owner.
assembly {
if approvedAddress {
// This is equivalent to `delete _tokenApprovals[tokenId]`.
sstore(approvedAddressSlot, 0)
}
}
// Underflow of the sender's balance is impossible because we check for
// ownership above and the recipient's balance can't realistically overflow.
// Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256.
unchecked {
// Updates:
// - `balance -= 1`.
// - `numberBurned += 1`.
//
// We can directly decrement the balance, and increment the number burned.
// This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`.
_packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1;
// Updates:
// - `address` to the last owner.
// - `startTimestamp` to the timestamp of burning.
// - `burned` to `true`.
// - `nextInitialized` to `true`.
_packedOwnerships[tokenId] = _packOwnershipData(
from,
(_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked)
);
// If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) {
uint256 nextTokenId = tokenId + 1;
// If the next slot's address is zero and not burned (i.e. packed value is zero).
if (_packedOwnerships[nextTokenId] == 0) {
// If the next slot is within bounds.
if (nextTokenId != _currentIndex) {
// Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
_packedOwnerships[nextTokenId] = prevOwnershipPacked;
}
}
}
}
emit Transfer(from, address(0), tokenId);
_afterTokenTransfers(from, address(0), tokenId, 1);
// Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
unchecked {
_burnCounter++;
}
}
// =============================================================
// EXTRA DATA OPERATIONS
// =============================================================
/**
* @dev Directly sets the extra data for the ownership data `index`.
*/
function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual {
uint256 packed = _packedOwnerships[index];
if (packed == 0) revert OwnershipNotInitializedForExtraData();
uint256 extraDataCasted;
// Cast `extraData` with assembly to avoid redundant masking.
assembly {
extraDataCasted := extraData
}
packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA);
_packedOwnerships[index] = packed;
}
/**
* @dev Called during each token transfer to set the 24bit `extraData` field.
* Intended to be overridden by the cosumer contract.
*
* `previousExtraData` - the value of `extraData` before transfer.
*
* Calling conditions:
*
* - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
* transferred to `to`.
* - When `from` is zero, `tokenId` will be minted for `to`.
* - When `to` is zero, `tokenId` will be burned by `from`.
* - `from` and `to` are never both zero.
*/
function _extraData(
address from,
address to,
uint24 previousExtraData
) internal view virtual returns (uint24) {}
/**
* @dev Returns the next extra data for the packed ownership data.
* The returned result is shifted into position.
*/
function _nextExtraData(
address from,
address to,
uint256 prevOwnershipPacked
) private view returns (uint256) {
uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA);
return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA;
}
// =============================================================
// OTHER OPERATIONS
// =============================================================
/**
* @dev Returns the message sender (defaults to `msg.sender`).
*
* If you are writing GSN compatible contracts, you need to override this function.
*/
function _msgSenderERC721A() internal view virtual returns (address) {
return msg.sender;
}
/**
* @dev Converts a uint256 to its ASCII string decimal representation.
*/
function _toString(uint256 value) internal pure virtual returns (string memory str) {
assembly {
// The maximum value of a uint256 contains 78 digits (1 byte per digit), but
// we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned.
// We will need 1 word for the trailing zeros padding, 1 word for the length,
// and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0.
let m := add(mload(0x40), 0xa0)
// Update the free memory pointer to allocate.
mstore(0x40, m)
// Assign the `str` to the end.
str := sub(m, 0x20)
// Zeroize the slot after the string.
mstore(str, 0)
// Cache the end of the memory to calculate the length later.
let end := str
// We write the string from rightmost digit to leftmost digit.
// The following is essentially a do-while loop that also handles the zero case.
// prettier-ignore
for { let temp := value } 1 {} {
str := sub(str, 1)
// Write the character to the pointer.
// The ASCII index of the '0' character is 48.
mstore8(str, add(48, mod(temp, 10)))
// Keep dividing `temp` until zero.
temp := div(temp, 10)
// prettier-ignore
if iszero(temp) { break }
}
let length := sub(end, str)
// Move the pointer 32 bytes leftwards to make room for the length.
str := sub(str, 0x20)
// Store the length.
mstore(str, length)
}
}
}
// lib/openzeppelin-contracts/contracts/interfaces/IERC2981.sol
// OpenZeppelin Contracts (last updated v5.1.0) (interfaces/IERC2981.sol)
/**
* @dev Interface for the NFT Royalty Standard.
*
* A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
* support for royalty payments across all NFT marketplaces and ecosystem participants.
*/
interface IERC2981 is IERC165 {
/**
* @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
* exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
*
* NOTE: ERC-2981 allows setting the royalty to 100% of the price. In that case all the price would be sent to the
* royalty receiver and 0 tokens to the seller. Contracts dealing with royalty should consider empty transfers.
*/
function royaltyInfo(
uint256 tokenId,
uint256 salePrice
) external view returns (address receiver, uint256 royaltyAmount);
}
// lib/openzeppelin-contracts/contracts/utils/cryptography/MerkleProof.sol
// OpenZeppelin Contracts (last updated v5.1.0) (utils/cryptography/MerkleProof.sol)
// This file was procedurally generated from scripts/generate/templates/MerkleProof.js.
/**
* @dev These functions deal with verification of Merkle Tree proofs.
*
* The tree and the proofs can be generated using our
* https://github.com/OpenZeppelin/merkle-tree[JavaScript library].
* You will find a quickstart guide in the readme.
*
* WARNING: You should avoid using leaf values that are 64 bytes long prior to
* hashing, or use a hash function other than keccak256 for hashing leaves.
* This is because the concatenation of a sorted pair of internal nodes in
* the Merkle tree could be reinterpreted as a leaf value.
* OpenZeppelin's JavaScript library generates Merkle trees that are safe
* against this attack out of the box.
*
* IMPORTANT: Consider memory side-effects when using custom hashing functions
* that access memory in an unsafe way.
*
* NOTE: This library supports proof verification for merkle trees built using
* custom _commutative_ hashing functions (i.e. `H(a, b) == H(b, a)`). Proving
* leaf inclusion in trees built using non-commutative hashing functions requires
* additional logic that is not supported by this library.
*/
library MerkleProof {
/**
*@dev The multiproof provided is not valid.
*/
error MerkleProofInvalidMultiproof();
/**
* @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
* defined by `root`. For this, a `proof` must be provided, containing
* sibling hashes on the branch from the leaf to the root of the tree. Each
* pair of leaves and each pair of pre-images are assumed to be sorted.
*
* This version handles proofs in memory with the default hashing function.
*/
function verify(bytes32[] memory proof, bytes32 root, bytes32 leaf) internal pure returns (bool) {
return processProof(proof, leaf) == root;
}
/**
* @dev Returns the rebuilt hash obtained by traversing a Merkle tree up
* from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
* hash matches the root of the tree. When processing the proof, the pairs
* of leaves & pre-images are assumed to be sorted.
*
* This version handles proofs in memory with the default hashing function.
*/
function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
bytes32 computedHash = leaf;
for (uint256 i = 0; i < proof.length; i++) {
computedHash = Hashes.commutativeKeccak256(computedHash, proof[i]);
}
return computedHash;
}
/**
* @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
* defined by `root`. For this, a `proof` must be provided, containing
* sibling hashes on the branch from the leaf to the root of the tree. Each
* pair of leaves and each pair of pre-images are assumed to be sorted.
*
* This version handles proofs in memory with a custom hashing function.
*/
function verify(
bytes32[] memory proof,
bytes32 root,
bytes32 leaf,
function(bytes32, bytes32) view returns (bytes32) hasher
) internal view returns (bool) {
return processProof(proof, leaf, hasher) == root;
}
/**
* @dev Returns the rebuilt hash obtained by traversing a Merkle tree up
* from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
* hash matches the root of the tree. When processing the proof, the pairs
* of leaves & pre-images are assumed to be sorted.
*
* This version handles proofs in memory with a custom hashing function.
*/
function processProof(
bytes32[] memory proof,
bytes32 leaf,
function(bytes32, bytes32) view returns (bytes32) hasher
) internal view returns (bytes32) {
bytes32 computedHash = leaf;
for (uint256 i = 0; i < proof.length; i++) {
computedHash = hasher(computedHash, proof[i]);
}
return computedHash;
}
/**
* @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
* defined by `root`. For this, a `proof` must be provided, containing
* sibling hashes on the branch from the leaf to the root of the tree. Each
* pair of leaves and each pair of pre-images are assumed to be sorted.
*
* This version handles proofs in calldata with the default hashing function.
*/
function verifyCalldata(bytes32[] calldata proof, bytes32 root, bytes32 leaf) internal pure returns (bool) {
return processProofCalldata(proof, leaf) == root;
}
/**
* @dev Returns the rebuilt hash obtained by traversing a Merkle tree up
* from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
* hash matches the root of the tree. When processing the proof, the pairs
* of leaves & pre-images are assumed to be sorted.
*
* This version handles proofs in calldata with the default hashing function.
*/
function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
bytes32 computedHash = leaf;
for (uint256 i = 0; i < proof.length; i++) {
computedHash = Hashes.commutativeKeccak256(computedHash, proof[i]);
}
return computedHash;
}
/**
* @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
* defined by `root`. For this, a `proof` must be provided, containing
* sibling hashes on the branch from the leaf to the root of the tree. Each
* pair of leaves and each pair of pre-images are assumed to be sorted.
*
* This version handles proofs in calldata with a custom hashing function.
*/
function verifyCalldata(
bytes32[] calldata proof,
bytes32 root,
bytes32 leaf,
function(bytes32, bytes32) view returns (bytes32) hasher
) internal view returns (bool) {
return processProofCalldata(proof, leaf, hasher) == root;
}
/**
* @dev Returns the rebuilt hash obtained by traversing a Merkle tree up
* from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
* hash matches the root of the tree. When processing the proof, the pairs
* of leaves & pre-images are assumed to be sorted.
*
* This version handles proofs in calldata with a custom hashing function.
*/
function processProofCalldata(
bytes32[] calldata proof,
bytes32 leaf,
function(bytes32, bytes32) view returns (bytes32) hasher
) internal view returns (bytes32) {
bytes32 computedHash = leaf;
for (uint256 i = 0; i < proof.length; i++) {
computedHash = hasher(computedHash, proof[i]);
}
return computedHash;
}
/**
* @dev Returns true if the `leaves` can be simultaneously proven to be a part of a Merkle tree defined by
* `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
*
* This version handles multiproofs in memory with the default hashing function.
*
* CAUTION: Not all Merkle trees admit multiproofs. See {processMultiProof} for details.
*
* NOTE: Consider the case where `root == proof[0] && leaves.length == 0` as it will return `true`.
* The `leaves` must be validated independently. See {processMultiProof}.
*/
function multiProofVerify(
bytes32[] memory proof,
bool[] memory proofFlags,
bytes32 root,
bytes32[] memory leaves
) internal pure returns (bool) {
return processMultiProof(proof, proofFlags, leaves) == root;
}
/**
* @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction
* proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another
* leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false
* respectively.
*
* This version handles multiproofs in memory with the default hashing function.
*
* CAUTION: Not all Merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree
* is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the
* tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer).
*
* NOTE: The _empty set_ (i.e. the case where `proof.length == 1 && leaves.length == 0`) is considered a no-op,
* and therefore a valid multiproof (i.e. it returns `proof[0]`). Consider disallowing this case if you're not
* validating the leaves elsewhere.
*/
function processMultiProof(
bytes32[] memory proof,
bool[] memory proofFlags,
bytes32[] memory leaves
) internal pure returns (bytes32 merkleRoot) {
// This function rebuilds the root hash by traversing the tree up from the leaves. The root is rebuilt by
// consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
// `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
// the Merkle tree.
uint256 leavesLen = leaves.length;
uint256 proofFlagsLen = proofFlags.length;
// Check proof validity.
if (leavesLen + proof.length != proofFlagsLen + 1) {
revert MerkleProofInvalidMultiproof();
}
// The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
// `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
bytes32[] memory hashes = new bytes32[](proofFlagsLen);
uint256 leafPos = 0;
uint256 hashPos = 0;
uint256 proofPos = 0;
// At each step, we compute the next hash using two values:
// - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
// get the next hash.
// - depending on the flag, either another value from the "main queue" (merging branches) or an element from the
// `proof` array.
for (uint256 i = 0; i < proofFlagsLen; i++) {
bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
bytes32 b = proofFlags[i]
? (leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++])
: proof[proofPos++];
hashes[i] = Hashes.commutativeKeccak256(a, b);
}
if (proofFlagsLen > 0) {
if (proofPos != proof.length) {
revert MerkleProofInvalidMultiproof();
}
unchecked {
return hashes[proofFlagsLen - 1];
}
} else if (leavesLen > 0) {
return leaves[0];
} else {
return proof[0];
}
}
/**
* @dev Returns true if the `leaves` can be simultaneously proven to be a part of a Merkle tree defined by
* `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
*
* This version handles multiproofs in memory with a custom hashing function.
*
* CAUTION: Not all Merkle trees admit multiproofs. See {processMultiProof} for details.
*
* NOTE: Consider the case where `root == proof[0] && leaves.length == 0` as it will return `true`.
* The `leaves` must be validated independently. See {processMultiProof}.
*/
function multiProofVerify(
bytes32[] memory proof,
bool[] memory proofFlags,
bytes32 root,
bytes32[] memory leaves,
function(bytes32, bytes32) view returns (bytes32) hasher
) internal view returns (bool) {
return processMultiProof(proof, proofFlags, leaves, hasher) == root;
}
/**
* @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction
* proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another
* leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false
* respectively.
*
* This version handles multiproofs in memory with a custom hashing function.
*
* CAUTION: Not all Merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree
* is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the
* tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer).
*
* NOTE: The _empty set_ (i.e. the case where `proof.length == 1 && leaves.length == 0`) is considered a no-op,
* and therefore a valid multiproof (i.e. it returns `proof[0]`). Consider disallowing this case if you're not
* validating the leaves elsewhere.
*/
function processMultiProof(
bytes32[] memory proof,
bool[] memory proofFlags,
bytes32[] memory leaves,
function(bytes32, bytes32) view returns (bytes32) hasher
) internal view returns (bytes32 merkleRoot) {
// This function rebuilds the root hash by traversing the tree up from the leaves. The root is rebuilt by
// consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
// `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
// the Merkle tree.
uint256 leavesLen = leaves.length;
uint256 proofFlagsLen = proofFlags.length;
// Check proof validity.
if (leavesLen + proof.length != proofFlagsLen + 1) {
revert MerkleProofInvalidMultiproof();
}
// The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
// `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
bytes32[] memory hashes = new bytes32[](proofFlagsLen);
uint256 leafPos = 0;
uint256 hashPos = 0;
uint256 proofPos = 0;
// At each step, we compute the next hash using two values:
// - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
// get the next hash.
// - depending on the flag, either another value from the "main queue" (merging branches) or an element from the
// `proof` array.
for (uint256 i = 0; i < proofFlagsLen; i++) {
bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
bytes32 b = proofFlags[i]
? (leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++])
: proof[proofPos++];
hashes[i] = hasher(a, b);
}
if (proofFlagsLen > 0) {
if (proofPos != proof.length) {
revert MerkleProofInvalidMultiproof();
}
unchecked {
return hashes[proofFlagsLen - 1];
}
} else if (leavesLen > 0) {
return leaves[0];
} else {
return proof[0];
}
}
/**
* @dev Returns true if the `leaves` can be simultaneously proven to be a part of a Merkle tree defined by
* `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
*
* This version handles multiproofs in calldata with the default hashing function.
*
* CAUTION: Not all Merkle trees admit multiproofs. See {processMultiProof} for details.
*
* NOTE: Consider the case where `root == proof[0] && leaves.length == 0` as it will return `true`.
* The `leaves` must be validated independently. See {processMultiProofCalldata}.
*/
function multiProofVerifyCalldata(
bytes32[] calldata proof,
bool[] calldata proofFlags,
bytes32 root,
bytes32[] memory leaves
) internal pure returns (bool) {
return processMultiProofCalldata(proof, proofFlags, leaves) == root;
}
/**
* @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction
* proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another
* leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false
* respectively.
*
* This version handles multiproofs in calldata with the default hashing function.
*
* CAUTION: Not all Merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree
* is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the
* tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer).
*
* NOTE: The _empty set_ (i.e. the case where `proof.length == 1 && leaves.length == 0`) is considered a no-op,
* and therefore a valid multiproof (i.e. it returns `proof[0]`). Consider disallowing this case if you're not
* validating the leaves elsewhere.
*/
function processMultiProofCalldata(
bytes32[] calldata proof,
bool[] calldata proofFlags,
bytes32[] memory leaves
) internal pure returns (bytes32 merkleRoot) {
// This function rebuilds the root hash by traversing the tree up from the leaves. The root is rebuilt by
// consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
// `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
// the Merkle tree.
uint256 leavesLen = leaves.length;
uint256 proofFlagsLen = proofFlags.length;
// Check proof validity.
if (leavesLen + proof.length != proofFlagsLen + 1) {
revert MerkleProofInvalidMultiproof();
}
// The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
// `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
bytes32[] memory hashes = new bytes32[](proofFlagsLen);
uint256 leafPos = 0;
uint256 hashPos = 0;
uint256 proofPos = 0;
// At each step, we compute the next hash using two values:
// - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
// get the next hash.
// - depending on the flag, either another value from the "main queue" (merging branches) or an element from the
// `proof` array.
for (uint256 i = 0; i < proofFlagsLen; i++) {
bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
bytes32 b = proofFlags[i]
? (leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++])
: proof[proofPos++];
hashes[i] = Hashes.commutativeKeccak256(a, b);
}
if (proofFlagsLen > 0) {
if (proofPos != proof.length) {
revert MerkleProofInvalidMultiproof();
}
unchecked {
return hashes[proofFlagsLen - 1];
}
} else if (leavesLen > 0) {
return leaves[0];
} else {
return proof[0];
}
}
/**
* @dev Returns true if the `leaves` can be simultaneously proven to be a part of a Merkle tree defined by
* `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
*
* This version handles multiproofs in calldata with a custom hashing function.
*
* CAUTION: Not all Merkle trees admit multiproofs. See {processMultiProof} for details.
*
* NOTE: Consider the case where `root == proof[0] && leaves.length == 0` as it will return `true`.
* The `leaves` must be validated independently. See {processMultiProofCalldata}.
*/
function multiProofVerifyCalldata(
bytes32[] calldata proof,
bool[] calldata proofFlags,
bytes32 root,
bytes32[] memory leaves,
function(bytes32, bytes32) view returns (bytes32) hasher
) internal view returns (bool) {
return processMultiProofCalldata(proof, proofFlags, leaves, hasher) == root;
}
/**
* @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction
* proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another
* leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false
* respectively.
*
* This version handles multiproofs in calldata with a custom hashing function.
*
* CAUTION: Not all Merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree
* is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the
* tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer).
*
* NOTE: The _empty set_ (i.e. the case where `proof.length == 1 && leaves.length == 0`) is considered a no-op,
* and therefore a valid multiproof (i.e. it returns `proof[0]`). Consider disallowing this case if you're not
* validating the leaves elsewhere.
*/
function processMultiProofCalldata(
bytes32[] calldata proof,
bool[] calldata proofFlags,
bytes32[] memory leaves,
function(bytes32, bytes32) view returns (bytes32) hasher
) internal view returns (bytes32 merkleRoot) {
// This function rebuilds the root hash by traversing the tree up from the leaves. The root is rebuilt by
// consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
// `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
// the Merkle tree.
uint256 leavesLen = leaves.length;
uint256 proofFlagsLen = proofFlags.length;
// Check proof validity.
if (leavesLen + proof.length != proofFlagsLen + 1) {
revert MerkleProofInvalidMultiproof();
}
// The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
// `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
bytes32[] memory hashes = new bytes32[](proofFlagsLen);
uint256 leafPos = 0;
uint256 hashPos = 0;
uint256 proofPos = 0;
// At each step, we compute the next hash using two values:
// - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
// get the next hash.
// - depending on the flag, either another value from the "main queue" (merging branches) or an element from the
// `proof` array.
for (uint256 i = 0; i < proofFlagsLen; i++) {
bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
bytes32 b = proofFlags[i]
? (leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++])
: proof[proofPos++];
hashes[i] = hasher(a, b);
}
if (proofFlagsLen > 0) {
if (proofPos != proof.length) {
revert MerkleProofInvalidMultiproof();
}
unchecked {
return hashes[proofFlagsLen - 1];
}
} else if (leavesLen > 0) {
return leaves[0];
} else {
return proof[0];
}
}
}
// lib/openzeppelin-contracts/contracts/access/Ownable.sol
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)
/**
* @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.
*
* The initial owner is set to the address provided by the deployer. 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;
/**
* @dev The caller account is not authorized to perform an operation.
*/
error OwnableUnauthorizedAccount(address account);
/**
* @dev The owner is not a valid owner account. (eg. `address(0)`)
*/
error OwnableInvalidOwner(address owner);
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the address provided by the deployer as the initial owner.
*/
constructor(address initialOwner) {
if (initialOwner == address(0)) {
revert OwnableInvalidOwner(address(0));
}
_transferOwnership(initialOwner);
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
_checkOwner();
_;
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if the sender is not the owner.
*/
function _checkOwner() internal view virtual {
if (owner() != _msgSender()) {
revert OwnableUnauthorizedAccount(_msgSender());
}
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby disabling 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 {
if (newOwner == address(0)) {
revert OwnableInvalidOwner(address(0));
}
_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);
}
}
// lib/openzeppelin-contracts/contracts/token/common/ERC2981.sol
// OpenZeppelin Contracts (last updated v5.1.0) (token/common/ERC2981.sol)
/**
* @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
*
* Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
* specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
*
* Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
* fee is specified in basis points by default.
*
* IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
* https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the ERC. Marketplaces are expected to
* voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
*/
abstract contract ERC2981 is IERC2981, ERC165 {
struct RoyaltyInfo {
address receiver;
uint96 royaltyFraction;
}
RoyaltyInfo private _defaultRoyaltyInfo;
mapping(uint256 tokenId => RoyaltyInfo) private _tokenRoyaltyInfo;
/**
* @dev The default royalty set is invalid (eg. (numerator / denominator) >= 1).
*/
error ERC2981InvalidDefaultRoyalty(uint256 numerator, uint256 denominator);
/**
* @dev The default royalty receiver is invalid.
*/
error ERC2981InvalidDefaultRoyaltyReceiver(address receiver);
/**
* @dev The royalty set for a specific `tokenId` is invalid (eg. (numerator / denominator) >= 1).
*/
error ERC2981InvalidTokenRoyalty(uint256 tokenId, uint256 numerator, uint256 denominator);
/**
* @dev The royalty receiver for `tokenId` is invalid.
*/
error ERC2981InvalidTokenRoyaltyReceiver(uint256 tokenId, address receiver);
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) {
return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId);
}
/**
* @inheritdoc IERC2981
*/
function royaltyInfo(
uint256 tokenId,
uint256 salePrice
) public view virtual returns (address receiver, uint256 amount) {
RoyaltyInfo storage _royaltyInfo = _tokenRoyaltyInfo[tokenId];
address royaltyReceiver = _royaltyInfo.receiver;
uint96 royaltyFraction = _royaltyInfo.royaltyFraction;
if (royaltyReceiver == address(0)) {
royaltyReceiver = _defaultRoyaltyInfo.receiver;
royaltyFraction = _defaultRoyaltyInfo.royaltyFraction;
}
uint256 royaltyAmount = (salePrice * royaltyFraction) / _feeDenominator();
return (royaltyReceiver, royaltyAmount);
}
/**
* @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
* fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
* override.
*/
function _feeDenominator() internal pure virtual returns (uint96) {
return 10000;
}
/**
* @dev Sets the royalty information that all ids in this contract will default to.
*
* Requirements:
*
* - `receiver` cannot be the zero address.
* - `feeNumerator` cannot be greater than the fee denominator.
*/
function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
uint256 denominator = _feeDenominator();
if (feeNumerator > denominator) {
// Royalty fee will exceed the sale price
revert ERC2981InvalidDefaultRoyalty(feeNumerator, denominator);
}
if (receiver == address(0)) {
revert ERC2981InvalidDefaultRoyaltyReceiver(address(0));
}
_defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
}
/**
* @dev Removes default royalty information.
*/
function _deleteDefaultRoyalty() internal virtual {
delete _defaultRoyaltyInfo;
}
/**
* @dev Sets the royalty information for a specific token id, overriding the global default.
*
* Requirements:
*
* - `receiver` cannot be the zero address.
* - `feeNumerator` cannot be greater than the fee denominator.
*/
function _setTokenRoyalty(uint256 tokenId, address receiver, uint96 feeNumerator) internal virtual {
uint256 denominator = _feeDenominator();
if (feeNumerator > denominator) {
// Royalty fee will exceed the sale price
revert ERC2981InvalidTokenRoyalty(tokenId, feeNumerator, denominator);
}
if (receiver == address(0)) {
revert ERC2981InvalidTokenRoyaltyReceiver(tokenId, address(0));
}
_tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
}
/**
* @dev Resets royalty information for the token id back to the global default.
*/
function _resetTokenRoyalty(uint256 tokenId) internal virtual {
delete _tokenRoyaltyInfo[tokenId];
}
}
// output/contracts/KidsOnHype.sol
error MaxSupplyExceeded();
error PublicSaleClosed();
error TransfersLocked();
error NotAllowedByRegistry();
error RegistryNotSet();
error WrongWeiSent();
error MaxFeeExceeded();
error InputLengthsMismatch();
error InvalidMerkleProof();
error InvalidLaunchpadFee();
error InvalidLaunchpadFeeAddress();
error TransferFailed();
error PaymentTransferFailed();
error FeeTransferFailed();
error NotEnoughBalance();
error NotEnoughAllowance();
interface ICreatorToken {
event TransferValidatorUpdated(address oldValidator, address newValidator);
function getTransferValidator() external view returns (address validator);
function getTransferValidationFunction() external view
returns (bytes4 functionSignature, bool isViewFunction);
function setTransferValidator(address validator) external;
}
interface ITransferValidator {
function validateTransfer(address caller, address from, address to, uint256 tokenId) external view;
}
interface IRegistry {
function isAllowedOperator(address operator) external view returns (bool);
}
interface IERC20 {
function transfer(address recipient, uint256 amount) external returns (bool);
function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);
function isApprovedForAll(address owner, address spender) external view returns (bool);
function approve(address spender, uint256 amount) external returns (bool);
function allowance(address owner, address spender) external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
}
contract KidsOnHype is Ownable, OperatorFilterer, ERC2981, ERC721A, ICreatorToken {
// Transfer validator for royalty enforcement
address private _transferValidator;
bytes4 private constant VALIDATE_TRANSFER_SELECTOR = 0xcaee23ea;
// Launchpad Fee
uint256 public launchpadFee = 22366360993066426;
uint256 public launchpadCutBps = 500;
address public launchpadFeeAddress = 0xbDb9e0b47a02C45E3b50973A18452DC23CE72697;
event LaunchpadFeeSent(address indexed feeAddress, uint256 feeAmount);
event TokenPaymentSent(address indexed recipient, uint256 amount);
using BitMaps for BitMaps.BitMap;
address public currency = 0x0000000000000000000000000000000000000000;
uint256 public maxSupply = 1222;
bool public operatorFilteringEnabled = true;
bool public initialTransferLockOn = true;
bool public isRegistryActive;
address public registryAddress;
string private _baseTokenURI = "";
string private _placeHolderTokenURI = "https://mintify-launchpad.nyc3.cdn.digitaloceanspaces.com/c61a9153-1ec8-4145-9fca-8debf9591af9.webp";
// Phase 1 variables
uint256 public startTimePhase1 = 1753549200;
uint256 public endTimePhase1 = 1753550100;
uint256 public maxSupplyPhase1 = 0;
uint256 public totalSupplyPhase1;
uint256 public pricePhase1 = 0;
uint256 public maxPerWalletPhase1 = 1;
bytes32 public merkleRootPhase1 = 0xb3354b93cd26d4d33a0775b5332949e99909a02d9ceffd70c4735006c7a522b7;
mapping(address => uint256) public walletMintsPhase1;
// Phase 2 variables
uint256 public startTimePhase2 = 1753550100;
uint256 public endTimePhase2 = 1753636500;
uint256 public maxSupplyPhase2 = 0;
uint256 public totalSupplyPhase2;
uint256 public pricePhase2 = 70000000000000000;
uint256 public maxPerWalletPhase2 = 3;
bytes32 public merkleRootPhase2 = 0xec9b552e70f2fe5a4e4c849641368ea1639fd76067c9dbd8e9556451e8a4930d;
mapping(address => uint256) public walletMintsPhase2;
// Phase 3 variables
uint256 public startTimePhase3 = 1753636500;
uint256 public endTimePhase3 = 1753647300;
uint256 public maxSupplyPhase3 = 0;
uint256 public totalSupplyPhase3;
uint256 public pricePhase3 = 200000000000000000;
uint256 public maxPerWalletPhase3 = 5;
bytes32 public merkleRootPhase3 = 0x0;
mapping(address => uint256) public walletMintsPhase3;
constructor() ERC721A("KidsOnHype", "KOH") Ownable(msg.sender) {
// Register operator filtering
_registerForOperatorFiltering();
// Set initial royalty
_setDefaultRoyalty(0x9badAB3b3bbb09017Ca8b95888010d2635F80A3E, 500);
}
// Phase 1 Mint
function mintPhase1(bytes32[] calldata merkleProof, uint256 quantity) external payable {
// Check if mint has started
if (startTimePhase1 != 0 && block.timestamp < startTimePhase1) {
revert PublicSaleClosed();
}
// Check if mint has ended
if (endTimePhase1 != 0 && block.timestamp > endTimePhase1) {
revert PublicSaleClosed();
}
// Check if the mint will exceed total max supply, if set.
if (maxSupply != 0 && totalSupply() + quantity > maxSupply) {
revert MaxSupplyExceeded();
}
// If phase max supply is set, check if it's exceeded
if (maxSupplyPhase1 != 0 && totalSupplyPhase1 + quantity > maxSupplyPhase1) {
revert MaxSupplyExceeded();
}
uint256 totalOrderPrice = (pricePhase1 + launchpadFee) * quantity;
// Check if the price is correct if native currency
if (currency == address(0)) {
if (msg.value != totalOrderPrice) {
revert WrongWeiSent();
}
}
else {
// Check if the user has enough balance and allowance if ERC20
IERC20 token = IERC20(currency);
if (token.balanceOf(msg.sender) < totalOrderPrice) {
revert NotEnoughBalance();
}
if (token.allowance(msg.sender, address(this)) < totalOrderPrice) {
revert NotEnoughAllowance();
}
}
// Check if the proof is set, and if it is valid
if (merkleRootPhase1 != bytes32(0)) {
// Using Merkle Tree
bytes32 node = keccak256(abi.encodePacked(msg.sender));
if (!MerkleProof.verify(merkleProof, merkleRootPhase1, node)) {
revert InvalidMerkleProof();
}
}
// Check if we have exceeded phase max per wallet if set.
if (maxPerWalletPhase1 != 0 && walletMintsPhase1[msg.sender] + quantity > maxPerWalletPhase1) {
revert MaxSupplyExceeded();
}
uint256 flatFees = 0;
// Get the Launchpad Flat Fee if set
if (launchpadFee != 0 && launchpadFeeAddress != address(0)) {
flatFees = launchpadFee * quantity;
}
// Get the Launchpad Percentage Fee if set
uint256 percentageFees = 0;
if (launchpadCutBps != 0 && launchpadFeeAddress != address(0)) {
percentageFees = (launchpadCutBps * (totalOrderPrice - flatFees)) / 10000;
}
// Send the fees
uint256 totalFees = flatFees + percentageFees;
if (totalFees != 0) {
_sendLaunchpadFee(totalFees);
}
// Transfer the payment if ERC20
if (currency != address(0) && totalOrderPrice > totalFees) {
_sendTokenPayment(address(this), totalOrderPrice - totalFees);
}
// Mint the tokens
walletMintsPhase1[msg.sender] += quantity;
totalSupplyPhase1 += quantity;
_mint(msg.sender, quantity);
}
// Phase 2 Mint
function mintPhase2(bytes32[] calldata merkleProof, uint256 quantity) external payable {
// Check if mint has started
if (startTimePhase2 != 0 && block.timestamp < startTimePhase2) {
revert PublicSaleClosed();
}
// Check if mint has ended
if (endTimePhase2 != 0 && block.timestamp > endTimePhase2) {
revert PublicSaleClosed();
}
// Check if the mint will exceed total max supply, if set.
if (maxSupply != 0 && totalSupply() + quantity > maxSupply) {
revert MaxSupplyExceeded();
}
// If phase max supply is set, check if it's exceeded
if (maxSupplyPhase2 != 0 && totalSupplyPhase2 + quantity > maxSupplyPhase2) {
revert MaxSupplyExceeded();
}
uint256 totalOrderPrice = (pricePhase2 + launchpadFee) * quantity;
// Check if the price is correct if native currency
if (currency == address(0)) {
if (msg.value != totalOrderPrice) {
revert WrongWeiSent();
}
}
else {
// Check if the user has enough balance and allowance if ERC20
IERC20 token = IERC20(currency);
if (token.balanceOf(msg.sender) < totalOrderPrice) {
revert NotEnoughBalance();
}
if (token.allowance(msg.sender, address(this)) < totalOrderPrice) {
revert NotEnoughAllowance();
}
}
// Check if the proof is set, and if it is valid
if (merkleRootPhase2 != bytes32(0)) {
// Using Merkle Tree
bytes32 node = keccak256(abi.encodePacked(msg.sender));
if (!MerkleProof.verify(merkleProof, merkleRootPhase2, node)) {
revert InvalidMerkleProof();
}
}
// Check if we have exceeded phase max per wallet if set.
if (maxPerWalletPhase2 != 0 && walletMintsPhase2[msg.sender] + quantity > maxPerWalletPhase2) {
revert MaxSupplyExceeded();
}
uint256 flatFees = 0;
// Get the Launchpad Flat Fee if set
if (launchpadFee != 0 && launchpadFeeAddress != address(0)) {
flatFees = launchpadFee * quantity;
}
// Get the Launchpad Percentage Fee if set
uint256 percentageFees = 0;
if (launchpadCutBps != 0 && launchpadFeeAddress != address(0)) {
percentageFees = (launchpadCutBps * (totalOrderPrice - flatFees)) / 10000;
}
// Send the fees
uint256 totalFees = flatFees + percentageFees;
if (totalFees != 0) {
_sendLaunchpadFee(totalFees);
}
// Transfer the payment if ERC20
if (currency != address(0) && totalOrderPrice > totalFees) {
_sendTokenPayment(address(this), totalOrderPrice - totalFees);
}
// Mint the tokens
walletMintsPhase2[msg.sender] += quantity;
totalSupplyPhase2 += quantity;
_mint(msg.sender, quantity);
}
// Phase 3 Mint
function mintPhase3(uint256 quantity) external payable {
// Check if mint has started
if (startTimePhase3 != 0 && block.timestamp < startTimePhase3) {
revert PublicSaleClosed();
}
// Check if mint has ended
if (endTimePhase3 != 0 && block.timestamp > endTimePhase3) {
revert PublicSaleClosed();
}
// Check if the mint will exceed total max supply, if set.
if (maxSupply != 0 && totalSupply() + quantity > maxSupply) {
revert MaxSupplyExceeded();
}
// If phase max supply is set, check if it's exceeded
if (maxSupplyPhase3 != 0 && totalSupplyPhase3 + quantity > maxSupplyPhase3) {
revert MaxSupplyExceeded();
}
uint256 totalOrderPrice = (pricePhase3 + launchpadFee) * quantity;
// Check if the price is correct if native currency
if (currency == address(0)) {
if (msg.value != totalOrderPrice) {
revert WrongWeiSent();
}
}
else {
// Check if the user has enough balance and allowance if ERC20
IERC20 token = IERC20(currency);
if (token.balanceOf(msg.sender) < totalOrderPrice) {
revert NotEnoughBalance();
}
if (token.allowance(msg.sender, address(this)) < totalOrderPrice) {
revert NotEnoughAllowance();
}
}
// Check if we have exceeded phase max per wallet if set.
if (maxPerWalletPhase3 != 0 && walletMintsPhase3[msg.sender] + quantity > maxPerWalletPhase3) {
revert MaxSupplyExceeded();
}
uint256 flatFees = 0;
// Get the Launchpad Flat Fee if set
if (launchpadFee != 0 && launchpadFeeAddress != address(0)) {
flatFees = launchpadFee * quantity;
}
// Get the Launchpad Percentage Fee if set
uint256 percentageFees = 0;
if (launchpadCutBps != 0 && launchpadFeeAddress != address(0)) {
percentageFees = (launchpadCutBps * (totalOrderPrice - flatFees)) / 10000;
}
// Send the fees
uint256 totalFees = flatFees + percentageFees;
if (totalFees != 0) {
_sendLaunchpadFee(totalFees);
}
// Transfer the payment if ERC20
if (currency != address(0) && totalOrderPrice > totalFees) {
_sendTokenPayment(address(this), totalOrderPrice - totalFees);
}
// Mint the tokens
walletMintsPhase3[msg.sender] += quantity;
totalSupplyPhase3 += quantity;
_mint(msg.sender, quantity);
}
// =========================================================================
// Owner Only Functions
// =========================================================================
// Owner airdrop
function airDrop(address[] memory users, uint256[] memory amounts) external onlyOwner {
// iterate over users and amounts
if (users.length != amounts.length) {
revert InputLengthsMismatch();
}
for (uint256 i; i < users.length;) {
if (maxSupply != 0 && totalSupply() + amounts[i] > maxSupply) {
revert MaxSupplyExceeded();
}
_mint(users[i], amounts[i]);
unchecked {
++i;
}
}
}
// Owner unrestricted mint
function ownerMint(address to, uint256 quantity) external onlyOwner {
if (maxSupply != 0 && totalSupply() + quantity > maxSupply) {
revert MaxSupplyExceeded();
}
_mint(to, quantity);
}
// Set max supply
function setMaxSupply(uint256 newMaxSupply) external onlyOwner {
maxSupply = newMaxSupply;
}
// Withdraw Balance to owner
function withdraw() public onlyOwner {
(bool success, ) = payable(owner()).call{value: address(this).balance}("");
if (!success) {
revert TransferFailed();
}
}
// Withdraw Balance to Address
function withdrawTo(address payable _to) public onlyOwner {
(bool success, ) = payable(_to).call{value: address(this).balance}("");
if (!success) {
revert TransferFailed();
}
}
// Withdraw ERC20 to owner
function withdrawERC20(address tokenAddress) public onlyOwner {
IERC20 token = IERC20(tokenAddress);
uint256 balance = token.balanceOf(address(this));
if (balance == 0) {
revert TransferFailed();
}
bool success = token.transfer(owner(), balance);
if (!success) {
revert TransferFailed();
}
}
// Withdraw ERC20 to Address
function withdrawERC20To(address tokenAddress, address to) public onlyOwner {
IERC20 token = IERC20(tokenAddress);
uint256 balance = token.balanceOf(address(this));
if (balance == 0) {
revert TransferFailed();
}
bool success = token.transfer(to, balance);
if (!success) {
revert TransferFailed();
}
}
// Send Launchpad Flat Fee
function _sendLaunchpadFee(uint256 feeAmount) private {
if (feeAmount == 0) {
revert InvalidLaunchpadFee();
}
if (launchpadFeeAddress == address(0)) {
revert InvalidLaunchpadFeeAddress();
}
if (currency == address(0)) {
(bool success, ) = payable(launchpadFeeAddress).call{value: feeAmount}("");
if (!success) {
revert FeeTransferFailed();
}
}
else {
// Transfer the fee in the specified currency
IERC20 token = IERC20(currency);
try token.transferFrom(msg.sender, launchpadFeeAddress, feeAmount) {
// Success
} catch {
revert FeeTransferFailed();
}
}
emit LaunchpadFeeSent(launchpadFeeAddress, feeAmount);
}
// Send ERC20 Payment
function _sendTokenPayment(address recipient, uint256 amount) private {
if (amount == 0) {
revert PaymentTransferFailed();
}
if (recipient == address(0)) {
revert PaymentTransferFailed();
}
// Transfer the fee in the specified currency
IERC20 token = IERC20(currency);
try token.transferFrom(msg.sender, address(this), amount) {
// Success
} catch {
revert PaymentTransferFailed();
}
emit TokenPaymentSent(recipient, amount);
}
// Break Transfer Lock
function breakLock() external onlyOwner {
initialTransferLockOn = false;
}
// Set the start time for the phase
function setStartTimePhase1(uint256 newStartTime) external onlyOwner {
startTimePhase1 = newStartTime;
}
// Set the end time for the phase
function setEndTimePhase1(uint256 newEndTime) external onlyOwner {
endTimePhase1 = newEndTime;
}
// Set the max supply for the phase
function setMaxSupplyPhase1(uint256 newMaxSupply) external onlyOwner {
maxSupplyPhase1 = newMaxSupply;
}
// Set max per wallet for the phase
function setMaxPerWalletPhase1(uint256 newMaxPerWallet) external onlyOwner {
maxPerWalletPhase1 = newMaxPerWallet;
}
// Set the price for the phase
function setPricePhase1(uint256 newPrice) external onlyOwner {
pricePhase1 = newPrice;
}
// Set the merkle root for the phase
function setMerkleRootPhase1(bytes32 newMerkleRoot) external onlyOwner {
merkleRootPhase1 = newMerkleRoot;
}// Set the start time for the phase
function setStartTimePhase2(uint256 newStartTime) external onlyOwner {
startTimePhase2 = newStartTime;
}
// Set the end time for the phase
function setEndTimePhase2(uint256 newEndTime) external onlyOwner {
endTimePhase2 = newEndTime;
}
// Set the max supply for the phase
function setMaxSupplyPhase2(uint256 newMaxSupply) external onlyOwner {
maxSupplyPhase2 = newMaxSupply;
}
// Set max per wallet for the phase
function setMaxPerWalletPhase2(uint256 newMaxPerWallet) external onlyOwner {
maxPerWalletPhase2 = newMaxPerWallet;
}
// Set the price for the phase
function setPricePhase2(uint256 newPrice) external onlyOwner {
pricePhase2 = newPrice;
}
// Set the merkle root for the phase
function setMerkleRootPhase2(bytes32 newMerkleRoot) external onlyOwner {
merkleRootPhase2 = newMerkleRoot;
}// Set the start time for the phase
function setStartTimePhase3(uint256 newStartTime) external onlyOwner {
startTimePhase3 = newStartTime;
}
// Set the end time for the phase
function setEndTimePhase3(uint256 newEndTime) external onlyOwner {
endTimePhase3 = newEndTime;
}
// Set the max supply for the phase
function setMaxSupplyPhase3(uint256 newMaxSupply) external onlyOwner {
maxSupplyPhase3 = newMaxSupply;
}
// Set max per wallet for the phase
function setMaxPerWalletPhase3(uint256 newMaxPerWallet) external onlyOwner {
maxPerWalletPhase3 = newMaxPerWallet;
}
// Set the price for the phase
function setPricePhase3(uint256 newPrice) external onlyOwner {
pricePhase3 = newPrice;
}
// Set the merkle root for the phase
function setMerkleRootPhase3(bytes32 newMerkleRoot) external onlyOwner {
merkleRootPhase3 = newMerkleRoot;
}
// =========================================================================
// ERC721A Misc
// =========================================================================
function _startTokenId() internal pure override returns (uint256) {
return 1;
}
// =========================================================================
// ICreatorToken Implementation
// =========================================================================
function getTransferValidator() external view override returns (address validator) {
return _transferValidator;
}
function getTransferValidationFunction() external pure override
returns (bytes4 functionSignature, bool isViewFunction) {
return (VALIDATE_TRANSFER_SELECTOR, true);
}
function setTransferValidator(address validator) external override onlyOwner {
address oldValidator = _transferValidator;
_transferValidator = validator;
emit TransferValidatorUpdated(oldValidator, validator);
}
// =========================================================================
// Operator filtering
// =========================================================================
function setApprovalForAll(address operator, bool approved)
public
override (ERC721A)
onlyAllowedOperatorApproval(operator)
{
if (initialTransferLockOn) {
revert TransfersLocked();
}
super.setApprovalForAll(operator, approved);
}
function approve(address operator, uint256 tokenId)
public
payable
override (ERC721A)
onlyAllowedOperatorApproval(operator)
{
if (initialTransferLockOn) {
revert TransfersLocked();
}
super.approve(operator, tokenId);
}
function transferFrom(address from, address to, uint256 tokenId)
public
payable
override (ERC721A)
onlyAllowedOperator(from)
{
super.transferFrom(from, to, tokenId);
}
function safeTransferFrom(address from, address to, uint256 tokenId)
public
payable
override (ERC721A)
onlyAllowedOperator(from)
{
super.safeTransferFrom(from, to, tokenId);
}
function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data)
public
payable
override (ERC721A)
onlyAllowedOperator(from)
{
super.safeTransferFrom(from, to, tokenId, data);
}
function setOperatorFilteringEnabled(bool value) public onlyOwner {
operatorFilteringEnabled = value;
}
function _operatorFilteringEnabled() internal view override returns (bool) {
return operatorFilteringEnabled;
}
// =========================================================================
// Registry Check
// =========================================================================
function _beforeTokenTransfers(
address from,
address to,
uint256 startTokenId,
uint256 quantity
) internal override {
// Check transfer lock
if (initialTransferLockOn && from != address(0) && to != address(0)) {
revert TransfersLocked();
}
// Check your custom registry
if (!_isValidAgainstRegistry(msg.sender)) {
revert NotAllowedByRegistry();
}
// Add royalty enforcement validation (skip for minting)
if (from != address(0) && _transferValidator != address(0)) {
// For ERC721A batch transfers, validate each token
for (uint256 i = 0; i < quantity; i++) {
ITransferValidator(_transferValidator).validateTransfer(
msg.sender,
from,
to,
startTokenId + i
);
}
}
super._beforeTokenTransfers(from, to, startTokenId, quantity);
}
function _isValidAgainstRegistry(address operator)
internal
view
returns (bool)
{
if (isRegistryActive) {
IRegistry registry = IRegistry(registryAddress);
return registry.isAllowedOperator(operator);
}
return true;
}
function setIsRegistryActive(bool _isRegistryActive) external onlyOwner {
if (registryAddress == address(0)) revert RegistryNotSet();
isRegistryActive = _isRegistryActive;
}
function setRegistryAddress(address _registryAddress) external onlyOwner {
registryAddress = _registryAddress;
}
// =========================================================================
// ERC165
// =========================================================================
function supportsInterface(bytes4 interfaceId) public view override (ERC721A, ERC2981) returns (bool) {
return
interfaceId == type(ICreatorToken).interfaceId ||
ERC721A.supportsInterface(interfaceId) ||
ERC2981.supportsInterface(interfaceId);
}
// =========================================================================
// ERC2891
// =========================================================================
function setDefaultRoyalty(address receiver, uint96 feeNumerator) public onlyOwner {
if (feeNumerator > 1000) {
revert MaxFeeExceeded();
}
_setDefaultRoyalty(receiver, feeNumerator);
}
function setTokenRoyalty(
uint256 tokenId,
address receiver,
uint96 feeNumerator
) external onlyOwner {
if (feeNumerator > 1000) {
revert MaxFeeExceeded();
}
_setTokenRoyalty(tokenId, receiver, feeNumerator);
}
// =========================================================================
// Metadata
// =========================================================================
function setBaseURI(string calldata baseURI) external onlyOwner {
_baseTokenURI = baseURI;
}
function setPlaceholderBaseURI(string calldata placeholderURI) external onlyOwner {
_placeHolderTokenURI = placeholderURI;
}
function _baseURI() internal view override returns (string memory) {
return _baseTokenURI;
}
function _placeHolderURI() internal view returns (string memory) {
return _placeHolderTokenURI;
}
function tokenURI(uint256 tokenId) public view override returns (string memory) {
if (!_exists(tokenId)) revert URIQueryForNonexistentToken();
string memory baseURI = _baseURI();
string memory placeHolderURI = _placeHolderURI();
if (bytes(baseURI).length != 0) {
return string(abi.encodePacked(baseURI, "/", _toString(tokenId), ".json"));
}
if (bytes(placeHolderURI).length != 0) {
return placeHolderURI;
}
return "";
}
}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":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[{"internalType":"uint256","name":"numerator","type":"uint256"},{"internalType":"uint256","name":"denominator","type":"uint256"}],"name":"ERC2981InvalidDefaultRoyalty","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC2981InvalidDefaultRoyaltyReceiver","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"numerator","type":"uint256"},{"internalType":"uint256","name":"denominator","type":"uint256"}],"name":"ERC2981InvalidTokenRoyalty","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC2981InvalidTokenRoyaltyReceiver","type":"error"},{"inputs":[],"name":"FeeTransferFailed","type":"error"},{"inputs":[],"name":"InputLengthsMismatch","type":"error"},{"inputs":[],"name":"InvalidLaunchpadFee","type":"error"},{"inputs":[],"name":"InvalidLaunchpadFeeAddress","type":"error"},{"inputs":[],"name":"InvalidMerkleProof","type":"error"},{"inputs":[],"name":"MaxFeeExceeded","type":"error"},{"inputs":[],"name":"MaxSupplyExceeded","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"NotAllowedByRegistry","type":"error"},{"inputs":[],"name":"NotEnoughAllowance","type":"error"},{"inputs":[],"name":"NotEnoughBalance","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"PaymentTransferFailed","type":"error"},{"inputs":[],"name":"PublicSaleClosed","type":"error"},{"inputs":[],"name":"RegistryNotSet","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFailed","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"TransfersLocked","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"WrongWeiSent","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"feeAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"feeAmount","type":"uint256"}],"name":"LaunchpadFeeSent","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":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TokenPaymentSent","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldValidator","type":"address"},{"indexed":false,"internalType":"address","name":"newValidator","type":"address"}],"name":"TransferValidatorUpdated","type":"event"},{"inputs":[{"internalType":"address[]","name":"users","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"airDrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"breakLock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"currency","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"endTimePhase1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"endTimePhase2","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"endTimePhase3","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTransferValidationFunction","outputs":[{"internalType":"bytes4","name":"functionSignature","type":"bytes4"},{"internalType":"bool","name":"isViewFunction","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"getTransferValidator","outputs":[{"internalType":"address","name":"validator","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"initialTransferLockOn","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":"isRegistryActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"launchpadCutBps","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"launchpadFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"launchpadFeeAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWalletPhase1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWalletPhase2","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWalletPhase3","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupplyPhase1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupplyPhase2","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupplyPhase3","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRootPhase1","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRootPhase2","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRootPhase3","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintPhase1","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintPhase2","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintPhase3","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operatorFilteringEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pricePhase1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pricePhase2","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pricePhase3","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"registryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newEndTime","type":"uint256"}],"name":"setEndTimePhase1","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newEndTime","type":"uint256"}],"name":"setEndTimePhase2","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newEndTime","type":"uint256"}],"name":"setEndTimePhase3","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isRegistryActive","type":"bool"}],"name":"setIsRegistryActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxPerWallet","type":"uint256"}],"name":"setMaxPerWalletPhase1","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxPerWallet","type":"uint256"}],"name":"setMaxPerWalletPhase2","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxPerWallet","type":"uint256"}],"name":"setMaxPerWalletPhase3","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxSupply","type":"uint256"}],"name":"setMaxSupplyPhase1","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxSupply","type":"uint256"}],"name":"setMaxSupplyPhase2","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxSupply","type":"uint256"}],"name":"setMaxSupplyPhase3","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"newMerkleRoot","type":"bytes32"}],"name":"setMerkleRootPhase1","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"newMerkleRoot","type":"bytes32"}],"name":"setMerkleRootPhase2","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"newMerkleRoot","type":"bytes32"}],"name":"setMerkleRootPhase3","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"value","type":"bool"}],"name":"setOperatorFilteringEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"placeholderURI","type":"string"}],"name":"setPlaceholderBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPricePhase1","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPricePhase2","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPricePhase3","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_registryAddress","type":"address"}],"name":"setRegistryAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newStartTime","type":"uint256"}],"name":"setStartTimePhase1","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newStartTime","type":"uint256"}],"name":"setStartTimePhase2","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newStartTime","type":"uint256"}],"name":"setStartTimePhase3","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setTokenRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"validator","type":"address"}],"name":"setTransferValidator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTimePhase1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startTimePhase2","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startTimePhase3","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupplyPhase1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupplyPhase2","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupplyPhase3","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"walletMintsPhase1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"walletMintsPhase2","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"walletMintsPhase3","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"withdrawERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"address","name":"to","type":"address"}],"name":"withdrawERC20To","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_to","type":"address"}],"name":"withdrawTo","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
664f761639e8edba600c556101f4600d55600e805473bdb9e0b47a02c45e3b50973a18452dc23ce726976001600160a01b031991821617909155600f805490911690556104c66010556011805461ffff191661010117905560a06040525f608090815260129061006f908261042e565b506040518060a001604052806063815260200161463460639139601390610096908261042e565b5063688509906014556368850d146015555f6016555f60185560016019557fb3354b93cd26d4d33a0775b5332949e99909a02d9ceffd70c4735006c7a522b75f1b601a556368850d14601c556368865e94601d555f601e5566f8b0a10e47000060205560036021557fec9b552e70f2fe5a4e4c849641368ea1639fd76067c9dbd8e9556451e8a4930d5f1b6022556368865e9460245563688688c46025555f6026556702c68af0bb14000060285560056029555f5f1b602a5534801561015a575f5ffd5b50604080518082018252600a8152694b6964734f6e4879706560b01b602080830191909152825180840190935260038352620969e960eb1b908301529033806101bd57604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b6101c681610215565b5060056101d3838261042e565b5060066101e0828261042e565b50506001600355506101f0610264565b610210739badab3b3bbb09017ca8b95888010d2635f80a3e6101f4610285565b6104e8565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b610283733cc6cdda760b79bafa08df41ecfa224f810dceb66001610327565b565b6127106001600160601b0382168110156102c457604051636f483d0960e01b81526001600160601b0383166004820152602481018290526044016101b4565b6001600160a01b0383166102ed57604051635b6cc80560e11b81525f60048201526024016101b4565b50604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600155565b6001600160a01b0390911690637d3e3dbe81610354578261034d5750634420e486610354565b5063a0af29035b8060e01b5f52306004528260245260045f60445f5f6daaeb6d7670e522a718067333cd4e5af161038d57805f5160e01c0361038d575f5ffd5b505f6024525050565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806103be57607f821691505b6020821081036103dc57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561042957805f5260205f20601f840160051c810160208510156104075750805b601f840160051c820191505b81811015610426575f8155600101610413565b50505b505050565b81516001600160401b0381111561044757610447610396565b61045b8161045584546103aa565b846103e2565b6020601f82116001811461048d575f83156104765750848201515b5f19600385901b1c1916600184901b178455610426565b5f84815260208120601f198516915b828110156104bc578785015182556020948501946001909201910161049c565b50848210156104d957868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b61413f806104f55f395ff3fe6080604052600436106105c1575f3560e01c80636f8b44b0116102f0578063aa60bdd011610191578063d5abeb01116100e7578063e985e9c511610092578063f3f119f11161006d578063f3f119f114610fb0578063f4f3b20014610fc5578063fb796e6c14610fe4575f5ffd5b8063e985e9c514610f24578063ed9aab5114610f6b578063f2fde38b14610f91575f5ffd5b8063e56e9ac0116100c2578063e56e9ac014610edb578063e5a6b10f14610ef0578063e5e2a0f614610f0f575f5ffd5b8063d5abeb0114610e88578063e079e46114610e9d578063e1136b3d14610ebc575f5ffd5b8063b88d4fde11610147578063cafd705f11610122578063cafd705f14610e49578063d1c026c914610e5e578063d2762b4614610e73575f5ffd5b8063b88d4fde14610df8578063c3d923a614610e0b578063c87b56dd14610e2a575f5ffd5b8063abd017ea11610177578063abd017ea14610d9b578063ac19701b14610dba578063b7c0b8e814610dd9575f5ffd5b8063aa60bdd014610d5d578063ab7b499314610d7c575f5ffd5b80638da5cb5b116102465780639e5f94a7116101fc578063a70138c1116101d7578063a70138c114610d15578063a9fc664e14610d29578063aa0678ff14610d48575f5ffd5b80639e5f94a714610cc2578063a22cb46514610ce1578063a42c05ba14610d00575f5ffd5b806395d89b411161022c57806395d89b4114610c7c57806396ce3bfa14610c9057806396db3e8914610ca3575f5ffd5b80638da5cb5b14610c4b5780638e9a85f314610c67575f5ffd5b806376ee0153116102a65780637f371aa0116102815780637f371aa014610c02578063858633f214610c17578063871215d414610c36575f5ffd5b806376ee015314610bbb57806379544c8614610bda5780637d4b5a2114610bef575f5ffd5b8063715018a6116102d6578063715018a614610b6957806371be5e1414610b7d57806372b0d90c14610b9c575f5ffd5b80636f8b44b014610b2b57806370a0823114610b4a575f5ffd5b80633ccfd60b1161046557806354389437116103bb5780635c1afecb1161036657806364f52a1f1161034157806364f52a1f14610ad857806365216a4114610aed578063691ce97014610b0c575f5ffd5b80635c1afecb14610a8f5780635d99a0cf14610aa45780636352211e14610ab9575f5ffd5b806355f804b31161039657806355f804b314610a3c5780635944c75314610a5b57806359a2f3bd14610a7a575f5ffd5b806354389437146109f3578063545b70b214610a0857806355f5f06614610a1d575f5ffd5b8063462fed141161041b5780634b21839e116103f65780634b21839e146109a05780634ed69eaf146109bf5780634f115db1146109de575f5ffd5b8063462fed141461094357806346fff98d14610962578063484b973c14610981575f5ffd5b806341d94c981161044b57806341d94c981461090857806342842e0e1461091d57806342b5e15c14610930575f5ffd5b80633ccfd60b146108df578063406466a7146108f3575f5ffd5b806312b365101161051a578063251c21ec116104d057806330db1d5b116104ab57806330db1d5b146108805780633bf303941461089f5780633c6d5762146108b4575f5ffd5b8063251c21ec146108045780632a55205a1461082357806330a0896514610861575f5ffd5b8063189ce8b111610500578063189ce8b1146107b357806321b8acd7146107d257806323b872dd146107f1575f5ffd5b806312b365101461077a57806318160ddd14610798575f5ffd5b8063081812fc1161057a5780630c92b631116105555780630c92b631146106f05780630d4c18281461070f5780630d705df61461073a575f5ffd5b8063081812fc14610689578063095ea7b3146106c0578063098144d4146106d3575f5ffd5b806304634d8d116105aa57806304634d8d1461063257806306fdde03146106535780630759f2d814610674575f5ffd5b80630141a449146105c557806301ffc9a714610603575b5f5ffd5b3480156105d0575f5ffd5b506105f06105df3660046138c7565b602b6020525f908152604090205481565b6040519081526020015b60405180910390f35b34801561060e575f5ffd5b5061062261061d3660046138f7565b610ffd565b60405190151581526020016105fa565b34801561063d575f5ffd5b5061065161064c36600461392d565b61104f565b005b34801561065e575f5ffd5b50610667611096565b6040516105fa919061398e565b34801561067f575f5ffd5b506105f060165481565b348015610694575f5ffd5b506106a86106a33660046139a0565b611126565b6040516001600160a01b0390911681526020016105fa565b6106516106ce3660046139b7565b611181565b3480156106de575f5ffd5b50600b546001600160a01b03166106a8565b3480156106fb575f5ffd5b5061065161070a3660046139a0565b6111ce565b34801561071a575f5ffd5b506105f06107293660046138c7565b60236020525f908152604090205481565b348015610745575f5ffd5b50604080517fcaee23ea00000000000000000000000000000000000000000000000000000000815260016020820152016105fa565b348015610785575f5ffd5b5060115461062290610100900460ff1681565b3480156107a3575f5ffd5b50600454600354035f19016105f0565b3480156107be575f5ffd5b506106516107cd3660046139e1565b6111db565b3480156107dd575f5ffd5b506106516107ec3660046139a0565b611322565b6106516107ff366004613a18565b61132f565b34801561080f575f5ffd5b5061065161081e3660046139a0565b611365565b34801561082e575f5ffd5b5061084261083d366004613a56565b611372565b604080516001600160a01b0390931683526020830191909152016105fa565b34801561086c575f5ffd5b50600e546106a8906001600160a01b031681565b34801561088b575f5ffd5b5061065161089a3660046139a0565b611404565b3480156108aa575f5ffd5b506105f0601e5481565b3480156108bf575f5ffd5b506105f06108ce3660046138c7565b601b6020525f908152604090205481565b3480156108ea575f5ffd5b50610651611411565b3480156108fe575f5ffd5b506105f060285481565b348015610913575f5ffd5b506105f060155481565b61065161092b366004613a18565b61148d565b61065161093e3660046139a0565b6114bd565b34801561094e575f5ffd5b5061065161095d3660046139a0565b611868565b34801561096d575f5ffd5b5061065161097c366004613a83565b611875565b34801561098c575f5ffd5b5061065161099b3660046139b7565b6118e2565b3480156109ab575f5ffd5b506106516109ba3660046139a0565b61193a565b3480156109ca575f5ffd5b506106516109d9366004613a9e565b611947565b3480156109e9575f5ffd5b506105f0601c5481565b3480156109fe575f5ffd5b506105f060245481565b348015610a13575f5ffd5b506105f060175481565b348015610a28575f5ffd5b50610651610a373660046139a0565b61195c565b348015610a47575f5ffd5b50610651610a56366004613a9e565b611969565b348015610a66575f5ffd5b50610651610a75366004613b0c565b61197e565b348015610a85575f5ffd5b506105f060215481565b348015610a9a575f5ffd5b506105f0601f5481565b348015610aaf575f5ffd5b506105f060205481565b348015610ac4575f5ffd5b506106a8610ad33660046139a0565b6119c2565b348015610ae3575f5ffd5b506105f0601a5481565b348015610af8575f5ffd5b50610651610b07366004613c19565b6119cc565b348015610b17575f5ffd5b50610651610b263660046139a0565b611ac3565b348015610b36575f5ffd5b50610651610b453660046139a0565b611ad0565b348015610b55575f5ffd5b506105f0610b643660046138c7565b611add565b348015610b74575f5ffd5b50610651611b43565b348015610b88575f5ffd5b50610651610b973660046139a0565b611b56565b348015610ba7575f5ffd5b50610651610bb63660046138c7565b611b63565b348015610bc6575f5ffd5b50610651610bd53660046139a0565b611bdb565b348015610be5575f5ffd5b506105f0601d5481565b610651610bfd366004613cde565b611be8565b348015610c0d575f5ffd5b506105f060265481565b348015610c22575f5ffd5b50610651610c313660046139a0565b612036565b348015610c41575f5ffd5b506105f0600c5481565b348015610c56575f5ffd5b505f546001600160a01b03166106a8565b348015610c72575f5ffd5b506105f060275481565b348015610c87575f5ffd5b50610667612043565b610651610c9e366004613cde565b612052565b348015610cae575f5ffd5b50610651610cbd3660046139a0565b612487565b348015610ccd575f5ffd5b50610651610cdc3660046139a0565b612494565b348015610cec575f5ffd5b50610651610cfb366004613d53565b6124a1565b348015610d0b575f5ffd5b506105f0602a5481565b348015610d20575f5ffd5b506106516124e9565b348015610d34575f5ffd5b50610651610d433660046138c7565b6124fe565b348015610d53575f5ffd5b506105f060145481565b348015610d68575f5ffd5b50610651610d773660046139a0565b612574565b348015610d87575f5ffd5b50610651610d963660046138c7565b612581565b348015610da6575f5ffd5b506011546106229062010000900460ff1681565b348015610dc5575f5ffd5b50610651610dd43660046139a0565b6125ca565b348015610de4575f5ffd5b50610651610df3366004613a83565b6125d7565b610651610e06366004613d7f565b6125f2565b348015610e16575f5ffd5b50610651610e253660046139a0565b612623565b348015610e35575f5ffd5b50610667610e443660046139a0565b612630565b348015610e54575f5ffd5b506105f060295481565b348015610e69575f5ffd5b506105f060255481565b348015610e7e575f5ffd5b506105f0600d5481565b348015610e93575f5ffd5b506105f060105481565b348015610ea8575f5ffd5b50610651610eb73660046139a0565b6126e6565b348015610ec7575f5ffd5b50610651610ed63660046139a0565b6126f3565b348015610ee6575f5ffd5b506105f060195481565b348015610efb575f5ffd5b50600f546106a8906001600160a01b031681565b348015610f1a575f5ffd5b506105f060185481565b348015610f2f575f5ffd5b50610622610f3e3660046139e1565b6001600160a01b039182165f908152600a6020908152604080832093909416825291909152205460ff1690565b348015610f76575f5ffd5b506011546106a890630100000090046001600160a01b031681565b348015610f9c575f5ffd5b50610651610fab3660046138c7565b612700565b348015610fbb575f5ffd5b506105f060225481565b348015610fd0575f5ffd5b50610651610fdf3660046138c7565b612758565b348015610fef575f5ffd5b506011546106229060ff1681565b5f6001600160e01b031982167fad0d7f6c00000000000000000000000000000000000000000000000000000000148061103a575061103a8261289b565b8061104957506110498261291a565b92915050565b611057612967565b6103e8816bffffffffffffffffffffffff1611156110885760405163f4df6ae560e01b815260040160405180910390fd5b61109282826129ac565b5050565b6060600580546110a590613e41565b80601f01602080910402602001604051908101604052809291908181526020018280546110d190613e41565b801561111c5780601f106110f35761010080835404028352916020019161111c565b820191905f5260205f20905b8154815290600101906020018083116110ff57829003601f168201915b5050505050905090565b5f61113082612a8f565b611166576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505f908152600960205260409020546001600160a01b031690565b8160115460ff16156111965761119681612ac2565b601154610100900460ff16156111bf576040516336e278fd60e21b815260040160405180910390fd5b6111c98383612b01565b505050565b6111d6612967565b602655565b6111e3612967565b6040516370a0823160e01b815230600482015282905f906001600160a01b038316906370a0823190602401602060405180830381865afa158015611229573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061124d9190613e79565b9050805f0361126f576040516312171d8360e31b815260040160405180910390fd5b6040517fa9059cbb0000000000000000000000000000000000000000000000000000000081526001600160a01b038481166004830152602482018390525f919084169063a9059cbb906044016020604051808303815f875af11580156112d7573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112fb9190613e90565b90508061131b576040516312171d8360e31b815260040160405180910390fd5b5050505050565b61132a612967565b602455565b826001600160a01b03811633146113545760115460ff16156113545761135433612ac2565b61135f848484612b0d565b50505050565b61136d612967565b601455565b5f82815260026020526040812080548291906001600160a01b03811690600160a01b90046bffffffffffffffffffffffff16816113cf5750506001546001600160a01b03811690600160a01b90046bffffffffffffffffffffffff165b5f6127106113eb6bffffffffffffffffffffffff841689613ebf565b6113f59190613ed6565b92989297509195505050505050565b61140c612967565b602055565b611419612967565b5f80546040516001600160a01b039091169047908381818185875af1925050503d805f8114611463576040519150601f19603f3d011682016040523d82523d5f602084013e611468565b606091505b505090508061148a576040516312171d8360e31b815260040160405180910390fd5b50565b826001600160a01b03811633146114b25760115460ff16156114b2576114b233612ac2565b61135f848484612d12565b602454158015906114cf575060245442105b156114ed57604051636ea7008360e11b815260040160405180910390fd5b602554158015906114ff575060255442115b1561151d57604051636ea7008360e11b815260040160405180910390fd5b601054158015906115455750601054600454600354839190035f19016115439190613ef5565b115b1561156357604051638a164f6360e01b815260040160405180910390fd5b602654158015906115825750602654816027546115809190613ef5565b115b156115a057604051638a164f6360e01b815260040160405180910390fd5b5f81600c546028546115b29190613ef5565b6115bc9190613ebf565b600f549091506001600160a01b03166115f4578034146115ef5760405163193e352b60e11b815260040160405180910390fd5b611710565b600f546040516370a0823160e01b81523360048201526001600160a01b0390911690829082906370a0823190602401602060405180830381865afa15801561163e573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116629190613e79565b10156116815760405163569d45cf60e11b815260040160405180910390fd5b604051636eb1769f60e11b815233600482015230602482015282906001600160a01b0383169063dd62ed3e90604401602060405180830381865afa1580156116cb573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116ef9190613e79565b101561170e57604051634fd3af0760e01b815260040160405180910390fd5b505b6029541580159061173b5750602954335f908152602b6020526040902054611739908490613ef5565b115b1561175957604051638a164f6360e01b815260040160405180910390fd5b600c545f90158015906117765750600e546001600160a01b031615155b1561178c5782600c546117899190613ebf565b90505b600d545f90158015906117a95750600e546001600160a01b031615155b156117d5576127106117bb8385613f08565b600d546117c89190613ebf565b6117d29190613ed6565b90505b5f6117e08284613ef5565b905080156117f1576117f181612d2c565b600f546001600160a01b03161580159061180a57508084115b15611822576118223061181d8387613f08565b612f0b565b335f908152602b602052604081208054879290611840908490613ef5565b925050819055508460275f8282546118589190613ef5565b9091555061131b9050338661302c565b611870612967565b602155565b61187d612967565b601154630100000090046001600160a01b03166118c6576040517fe048e71000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60118054911515620100000262ff000019909216919091179055565b6118ea612967565b601054158015906119125750601054600454600354839190035f19016119109190613ef5565b115b1561193057604051638a164f6360e01b815260040160405180910390fd5b611092828261302c565b611942612967565b601955565b61194f612967565b60136111c9828483613f5f565b611964612967565b601a55565b611971612967565b60126111c9828483613f5f565b611986612967565b6103e8816bffffffffffffffffffffffff1611156119b75760405163f4df6ae560e01b815260040160405180910390fd5b6111c9838383613164565b5f61104982613265565b6119d4612967565b8051825114611a0f576040517ffc4c603600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f5b82518110156111c95760105415801590611a615750601054828281518110611a3b57611a3b614019565b6020026020010151611a556004546003545f199190030190565b611a5f9190613ef5565b115b15611a7f57604051638a164f6360e01b815260040160405180910390fd5b611abb838281518110611a9457611a94614019565b6020026020010151838381518110611aae57611aae614019565b602002602001015161302c565b600101611a11565b611acb612967565b602555565b611ad8612967565b601055565b5f6001600160a01b038216611b1e576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506001600160a01b03165f9081526008602052604090205467ffffffffffffffff1690565b611b4b612967565b611b545f6132ec565b565b611b5e612967565b602855565b611b6b612967565b5f816001600160a01b0316476040515f6040518083038185875af1925050503d805f8114611bb4576040519150601f19603f3d011682016040523d82523d5f602084013e611bb9565b606091505b5050905080611092576040516312171d8360e31b815260040160405180910390fd5b611be3612967565b602955565b60145415801590611bfa575060145442105b15611c1857604051636ea7008360e11b815260040160405180910390fd5b60155415801590611c2a575060155442115b15611c4857604051636ea7008360e11b815260040160405180910390fd5b60105415801590611c705750601054600454600354839190035f1901611c6e9190613ef5565b115b15611c8e57604051638a164f6360e01b815260040160405180910390fd5b60165415801590611cad575060165481601754611cab9190613ef5565b115b15611ccb57604051638a164f6360e01b815260040160405180910390fd5b5f81600c54601854611cdd9190613ef5565b611ce79190613ebf565b600f549091506001600160a01b0316611d1f57803414611d1a5760405163193e352b60e11b815260040160405180910390fd5b611e3b565b600f546040516370a0823160e01b81523360048201526001600160a01b0390911690829082906370a0823190602401602060405180830381865afa158015611d69573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d8d9190613e79565b1015611dac5760405163569d45cf60e11b815260040160405180910390fd5b604051636eb1769f60e11b815233600482015230602482015282906001600160a01b0383169063dd62ed3e90604401602060405180830381865afa158015611df6573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e1a9190613e79565b1015611e3957604051634fd3af0760e01b815260040160405180910390fd5b505b601a5415611eda576040516bffffffffffffffffffffffff193360601b1660208201525f90603401604051602081830303815290604052805190602001209050611ebb8585808060200260200160405190810160405280939291908181526020018383602002808284375f9201919091525050601a549150849050613348565b611ed85760405163582f497d60e11b815260040160405180910390fd5b505b60195415801590611f055750601954335f908152601b6020526040902054611f03908490613ef5565b115b15611f2357604051638a164f6360e01b815260040160405180910390fd5b600c545f9015801590611f405750600e546001600160a01b031615155b15611f565782600c54611f539190613ebf565b90505b600d545f9015801590611f735750600e546001600160a01b031615155b15611f9f57612710611f858385613f08565b600d54611f929190613ebf565b611f9c9190613ed6565b90505b5f611faa8284613ef5565b90508015611fbb57611fbb81612d2c565b600f546001600160a01b031615801590611fd457508084115b15611fe757611fe73061181d8387613f08565b335f908152601b602052604081208054879290612005908490613ef5565b925050819055508460175f82825461201d9190613ef5565b9091555061202d9050338661302c565b50505050505050565b61203e612967565b601655565b6060600680546110a590613e41565b601c54158015906120645750601c5442105b1561208257604051636ea7008360e11b815260040160405180910390fd5b601d54158015906120945750601d5442115b156120b257604051636ea7008360e11b815260040160405180910390fd5b601054158015906120da5750601054600454600354839190035f19016120d89190613ef5565b115b156120f857604051638a164f6360e01b815260040160405180910390fd5b601e54158015906121175750601e5481601f546121159190613ef5565b115b1561213557604051638a164f6360e01b815260040160405180910390fd5b5f81600c546020546121479190613ef5565b6121519190613ebf565b600f549091506001600160a01b0316612189578034146121845760405163193e352b60e11b815260040160405180910390fd5b6122a5565b600f546040516370a0823160e01b81523360048201526001600160a01b0390911690829082906370a0823190602401602060405180830381865afa1580156121d3573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121f79190613e79565b10156122165760405163569d45cf60e11b815260040160405180910390fd5b604051636eb1769f60e11b815233600482015230602482015282906001600160a01b0383169063dd62ed3e90604401602060405180830381865afa158015612260573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122849190613e79565b10156122a357604051634fd3af0760e01b815260040160405180910390fd5b505b60225415612344576040516bffffffffffffffffffffffff193360601b1660208201525f906034016040516020818303038152906040528051906020012090506123258585808060200260200160405190810160405280939291908181526020018383602002808284375f92019190915250506022549150849050613348565b6123425760405163582f497d60e11b815260040160405180910390fd5b505b6021541580159061236f5750602154335f9081526023602052604090205461236d908490613ef5565b115b1561238d57604051638a164f6360e01b815260040160405180910390fd5b600c545f90158015906123aa5750600e546001600160a01b031615155b156123c05782600c546123bd9190613ebf565b90505b600d545f90158015906123dd5750600e546001600160a01b031615155b15612409576127106123ef8385613f08565b600d546123fc9190613ebf565b6124069190613ed6565b90505b5f6124148284613ef5565b905080156124255761242581612d2c565b600f546001600160a01b03161580159061243e57508084115b15612451576124513061181d8387613f08565b335f908152602360205260408120805487929061246f908490613ef5565b9250508190555084601f5f82825461201d9190613ef5565b61248f612967565b602255565b61249c612967565b602a55565b8160115460ff16156124b6576124b681612ac2565b601154610100900460ff16156124df576040516336e278fd60e21b815260040160405180910390fd5b6111c9838361335d565b6124f1612967565b6011805461ff0019169055565b612506612967565b600b80546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff1983168117909355604080519190921680825260208201939093527fcc5dc080ff977b3c3a211fa63ab74f90f658f5ba9d3236e92c8f59570f442aac910160405180910390a15050565b61257c612967565b601c55565b612589612967565b601180546001600160a01b039092166301000000027fffffffffffffffffff0000000000000000000000000000000000000000ffffff909216919091179055565b6125d2612967565b601555565b6125df612967565b6011805460ff1916911515919091179055565b836001600160a01b03811633146126175760115460ff16156126175761261733612ac2565b61131b858585856133c8565b61262b612967565b601e55565b606061263b82612a8f565b612671576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f61267a61340c565b90505f61268561341b565b905081515f146126c257816126998561342a565b6040516020016126aa929190614044565b60405160208183030381529060405292505050919050565b8051156126d0579392505050565b505060408051602081019091525f815292915050565b6126ee612967565b601d55565b6126fb612967565b601855565b612708612967565b6001600160a01b03811661274f576040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081525f60048201526024015b60405180910390fd5b61148a816132ec565b612760612967565b6040516370a0823160e01b815230600482015281905f906001600160a01b038316906370a0823190602401602060405180830381865afa1580156127a6573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127ca9190613e79565b9050805f036127ec576040516312171d8360e31b815260040160405180910390fd5b5f826001600160a01b031663a9059cbb61280d5f546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018590526044016020604051808303815f875af1158015612857573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061287b9190613e90565b90508061135f576040516312171d8360e31b815260040160405180910390fd5b5f6301ffc9a760e01b6001600160e01b0319831614806128e457507f80ac58cd000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b806110495750506001600160e01b0319167f5b5e139f000000000000000000000000000000000000000000000000000000001490565b5f6001600160e01b031982167f2a55205a00000000000000000000000000000000000000000000000000000000148061104957506301ffc9a760e01b6001600160e01b0319831614611049565b5f546001600160a01b03163314611b54576040517f118cdaa7000000000000000000000000000000000000000000000000000000008152336004820152602401612746565b6127106bffffffffffffffffffffffff8216811015612a0e576040517f6f483d090000000000000000000000000000000000000000000000000000000081526bffffffffffffffffffffffff8316600482015260248101829052604401612746565b6001600160a01b038316612a50576040517fb6d9900a0000000000000000000000000000000000000000000000000000000081525f6004820152602401612746565b50604080518082019091526001600160a01b039092168083526bffffffffffffffffffffffff9091166020909201829052600160a01b90910217600155565b5f81600111158015612aa2575060035482105b80156110495750505f90815260076020526040902054600160e01b161590565b69c61711340011223344555f5230601a5280603a525f5f604460166daaeb6d7670e522a718067333cd4e5afa612afa573d5f5f3e3d5ffd5b5f603a5250565b6110928282600161346d565b5f612b1782613265565b9050836001600160a01b0316816001600160a01b031614612b64576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f8281526009602052604090208054338082146001600160a01b03881690911417612be5576001600160a01b0386165f908152600a6020908152604080832033845290915290205460ff16612be5576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b038516612c25576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612c328686866001613554565b8015612c3c575f82555b6001600160a01b038681165f9081526008602052604080822080545f19019055918716808252919020805460010190554260a01b17600160e11b175f85815260076020526040812091909155600160e11b84169003612cc957600184015f818152600760205260408120549003612cc7576003548114612cc7575f8181526007602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6111c983838360405180602001604052805f8152506125f2565b805f03612d65576040517f5e2a89dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600e546001600160a01b0316612da7576040517fcd0081c200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600f546001600160a01b0316612e2e57600e546040515f916001600160a01b03169083908381818185875af1925050503d805f8114612e01576040519150601f19603f3d011682016040523d82523d5f602084013e612e06565b606091505b5050905080612e2857604051634033e4e360e01b815260040160405180910390fd5b50612ec6565b600f54600e546040516323b872dd60e01b81523360048201526001600160a01b0391821660248201526044810184905291169081906323b872dd906064016020604051808303815f875af1925050508015612ea6575060408051601f3d908101601f19168201909252612ea391810190613e90565b60015b612ec357604051634033e4e360e01b815260040160405180910390fd5b50505b600e546040518281526001600160a01b03909116907f2b5dffd9914ddb43acdb6963bacf053a87bf9354300844f6339f17741e25145a9060200160405180910390a250565b805f03612f2b57604051632ee66eed60e01b815260040160405180910390fd5b6001600160a01b038216612f5257604051632ee66eed60e01b815260040160405180910390fd5b600f546040516323b872dd60e01b8152336004820152306024820152604481018390526001600160a01b039091169081906323b872dd906064016020604051808303815f875af1925050508015612fc6575060408051601f3d908101601f19168201909252612fc391810190613e90565b60015b612fe357604051632ee66eed60e01b815260040160405180910390fd5b50826001600160a01b03167f5bfd86dd1dfba5846abf8c8ff49e529e997ac11be6a5ad81501ef4418f3596898360405161301f91815260200190565b60405180910390a2505050565b6003545f829003613069576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6130755f848385613554565b6001600160a01b0383165f8181526008602090815260408083208054680100000000000000018802019055848352600790915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146131215780835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f5fa46001016130eb565b50815f0361315b576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60035550505050565b6127106bffffffffffffffffffffffff82168110156131cd576040517fdfd1fc1b000000000000000000000000000000000000000000000000000000008152600481018590526bffffffffffffffffffffffff8316602482015260448101829052606401612746565b6001600160a01b038316613216576040517f969f0852000000000000000000000000000000000000000000000000000000008152600481018590525f6024820152604401612746565b506040805180820182526001600160a01b0393841681526bffffffffffffffffffffffff92831660208083019182525f968752600290529190942093519051909116600160a01b029116179055565b5f816001116132d357505f8181526007602052604081205490600160e01b821690036132d357805f036132ce5760035482106132b457604051636f96cda160e11b815260040160405180910390fd5b5b505f19015f8181526007602052604090205480156132b5575b919050565b604051636f96cda160e11b815260040160405180910390fd5b5f80546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f8261335485846136b0565b14949350505050565b335f818152600a602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6133d384848461132f565b6001600160a01b0383163b1561135f576133ef848484846136f2565b61135f576040516368d2bf6b60e11b815260040160405180910390fd5b6060601280546110a590613e41565b6060601380546110a590613e41565b606060a06040510180604052602081039150505f815280825b600183039250600a81066030018353600a9004806134435750819003601f19909101908152919050565b5f613477836119c2565b905081156134eb57336001600160a01b038216146134eb576001600160a01b0381165f908152600a6020908152604080832033845290915290205460ff166134eb576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f83815260096020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0388811691821790925591518693918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a450505050565b601154610100900460ff16801561357357506001600160a01b03841615155b801561358757506001600160a01b03831615155b156135a5576040516336e278fd60e21b815260040160405180910390fd5b6135ae336137d9565b6135e4576040517f4c80d8be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b038416158015906136065750600b546001600160a01b031615155b156136ab575f5b818110156136a957600b546001600160a01b031663caee23ea3387876136338689613ef5565b6040516001600160e01b031960e087901b1681526001600160a01b03948516600482015292841660248401529216604482015260648101919091526084015f6040518083038186803b158015613687575f5ffd5b505afa158015613699573d5f5f3e3d5ffd5b50506001909201915061360d9050565b505b61135f565b5f81815b84518110156136ea576136e0828683815181106136d3576136d3614019565b602002602001015161388a565b91506001016136b4565b509392505050565b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a02906137269033908990889088906004016140ae565b6020604051808303815f875af1925050508015613760575060408051601f3d908101601f1916820190925261375d918101906140ee565b60015b6137bc573d80801561378d576040519150601f19603f3d011682016040523d82523d5f602084013e613792565b606091505b5080515f036137b4576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6011545f9062010000900460ff1615613882576011546040517fe18bc08a0000000000000000000000000000000000000000000000000000000081526001600160a01b038481166004830152630100000090920490911690819063e18bc08a90602401602060405180830381865afa158015613857573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061387b9190613e90565b9392505050565b506001919050565b5f8183106138a4575f82815260208490526040902061387b565b505f9182526020526040902090565b6001600160a01b038116811461148a575f5ffd5b5f602082840312156138d7575f5ffd5b813561387b816138b3565b6001600160e01b03198116811461148a575f5ffd5b5f60208284031215613907575f5ffd5b813561387b816138e2565b80356bffffffffffffffffffffffff811681146132ce575f5ffd5b5f5f6040838503121561393e575f5ffd5b8235613949816138b3565b915061395760208401613912565b90509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f61387b6020830184613960565b5f602082840312156139b0575f5ffd5b5035919050565b5f5f604083850312156139c8575f5ffd5b82356139d3816138b3565b946020939093013593505050565b5f5f604083850312156139f2575f5ffd5b82356139fd816138b3565b91506020830135613a0d816138b3565b809150509250929050565b5f5f5f60608486031215613a2a575f5ffd5b8335613a35816138b3565b92506020840135613a45816138b3565b929592945050506040919091013590565b5f5f60408385031215613a67575f5ffd5b50508035926020909101359150565b801515811461148a575f5ffd5b5f60208284031215613a93575f5ffd5b813561387b81613a76565b5f5f60208385031215613aaf575f5ffd5b823567ffffffffffffffff811115613ac5575f5ffd5b8301601f81018513613ad5575f5ffd5b803567ffffffffffffffff811115613aeb575f5ffd5b856020828401011115613afc575f5ffd5b6020919091019590945092505050565b5f5f5f60608486031215613b1e575f5ffd5b833592506020840135613b30816138b3565b9150613b3e60408501613912565b90509250925092565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f1916810167ffffffffffffffff81118282101715613b8457613b84613b47565b604052919050565b5f67ffffffffffffffff821115613ba557613ba5613b47565b5060051b60200190565b5f82601f830112613bbe575f5ffd5b8135613bd1613bcc82613b8c565b613b5b565b8082825260208201915060208360051b860101925085831115613bf2575f5ffd5b602085015b83811015613c0f578035835260209283019201613bf7565b5095945050505050565b5f5f60408385031215613c2a575f5ffd5b823567ffffffffffffffff811115613c40575f5ffd5b8301601f81018513613c50575f5ffd5b8035613c5e613bcc82613b8c565b8082825260208201915060208360051b850101925087831115613c7f575f5ffd5b6020840193505b82841015613caa578335613c99816138b3565b825260209384019390910190613c86565b9450505050602083013567ffffffffffffffff811115613cc8575f5ffd5b613cd485828601613baf565b9150509250929050565b5f5f5f60408486031215613cf0575f5ffd5b833567ffffffffffffffff811115613d06575f5ffd5b8401601f81018613613d16575f5ffd5b803567ffffffffffffffff811115613d2c575f5ffd5b8660208260051b8401011115613d40575f5ffd5b6020918201979096509401359392505050565b5f5f60408385031215613d64575f5ffd5b8235613d6f816138b3565b91506020830135613a0d81613a76565b5f5f5f5f60808587031215613d92575f5ffd5b8435613d9d816138b3565b93506020850135613dad816138b3565b925060408501359150606085013567ffffffffffffffff811115613dcf575f5ffd5b8501601f81018713613ddf575f5ffd5b803567ffffffffffffffff811115613df957613df9613b47565b613e0c601f8201601f1916602001613b5b565b818152886020838501011115613e20575f5ffd5b816020840160208301375f6020838301015280935050505092959194509250565b600181811c90821680613e5557607f821691505b602082108103613e7357634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215613e89575f5ffd5b5051919050565b5f60208284031215613ea0575f5ffd5b815161387b81613a76565b634e487b7160e01b5f52601160045260245ffd5b808202811582820484141761104957611049613eab565b5f82613ef057634e487b7160e01b5f52601260045260245ffd5b500490565b8082018082111561104957611049613eab565b8181038181111561104957611049613eab565b601f8211156111c957805f5260205f20601f840160051c81016020851015613f405750805b601f840160051c820191505b8181101561131b575f8155600101613f4c565b67ffffffffffffffff831115613f7757613f77613b47565b613f8b83613f858354613e41565b83613f1b565b5f601f841160018114613fbc575f8515613fa55750838201355b5f19600387901b1c1916600186901b17835561131b565b5f83815260208120601f198716915b82811015613feb5786850135825560209485019460019092019101613fcb565b5086821015614007575f1960f88860031b161c19848701351681555b505060018560011b0183555050505050565b634e487b7160e01b5f52603260045260245ffd5b5f81518060208401855e5f93019283525090919050565b5f61404f828561402d565b7f2f00000000000000000000000000000000000000000000000000000000000000815261407f600182018561402d565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000815260050195945050505050565b6001600160a01b03851681526001600160a01b0384166020820152826040820152608060608201525f6140e46080830184613960565b9695505050505050565b5f602082840312156140fe575f5ffd5b815161387b816138e256fea26469706673582212204d457f4c28e15a446be0511cb01e13e406dbdd2e07cefc6b260166069aeae6f064736f6c634300081c003368747470733a2f2f6d696e746966792d6c61756e63687061642e6e7963332e63646e2e6469676974616c6f6365616e7370616365732e636f6d2f63363161393135332d316563382d343134352d396663612d3864656266393539316166392e77656270
Deployed Bytecode
0x6080604052600436106105c1575f3560e01c80636f8b44b0116102f0578063aa60bdd011610191578063d5abeb01116100e7578063e985e9c511610092578063f3f119f11161006d578063f3f119f114610fb0578063f4f3b20014610fc5578063fb796e6c14610fe4575f5ffd5b8063e985e9c514610f24578063ed9aab5114610f6b578063f2fde38b14610f91575f5ffd5b8063e56e9ac0116100c2578063e56e9ac014610edb578063e5a6b10f14610ef0578063e5e2a0f614610f0f575f5ffd5b8063d5abeb0114610e88578063e079e46114610e9d578063e1136b3d14610ebc575f5ffd5b8063b88d4fde11610147578063cafd705f11610122578063cafd705f14610e49578063d1c026c914610e5e578063d2762b4614610e73575f5ffd5b8063b88d4fde14610df8578063c3d923a614610e0b578063c87b56dd14610e2a575f5ffd5b8063abd017ea11610177578063abd017ea14610d9b578063ac19701b14610dba578063b7c0b8e814610dd9575f5ffd5b8063aa60bdd014610d5d578063ab7b499314610d7c575f5ffd5b80638da5cb5b116102465780639e5f94a7116101fc578063a70138c1116101d7578063a70138c114610d15578063a9fc664e14610d29578063aa0678ff14610d48575f5ffd5b80639e5f94a714610cc2578063a22cb46514610ce1578063a42c05ba14610d00575f5ffd5b806395d89b411161022c57806395d89b4114610c7c57806396ce3bfa14610c9057806396db3e8914610ca3575f5ffd5b80638da5cb5b14610c4b5780638e9a85f314610c67575f5ffd5b806376ee0153116102a65780637f371aa0116102815780637f371aa014610c02578063858633f214610c17578063871215d414610c36575f5ffd5b806376ee015314610bbb57806379544c8614610bda5780637d4b5a2114610bef575f5ffd5b8063715018a6116102d6578063715018a614610b6957806371be5e1414610b7d57806372b0d90c14610b9c575f5ffd5b80636f8b44b014610b2b57806370a0823114610b4a575f5ffd5b80633ccfd60b1161046557806354389437116103bb5780635c1afecb1161036657806364f52a1f1161034157806364f52a1f14610ad857806365216a4114610aed578063691ce97014610b0c575f5ffd5b80635c1afecb14610a8f5780635d99a0cf14610aa45780636352211e14610ab9575f5ffd5b806355f804b31161039657806355f804b314610a3c5780635944c75314610a5b57806359a2f3bd14610a7a575f5ffd5b806354389437146109f3578063545b70b214610a0857806355f5f06614610a1d575f5ffd5b8063462fed141161041b5780634b21839e116103f65780634b21839e146109a05780634ed69eaf146109bf5780634f115db1146109de575f5ffd5b8063462fed141461094357806346fff98d14610962578063484b973c14610981575f5ffd5b806341d94c981161044b57806341d94c981461090857806342842e0e1461091d57806342b5e15c14610930575f5ffd5b80633ccfd60b146108df578063406466a7146108f3575f5ffd5b806312b365101161051a578063251c21ec116104d057806330db1d5b116104ab57806330db1d5b146108805780633bf303941461089f5780633c6d5762146108b4575f5ffd5b8063251c21ec146108045780632a55205a1461082357806330a0896514610861575f5ffd5b8063189ce8b111610500578063189ce8b1146107b357806321b8acd7146107d257806323b872dd146107f1575f5ffd5b806312b365101461077a57806318160ddd14610798575f5ffd5b8063081812fc1161057a5780630c92b631116105555780630c92b631146106f05780630d4c18281461070f5780630d705df61461073a575f5ffd5b8063081812fc14610689578063095ea7b3146106c0578063098144d4146106d3575f5ffd5b806304634d8d116105aa57806304634d8d1461063257806306fdde03146106535780630759f2d814610674575f5ffd5b80630141a449146105c557806301ffc9a714610603575b5f5ffd5b3480156105d0575f5ffd5b506105f06105df3660046138c7565b602b6020525f908152604090205481565b6040519081526020015b60405180910390f35b34801561060e575f5ffd5b5061062261061d3660046138f7565b610ffd565b60405190151581526020016105fa565b34801561063d575f5ffd5b5061065161064c36600461392d565b61104f565b005b34801561065e575f5ffd5b50610667611096565b6040516105fa919061398e565b34801561067f575f5ffd5b506105f060165481565b348015610694575f5ffd5b506106a86106a33660046139a0565b611126565b6040516001600160a01b0390911681526020016105fa565b6106516106ce3660046139b7565b611181565b3480156106de575f5ffd5b50600b546001600160a01b03166106a8565b3480156106fb575f5ffd5b5061065161070a3660046139a0565b6111ce565b34801561071a575f5ffd5b506105f06107293660046138c7565b60236020525f908152604090205481565b348015610745575f5ffd5b50604080517fcaee23ea00000000000000000000000000000000000000000000000000000000815260016020820152016105fa565b348015610785575f5ffd5b5060115461062290610100900460ff1681565b3480156107a3575f5ffd5b50600454600354035f19016105f0565b3480156107be575f5ffd5b506106516107cd3660046139e1565b6111db565b3480156107dd575f5ffd5b506106516107ec3660046139a0565b611322565b6106516107ff366004613a18565b61132f565b34801561080f575f5ffd5b5061065161081e3660046139a0565b611365565b34801561082e575f5ffd5b5061084261083d366004613a56565b611372565b604080516001600160a01b0390931683526020830191909152016105fa565b34801561086c575f5ffd5b50600e546106a8906001600160a01b031681565b34801561088b575f5ffd5b5061065161089a3660046139a0565b611404565b3480156108aa575f5ffd5b506105f0601e5481565b3480156108bf575f5ffd5b506105f06108ce3660046138c7565b601b6020525f908152604090205481565b3480156108ea575f5ffd5b50610651611411565b3480156108fe575f5ffd5b506105f060285481565b348015610913575f5ffd5b506105f060155481565b61065161092b366004613a18565b61148d565b61065161093e3660046139a0565b6114bd565b34801561094e575f5ffd5b5061065161095d3660046139a0565b611868565b34801561096d575f5ffd5b5061065161097c366004613a83565b611875565b34801561098c575f5ffd5b5061065161099b3660046139b7565b6118e2565b3480156109ab575f5ffd5b506106516109ba3660046139a0565b61193a565b3480156109ca575f5ffd5b506106516109d9366004613a9e565b611947565b3480156109e9575f5ffd5b506105f0601c5481565b3480156109fe575f5ffd5b506105f060245481565b348015610a13575f5ffd5b506105f060175481565b348015610a28575f5ffd5b50610651610a373660046139a0565b61195c565b348015610a47575f5ffd5b50610651610a56366004613a9e565b611969565b348015610a66575f5ffd5b50610651610a75366004613b0c565b61197e565b348015610a85575f5ffd5b506105f060215481565b348015610a9a575f5ffd5b506105f0601f5481565b348015610aaf575f5ffd5b506105f060205481565b348015610ac4575f5ffd5b506106a8610ad33660046139a0565b6119c2565b348015610ae3575f5ffd5b506105f0601a5481565b348015610af8575f5ffd5b50610651610b07366004613c19565b6119cc565b348015610b17575f5ffd5b50610651610b263660046139a0565b611ac3565b348015610b36575f5ffd5b50610651610b453660046139a0565b611ad0565b348015610b55575f5ffd5b506105f0610b643660046138c7565b611add565b348015610b74575f5ffd5b50610651611b43565b348015610b88575f5ffd5b50610651610b973660046139a0565b611b56565b348015610ba7575f5ffd5b50610651610bb63660046138c7565b611b63565b348015610bc6575f5ffd5b50610651610bd53660046139a0565b611bdb565b348015610be5575f5ffd5b506105f0601d5481565b610651610bfd366004613cde565b611be8565b348015610c0d575f5ffd5b506105f060265481565b348015610c22575f5ffd5b50610651610c313660046139a0565b612036565b348015610c41575f5ffd5b506105f0600c5481565b348015610c56575f5ffd5b505f546001600160a01b03166106a8565b348015610c72575f5ffd5b506105f060275481565b348015610c87575f5ffd5b50610667612043565b610651610c9e366004613cde565b612052565b348015610cae575f5ffd5b50610651610cbd3660046139a0565b612487565b348015610ccd575f5ffd5b50610651610cdc3660046139a0565b612494565b348015610cec575f5ffd5b50610651610cfb366004613d53565b6124a1565b348015610d0b575f5ffd5b506105f0602a5481565b348015610d20575f5ffd5b506106516124e9565b348015610d34575f5ffd5b50610651610d433660046138c7565b6124fe565b348015610d53575f5ffd5b506105f060145481565b348015610d68575f5ffd5b50610651610d773660046139a0565b612574565b348015610d87575f5ffd5b50610651610d963660046138c7565b612581565b348015610da6575f5ffd5b506011546106229062010000900460ff1681565b348015610dc5575f5ffd5b50610651610dd43660046139a0565b6125ca565b348015610de4575f5ffd5b50610651610df3366004613a83565b6125d7565b610651610e06366004613d7f565b6125f2565b348015610e16575f5ffd5b50610651610e253660046139a0565b612623565b348015610e35575f5ffd5b50610667610e443660046139a0565b612630565b348015610e54575f5ffd5b506105f060295481565b348015610e69575f5ffd5b506105f060255481565b348015610e7e575f5ffd5b506105f0600d5481565b348015610e93575f5ffd5b506105f060105481565b348015610ea8575f5ffd5b50610651610eb73660046139a0565b6126e6565b348015610ec7575f5ffd5b50610651610ed63660046139a0565b6126f3565b348015610ee6575f5ffd5b506105f060195481565b348015610efb575f5ffd5b50600f546106a8906001600160a01b031681565b348015610f1a575f5ffd5b506105f060185481565b348015610f2f575f5ffd5b50610622610f3e3660046139e1565b6001600160a01b039182165f908152600a6020908152604080832093909416825291909152205460ff1690565b348015610f76575f5ffd5b506011546106a890630100000090046001600160a01b031681565b348015610f9c575f5ffd5b50610651610fab3660046138c7565b612700565b348015610fbb575f5ffd5b506105f060225481565b348015610fd0575f5ffd5b50610651610fdf3660046138c7565b612758565b348015610fef575f5ffd5b506011546106229060ff1681565b5f6001600160e01b031982167fad0d7f6c00000000000000000000000000000000000000000000000000000000148061103a575061103a8261289b565b8061104957506110498261291a565b92915050565b611057612967565b6103e8816bffffffffffffffffffffffff1611156110885760405163f4df6ae560e01b815260040160405180910390fd5b61109282826129ac565b5050565b6060600580546110a590613e41565b80601f01602080910402602001604051908101604052809291908181526020018280546110d190613e41565b801561111c5780601f106110f35761010080835404028352916020019161111c565b820191905f5260205f20905b8154815290600101906020018083116110ff57829003601f168201915b5050505050905090565b5f61113082612a8f565b611166576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505f908152600960205260409020546001600160a01b031690565b8160115460ff16156111965761119681612ac2565b601154610100900460ff16156111bf576040516336e278fd60e21b815260040160405180910390fd5b6111c98383612b01565b505050565b6111d6612967565b602655565b6111e3612967565b6040516370a0823160e01b815230600482015282905f906001600160a01b038316906370a0823190602401602060405180830381865afa158015611229573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061124d9190613e79565b9050805f0361126f576040516312171d8360e31b815260040160405180910390fd5b6040517fa9059cbb0000000000000000000000000000000000000000000000000000000081526001600160a01b038481166004830152602482018390525f919084169063a9059cbb906044016020604051808303815f875af11580156112d7573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112fb9190613e90565b90508061131b576040516312171d8360e31b815260040160405180910390fd5b5050505050565b61132a612967565b602455565b826001600160a01b03811633146113545760115460ff16156113545761135433612ac2565b61135f848484612b0d565b50505050565b61136d612967565b601455565b5f82815260026020526040812080548291906001600160a01b03811690600160a01b90046bffffffffffffffffffffffff16816113cf5750506001546001600160a01b03811690600160a01b90046bffffffffffffffffffffffff165b5f6127106113eb6bffffffffffffffffffffffff841689613ebf565b6113f59190613ed6565b92989297509195505050505050565b61140c612967565b602055565b611419612967565b5f80546040516001600160a01b039091169047908381818185875af1925050503d805f8114611463576040519150601f19603f3d011682016040523d82523d5f602084013e611468565b606091505b505090508061148a576040516312171d8360e31b815260040160405180910390fd5b50565b826001600160a01b03811633146114b25760115460ff16156114b2576114b233612ac2565b61135f848484612d12565b602454158015906114cf575060245442105b156114ed57604051636ea7008360e11b815260040160405180910390fd5b602554158015906114ff575060255442115b1561151d57604051636ea7008360e11b815260040160405180910390fd5b601054158015906115455750601054600454600354839190035f19016115439190613ef5565b115b1561156357604051638a164f6360e01b815260040160405180910390fd5b602654158015906115825750602654816027546115809190613ef5565b115b156115a057604051638a164f6360e01b815260040160405180910390fd5b5f81600c546028546115b29190613ef5565b6115bc9190613ebf565b600f549091506001600160a01b03166115f4578034146115ef5760405163193e352b60e11b815260040160405180910390fd5b611710565b600f546040516370a0823160e01b81523360048201526001600160a01b0390911690829082906370a0823190602401602060405180830381865afa15801561163e573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116629190613e79565b10156116815760405163569d45cf60e11b815260040160405180910390fd5b604051636eb1769f60e11b815233600482015230602482015282906001600160a01b0383169063dd62ed3e90604401602060405180830381865afa1580156116cb573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116ef9190613e79565b101561170e57604051634fd3af0760e01b815260040160405180910390fd5b505b6029541580159061173b5750602954335f908152602b6020526040902054611739908490613ef5565b115b1561175957604051638a164f6360e01b815260040160405180910390fd5b600c545f90158015906117765750600e546001600160a01b031615155b1561178c5782600c546117899190613ebf565b90505b600d545f90158015906117a95750600e546001600160a01b031615155b156117d5576127106117bb8385613f08565b600d546117c89190613ebf565b6117d29190613ed6565b90505b5f6117e08284613ef5565b905080156117f1576117f181612d2c565b600f546001600160a01b03161580159061180a57508084115b15611822576118223061181d8387613f08565b612f0b565b335f908152602b602052604081208054879290611840908490613ef5565b925050819055508460275f8282546118589190613ef5565b9091555061131b9050338661302c565b611870612967565b602155565b61187d612967565b601154630100000090046001600160a01b03166118c6576040517fe048e71000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60118054911515620100000262ff000019909216919091179055565b6118ea612967565b601054158015906119125750601054600454600354839190035f19016119109190613ef5565b115b1561193057604051638a164f6360e01b815260040160405180910390fd5b611092828261302c565b611942612967565b601955565b61194f612967565b60136111c9828483613f5f565b611964612967565b601a55565b611971612967565b60126111c9828483613f5f565b611986612967565b6103e8816bffffffffffffffffffffffff1611156119b75760405163f4df6ae560e01b815260040160405180910390fd5b6111c9838383613164565b5f61104982613265565b6119d4612967565b8051825114611a0f576040517ffc4c603600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f5b82518110156111c95760105415801590611a615750601054828281518110611a3b57611a3b614019565b6020026020010151611a556004546003545f199190030190565b611a5f9190613ef5565b115b15611a7f57604051638a164f6360e01b815260040160405180910390fd5b611abb838281518110611a9457611a94614019565b6020026020010151838381518110611aae57611aae614019565b602002602001015161302c565b600101611a11565b611acb612967565b602555565b611ad8612967565b601055565b5f6001600160a01b038216611b1e576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506001600160a01b03165f9081526008602052604090205467ffffffffffffffff1690565b611b4b612967565b611b545f6132ec565b565b611b5e612967565b602855565b611b6b612967565b5f816001600160a01b0316476040515f6040518083038185875af1925050503d805f8114611bb4576040519150601f19603f3d011682016040523d82523d5f602084013e611bb9565b606091505b5050905080611092576040516312171d8360e31b815260040160405180910390fd5b611be3612967565b602955565b60145415801590611bfa575060145442105b15611c1857604051636ea7008360e11b815260040160405180910390fd5b60155415801590611c2a575060155442115b15611c4857604051636ea7008360e11b815260040160405180910390fd5b60105415801590611c705750601054600454600354839190035f1901611c6e9190613ef5565b115b15611c8e57604051638a164f6360e01b815260040160405180910390fd5b60165415801590611cad575060165481601754611cab9190613ef5565b115b15611ccb57604051638a164f6360e01b815260040160405180910390fd5b5f81600c54601854611cdd9190613ef5565b611ce79190613ebf565b600f549091506001600160a01b0316611d1f57803414611d1a5760405163193e352b60e11b815260040160405180910390fd5b611e3b565b600f546040516370a0823160e01b81523360048201526001600160a01b0390911690829082906370a0823190602401602060405180830381865afa158015611d69573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d8d9190613e79565b1015611dac5760405163569d45cf60e11b815260040160405180910390fd5b604051636eb1769f60e11b815233600482015230602482015282906001600160a01b0383169063dd62ed3e90604401602060405180830381865afa158015611df6573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e1a9190613e79565b1015611e3957604051634fd3af0760e01b815260040160405180910390fd5b505b601a5415611eda576040516bffffffffffffffffffffffff193360601b1660208201525f90603401604051602081830303815290604052805190602001209050611ebb8585808060200260200160405190810160405280939291908181526020018383602002808284375f9201919091525050601a549150849050613348565b611ed85760405163582f497d60e11b815260040160405180910390fd5b505b60195415801590611f055750601954335f908152601b6020526040902054611f03908490613ef5565b115b15611f2357604051638a164f6360e01b815260040160405180910390fd5b600c545f9015801590611f405750600e546001600160a01b031615155b15611f565782600c54611f539190613ebf565b90505b600d545f9015801590611f735750600e546001600160a01b031615155b15611f9f57612710611f858385613f08565b600d54611f929190613ebf565b611f9c9190613ed6565b90505b5f611faa8284613ef5565b90508015611fbb57611fbb81612d2c565b600f546001600160a01b031615801590611fd457508084115b15611fe757611fe73061181d8387613f08565b335f908152601b602052604081208054879290612005908490613ef5565b925050819055508460175f82825461201d9190613ef5565b9091555061202d9050338661302c565b50505050505050565b61203e612967565b601655565b6060600680546110a590613e41565b601c54158015906120645750601c5442105b1561208257604051636ea7008360e11b815260040160405180910390fd5b601d54158015906120945750601d5442115b156120b257604051636ea7008360e11b815260040160405180910390fd5b601054158015906120da5750601054600454600354839190035f19016120d89190613ef5565b115b156120f857604051638a164f6360e01b815260040160405180910390fd5b601e54158015906121175750601e5481601f546121159190613ef5565b115b1561213557604051638a164f6360e01b815260040160405180910390fd5b5f81600c546020546121479190613ef5565b6121519190613ebf565b600f549091506001600160a01b0316612189578034146121845760405163193e352b60e11b815260040160405180910390fd5b6122a5565b600f546040516370a0823160e01b81523360048201526001600160a01b0390911690829082906370a0823190602401602060405180830381865afa1580156121d3573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121f79190613e79565b10156122165760405163569d45cf60e11b815260040160405180910390fd5b604051636eb1769f60e11b815233600482015230602482015282906001600160a01b0383169063dd62ed3e90604401602060405180830381865afa158015612260573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122849190613e79565b10156122a357604051634fd3af0760e01b815260040160405180910390fd5b505b60225415612344576040516bffffffffffffffffffffffff193360601b1660208201525f906034016040516020818303038152906040528051906020012090506123258585808060200260200160405190810160405280939291908181526020018383602002808284375f92019190915250506022549150849050613348565b6123425760405163582f497d60e11b815260040160405180910390fd5b505b6021541580159061236f5750602154335f9081526023602052604090205461236d908490613ef5565b115b1561238d57604051638a164f6360e01b815260040160405180910390fd5b600c545f90158015906123aa5750600e546001600160a01b031615155b156123c05782600c546123bd9190613ebf565b90505b600d545f90158015906123dd5750600e546001600160a01b031615155b15612409576127106123ef8385613f08565b600d546123fc9190613ebf565b6124069190613ed6565b90505b5f6124148284613ef5565b905080156124255761242581612d2c565b600f546001600160a01b03161580159061243e57508084115b15612451576124513061181d8387613f08565b335f908152602360205260408120805487929061246f908490613ef5565b9250508190555084601f5f82825461201d9190613ef5565b61248f612967565b602255565b61249c612967565b602a55565b8160115460ff16156124b6576124b681612ac2565b601154610100900460ff16156124df576040516336e278fd60e21b815260040160405180910390fd5b6111c9838361335d565b6124f1612967565b6011805461ff0019169055565b612506612967565b600b80546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff1983168117909355604080519190921680825260208201939093527fcc5dc080ff977b3c3a211fa63ab74f90f658f5ba9d3236e92c8f59570f442aac910160405180910390a15050565b61257c612967565b601c55565b612589612967565b601180546001600160a01b039092166301000000027fffffffffffffffffff0000000000000000000000000000000000000000ffffff909216919091179055565b6125d2612967565b601555565b6125df612967565b6011805460ff1916911515919091179055565b836001600160a01b03811633146126175760115460ff16156126175761261733612ac2565b61131b858585856133c8565b61262b612967565b601e55565b606061263b82612a8f565b612671576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f61267a61340c565b90505f61268561341b565b905081515f146126c257816126998561342a565b6040516020016126aa929190614044565b60405160208183030381529060405292505050919050565b8051156126d0579392505050565b505060408051602081019091525f815292915050565b6126ee612967565b601d55565b6126fb612967565b601855565b612708612967565b6001600160a01b03811661274f576040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081525f60048201526024015b60405180910390fd5b61148a816132ec565b612760612967565b6040516370a0823160e01b815230600482015281905f906001600160a01b038316906370a0823190602401602060405180830381865afa1580156127a6573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127ca9190613e79565b9050805f036127ec576040516312171d8360e31b815260040160405180910390fd5b5f826001600160a01b031663a9059cbb61280d5f546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018590526044016020604051808303815f875af1158015612857573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061287b9190613e90565b90508061135f576040516312171d8360e31b815260040160405180910390fd5b5f6301ffc9a760e01b6001600160e01b0319831614806128e457507f80ac58cd000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b806110495750506001600160e01b0319167f5b5e139f000000000000000000000000000000000000000000000000000000001490565b5f6001600160e01b031982167f2a55205a00000000000000000000000000000000000000000000000000000000148061104957506301ffc9a760e01b6001600160e01b0319831614611049565b5f546001600160a01b03163314611b54576040517f118cdaa7000000000000000000000000000000000000000000000000000000008152336004820152602401612746565b6127106bffffffffffffffffffffffff8216811015612a0e576040517f6f483d090000000000000000000000000000000000000000000000000000000081526bffffffffffffffffffffffff8316600482015260248101829052604401612746565b6001600160a01b038316612a50576040517fb6d9900a0000000000000000000000000000000000000000000000000000000081525f6004820152602401612746565b50604080518082019091526001600160a01b039092168083526bffffffffffffffffffffffff9091166020909201829052600160a01b90910217600155565b5f81600111158015612aa2575060035482105b80156110495750505f90815260076020526040902054600160e01b161590565b69c61711340011223344555f5230601a5280603a525f5f604460166daaeb6d7670e522a718067333cd4e5afa612afa573d5f5f3e3d5ffd5b5f603a5250565b6110928282600161346d565b5f612b1782613265565b9050836001600160a01b0316816001600160a01b031614612b64576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f8281526009602052604090208054338082146001600160a01b03881690911417612be5576001600160a01b0386165f908152600a6020908152604080832033845290915290205460ff16612be5576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b038516612c25576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612c328686866001613554565b8015612c3c575f82555b6001600160a01b038681165f9081526008602052604080822080545f19019055918716808252919020805460010190554260a01b17600160e11b175f85815260076020526040812091909155600160e11b84169003612cc957600184015f818152600760205260408120549003612cc7576003548114612cc7575f8181526007602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6111c983838360405180602001604052805f8152506125f2565b805f03612d65576040517f5e2a89dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600e546001600160a01b0316612da7576040517fcd0081c200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600f546001600160a01b0316612e2e57600e546040515f916001600160a01b03169083908381818185875af1925050503d805f8114612e01576040519150601f19603f3d011682016040523d82523d5f602084013e612e06565b606091505b5050905080612e2857604051634033e4e360e01b815260040160405180910390fd5b50612ec6565b600f54600e546040516323b872dd60e01b81523360048201526001600160a01b0391821660248201526044810184905291169081906323b872dd906064016020604051808303815f875af1925050508015612ea6575060408051601f3d908101601f19168201909252612ea391810190613e90565b60015b612ec357604051634033e4e360e01b815260040160405180910390fd5b50505b600e546040518281526001600160a01b03909116907f2b5dffd9914ddb43acdb6963bacf053a87bf9354300844f6339f17741e25145a9060200160405180910390a250565b805f03612f2b57604051632ee66eed60e01b815260040160405180910390fd5b6001600160a01b038216612f5257604051632ee66eed60e01b815260040160405180910390fd5b600f546040516323b872dd60e01b8152336004820152306024820152604481018390526001600160a01b039091169081906323b872dd906064016020604051808303815f875af1925050508015612fc6575060408051601f3d908101601f19168201909252612fc391810190613e90565b60015b612fe357604051632ee66eed60e01b815260040160405180910390fd5b50826001600160a01b03167f5bfd86dd1dfba5846abf8c8ff49e529e997ac11be6a5ad81501ef4418f3596898360405161301f91815260200190565b60405180910390a2505050565b6003545f829003613069576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6130755f848385613554565b6001600160a01b0383165f8181526008602090815260408083208054680100000000000000018802019055848352600790915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146131215780835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f5fa46001016130eb565b50815f0361315b576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60035550505050565b6127106bffffffffffffffffffffffff82168110156131cd576040517fdfd1fc1b000000000000000000000000000000000000000000000000000000008152600481018590526bffffffffffffffffffffffff8316602482015260448101829052606401612746565b6001600160a01b038316613216576040517f969f0852000000000000000000000000000000000000000000000000000000008152600481018590525f6024820152604401612746565b506040805180820182526001600160a01b0393841681526bffffffffffffffffffffffff92831660208083019182525f968752600290529190942093519051909116600160a01b029116179055565b5f816001116132d357505f8181526007602052604081205490600160e01b821690036132d357805f036132ce5760035482106132b457604051636f96cda160e11b815260040160405180910390fd5b5b505f19015f8181526007602052604090205480156132b5575b919050565b604051636f96cda160e11b815260040160405180910390fd5b5f80546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f8261335485846136b0565b14949350505050565b335f818152600a602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6133d384848461132f565b6001600160a01b0383163b1561135f576133ef848484846136f2565b61135f576040516368d2bf6b60e11b815260040160405180910390fd5b6060601280546110a590613e41565b6060601380546110a590613e41565b606060a06040510180604052602081039150505f815280825b600183039250600a81066030018353600a9004806134435750819003601f19909101908152919050565b5f613477836119c2565b905081156134eb57336001600160a01b038216146134eb576001600160a01b0381165f908152600a6020908152604080832033845290915290205460ff166134eb576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f83815260096020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0388811691821790925591518693918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a450505050565b601154610100900460ff16801561357357506001600160a01b03841615155b801561358757506001600160a01b03831615155b156135a5576040516336e278fd60e21b815260040160405180910390fd5b6135ae336137d9565b6135e4576040517f4c80d8be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b038416158015906136065750600b546001600160a01b031615155b156136ab575f5b818110156136a957600b546001600160a01b031663caee23ea3387876136338689613ef5565b6040516001600160e01b031960e087901b1681526001600160a01b03948516600482015292841660248401529216604482015260648101919091526084015f6040518083038186803b158015613687575f5ffd5b505afa158015613699573d5f5f3e3d5ffd5b50506001909201915061360d9050565b505b61135f565b5f81815b84518110156136ea576136e0828683815181106136d3576136d3614019565b602002602001015161388a565b91506001016136b4565b509392505050565b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a02906137269033908990889088906004016140ae565b6020604051808303815f875af1925050508015613760575060408051601f3d908101601f1916820190925261375d918101906140ee565b60015b6137bc573d80801561378d576040519150601f19603f3d011682016040523d82523d5f602084013e613792565b606091505b5080515f036137b4576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6011545f9062010000900460ff1615613882576011546040517fe18bc08a0000000000000000000000000000000000000000000000000000000081526001600160a01b038481166004830152630100000090920490911690819063e18bc08a90602401602060405180830381865afa158015613857573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061387b9190613e90565b9392505050565b506001919050565b5f8183106138a4575f82815260208490526040902061387b565b505f9182526020526040902090565b6001600160a01b038116811461148a575f5ffd5b5f602082840312156138d7575f5ffd5b813561387b816138b3565b6001600160e01b03198116811461148a575f5ffd5b5f60208284031215613907575f5ffd5b813561387b816138e2565b80356bffffffffffffffffffffffff811681146132ce575f5ffd5b5f5f6040838503121561393e575f5ffd5b8235613949816138b3565b915061395760208401613912565b90509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f61387b6020830184613960565b5f602082840312156139b0575f5ffd5b5035919050565b5f5f604083850312156139c8575f5ffd5b82356139d3816138b3565b946020939093013593505050565b5f5f604083850312156139f2575f5ffd5b82356139fd816138b3565b91506020830135613a0d816138b3565b809150509250929050565b5f5f5f60608486031215613a2a575f5ffd5b8335613a35816138b3565b92506020840135613a45816138b3565b929592945050506040919091013590565b5f5f60408385031215613a67575f5ffd5b50508035926020909101359150565b801515811461148a575f5ffd5b5f60208284031215613a93575f5ffd5b813561387b81613a76565b5f5f60208385031215613aaf575f5ffd5b823567ffffffffffffffff811115613ac5575f5ffd5b8301601f81018513613ad5575f5ffd5b803567ffffffffffffffff811115613aeb575f5ffd5b856020828401011115613afc575f5ffd5b6020919091019590945092505050565b5f5f5f60608486031215613b1e575f5ffd5b833592506020840135613b30816138b3565b9150613b3e60408501613912565b90509250925092565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f1916810167ffffffffffffffff81118282101715613b8457613b84613b47565b604052919050565b5f67ffffffffffffffff821115613ba557613ba5613b47565b5060051b60200190565b5f82601f830112613bbe575f5ffd5b8135613bd1613bcc82613b8c565b613b5b565b8082825260208201915060208360051b860101925085831115613bf2575f5ffd5b602085015b83811015613c0f578035835260209283019201613bf7565b5095945050505050565b5f5f60408385031215613c2a575f5ffd5b823567ffffffffffffffff811115613c40575f5ffd5b8301601f81018513613c50575f5ffd5b8035613c5e613bcc82613b8c565b8082825260208201915060208360051b850101925087831115613c7f575f5ffd5b6020840193505b82841015613caa578335613c99816138b3565b825260209384019390910190613c86565b9450505050602083013567ffffffffffffffff811115613cc8575f5ffd5b613cd485828601613baf565b9150509250929050565b5f5f5f60408486031215613cf0575f5ffd5b833567ffffffffffffffff811115613d06575f5ffd5b8401601f81018613613d16575f5ffd5b803567ffffffffffffffff811115613d2c575f5ffd5b8660208260051b8401011115613d40575f5ffd5b6020918201979096509401359392505050565b5f5f60408385031215613d64575f5ffd5b8235613d6f816138b3565b91506020830135613a0d81613a76565b5f5f5f5f60808587031215613d92575f5ffd5b8435613d9d816138b3565b93506020850135613dad816138b3565b925060408501359150606085013567ffffffffffffffff811115613dcf575f5ffd5b8501601f81018713613ddf575f5ffd5b803567ffffffffffffffff811115613df957613df9613b47565b613e0c601f8201601f1916602001613b5b565b818152886020838501011115613e20575f5ffd5b816020840160208301375f6020838301015280935050505092959194509250565b600181811c90821680613e5557607f821691505b602082108103613e7357634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215613e89575f5ffd5b5051919050565b5f60208284031215613ea0575f5ffd5b815161387b81613a76565b634e487b7160e01b5f52601160045260245ffd5b808202811582820484141761104957611049613eab565b5f82613ef057634e487b7160e01b5f52601260045260245ffd5b500490565b8082018082111561104957611049613eab565b8181038181111561104957611049613eab565b601f8211156111c957805f5260205f20601f840160051c81016020851015613f405750805b601f840160051c820191505b8181101561131b575f8155600101613f4c565b67ffffffffffffffff831115613f7757613f77613b47565b613f8b83613f858354613e41565b83613f1b565b5f601f841160018114613fbc575f8515613fa55750838201355b5f19600387901b1c1916600186901b17835561131b565b5f83815260208120601f198716915b82811015613feb5786850135825560209485019460019092019101613fcb565b5086821015614007575f1960f88860031b161c19848701351681555b505060018560011b0183555050505050565b634e487b7160e01b5f52603260045260245ffd5b5f81518060208401855e5f93019283525090919050565b5f61404f828561402d565b7f2f00000000000000000000000000000000000000000000000000000000000000815261407f600182018561402d565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000815260050195945050505050565b6001600160a01b03851681526001600160a01b0384166020820152826040820152608060608201525f6140e46080830184613960565b9695505050505050565b5f602082840312156140fe575f5ffd5b815161387b816138e256fea26469706673582212204d457f4c28e15a446be0511cb01e13e406dbdd2e07cefc6b260166069aeae6f064736f6c634300081c0033
Deployed Bytecode Sourcemap
100530:26492:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;102931:52;;;;;;;;;;-1:-1:-1;102931:52:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;571:25:1;;;559:2;544:18;102931:52:0;;;;;;;;124720:299;;;;;;;;;;-1:-1:-1;124720:299:0;;;;;:::i;:::-;;:::i;:::-;;;1204:14:1;;1197:22;1179:41;;1167:2;1152:18;124720:299:0;1039:187:1;125241:229:0;;;;;;;;;;-1:-1:-1;125241:229:0;;;;;:::i;:::-;;:::i;:::-;;31057:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;101779:34::-;;;;;;;;;;;;;;;;37457:218;;;;;;;;;;-1:-1:-1;37457:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2675:55:1;;;2657:74;;2645:2;2630:18;37457:218:0;2511:226:1;121254:304:0;;;;;;:::i;:::-;;:::i;120129:127::-;;;;;;;;;;-1:-1:-1;120230:18:0;;-1:-1:-1;;;;;120230:18:0;120129:127;;118960:118;;;;;;;;;;-1:-1:-1;118960:118:0;;;;;:::i;:::-;;:::i;102520:52::-;;;;;;;;;;-1:-1:-1;102520:52:0;;;;;:::i;:::-;;;;;;;;;;;;;;120268:190;;;;;;;;;;-1:-1:-1;120268:190:0;;;120417:26;3280:98:1;;120445:4:0;3409:2:1;3394:18;;3387:50;3253:18;120268:190:0;3114:329:1;101342:40:0;;;;;;;;;;-1:-1:-1;101342:40:0;;;;;;;;;;;26808:323;;;;;;;;;;-1:-1:-1;27082:12:0;;27066:13;;:28;-1:-1:-1;;27066:46:0;26808:323;;114584:394;;;;;;;;;;-1:-1:-1;114584:394:0;;;;;:::i;:::-;;:::i;118636:118::-;;;;;;;;;;-1:-1:-1;118636:118:0;;;;;:::i;:::-;;:::i;121566:222::-;;;;;;:::i;:::-;;:::i;116676:118::-;;;;;;;;;;-1:-1:-1;116676:118:0;;;;;:::i;:::-;;:::i;95778:673::-;;;;;;;;;;-1:-1:-1;95778:673:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;4897:55:1;;;4879:74;;4984:2;4969:18;;4962:34;;;;4852:18;95778:673:0;4705:297:1;100904:79:0;;;;;;;;;;-1:-1:-1;100904:79:0;;;;-1:-1:-1;;;;;100904:79:0;;;118321:102;;;;;;;;;;-1:-1:-1;118321:102:0;;;;;:::i;:::-;;:::i;102236:34::-;;;;;;;;;;;;;;;;102047:52;;;;;;;;;;-1:-1:-1;102047:52:0;;;;;:::i;:::-;;;;;;;;;;;;;;113648:204;;;;;;;;;;;;;:::i;102789:47::-;;;;;;;;;;;;;;;;101731:41;;;;;;;;;;;;;;;;121796:230;;;;;;:::i;:::-;;:::i;109658:2742::-;;;;;;:::i;:::-;;:::i;118147:130::-;;;;;;;;;;-1:-1:-1;118147:130:0;;;;;:::i;:::-;;:::i;124168:196::-;;;;;;;;;;-1:-1:-1;124168:196:0;;;;;:::i;:::-;;:::i;113240:229::-;;;;;;;;;;-1:-1:-1;113240:229:0;;;;;:::i;:::-;;:::i;117167:130::-;;;;;;;;;;-1:-1:-1;117167:130:0;;;;;:::i;:::-;;:::i;126102:138::-;;;;;;;;;;-1:-1:-1;126102:138:0;;;;;:::i;:::-;;:::i;102138:43::-;;;;;;;;;;;;;;;;102611;;;;;;;;;;;;;;;;101820:32;;;;;;;;;;;;;;;;117493:122;;;;;;;;;;-1:-1:-1;117493:122:0;;;;;:::i;:::-;;:::i;125988:106::-;;;;;;;;;;-1:-1:-1;125988:106:0;;;;;:::i;:::-;;:::i;125478:287::-;;;;;;;;;;-1:-1:-1;125478:287:0;;;;;:::i;:::-;;:::i;102369:37::-;;;;;;;;;;;;;;;;102277:32;;;;;;;;;;;;;;;;102316:46;;;;;;;;;;;;;;;;32450:152;;;;;;;;;;-1:-1:-1;32450:152:0;;;;;:::i;:::-;;:::i;101940:100::-;;;;;;;;;;;;;;;;112659:541;;;;;;;;;;-1:-1:-1;112659:541:0;;;;;:::i;:::-;;:::i;118801:110::-;;;;;;;;;;-1:-1:-1;118801:110:0;;;;;:::i;:::-;;:::i;113500:106::-;;;;;;;;;;-1:-1:-1;113500:106:0;;;;;:::i;:::-;;:::i;27992:233::-;;;;;;;;;;-1:-1:-1;27992:233:0;;;;;:::i;:::-;;:::i;92627:103::-;;;;;;;;;;;;;:::i;119301:102::-;;;;;;;;;;-1:-1:-1;119301:102:0;;;;;:::i;:::-;;:::i;113896:221::-;;;;;;;;;;-1:-1:-1;113896:221:0;;;;;:::i;:::-;;:::i;119127:130::-;;;;;;;;;;-1:-1:-1;119127:130:0;;;;;:::i;:::-;;:::i;102188:41::-;;;;;;;;;;;;;;;;103306:3147;;;;;;:::i;:::-;;:::i;102709:34::-;;;;;;;;;;;;;;;;117000:118;;;;;;;;;;-1:-1:-1;117000:118:0;;;;;:::i;:::-;;:::i;100807:47::-;;;;;;;;;;;;;;;;91952:87;;;;;;;;;;-1:-1:-1;91998:7:0;92025:6;-1:-1:-1;;;;;92025:6:0;91952:87;;102750:32;;;;;;;;;;;;;;;;31233:104;;;;;;;;;;;;;:::i;106482:3147::-;;;;;;:::i;:::-;;:::i;118473:122::-;;;;;;;;;;-1:-1:-1;118473:122:0;;;;;:::i;:::-;;:::i;119453:::-;;;;;;;;;;-1:-1:-1;119453:122:0;;;;;:::i;:::-;;:::i;120940:306::-;;;;;;;;;;-1:-1:-1;120940:306:0;;;;;:::i;:::-;;:::i;102887:37::-;;;;;;;;;;;;;;;;116539:88;;;;;;;;;;;;;:::i;120470:243::-;;;;;;;;;;-1:-1:-1;120470:243:0;;;;;:::i;:::-;;:::i;101681:43::-;;;;;;;;;;;;;;;;117656:118;;;;;;;;;;-1:-1:-1;117656:118:0;;;;;:::i;:::-;;:::i;124372:126::-;;;;;;;;;;-1:-1:-1;124372:126:0;;;;;:::i;:::-;;:::i;101389:28::-;;;;;;;;;;-1:-1:-1;101389:28:0;;;;;;;;;;;116841:110;;;;;;;;;;-1:-1:-1;116841:110:0;;;;;:::i;:::-;;:::i;122297:117::-;;;;;;;;;;-1:-1:-1;122297:117:0;;;;;:::i;:::-;;:::i;122034:255::-;;;;;;:::i;:::-;;:::i;117980:118::-;;;;;;;;;;-1:-1:-1;117980:118:0;;;;;:::i;:::-;;:::i;126481:536::-;;;;;;;;;;-1:-1:-1;126481:536:0;;;;;:::i;:::-;;:::i;102843:37::-;;;;;;;;;;;;;;;;102661:41;;;;;;;;;;;;;;;;100861:36;;;;;;;;;;;;;;;;101254:31;;;;;;;;;;;;;;;;117821:110;;;;;;;;;;-1:-1:-1;117821:110:0;;;;;:::i;:::-;;:::i;117341:102::-;;;;;;;;;;-1:-1:-1;117341:102:0;;;;;:::i;:::-;;:::i;101896:37::-;;;;;;;;;;;;;;;;101179:68;;;;;;;;;;-1:-1:-1;101179:68:0;;;;-1:-1:-1;;;;;101179:68:0;;;101859:30;;;;;;;;;;;;;;;;38406:164;;;;;;;;;;-1:-1:-1;38406:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;38527:25:0;;;38503:4;38527:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;38406:164;101424:30;;;;;;;;;;-1:-1:-1;101424:30:0;;;;;;;-1:-1:-1;;;;;101424:30:0;;;92885:220;;;;;;;;;;-1:-1:-1;92885:220:0;;;;;:::i;:::-;;:::i;102413:100::-;;;;;;;;;;;;;;;;114157:385;;;;;;;;;;-1:-1:-1;114157:385:0;;;;;:::i;:::-;;:::i;101292:43::-;;;;;;;;;;-1:-1:-1;101292:43:0;;;;;;;;124720:299;124816:4;-1:-1:-1;;;;;;124854:46:0;;124869:31;124854:46;;:101;;;124917:38;124943:11;124917:25;:38::i;:::-;124854:157;;;;124973:38;124999:11;124973:25;:38::i;:::-;124833:178;124720:299;-1:-1:-1;;124720:299:0:o;125241:229::-;91838:13;:11;:13::i;:::-;125354:4:::1;125339:12;:19;;;125335:75;;;125382:16;;-1:-1:-1::0;;;125382:16:0::1;;;;;;;;;;;125335:75;125420:42;125439:8;125449:12;125420:18;:42::i;:::-;125241:229:::0;;:::o;31057:100::-;31111:13;31144:5;31137:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31057:100;:::o;37457:218::-;37533:7;37558:16;37566:7;37558;:16::i;:::-;37553:64;;37583:34;;;;;;;;;;;;;;37553:64;-1:-1:-1;37637:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;37637:30:0;;37457:218::o;121254:304::-;121404:8;122515:24;;;;17751:59;;;17784:26;17801:8;17784:16;:26::i;:::-;121434:21:::1;::::0;::::1;::::0;::::1;;;121430:78;;;121479:17;;-1:-1:-1::0;;;121479:17:0::1;;;;;;;;;;;121430:78;121518:32;121532:8;121542:7;121518:13;:32::i;:::-;121254:304:::0;;;:::o;118960:118::-;91838:13;:11;:13::i;:::-;119040:15:::1;:30:::0;118960:118::o;114584:394::-;91838:13;:11;:13::i;:::-;114735:30:::1;::::0;-1:-1:-1;;;114735:30:0;;114759:4:::1;114735:30;::::0;::::1;2657:74:1::0;114693:12:0;;114671::::1;::::0;-1:-1:-1;;;;;114735:15:0;::::1;::::0;::::1;::::0;2630:18:1;;114735:30:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;114717:48;;114780:7;114791:1;114780:12:::0;114776:68:::1;;114816:16;;-1:-1:-1::0;;;114816:16:0::1;;;;;;;;;;;114776:68;114869:27;::::0;;;;-1:-1:-1;;;;;4897:55:1;;;114869:27:0::1;::::0;::::1;4879:74:1::0;4969:18;;;4962:34;;;114854:12:0::1;::::0;114869:14;;::::1;::::0;::::1;::::0;4852:18:1;;114869:27:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;114854:42;;114912:7;114907:64;;114943:16;;-1:-1:-1::0;;;114943:16:0::1;;;;;;;;;;;114907:64;114660:318;;;114584:394:::0;;:::o;118636:118::-;91838:13;:11;:13::i;:::-;118716:15:::1;:30:::0;118636:118::o;121566:222::-;121721:4;-1:-1:-1;;;;;17340:18:0;;17348:10;17340:18;17336:184;;122515:24;;;;17432:61;;;17465:28;17482:10;17465:16;:28::i;:::-;121743:37:::1;121762:4;121768:2;121772:7;121743:18;:37::i;:::-;121566:222:::0;;;;:::o;116676:118::-;91838:13;:11;:13::i;:::-;116756:15:::1;:30:::0;116676:118::o;95778:673::-;95889:16;95969:26;;;:17;:26;;;;;96032:21;;95889:16;;95969:26;-1:-1:-1;;;;;96032:21:0;;;-1:-1:-1;;;96089:28:0;;;;96032:21;96130:176;;-1:-1:-1;;96198:19:0;:28;-1:-1:-1;;;;;96198:28:0;;;-1:-1:-1;;;96259:35:0;;;;96130:176;96318:21;96817:5;96343:27;96342:49;96343:27;;:9;:27;:::i;:::-;96342:49;;;;:::i;:::-;96412:15;;;;-1:-1:-1;95778:673:0;;-1:-1:-1;;;;;;95778:673:0:o;118321:102::-;91838:13;:11;:13::i;:::-;118393:11:::1;:22:::0;118321:102::o;113648:204::-;91838:13;:11;:13::i;:::-;113697:12:::1;92025:6:::0;;113715:55:::1;::::0;-1:-1:-1;;;;;92025:6:0;;;;113744:21:::1;::::0;113697:12;113715:55;113697:12;113715:55;113744:21;92025:6;113715:55:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;113696:74;;;113786:7;113781:64;;113817:16;;-1:-1:-1::0;;;113817:16:0::1;;;;;;;;;;;113781:64;113685:167;113648:204::o:0;121796:230::-;121955:4;-1:-1:-1;;;;;17340:18:0;;17348:10;17340:18;17336:184;;122515:24;;;;17432:61;;;17465:28;17482:10;17465:16;:28::i;:::-;121977:41:::1;122000:4;122006:2;122010:7;121977:22;:41::i;109658:2742::-:0;109768:15;;:20;;;;:57;;;109810:15;;109792;:33;109768:57;109764:115;;;109849:18;;-1:-1:-1;;;109849:18:0;;;;;;;;;;;109764:115;109931:13;;:18;;;;:53;;;109971:13;;109953:15;:31;109931:53;109927:111;;;110008:18;;-1:-1:-1;;;110008:18:0;;;;;;;;;;;109927:111;110122:9;;:14;;;;:54;;-1:-1:-1;110167:9:0;;27082:12;;27066:13;;110156:8;;27066:28;;-1:-1:-1;;27066:46:0;110140:24;;;;:::i;:::-;:36;110122:54;110118:113;;;110200:19;;-1:-1:-1;;;110200:19:0;;;;;;;;;;;110118:113;110310:15;;:20;;;;:70;;;110365:15;;110354:8;110334:17;;:28;;;;:::i;:::-;:46;110310:70;110306:129;;;110404:19;;-1:-1:-1;;;110404:19:0;;;;;;;;;;;110306:129;110447:23;110504:8;110488:12;;110474:11;;:26;;;;:::i;:::-;110473:39;;;;:::i;:::-;110590:8;;110447:65;;-1:-1:-1;;;;;;110590:8:0;110586:560;;110646:15;110633:9;:28;110629:90;;110689:14;;-1:-1:-1;;;110689:14:0;;;;;;;;;;;110629:90;110586:560;;;110858:8;;110886:27;;-1:-1:-1;;;110886:27:0;;110902:10;110886:27;;;2657:74:1;-1:-1:-1;;;;;110858:8:0;;;;110916:15;;110858:8;;110886:15;;2630:18:1;;110886:27:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:45;110882:111;;;110959:18;;-1:-1:-1;;;110959:18:0;;;;;;;;;;;110882:111;111011:42;;-1:-1:-1;;;111011:42:0;;111027:10;111011:42;;;13969:74:1;111047:4:0;14059:18:1;;;14052:83;111056:15:0;;-1:-1:-1;;;;;111011:15:0;;;;;13942:18:1;;111011:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:60;111007:128;;;111099:20;;-1:-1:-1;;;111099:20:0;;;;;;;;;;;111007:128;110745:401;110586:560;111240:18;;:23;;;;:88;;-1:-1:-1;111310:18:0;;111285:10;111267:29;;;;:17;:29;;;;;;:40;;111299:8;;111267:40;:::i;:::-;:61;111240:88;111236:147;;;111352:19;;-1:-1:-1;;;111352:19:0;;;;;;;;;;;111236:147;111476:12;;111395:16;;111476:17;;;;:54;;-1:-1:-1;111497:19:0;;-1:-1:-1;;;;;111497:19:0;:33;;111476:54;111472:121;;;111573:8;111558:12;;:23;;;;:::i;:::-;111547:34;;111472:121;111698:15;;111657:22;;111698:20;;;;:57;;-1:-1:-1;111722:19:0;;-1:-1:-1;;;;;111722:19:0;:33;;111698:57;111694:163;;;111840:5;111809:26;111827:8;111809:15;:26;:::i;:::-;111790:15;;:46;;;;:::i;:::-;111789:56;;;;:::i;:::-;111772:73;;111694:163;111895:17;111915:25;111926:14;111915:8;:25;:::i;:::-;111895:45;-1:-1:-1;111955:14:0;;111951:75;;111986:28;112004:9;111986:17;:28::i;:::-;112084:8;;-1:-1:-1;;;;;112084:8:0;:22;;;;:53;;;112128:9;112110:15;:27;112084:53;112080:151;;;112154:61;112180:4;112187:27;112205:9;112187:15;:27;:::i;:::-;112154:17;:61::i;:::-;112289:10;112271:29;;;;:17;:29;;;;;:41;;112304:8;;112271:29;:41;;112304:8;;112271:41;:::i;:::-;;;;;;;;112344:8;112323:17;;:29;;;;;;;:::i;:::-;;;;-1:-1:-1;112363:27:0;;-1:-1:-1;112369:10:0;112381:8;112363:5;:27::i;118147:130::-;91838:13;:11;:13::i;:::-;118233:18:::1;:36:::0;118147:130::o;124168:196::-;91838:13;:11;:13::i;:::-;124255:15:::1;::::0;;;::::1;-1:-1:-1::0;;;;;124255:15:0::1;124251:58;;124293:16;;;;;;;;;;;;;;124251:58;124320:16;:36:::0;;;::::1;;::::0;::::1;-1:-1:-1::0;;124320:36:0;;::::1;::::0;;;::::1;::::0;;124168:196::o;113240:229::-;91838:13;:11;:13::i;:::-;113323:9:::1;::::0;:14;;::::1;::::0;:54:::1;;-1:-1:-1::0;113368:9:0::1;::::0;27082:12;;27066:13;;113357:8;;27066:28;;-1:-1:-1;;27066:46:0;113341:24:::1;;;;:::i;:::-;:36;113323:54;113319:113;;;113401:19;;-1:-1:-1::0;;;113401:19:0::1;;;;;;;;;;;113319:113;113442:19;113448:2;113452:8;113442:5;:19::i;117167:130::-:0;91838:13;:11;:13::i;:::-;117253:18:::1;:36:::0;117167:130::o;126102:138::-;91838:13;:11;:13::i;:::-;126195:20:::1;:37;126218:14:::0;;126195:20;:37:::1;:::i;117493:122::-:0;91838:13;:11;:13::i;:::-;117575:16:::1;:32:::0;117493:122::o;125988:106::-;91838:13;:11;:13::i;:::-;126063::::1;:23;126079:7:::0;;126063:13;:23:::1;:::i;125478:287::-:0;91838:13;:11;:13::i;:::-;125642:4:::1;125627:12;:19;;;125623:75;;;125670:16;;-1:-1:-1::0;;;125670:16:0::1;;;;;;;;;;;125623:75;125708:49;125725:7;125734:8;125744:12;125708:16;:49::i;32450:152::-:0;32522:7;32565:27;32584:7;32565:18;:27::i;112659:541::-;91838:13;:11;:13::i;:::-;112821:7:::1;:14;112805:5;:12;:30;112801:92;;112859:22;;;;;;;;;;;;;;112801:92;112908:9;112903:288;112923:5;:12;112919:1;:16;112903:288;;;112957:9;::::0;:14;;::::1;::::0;:56:::1;;;113004:9;;112991:7;112999:1;112991:10;;;;;;;;:::i;:::-;;;;;;;112975:13;27082:12:::0;;27066:13;;-1:-1:-1;;27066:28:0;;;:46;;26808:323;112975:13:::1;:26;;;;:::i;:::-;:38;112957:56;112953:123;;;113041:19;;-1:-1:-1::0;;;113041:19:0::1;;;;;;;;;;;112953:123;113090:27;113096:5;113102:1;113096:8;;;;;;;;:::i;:::-;;;;;;;113106:7;113114:1;113106:10;;;;;;;;:::i;:::-;;;;;;;113090:5;:27::i;:::-;113161:3;;112903:288;;118801:110:::0;91838:13;:11;:13::i;:::-;118877::::1;:26:::0;118801:110::o;113500:106::-;91838:13;:11;:13::i;:::-;113574:9:::1;:24:::0;113500:106::o;27992:233::-;28064:7;-1:-1:-1;;;;;28088:19:0;;28084:60;;28116:28;;;;;;;;;;;;;;28084:60;-1:-1:-1;;;;;;28162:25:0;;;;;:18;:25;;;;;;22151:13;28162:55;;27992:233::o;92627:103::-;91838:13;:11;:13::i;:::-;92692:30:::1;92719:1;92692:18;:30::i;:::-;92627:103::o:0;119301:102::-;91838:13;:11;:13::i;:::-;119373:11:::1;:22:::0;119301:102::o;113896:221::-;91838:13;:11;:13::i;:::-;113966:12:::1;113992:3;-1:-1:-1::0;;;;;113984:17:0::1;114009:21;113984:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;113965:70;;;114051:7;114046:64;;114082:16;;-1:-1:-1::0;;;114082:16:0::1;;;;;;;;;;;119127:130:::0;91838:13;:11;:13::i;:::-;119213:18:::1;:36:::0;119127:130::o;103306:3147::-;103448:15;;:20;;;;:57;;;103490:15;;103472;:33;103448:57;103444:115;;;103529:18;;-1:-1:-1;;;103529:18:0;;;;;;;;;;;103444:115;103611:13;;:18;;;;:53;;;103651:13;;103633:15;:31;103611:53;103607:111;;;103688:18;;-1:-1:-1;;;103688:18:0;;;;;;;;;;;103607:111;103802:9;;:14;;;;:54;;-1:-1:-1;103847:9:0;;27082:12;;27066:13;;103836:8;;27066:28;;-1:-1:-1;;27066:46:0;103820:24;;;;:::i;:::-;:36;103802:54;103798:113;;;103880:19;;-1:-1:-1;;;103880:19:0;;;;;;;;;;;103798:113;103990:15;;:20;;;;:70;;;104045:15;;104034:8;104014:17;;:28;;;;:::i;:::-;:46;103990:70;103986:129;;;104084:19;;-1:-1:-1;;;104084:19:0;;;;;;;;;;;103986:129;104127:23;104184:8;104168:12;;104154:11;;:26;;;;:::i;:::-;104153:39;;;;:::i;:::-;104270:8;;104127:65;;-1:-1:-1;;;;;;104270:8:0;104266:560;;104326:15;104313:9;:28;104309:90;;104369:14;;-1:-1:-1;;;104369:14:0;;;;;;;;;;;104309:90;104266:560;;;104538:8;;104566:27;;-1:-1:-1;;;104566:27:0;;104582:10;104566:27;;;2657:74:1;-1:-1:-1;;;;;104538:8:0;;;;104596:15;;104538:8;;104566:15;;2630:18:1;;104566:27:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:45;104562:111;;;104639:18;;-1:-1:-1;;;104639:18:0;;;;;;;;;;;104562:111;104691:42;;-1:-1:-1;;;104691:42:0;;104707:10;104691:42;;;13969:74:1;104727:4:0;14059:18:1;;;14052:83;104736:15:0;;-1:-1:-1;;;;;104691:15:0;;;;;13942:18:1;;104691:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:60;104687:128;;;104779:20;;-1:-1:-1;;;104779:20:0;;;;;;;;;;;104687:128;104425:401;104266:560;104913:16;;:30;104909:289;;105019:28;;-1:-1:-1;;105036:10:0;16640:2:1;16636:15;16632:53;105019:28:0;;;16620:66:1;104994:12:0;;16702::1;;105019:28:0;;;;;;;;;;;;105009:39;;;;;;104994:54;;105068:55;105087:11;;105068:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;105100:16:0;;;-1:-1:-1;105118:4:0;;-1:-1:-1;105068:18:0;:55::i;:::-;105063:124;;105151:20;;-1:-1:-1;;;105151:20:0;;;;;;;;;;;105063:124;104945:253;104909:289;105293:18;;:23;;;;:88;;-1:-1:-1;105363:18:0;;105338:10;105320:29;;;;:17;:29;;;;;;:40;;105352:8;;105320:40;:::i;:::-;:61;105293:88;105289:147;;;105405:19;;-1:-1:-1;;;105405:19:0;;;;;;;;;;;105289:147;105529:12;;105448:16;;105529:17;;;;:54;;-1:-1:-1;105550:19:0;;-1:-1:-1;;;;;105550:19:0;:33;;105529:54;105525:121;;;105626:8;105611:12;;:23;;;;:::i;:::-;105600:34;;105525:121;105751:15;;105710:22;;105751:20;;;;:57;;-1:-1:-1;105775:19:0;;-1:-1:-1;;;;;105775:19:0;:33;;105751:57;105747:163;;;105893:5;105862:26;105880:8;105862:15;:26;:::i;:::-;105843:15;;:46;;;;:::i;:::-;105842:56;;;;:::i;:::-;105825:73;;105747:163;105948:17;105968:25;105979:14;105968:8;:25;:::i;:::-;105948:45;-1:-1:-1;106008:14:0;;106004:75;;106039:28;106057:9;106039:17;:28::i;:::-;106137:8;;-1:-1:-1;;;;;106137:8:0;:22;;;;:53;;;106181:9;106163:15;:27;106137:53;106133:151;;;106207:61;106233:4;106240:27;106258:9;106240:15;:27;:::i;106207:61::-;106342:10;106324:29;;;;:17;:29;;;;;:41;;106357:8;;106324:29;:41;;106357:8;;106324:41;:::i;:::-;;;;;;;;106397:8;106376:17;;:29;;;;;;;:::i;:::-;;;;-1:-1:-1;106416:27:0;;-1:-1:-1;106422:10:0;106434:8;106416:5;:27::i;:::-;103393:3060;;;;103306:3147;;;:::o;117000:118::-;91838:13;:11;:13::i;:::-;117080:15:::1;:30:::0;117000:118::o;31233:104::-;31289:13;31322:7;31315:14;;;;;:::i;106482:3147::-;106624:15;;:20;;;;:57;;;106666:15;;106648;:33;106624:57;106620:115;;;106705:18;;-1:-1:-1;;;106705:18:0;;;;;;;;;;;106620:115;106787:13;;:18;;;;:53;;;106827:13;;106809:15;:31;106787:53;106783:111;;;106864:18;;-1:-1:-1;;;106864:18:0;;;;;;;;;;;106783:111;106978:9;;:14;;;;:54;;-1:-1:-1;107023:9:0;;27082:12;;27066:13;;107012:8;;27066:28;;-1:-1:-1;;27066:46:0;106996:24;;;;:::i;:::-;:36;106978:54;106974:113;;;107056:19;;-1:-1:-1;;;107056:19:0;;;;;;;;;;;106974:113;107166:15;;:20;;;;:70;;;107221:15;;107210:8;107190:17;;:28;;;;:::i;:::-;:46;107166:70;107162:129;;;107260:19;;-1:-1:-1;;;107260:19:0;;;;;;;;;;;107162:129;107303:23;107360:8;107344:12;;107330:11;;:26;;;;:::i;:::-;107329:39;;;;:::i;:::-;107446:8;;107303:65;;-1:-1:-1;;;;;;107446:8:0;107442:560;;107502:15;107489:9;:28;107485:90;;107545:14;;-1:-1:-1;;;107545:14:0;;;;;;;;;;;107485:90;107442:560;;;107714:8;;107742:27;;-1:-1:-1;;;107742:27:0;;107758:10;107742:27;;;2657:74:1;-1:-1:-1;;;;;107714:8:0;;;;107772:15;;107714:8;;107742:15;;2630:18:1;;107742:27:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:45;107738:111;;;107815:18;;-1:-1:-1;;;107815:18:0;;;;;;;;;;;107738:111;107867:42;;-1:-1:-1;;;107867:42:0;;107883:10;107867:42;;;13969:74:1;107903:4:0;14059:18:1;;;14052:83;107912:15:0;;-1:-1:-1;;;;;107867:15:0;;;;;13942:18:1;;107867:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:60;107863:128;;;107955:20;;-1:-1:-1;;;107955:20:0;;;;;;;;;;;107863:128;107601:401;107442:560;108089:16;;:30;108085:289;;108195:28;;-1:-1:-1;;108212:10:0;16640:2:1;16636:15;16632:53;108195:28:0;;;16620:66:1;108170:12:0;;16702::1;;108195:28:0;;;;;;;;;;;;108185:39;;;;;;108170:54;;108244:55;108263:11;;108244:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;108276:16:0;;;-1:-1:-1;108294:4:0;;-1:-1:-1;108244:18:0;:55::i;:::-;108239:124;;108327:20;;-1:-1:-1;;;108327:20:0;;;;;;;;;;;108239:124;108121:253;108085:289;108469:18;;:23;;;;:88;;-1:-1:-1;108539:18:0;;108514:10;108496:29;;;;:17;:29;;;;;;:40;;108528:8;;108496:40;:::i;:::-;:61;108469:88;108465:147;;;108581:19;;-1:-1:-1;;;108581:19:0;;;;;;;;;;;108465:147;108705:12;;108624:16;;108705:17;;;;:54;;-1:-1:-1;108726:19:0;;-1:-1:-1;;;;;108726:19:0;:33;;108705:54;108701:121;;;108802:8;108787:12;;:23;;;;:::i;:::-;108776:34;;108701:121;108927:15;;108886:22;;108927:20;;;;:57;;-1:-1:-1;108951:19:0;;-1:-1:-1;;;;;108951:19:0;:33;;108927:57;108923:163;;;109069:5;109038:26;109056:8;109038:15;:26;:::i;:::-;109019:15;;:46;;;;:::i;:::-;109018:56;;;;:::i;:::-;109001:73;;108923:163;109124:17;109144:25;109155:14;109144:8;:25;:::i;:::-;109124:45;-1:-1:-1;109184:14:0;;109180:75;;109215:28;109233:9;109215:17;:28::i;:::-;109313:8;;-1:-1:-1;;;;;109313:8:0;:22;;;;:53;;;109357:9;109339:15;:27;109313:53;109309:151;;;109383:61;109409:4;109416:27;109434:9;109416:15;:27;:::i;109383:61::-;109518:10;109500:29;;;;:17;:29;;;;;:41;;109533:8;;109500:29;:41;;109533:8;;109500:41;:::i;:::-;;;;;;;;109573:8;109552:17;;:29;;;;;;;:::i;118473:122::-;91838:13;:11;:13::i;:::-;118555:16:::1;:32:::0;118473:122::o;119453:::-;91838:13;:11;:13::i;:::-;119535:16:::1;:32:::0;119453:122::o;120940:306::-;121081:8;122515:24;;;;17751:59;;;17784:26;17801:8;17784:16;:26::i;:::-;121111:21:::1;::::0;::::1;::::0;::::1;;;121107:78;;;121156:17;;-1:-1:-1::0;;;121156:17:0::1;;;;;;;;;;;121107:78;121195:43;121219:8;121229;121195:23;:43::i;116539:88::-:0;91838:13;:11;:13::i;:::-;116590:21:::1;:29:::0;;-1:-1:-1;;116590:29:0::1;::::0;;116539:88::o;120470:243::-;91838:13;:11;:13::i;:::-;120581:18:::1;::::0;;-1:-1:-1;;;;;120610:30:0;;::::1;-1:-1:-1::0;;120610:30:0;::::1;::::0;::::1;::::0;;;120656:49:::1;::::0;;120581:18;;;::::1;13969:74:1::0;;;14074:2;14059:18;;14052:83;;;;120656:49:0::1;::::0;13942:18:1;120656:49:0::1;;;;;;;120547:166;120470:243:::0;:::o;117656:118::-;91838:13;:11;:13::i;:::-;117736:15:::1;:30:::0;117656:118::o;124372:126::-;91838:13;:11;:13::i;:::-;124456:15:::1;:34:::0;;-1:-1:-1;;;;;124456:34:0;;::::1;::::0;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;124372:126::o;116841:110::-;91838:13;:11;:13::i;:::-;116917::::1;:26:::0;116841:110::o;122297:117::-;91838:13;:11;:13::i;:::-;122374:24:::1;:32:::0;;-1:-1:-1;;122374:32:0::1;::::0;::::1;;::::0;;;::::1;::::0;;122297:117::o;122034:255::-;122212:4;-1:-1:-1;;;;;17340:18:0;;17348:10;17340:18;17336:184;;122515:24;;;;17432:61;;;17465:28;17482:10;17465:16;:28::i;:::-;122234:47:::1;122257:4;122263:2;122267:7;122276:4;122234:22;:47::i;117980:118::-:0;91838:13;:11;:13::i;:::-;118060:15:::1;:30:::0;117980:118::o;126481:536::-;126546:13;126587:16;126595:7;126587;:16::i;:::-;126582:59;;126612:29;;;;;;;;;;;;;;126582:59;126654:21;126678:10;:8;:10::i;:::-;126654:34;;126699:28;126730:17;:15;:17::i;:::-;126699:48;;126768:7;126762:21;126787:1;126762:26;126758:133;;126836:7;126850:18;126860:7;126850:9;:18::i;:::-;126819:59;;;;;;;;;:::i;:::-;;;;;;;;;;;;;126805:74;;;;126481:536;;;:::o;126758:133::-;126905:28;;:33;126901:87;;126962:14;126481:536;-1:-1:-1;;;126481:536:0:o;126901:87::-;-1:-1:-1;;126998:9:0;;;;;;;;;-1:-1:-1;126998:9:0;;;126481:536;-1:-1:-1;;126481:536:0:o;117821:110::-;91838:13;:11;:13::i;:::-;117897::::1;:26:::0;117821:110::o;117341:102::-;91838:13;:11;:13::i;:::-;117413:11:::1;:22:::0;117341:102::o;92885:220::-;91838:13;:11;:13::i;:::-;-1:-1:-1;;;;;92970:22:0;::::1;92966:93;;93016:31;::::0;::::1;::::0;;93044:1:::1;93016:31;::::0;::::1;2657:74:1::0;2630:18;;93016:31:0::1;;;;;;;;92966:93;93069:28;93088:8;93069:18;:28::i;114157:385::-:0;91838:13;:11;:13::i;:::-;114294:30:::1;::::0;-1:-1:-1;;;114294:30:0;;114318:4:::1;114294:30;::::0;::::1;2657:74:1::0;114252:12:0;;114230::::1;::::0;-1:-1:-1;;;;;114294:15:0;::::1;::::0;::::1;::::0;2630:18:1;;114294:30:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;114276:48;;114339:7;114350:1;114339:12:::0;114335:68:::1;;114375:16;;-1:-1:-1::0;;;114375:16:0::1;;;;;;;;;;;114335:68;114413:12;114428:5;-1:-1:-1::0;;;;;114428:14:0::1;;114443:7;91998::::0;92025:6;-1:-1:-1;;;;;92025:6:0;;91952:87;114443:7:::1;114428:32;::::0;-1:-1:-1;;;;;;114428:32:0::1;::::0;;;;;;-1:-1:-1;;;;;4897:55:1;;;114428:32:0::1;::::0;::::1;4879:74:1::0;4969:18;;;4962:34;;;4852:18;;114428:32:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;114413:47;;114476:7;114471:64;;114507:16;;-1:-1:-1::0;;;114507:16:0::1;;;;;;;;;;;30155:639:::0;30240:4;-1:-1:-1;;;;;;;;;30564:25:0;;;;:102;;-1:-1:-1;30641:25:0;-1:-1:-1;;;;;;30641:25:0;;;30564:102;:179;;;-1:-1:-1;;;;;;;;30718:25:0;;;;30155:639::o;95508:215::-;95610:4;-1:-1:-1;;;;;;95634:41:0;;95649:26;95634:41;;:81;;-1:-1:-1;;;;;;;;;;20724:40:0;;;95679:36;20624:148;92117:166;91998:7;92025:6;-1:-1:-1;;;;;92025:6:0;2920:10;92177:23;92173:103;;92224:40;;;;;2920:10;92224:40;;;2657:74:1;2630:18;;92224:40:0;2511:226:1;97101:518:0;96817:5;97196:39;97250:26;;;-1:-1:-1;97246:176:0;;;97355:55;;;;;17729:26:1;17717:39;;97355:55:0;;;17699:58:1;17773:18;;;17766:34;;;17672:18;;97355:55:0;17526:280:1;97246:176:0;-1:-1:-1;;;;;97436:22:0;;97432:110;;97482:48;;;;;97527:1;97482:48;;;2657:74:1;2630:18;;97482:48:0;2511:226:1;97432:110:0;-1:-1:-1;97576:35:0;;;;;;;;;-1:-1:-1;;;;;97576:35:0;;;;;;;;;;;;;;;;;-1:-1:-1;;;97554:57:0;;;;:19;:57;97101:518::o;38828:282::-;38893:4;38949:7;119882:1;38930:26;;:66;;;;;38983:13;;38973:7;:23;38930:66;:153;;;;-1:-1:-1;;39034:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;39034:44:0;:49;;38828:282::o;17938:1359::-;18331:22;18325:4;18318:36;18424:9;18418:4;18411:23;18499:8;18493:4;18486:22;18676:4;18670;18664;18658;18631:25;18624:5;18613:68;18603:274;;18797:16;18791:4;18785;18770:44;18845:16;18839:4;18832:30;18603:274;19277:1;19271:4;19264:15;17938:1359;:::o;37174:124::-;37263:27;37272:2;37276:7;37285:4;37263:8;:27::i;41096:2825::-;41238:27;41268;41287:7;41268:18;:27::i;:::-;41238:57;;41353:4;-1:-1:-1;;;;;41312:45:0;41328:19;-1:-1:-1;;;;;41312:45:0;;41308:86;;41366:28;;;;;;;;;;;;;;41308:86;41408:27;40204:24;;;:15;:24;;;;;40432:26;;2920:10;39829:30;;;-1:-1:-1;;;;;39522:28:0;;39807:20;;;39804:56;41594:180;;-1:-1:-1;;;;;38527:25:0;;38503:4;38527:25;;;:18;:25;;;;;;;;2920:10;38527:35;;;;;;;;;;41682:92;;41739:35;;;;;;;;;;;;;;41682:92;-1:-1:-1;;;;;41791:16:0;;41787:52;;41816:23;;;;;;;;;;;;;;41787:52;41852:43;41874:4;41880:2;41884:7;41893:1;41852:21;:43::i;:::-;41988:15;41985:160;;;42128:1;42107:19;42100:30;41985:160;-1:-1:-1;;;;;42525:24:0;;;;;;;:18;:24;;;;;;42523:26;;-1:-1:-1;;42523:26:0;;;42594:22;;;;;;;;;42592:24;;-1:-1:-1;42592:24:0;;;36276:11;36251:23;36247:41;36234:63;-1:-1:-1;;;36234:63:0;42887:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;43182:47:0;;:52;;43178:627;;43287:1;43277:11;;43255:19;43410:30;;;:17;:30;;;;;;:35;;43406:384;;43548:13;;43533:11;:28;43529:242;;43695:30;;;;:17;:30;;;;;:52;;;43529:242;43236:569;43178:627;43852:7;43848:2;-1:-1:-1;;;;;43833:27:0;43842:4;-1:-1:-1;;;;;43833:27:0;;;;;;;;;;;41227:2694;;;41096:2825;;;:::o;44017:193::-;44163:39;44180:4;44186:2;44190:7;44163:39;;;;;;;;;;;;:16;:39::i;115018:876::-;115087:9;115100:1;115087:14;115083:75;;115125:21;;;;;;;;;;;;;;115083:75;115172:19;;-1:-1:-1;;;;;115172:19:0;115168:101;;115229:28;;;;;;;;;;;;;;115168:101;115283:8;;-1:-1:-1;;;;;115283:8:0;115279:544;;115349:19;;115341:55;;115323:12;;-1:-1:-1;;;;;115349:19:0;;115382:9;;115323:12;115341:55;115323:12;115341:55;115382:9;115349:19;115341:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;115322:74;;;115416:7;115411:75;;115451:19;;-1:-1:-1;;;115451:19:0;;;;;;;;;;;115411:75;115307:190;115279:544;;;115609:8;;115668:19;;115637:62;;-1:-1:-1;;;115637:62:0;;115656:10;115637:62;;;18013:74:1;-1:-1:-1;;;;;115668:19:0;;;18103:18:1;;;18096:83;18195:18;;;18188:34;;;115609:8:0;;;;;115637:18;;17986::1;;115637:62:0;;;;;;;;;;;;;;;;;;;-1:-1:-1;115637:62:0;;;;;;;;-1:-1:-1;;115637:62:0;;;;;;;;;;;;:::i;:::-;;;115633:179;;115777:19;;-1:-1:-1;;;115777:19:0;;;;;;;;;;;115633:179;;115513:310;115279:544;115855:19;;115838:48;;571:25:1;;;-1:-1:-1;;;;;115855:19:0;;;;115838:48;;559:2:1;544:18;115838:48:0;;;;;;;115018:876;:::o;115929:574::-;116014:6;116024:1;116014:11;116010:74;;116049:23;;-1:-1:-1;;;116049:23:0;;;;;;;;;;;116010:74;-1:-1:-1;;;;;116098:23:0;;116094:86;;116145:23;;-1:-1:-1;;;116145:23:0;;;;;;;;;;;116094:86;116267:8;;116291:53;;-1:-1:-1;;;116291:53:0;;116310:10;116291:53;;;18013:74:1;116330:4:0;18103:18:1;;;18096:83;18195:18;;;18188:34;;;-1:-1:-1;;;;;116267:8:0;;;;;;116291:18;;17986::1;;116291:53:0;;;;;;;;;;;;;;;;;;;-1:-1:-1;116291:53:0;;;;;;;;-1:-1:-1;;116291:53:0;;;;;;;;;;;;:::i;:::-;;;116287:158;;116410:23;;-1:-1:-1;;;116410:23:0;;;;;;;;;;;116287:158;;116477:9;-1:-1:-1;;;;;116460:35:0;;116488:6;116460:35;;;;571:25:1;;559:2;544:18;;425:177;116460:35:0;;;;;;;;115999:504;115929:574;;:::o;48477:2966::-;48573:13;;48550:20;48601:13;;;48597:44;;48623:18;;;;;;;;;;;;;;48597:44;48654:61;48684:1;48688:2;48692:12;48706:8;48654:21;:61::i;:::-;-1:-1:-1;;;;;49129:22:0;;;;;;:18;:22;;;;22289:2;49129:22;;;:71;;49167:32;49155:45;;49129:71;;;49443:31;;;:17;:31;;;;;-1:-1:-1;36707:15:0;;36681:24;36677:46;36276:11;36251:23;36247:41;36244:52;36234:63;;49443:173;;49678:23;;;;49443:31;;49129:22;;50443:25;49129:22;;50296:335;50957:1;50943:12;50939:20;50897:346;50998:3;50989:7;50986:16;50897:346;;51216:7;51206:8;51203:1;51176:25;51173:1;51170;51165:59;51051:1;51038:15;50897:346;;;50901:77;51276:8;51288:1;51276:13;51272:45;;51298:19;;;;;;;;;;;;;;51272:45;51334:13;:19;-1:-1:-1;121254:304:0;;;:::o;98070:554::-;96817:5;98180:39;98234:26;;;-1:-1:-1;98230:183:0;;;98339:62;;;;;;;;18434:25:1;;;18507:26;18495:39;;18475:18;;;18468:67;18551:18;;;18544:34;;;18407:18;;98339:62:0;18233:351:1;98230:183:0;-1:-1:-1;;;;;98427:22:0;;98423:117;;98473:55;;;;;;;;18763:25:1;;;98525:1:0;18804:18:1;;;18797:83;18736:18;;98473:55:0;18589:297:1;98423:117:0;-1:-1:-1;98581:35:0;;;;;;;;-1:-1:-1;;;;;98581:35:0;;;;;;;;;;;;;;;;-1:-1:-1;98552:26:0;;;:17;:26;;;;;;:64;;;;;;;-1:-1:-1;;;98552:64:0;;;;;;98070:554::o;33605:1712::-;33672:14;33722:7;119882:1;33703:26;33699:1562;;-1:-1:-1;33755:26:0;;;;:17;:26;;;;;;;-1:-1:-1;;;33831:24:0;;:29;;33827:1423;;33970:6;33980:1;33970:11;33966:981;;34021:13;;34010:7;:24;34006:68;;34043:31;;-1:-1:-1;;;34043:31:0;;;;;;;;;;;34006:68;34671:257;-1:-1:-1;;;34775:9:0;34757:28;;;;:17;:28;;;;;;34839:25;;34671:257;34839:25;;33605:1712;;;:::o;33827:1423::-;35278:31;;-1:-1:-1;;;35278:31:0;;;;;;;;;;;93265:191;93339:16;93358:6;;-1:-1:-1;;;;;93375:17:0;;;-1:-1:-1;;93375:17:0;;;;;;93408:40;;93358:6;;;;;;;93408:40;;93339:16;93408:40;93328:128;93265:191;:::o;67401:156::-;67492:4;67545;67516:25;67529:5;67536:4;67516:12;:25::i;:::-;:33;;67401:156;-1:-1:-1;;;;67401:156:0:o;38015:234::-;2920:10;38110:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;38110:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;38110:60:0;;;;;;;;;;38186:55;;1179:41:1;;;38110:49:0;;2920:10;38186:55;;1152:18:1;38186:55:0;;;;;;;38015:234;;:::o;44808:407::-;44983:31;44996:4;45002:2;45006:7;44983:12;:31::i;:::-;-1:-1:-1;;;;;45029:14:0;;;:19;45025:183;;45068:56;45099:4;45105:2;45109:7;45118:5;45068:30;:56::i;:::-;45063:145;;45152:40;;-1:-1:-1;;;45152:40:0;;;;;;;;;;;126248:106;126300:13;126333;126326:20;;;;;:::i;126362:111::-;126412:13;126445:20;126438:27;;;;;:::i;62641:1745::-;62706:17;63140:4;63133;63127:11;63123:22;63232:1;63226:4;63219:15;63307:4;63304:1;63300:12;63293:19;;;63389:1;63384:3;63377:14;63493:3;63732:5;63714:428;63780:1;63775:3;63771:11;63764:18;;63951:2;63945:4;63941:13;63937:2;63933:22;63928:3;63920:36;64045:2;64035:13;;64102:25;63714:428;64102:25;-1:-1:-1;64172:13:0;;;-1:-1:-1;;64287:14:0;;;64349:19;;;64287:14;62641:1745;-1:-1:-1;62641:1745:0:o;55886:492::-;56015:13;56031:16;56039:7;56031;:16::i;:::-;56015:32;;56064:13;56060:219;;;2920:10;-1:-1:-1;;;;;56096:28:0;;;56092:187;;-1:-1:-1;;;;;38527:25:0;;38503:4;38527:25;;;:18;:25;;;;;;;;2920:10;38527:35;;;;;;;;;;56143:136;;56224:35;;;;;;;;;;;;;;56143:136;56291:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;56291:35:0;-1:-1:-1;;;;;56291:35:0;;;;;;;;;56342:28;;56291:24;;56342:28;;;;;;;56004:374;55886:492;;;:::o;122770:1076::-;122975:21;;;;;;;:43;;;;-1:-1:-1;;;;;;123000:18:0;;;;122975:43;:63;;;;-1:-1:-1;;;;;;123022:16:0;;;;122975:63;122971:120;;;123062:17;;-1:-1:-1;;;123062:17:0;;;;;;;;;;;122971:120;123155:35;123179:10;123155:23;:35::i;:::-;123150:98;;123214:22;;;;;;;;;;;;;;123150:98;-1:-1:-1;;;;;123338:18:0;;;;;;:54;;-1:-1:-1;123360:18:0;;-1:-1:-1;;;;;123360:18:0;:32;;123338:54;123334:423;;;123479:9;123474:272;123498:8;123494:1;:12;123474:272;;;123551:18;;-1:-1:-1;;;;;123551:18:0;123532:55;123610:10;123643:4;123670:2;123695:16;123710:1;123695:12;:16;:::i;:::-;123532:198;;-1:-1:-1;;;;;;123532:198:0;;;;;;;-1:-1:-1;;;;;19140:55:1;;;123532:198:0;;;19122:74:1;19232:55;;;19212:18;;;19205:83;19324:55;;19304:18;;;19297:83;19396:18;;;19389:34;;;;19094:19;;123532:198:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;123508:3:0;;;;;-1:-1:-1;123474:272:0;;-1:-1:-1;123474:272:0;;;123334:423;123777:61;121566:222;67968:314;68051:7;68094:4;68051:7;68109:136;68133:5;:12;68129:1;:16;68109:136;;;68182:51;68210:12;68224:5;68230:1;68224:8;;;;;;;;:::i;:::-;;;;;;;68182:27;:51::i;:::-;68167:66;-1:-1:-1;68147:3:0;;68109:136;;;-1:-1:-1;68262:12:0;67968:314;-1:-1:-1;;;67968:314:0:o;47299:716::-;47483:88;;-1:-1:-1;;;47483:88:0;;47462:4;;-1:-1:-1;;;;;47483:45:0;;;;;:88;;2920:10;;47550:4;;47556:7;;47565:5;;47483:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47483:88:0;;;;;;;;-1:-1:-1;;47483:88:0;;;;;;;;;;;;:::i;:::-;;;47479:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47766:6;:13;47783:1;47766:18;47762:235;;47812:40;;-1:-1:-1;;;47812:40:0;;;;;;;;;;;47762:235;47955:6;47949:13;47940:6;47936:2;47932:15;47925:38;47479:529;-1:-1:-1;;;;;;47642:64:0;-1:-1:-1;;;47642:64:0;;-1:-1:-1;47299:716:0;;;;;;:::o;123854:306::-;123981:16;;123955:4;;123981:16;;;;;123977:154;;;124045:15;;124083:36;;;;;-1:-1:-1;;;;;2675:55:1;;;124083:36:0;;;2657:74:1;124045:15:0;;;;;;;;;;124083:26;;2630:18:1;;124083:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;124076:43;123854:306;-1:-1:-1;;;123854:306:0:o;123977:154::-;-1:-1:-1;124148:4:0;;123854:306;-1:-1:-1;123854:306:0:o;3693:169::-;3768:7;3799:1;3795;:5;:59;;4060:13;4126:15;;;4162:4;4155:15;;;4209:4;4193:21;;3795:59;;;-1:-1:-1;4060:13:0;4126:15;;;4162:4;4155:15;4209:4;4193:21;;;3693:169::o;14:154:1:-;-1:-1:-1;;;;;93:5:1;89:54;82:5;79:65;69:93;;158:1;155;148:12;173:247;232:6;285:2;273:9;264:7;260:23;256:32;253:52;;;301:1;298;291:12;253:52;340:9;327:23;359:31;384:5;359:31;:::i;607:177::-;-1:-1:-1;;;;;;685:5:1;681:78;674:5;671:89;661:117;;774:1;771;764:12;789:245;847:6;900:2;888:9;879:7;875:23;871:32;868:52;;;916:1;913;906:12;868:52;955:9;942:23;974:30;998:5;974:30;:::i;1231:179::-;1298:20;;1358:26;1347:38;;1337:49;;1327:77;;1400:1;1397;1390:12;1415:319;1482:6;1490;1543:2;1531:9;1522:7;1518:23;1514:32;1511:52;;;1559:1;1556;1549:12;1511:52;1598:9;1585:23;1617:31;1642:5;1617:31;:::i;:::-;1667:5;-1:-1:-1;1691:37:1;1724:2;1709:18;;1691:37;:::i;:::-;1681:47;;1415:319;;;;;:::o;1739:300::-;1792:3;1830:5;1824:12;1857:6;1852:3;1845:19;1913:6;1906:4;1899:5;1895:16;1888:4;1883:3;1879:14;1873:47;1965:1;1958:4;1949:6;1944:3;1940:16;1936:27;1929:38;2028:4;2021:2;2017:7;2012:2;2004:6;2000:15;1996:29;1991:3;1987:39;1983:50;1976:57;;;1739:300;;;;:::o;2044:231::-;2193:2;2182:9;2175:21;2156:4;2213:56;2265:2;2254:9;2250:18;2242:6;2213:56;:::i;2280:226::-;2339:6;2392:2;2380:9;2371:7;2367:23;2363:32;2360:52;;;2408:1;2405;2398:12;2360:52;-1:-1:-1;2453:23:1;;2280:226;-1:-1:-1;2280:226:1:o;2742:367::-;2810:6;2818;2871:2;2859:9;2850:7;2846:23;2842:32;2839:52;;;2887:1;2884;2877:12;2839:52;2926:9;2913:23;2945:31;2970:5;2945:31;:::i;:::-;2995:5;3073:2;3058:18;;;;3045:32;;-1:-1:-1;;;2742:367:1:o;3448:388::-;3516:6;3524;3577:2;3565:9;3556:7;3552:23;3548:32;3545:52;;;3593:1;3590;3583:12;3545:52;3632:9;3619:23;3651:31;3676:5;3651:31;:::i;:::-;3701:5;-1:-1:-1;3758:2:1;3743:18;;3730:32;3771:33;3730:32;3771:33;:::i;:::-;3823:7;3813:17;;;3448:388;;;;;:::o;3841:508::-;3918:6;3926;3934;3987:2;3975:9;3966:7;3962:23;3958:32;3955:52;;;4003:1;4000;3993:12;3955:52;4042:9;4029:23;4061:31;4086:5;4061:31;:::i;:::-;4111:5;-1:-1:-1;4168:2:1;4153:18;;4140:32;4181:33;4140:32;4181:33;:::i;:::-;3841:508;;4233:7;;-1:-1:-1;;;4313:2:1;4298:18;;;;4285:32;;3841:508::o;4354:346::-;4422:6;4430;4483:2;4471:9;4462:7;4458:23;4454:32;4451:52;;;4499:1;4496;4489:12;4451:52;-1:-1:-1;;4544:23:1;;;4664:2;4649:18;;;4636:32;;-1:-1:-1;4354:346:1:o;5007:118::-;5093:5;5086:13;5079:21;5072:5;5069:32;5059:60;;5115:1;5112;5105:12;5130:241;5186:6;5239:2;5227:9;5218:7;5214:23;5210:32;5207:52;;;5255:1;5252;5245:12;5207:52;5294:9;5281:23;5313:28;5335:5;5313:28;:::i;5376:587::-;5447:6;5455;5508:2;5496:9;5487:7;5483:23;5479:32;5476:52;;;5524:1;5521;5514:12;5476:52;5564:9;5551:23;5597:18;5589:6;5586:30;5583:50;;;5629:1;5626;5619:12;5583:50;5652:22;;5705:4;5697:13;;5693:27;-1:-1:-1;5683:55:1;;5734:1;5731;5724:12;5683:55;5774:2;5761:16;5800:18;5792:6;5789:30;5786:50;;;5832:1;5829;5822:12;5786:50;5877:7;5872:2;5863:6;5859:2;5855:15;5851:24;5848:37;5845:57;;;5898:1;5895;5888:12;5845:57;5929:2;5921:11;;;;;5951:6;;-1:-1:-1;5376:587:1;-1:-1:-1;;;5376:587:1:o;6153:439::-;6229:6;6237;6245;6298:2;6286:9;6277:7;6273:23;6269:32;6266:52;;;6314:1;6311;6304:12;6266:52;6359:23;;;-1:-1:-1;6458:2:1;6443:18;;6430:32;6471:33;6430:32;6471:33;:::i;:::-;6523:7;-1:-1:-1;6549:37:1;6582:2;6567:18;;6549:37;:::i;:::-;6539:47;;6153:439;;;;;:::o;6779:184::-;-1:-1:-1;;;6828:1:1;6821:88;6928:4;6925:1;6918:15;6952:4;6949:1;6942:15;6968:275;7039:2;7033:9;7104:2;7085:13;;-1:-1:-1;;7081:27:1;7069:40;;7139:18;7124:34;;7160:22;;;7121:62;7118:88;;;7186:18;;:::i;:::-;7222:2;7215:22;6968:275;;-1:-1:-1;6968:275:1:o;7248:183::-;7308:4;7341:18;7333:6;7330:30;7327:56;;;7363:18;;:::i;:::-;-1:-1:-1;7408:1:1;7404:14;7420:4;7400:25;;7248:183::o;7436:723::-;7490:5;7543:3;7536:4;7528:6;7524:17;7520:27;7510:55;;7561:1;7558;7551:12;7510:55;7601:6;7588:20;7628:64;7644:47;7684:6;7644:47;:::i;:::-;7628:64;:::i;:::-;7716:3;7740:6;7735:3;7728:19;7772:4;7767:3;7763:14;7756:21;;7833:4;7823:6;7820:1;7816:14;7808:6;7804:27;7800:38;7786:52;;7861:3;7853:6;7850:15;7847:35;;;7878:1;7875;7868:12;7847:35;7914:4;7906:6;7902:17;7928:200;7944:6;7939:3;7936:15;7928:200;;;8036:17;;8066:18;;8113:4;8104:14;;;;7961;7928:200;;;-1:-1:-1;8146:7:1;7436:723;-1:-1:-1;;;;;7436:723:1:o;8164:1215::-;8282:6;8290;8343:2;8331:9;8322:7;8318:23;8314:32;8311:52;;;8359:1;8356;8349:12;8311:52;8399:9;8386:23;8432:18;8424:6;8421:30;8418:50;;;8464:1;8461;8454:12;8418:50;8487:22;;8540:4;8532:13;;8528:27;-1:-1:-1;8518:55:1;;8569:1;8566;8559:12;8518:55;8609:2;8596:16;8632:64;8648:47;8688:6;8648:47;:::i;8632:64::-;8718:3;8742:6;8737:3;8730:19;8774:4;8769:3;8765:14;8758:21;;8831:4;8821:6;8818:1;8814:14;8810:2;8806:23;8802:34;8788:48;;8859:7;8851:6;8848:19;8845:39;;;8880:1;8877;8870:12;8845:39;8912:4;8908:2;8904:13;8893:24;;8926:221;8942:6;8937:3;8934:15;8926:221;;;9024:3;9011:17;9041:31;9066:5;9041:31;:::i;:::-;9085:18;;9132:4;8959:14;;;;9123;;;;8926:221;;;9166:5;-1:-1:-1;;;;9224:4:1;9209:20;;9196:34;9255:18;9242:32;;9239:52;;;9287:1;9284;9277:12;9239:52;9310:63;9365:7;9354:8;9343:9;9339:24;9310:63;:::i;:::-;9300:73;;;8164:1215;;;;;:::o;9644:730::-;9739:6;9747;9755;9808:2;9796:9;9787:7;9783:23;9779:32;9776:52;;;9824:1;9821;9814:12;9776:52;9864:9;9851:23;9897:18;9889:6;9886:30;9883:50;;;9929:1;9926;9919:12;9883:50;9952:22;;10005:4;9997:13;;9993:27;-1:-1:-1;9983:55:1;;10034:1;10031;10024:12;9983:55;10074:2;10061:16;10100:18;10092:6;10089:30;10086:50;;;10132:1;10129;10122:12;10086:50;10187:7;10180:4;10170:6;10167:1;10163:14;10159:2;10155:23;10151:34;10148:47;10145:67;;;10208:1;10205;10198:12;10145:67;10239:4;10231:13;;;;10263:6;;-1:-1:-1;10323:20:1;;10310:34;;9644:730;-1:-1:-1;;;9644:730:1:o;10379:382::-;10444:6;10452;10505:2;10493:9;10484:7;10480:23;10476:32;10473:52;;;10521:1;10518;10511:12;10473:52;10560:9;10547:23;10579:31;10604:5;10579:31;:::i;:::-;10629:5;-1:-1:-1;10686:2:1;10671:18;;10658:32;10699:30;10658:32;10699:30;:::i;10766:1162::-;10861:6;10869;10877;10885;10938:3;10926:9;10917:7;10913:23;10909:33;10906:53;;;10955:1;10952;10945:12;10906:53;10994:9;10981:23;11013:31;11038:5;11013:31;:::i;:::-;11063:5;-1:-1:-1;11120:2:1;11105:18;;11092:32;11133:33;11092:32;11133:33;:::i;:::-;11185:7;-1:-1:-1;11265:2:1;11250:18;;11237:32;;-1:-1:-1;11346:2:1;11331:18;;11318:32;11373:18;11362:30;;11359:50;;;11405:1;11402;11395:12;11359:50;11428:22;;11481:4;11473:13;;11469:27;-1:-1:-1;11459:55:1;;11510:1;11507;11500:12;11459:55;11550:2;11537:16;11576:18;11568:6;11565:30;11562:56;;;11598:18;;:::i;:::-;11640:57;11687:2;11664:17;;-1:-1:-1;;11660:31:1;11693:2;11656:40;11640:57;:::i;:::-;11720:6;11713:5;11706:21;11768:7;11763:2;11754:6;11750:2;11746:15;11742:24;11739:37;11736:57;;;11789:1;11786;11779:12;11736:57;11844:6;11839:2;11835;11831:11;11826:2;11819:5;11815:14;11802:49;11896:1;11891:2;11882:6;11875:5;11871:18;11867:27;11860:38;11917:5;11907:15;;;;;10766:1162;;;;;;;:::o;11933:437::-;12012:1;12008:12;;;;12055;;;12076:61;;12130:4;12122:6;12118:17;12108:27;;12076:61;12183:2;12175:6;12172:14;12152:18;12149:38;12146:218;;-1:-1:-1;;;12217:1:1;12210:88;12321:4;12318:1;12311:15;12349:4;12346:1;12339:15;12146:218;;11933:437;;;:::o;12375:184::-;12445:6;12498:2;12486:9;12477:7;12473:23;12469:32;12466:52;;;12514:1;12511;12504:12;12466:52;-1:-1:-1;12537:16:1;;12375:184;-1:-1:-1;12375:184:1:o;12564:245::-;12631:6;12684:2;12672:9;12663:7;12659:23;12655:32;12652:52;;;12700:1;12697;12690:12;12652:52;12732:9;12726:16;12751:28;12773:5;12751:28;:::i;12814:184::-;-1:-1:-1;;;12863:1:1;12856:88;12963:4;12960:1;12953:15;12987:4;12984:1;12977:15;13003:168;13076:9;;;13107;;13124:15;;;13118:22;;13104:37;13094:71;;13145:18;;:::i;13176:274::-;13216:1;13242;13232:189;;-1:-1:-1;;;13274:1:1;13267:88;13378:4;13375:1;13368:15;13406:4;13403:1;13396:15;13232:189;-1:-1:-1;13435:9:1;;13176:274::o;13665:125::-;13730:9;;;13751:10;;;13748:36;;;13764:18;;:::i;14146:128::-;14213:9;;;14234:11;;;14231:37;;;14248:18;;:::i;14405:518::-;14507:2;14502:3;14499:11;14496:421;;;14543:5;14540:1;14533:16;14587:4;14584:1;14574:18;14657:2;14645:10;14641:19;14638:1;14634:27;14628:4;14624:38;14693:4;14681:10;14678:20;14675:47;;;-1:-1:-1;14716:4:1;14675:47;14771:2;14766:3;14762:12;14759:1;14755:20;14749:4;14745:31;14735:41;;14826:81;14844:2;14837:5;14834:13;14826:81;;;14903:1;14889:16;;14870:1;14859:13;14826:81;;15099:1198;15223:18;15218:3;15215:27;15212:53;;;15245:18;;:::i;:::-;15274:94;15364:3;15324:38;15356:4;15350:11;15324:38;:::i;:::-;15318:4;15274:94;:::i;:::-;15394:1;15419:2;15414:3;15411:11;15436:1;15431:608;;;;16083:1;16100:3;16097:93;;;-1:-1:-1;16156:19:1;;;16143:33;16097:93;-1:-1:-1;;15056:1:1;15052:11;;;15048:24;15044:29;15034:40;15080:1;15076:11;;;15031:57;16203:78;;15404:887;;15431:608;14352:1;14345:14;;;14389:4;14376:18;;-1:-1:-1;;15467:17:1;;;15582:229;15596:7;15593:1;15590:14;15582:229;;;15685:19;;;15672:33;15657:49;;15792:4;15777:20;;;;15745:1;15733:14;;;;15612:12;15582:229;;;15586:3;15839;15830:7;15827:16;15824:159;;;15963:1;15959:6;15953:3;15947;15944:1;15940:11;15936:21;15932:34;15928:39;15915:9;15910:3;15906:19;15893:33;15889:79;15881:6;15874:95;15824:159;;;16026:1;16020:3;16017:1;16013:11;16009:19;16003:4;15996:33;15404:887;;15099:1198;;;:::o;16302:184::-;-1:-1:-1;;;16351:1:1;16344:88;16451:4;16448:1;16441:15;16475:4;16472:1;16465:15;16725:212;16767:3;16805:5;16799:12;16849:6;16842:4;16835:5;16831:16;16826:3;16820:36;16911:1;16875:16;;16900:13;;;-1:-1:-1;16875:16:1;;16725:212;-1:-1:-1;16725:212:1:o;16942:579::-;17323:3;17351:30;17377:3;17369:6;17351:30;:::i;:::-;17401:3;17397:2;17390:15;17424:37;17458:1;17454:2;17450:10;17442:6;17424:37;:::i;:::-;17481:7;17470:19;;17513:1;17505:10;;16942:579;-1:-1:-1;;;;;16942:579:1:o;19434:542::-;-1:-1:-1;;;;;19669:6:1;19665:55;19654:9;19647:74;-1:-1:-1;;;;;19761:6:1;19757:55;19752:2;19741:9;19737:18;19730:83;19849:6;19844:2;19833:9;19829:18;19822:34;19892:3;19887:2;19876:9;19872:18;19865:31;19628:4;19913:57;19965:3;19954:9;19950:19;19942:6;19913:57;:::i;:::-;19905:65;19434:542;-1:-1:-1;;;;;;19434:542:1:o;19981:249::-;20050:6;20103:2;20091:9;20082:7;20078:23;20074:32;20071:52;;;20119:1;20116;20109:12;20071:52;20151:9;20145:16;20170:30;20194:5;20170:30;:::i
Swarm Source
ipfs://4d457f4c28e15a446be0511cb01e13e406dbdd2e07cefc6b260166069aeae6f0
Loading...
Loading
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in HYPE
Multichain Portfolio | 35 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.