Source Code
More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 5,770 transactions
| Transaction Hash |
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| Set Approval For... | 28422594 | 41 days ago | IN | 0 ETH | 0.00000006 | ||||
| Set Approval For... | 28415573 | 41 days ago | IN | 0 ETH | 0.0000001 | ||||
| Set Approval For... | 28415569 | 41 days ago | IN | 0 ETH | 0.00000009 | ||||
| Set Approval For... | 27074872 | 72 days ago | IN | 0 ETH | 0 | ||||
| Set Approval For... | 27074869 | 72 days ago | IN | 0 ETH | 0 | ||||
| Set Approval For... | 27074866 | 72 days ago | IN | 0 ETH | 0 | ||||
| Set Approval For... | 25863310 | 100 days ago | IN | 0 ETH | 0.00000003 | ||||
| Set Approval For... | 25608880 | 106 days ago | IN | 0 ETH | 0 | ||||
| Set Approval For... | 25606818 | 106 days ago | IN | 0 ETH | 0 | ||||
| Set Approval For... | 25440770 | 110 days ago | IN | 0 ETH | 0 | ||||
| Set Approval For... | 25126558 | 117 days ago | IN | 0 ETH | 0 | ||||
| Set Approval For... | 25073252 | 119 days ago | IN | 0 ETH | 0 | ||||
| Set Approval For... | 24815043 | 125 days ago | IN | 0 ETH | 0 | ||||
| Set Approval For... | 24778932 | 126 days ago | IN | 0 ETH | 0 | ||||
| Set Approval For... | 24604793 | 130 days ago | IN | 0 ETH | 0.00000003 | ||||
| Set Approval For... | 24604787 | 130 days ago | IN | 0 ETH | 0.00000003 | ||||
| Set Approval For... | 23489657 | 155 days ago | IN | 0 ETH | 0.00000003 | ||||
| Set Approval For... | 22601983 | 176 days ago | IN | 0 ETH | 0.00000003 | ||||
| Set Approval For... | 20988765 | 213 days ago | IN | 0 ETH | 0.00000015 | ||||
| Set Approval For... | 20931902 | 215 days ago | IN | 0 ETH | 0.00000002 | ||||
| Set Approval For... | 19731350 | 242 days ago | IN | 0 ETH | 0.00000001 | ||||
| Set Approval For... | 17922486 | 284 days ago | IN | 0 ETH | 0.00000008 | ||||
| Set Approval For... | 17177735 | 301 days ago | IN | 0 ETH | 0.00000086 | ||||
| Set Approval For... | 16868460 | 309 days ago | IN | 0 ETH | 0.00000003 | ||||
| Set Approval For... | 16154853 | 325 days ago | IN | 0 ETH | 0.00000008 |
Cross-Chain Transactions
Loading...
Loading
Contract Name:
WholesomePoker
Compiler Version
v0.8.20+commit.a1b79de6
Contract Source Code (Solidity)
/**
*Submitted for verification at blastscan.io on 2024-04-07
*/
// SPDX-License-Identifier: Unlicensed
// Author: WholesomeDev
// File: @openzeppelin/contracts/token/ERC20/IERC20.sol
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)
pragma solidity ^0.8.20;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
/**
* @dev Returns the value of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the value of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves a `value` amount of tokens from the caller's account to `to`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address to, uint256 value) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(address owner, address spender) external view returns (uint256);
/**
* @dev Sets a `value` amount of tokens as the allowance of `spender` over the
* caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 value) external returns (bool);
/**
* @dev Moves a `value` amount of tokens from `from` to `to` using the
* allowance mechanism. `value` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(address from, address to, uint256 value) external returns (bool);
}
// File: @openzeppelin/contracts/utils/introspection/IERC165.sol
// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol)
pragma solidity ^0.8.20;
/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
*
* Implementers can declare support of contract interfaces, which can then be
* queried by others ({ERC165Checker}).
*
* For an implementation, see {ERC165}.
*/
interface IERC165 {
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
* to learn more about how these ids are created.
*
* This function call must use less than 30 000 gas.
*/
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}
// File: @openzeppelin/contracts/utils/introspection/ERC165.sol
// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/ERC165.sol)
pragma solidity ^0.8.20;
/**
* @dev Implementation of the {IERC165} interface.
*
* Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
* for the additional interface id that will be supported. For example:
*
* ```solidity
* function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
* return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
* }
* ```
*/
abstract contract ERC165 is IERC165 {
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) {
return interfaceId == type(IERC165).interfaceId;
}
}
// File: @openzeppelin/contracts/interfaces/IERC2981.sol
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC2981.sol)
pragma solidity ^0.8.20;
/**
* @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.
*/
function royaltyInfo(
uint256 tokenId,
uint256 salePrice
) external view returns (address receiver, uint256 royaltyAmount);
}
// File: @openzeppelin/contracts/token/common/ERC2981.sol
// OpenZeppelin Contracts (last updated v5.0.0) (token/common/ERC2981.sol)
pragma solidity ^0.8.20;
/**
* @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
*
* Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
* specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
*
* Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
* fee is specified in basis points by default.
*
* IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
* https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
* voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
*/
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 an 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, uint256) {
RoyaltyInfo memory royalty = _tokenRoyaltyInfo[tokenId];
if (royalty.receiver == address(0)) {
royalty = _defaultRoyaltyInfo;
}
uint256 royaltyAmount = (salePrice * royalty.royaltyFraction) / _feeDenominator();
return (royalty.receiver, royaltyAmount);
}
/**
* @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
* fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
* override.
*/
function _feeDenominator() internal pure virtual returns (uint96) {
return 10000;
}
/**
* @dev Sets the royalty information that all ids in this contract will default to.
*
* Requirements:
*
* - `receiver` cannot be the zero address.
* - `feeNumerator` cannot be greater than the fee denominator.
*/
function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
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];
}
}
// File: erc721a/contracts/IERC721A.sol
// ERC721A Contracts v4.3.0
// Creator: Chiru Labs
pragma solidity ^0.8.4;
/**
* @dev Interface of ERC721A.
*/
interface IERC721A {
/**
* The caller must own the token or be an approved operator.
*/
error ApprovalCallerNotOwnerNorApproved();
/**
* The token does not exist.
*/
error ApprovalQueryForNonexistentToken();
/**
* Cannot query the balance for the zero address.
*/
error BalanceQueryForZeroAddress();
/**
* Cannot mint to the zero address.
*/
error MintToZeroAddress();
/**
* The quantity of tokens minted must be more than zero.
*/
error MintZeroQuantity();
/**
* The token does not exist.
*/
error OwnerQueryForNonexistentToken();
/**
* The caller must own the token or be an approved operator.
*/
error TransferCallerNotOwnerNorApproved();
/**
* The token must be owned by `from`.
*/
error TransferFromIncorrectOwner();
/**
* Cannot safely transfer to a contract that does not implement the
* ERC721Receiver interface.
*/
error TransferToNonERC721ReceiverImplementer();
/**
* Cannot transfer to the zero address.
*/
error TransferToZeroAddress();
/**
* The token does not exist.
*/
error URIQueryForNonexistentToken();
/**
* The `quantity` minted with ERC2309 exceeds the safety limit.
*/
error MintERC2309QuantityExceedsLimit();
/**
* The `extraData` cannot be set on an unintialized ownership slot.
*/
error OwnershipNotInitializedForExtraData();
/**
* `_sequentialUpTo()` must be greater than `_startTokenId()`.
*/
error SequentialUpToTooSmall();
/**
* The `tokenId` of a sequential mint exceeds `_sequentialUpTo()`.
*/
error SequentialMintExceedsLimit();
/**
* Spot minting requires a `tokenId` greater than `_sequentialUpTo()`.
*/
error SpotMintTokenIdTooSmall();
/**
* Cannot mint over a token that already exists.
*/
error TokenAlreadyExists();
/**
* The feature is not compatible with spot mints.
*/
error NotCompatibleWithSpotMints();
// =============================================================
// STRUCTS
// =============================================================
struct TokenOwnership {
// The address of the owner.
address addr;
// Stores the start time of ownership with minimal overhead for tokenomics.
uint64 startTimestamp;
// Whether the token has been burned.
bool burned;
// Arbitrary data similar to `startTimestamp` that can be set via {_extraData}.
uint24 extraData;
}
// =============================================================
// TOKEN COUNTERS
// =============================================================
/**
* @dev Returns the total number of tokens in existence.
* Burned tokens will reduce the count.
* To get the total number of tokens minted, please see {_totalMinted}.
*/
function totalSupply() external view returns (uint256);
// =============================================================
// IERC165
// =============================================================
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
* to learn more about how these ids are created.
*
* This function call must use less than 30000 gas.
*/
function supportsInterface(bytes4 interfaceId) external view returns (bool);
// =============================================================
// IERC721
// =============================================================
/**
* @dev Emitted when `tokenId` token is transferred from `from` to `to`.
*/
event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
*/
event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables or disables
* (`approved`) `operator` to manage all of its assets.
*/
event ApprovalForAll(address indexed owner, address indexed operator, bool approved);
/**
* @dev Returns the number of tokens in `owner`'s account.
*/
function balanceOf(address owner) external view returns (uint256 balance);
/**
* @dev Returns the owner of the `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function ownerOf(uint256 tokenId) external view returns (address owner);
/**
* @dev Safely transfers `tokenId` token from `from` to `to`,
* checking first that contract recipients are aware of the ERC721 protocol
* to prevent tokens from being forever locked.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must be have been allowed to move
* this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement
* {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId,
bytes calldata data
) external payable;
/**
* @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId
) external payable;
/**
* @dev Transfers `tokenId` from `from` to `to`.
*
* WARNING: Usage of this method is discouraged, use {safeTransferFrom}
* whenever possible.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token
* by either {approve} or {setApprovalForAll}.
*
* Emits a {Transfer} event.
*/
function transferFrom(
address from,
address to,
uint256 tokenId
) external payable;
/**
* @dev Gives permission to `to` to transfer `tokenId` token to another account.
* The approval is cleared when the token is transferred.
*
* Only a single account can be approved at a time, so approving the
* zero address clears previous approvals.
*
* Requirements:
*
* - The caller must own the token or be an approved operator.
* - `tokenId` must exist.
*
* Emits an {Approval} event.
*/
function approve(address to, uint256 tokenId) external payable;
/**
* @dev Approve or remove `operator` as an operator for the caller.
* Operators can call {transferFrom} or {safeTransferFrom}
* for any token owned by the caller.
*
* Requirements:
*
* - The `operator` cannot be the caller.
*
* Emits an {ApprovalForAll} event.
*/
function setApprovalForAll(address operator, bool _approved) external;
/**
* @dev Returns the account approved for `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function getApproved(uint256 tokenId) external view returns (address operator);
/**
* @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
*
* See {setApprovalForAll}.
*/
function isApprovedForAll(address owner, address operator) external view returns (bool);
// =============================================================
// IERC721Metadata
// =============================================================
/**
* @dev Returns the token collection name.
*/
function name() external view returns (string memory);
/**
* @dev Returns the token collection symbol.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
*/
function tokenURI(uint256 tokenId) external view returns (string memory);
// =============================================================
// IERC2309
// =============================================================
/**
* @dev Emitted when tokens in `fromTokenId` to `toTokenId`
* (inclusive) is transferred from `from` to `to`, as defined in the
* [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard.
*
* See {_mintERC2309} for more details.
*/
event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}
// File: erc721a/contracts/ERC721A.sol
// ERC721A Contracts v4.3.0
// Creator: Chiru Labs
pragma solidity ^0.8.4;
/**
* @dev Interface of ERC721 token receiver.
*/
interface ERC721A__IERC721Receiver {
function onERC721Received(
address operator,
address from,
uint256 tokenId,
bytes calldata data
) external returns (bytes4);
}
/**
* @title ERC721A
*
* @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721)
* Non-Fungible Token Standard, including the Metadata extension.
* Optimized for lower gas during batch mints.
*
* Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...)
* starting from `_startTokenId()`.
*
* The `_sequentialUpTo()` function can be overriden to enable spot mints
* (i.e. non-consecutive mints) for `tokenId`s greater than `_sequentialUpTo()`.
*
* 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;
// The amount of tokens minted above `_sequentialUpTo()`.
// We call these spot mints (i.e. non-sequential mints).
uint256 private _spotMinted;
// =============================================================
// CONSTRUCTOR
// =============================================================
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
_currentIndex = _startTokenId();
if (_sequentialUpTo() < _startTokenId()) _revert(SequentialUpToTooSmall.selector);
}
// =============================================================
// TOKEN COUNTING OPERATIONS
// =============================================================
/**
* @dev Returns the starting token ID for sequential mints.
*
* Override this function to change the starting token ID for sequential mints.
*
* Note: The value returned must never change after any tokens have been minted.
*/
function _startTokenId() internal view virtual returns (uint256) {
return 0;
}
/**
* @dev Returns the maximum token ID (inclusive) for sequential mints.
*
* Override this function to return a value less than 2**256 - 1,
* but greater than `_startTokenId()`, to enable spot (non-sequential) mints.
*
* Note: The value returned must never change after any tokens have been minted.
*/
function _sequentialUpTo() internal view virtual returns (uint256) {
return type(uint256).max;
}
/**
* @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 result) {
// Counter underflow is impossible as `_burnCounter` cannot be incremented
// more than `_currentIndex + _spotMinted - _startTokenId()` times.
unchecked {
// With spot minting, the intermediate `result` can be temporarily negative,
// and the computation must be unchecked.
result = _currentIndex - _burnCounter - _startTokenId();
if (_sequentialUpTo() != type(uint256).max) result += _spotMinted;
}
}
/**
* @dev Returns the total amount of tokens minted in the contract.
*/
function _totalMinted() internal view virtual returns (uint256 result) {
// Counter underflow is impossible as `_currentIndex` does not decrement,
// and it is initialized to `_startTokenId()`.
unchecked {
result = _currentIndex - _startTokenId();
if (_sequentialUpTo() != type(uint256).max) result += _spotMinted;
}
}
/**
* @dev Returns the total number of tokens burned.
*/
function _totalBurned() internal view virtual returns (uint256) {
return _burnCounter;
}
/**
* @dev Returns the total number of tokens that are spot-minted.
*/
function _totalSpotMinted() internal view virtual returns (uint256) {
return _spotMinted;
}
// =============================================================
// 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.selector);
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.selector);
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 Returns whether the ownership slot at `index` is initialized.
* An uninitialized slot does not necessarily mean that the slot has no owner.
*/
function _ownershipIsInitialized(uint256 index) internal view virtual returns (bool) {
return _packedOwnerships[index] != 0;
}
/**
* @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);
}
}
/**
* @dev Returns the packed ownership data of `tokenId`.
*/
function _packedOwnershipOf(uint256 tokenId) private view returns (uint256 packed) {
if (_startTokenId() <= tokenId) {
packed = _packedOwnerships[tokenId];
if (tokenId > _sequentialUpTo()) {
if (_packedOwnershipExists(packed)) return packed;
_revert(OwnerQueryForNonexistentToken.selector);
}
// If the data at the starting slot does not exist, start the scan.
if (packed == 0) {
if (tokenId >= _currentIndex) _revert(OwnerQueryForNonexistentToken.selector);
// 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;
if (packed & _BITMASK_BURNED == 0) return packed;
// Otherwise, the token is burned, and we must revert.
// This handles the case of batch burned tokens, where only the burned bit
// of the starting slot is set, and remaining slots are left uninitialized.
_revert(OwnerQueryForNonexistentToken.selector);
}
}
// Otherwise, the data exists and 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.
// If the token is not burned, return `packed`. Otherwise, revert.
if (packed & _BITMASK_BURNED == 0) return packed;
}
_revert(OwnerQueryForNonexistentToken.selector);
}
/**
* @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.selector);
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 result) {
if (_startTokenId() <= tokenId) {
if (tokenId > _sequentialUpTo()) return _packedOwnershipExists(_packedOwnerships[tokenId]);
if (tokenId < _currentIndex) {
uint256 packed;
while ((packed = _packedOwnerships[tokenId]) == 0) --tokenId;
result = packed & _BITMASK_BURNED == 0;
}
}
}
/**
* @dev Returns whether `packed` represents a token that exists.
*/
function _packedOwnershipExists(uint256 packed) private pure returns (bool result) {
assembly {
// The following is equivalent to `owner != address(0) && burned == false`.
// Symbolically tested.
result := gt(and(packed, _BITMASK_ADDRESS), and(packed, _BITMASK_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);
// Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean.
from = address(uint160(uint256(uint160(from)) & _BITMASK_ADDRESS));
if (address(uint160(prevOwnershipPacked)) != from) _revert(TransferFromIncorrectOwner.selector);
(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.selector);
_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;
}
}
}
}
// Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS;
assembly {
// 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.
from, // `from`.
toMasked, // `to`.
tokenId // `tokenId`.
)
}
if (toMasked == 0) _revert(TransferToZeroAddress.selector);
_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.selector);
}
}
/**
* @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.selector);
}
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.selector);
_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:
// - `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)
);
// Updates:
// - `balance += quantity`.
// - `numberMinted += quantity`.
//
// We can directly add to the `balance` and `numberMinted`.
_packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);
// Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS;
if (toMasked == 0) _revert(MintToZeroAddress.selector);
uint256 end = startTokenId + quantity;
uint256 tokenId = startTokenId;
if (end - 1 > _sequentialUpTo()) _revert(SequentialMintExceedsLimit.selector);
do {
assembly {
// 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`.
tokenId // `tokenId`.
)
}
// The `!=` check ensures that large values of `quantity`
// that overflows uint256 will make the loop run out of gas.
} while (++tokenId != end);
_currentIndex = end;
}
_afterTokenTransfers(address(0), to, startTokenId, quantity);
}
/**
* @dev Mints `quantity` tokens and transfers them to `to`.
*
* This function is intended for efficient minting only during contract creation.
*
* It emits only one {ConsecutiveTransfer} as defined in
* [ERC2309](https://eips.ethereum.org/EIPS/eip-2309),
* instead of a sequence of {Transfer} event(s).
*
* Calling this function outside of contract creation WILL make your contract
* non-compliant with the ERC721 standard.
* For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309
* {ConsecutiveTransfer} event is only permissible during contract creation.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - `quantity` must be greater than 0.
*
* Emits a {ConsecutiveTransfer} event.
*/
function _mintERC2309(address to, uint256 quantity) internal virtual {
uint256 startTokenId = _currentIndex;
if (to == address(0)) _revert(MintToZeroAddress.selector);
if (quantity == 0) _revert(MintZeroQuantity.selector);
if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) _revert(MintERC2309QuantityExceedsLimit.selector);
_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)
);
if (startTokenId + quantity - 1 > _sequentialUpTo()) _revert(SequentialMintExceedsLimit.selector);
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.selector);
}
} while (index < end);
// This prevents reentrancy to `_safeMint`.
// It does not prevent reentrancy to `_safeMintSpot`.
if (_currentIndex != end) revert();
}
}
}
/**
* @dev Equivalent to `_safeMint(to, quantity, '')`.
*/
function _safeMint(address to, uint256 quantity) internal virtual {
_safeMint(to, quantity, '');
}
/**
* @dev Mints a single token at `tokenId`.
*
* Note: A spot-minted `tokenId` that has been burned can be re-minted again.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - `tokenId` must be greater than `_sequentialUpTo()`.
* - `tokenId` must not exist.
*
* Emits a {Transfer} event for each mint.
*/
function _mintSpot(address to, uint256 tokenId) internal virtual {
if (tokenId <= _sequentialUpTo()) _revert(SpotMintTokenIdTooSmall.selector);
uint256 prevOwnershipPacked = _packedOwnerships[tokenId];
if (_packedOwnershipExists(prevOwnershipPacked)) _revert(TokenAlreadyExists.selector);
_beforeTokenTransfers(address(0), to, tokenId, 1);
// Overflows are incredibly unrealistic.
// The `numberMinted` for `to` is incremented by 1, and has a max limit of 2**64 - 1.
// `_spotMinted` is incremented by 1, and has a max limit of 2**256 - 1.
unchecked {
// Updates:
// - `address` to the owner.
// - `startTimestamp` to the timestamp of minting.
// - `burned` to `false`.
// - `nextInitialized` to `true` (as `quantity == 1`).
_packedOwnerships[tokenId] = _packOwnershipData(
to,
_nextInitializedFlag(1) | _nextExtraData(address(0), to, prevOwnershipPacked)
);
// Updates:
// - `balance += 1`.
// - `numberMinted += 1`.
//
// We can directly add to the `balance` and `numberMinted`.
_packedAddressData[to] += (1 << _BITPOS_NUMBER_MINTED) | 1;
// Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS;
if (toMasked == 0) _revert(MintToZeroAddress.selector);
assembly {
// 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`.
tokenId // `tokenId`.
)
}
++_spotMinted;
}
_afterTokenTransfers(address(0), to, tokenId, 1);
}
/**
* @dev Safely mints a single token at `tokenId`.
*
* Note: A spot-minted `tokenId` that has been burned can be re-minted again.
*
* Requirements:
*
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}.
* - `tokenId` must be greater than `_sequentialUpTo()`.
* - `tokenId` must not exist.
*
* See {_mintSpot}.
*
* Emits a {Transfer} event.
*/
function _safeMintSpot(
address to,
uint256 tokenId,
bytes memory _data
) internal virtual {
_mintSpot(to, tokenId);
unchecked {
if (to.code.length != 0) {
uint256 currentSpotMinted = _spotMinted;
if (!_checkContractOnERC721Received(address(0), to, tokenId, _data)) {
_revert(TransferToNonERC721ReceiverImplementer.selector);
}
// This prevents reentrancy to `_safeMintSpot`.
// It does not prevent reentrancy to `_safeMint`.
if (_spotMinted != currentSpotMinted) revert();
}
}
}
/**
* @dev Equivalent to `_safeMintSpot(to, tokenId, '')`.
*/
function _safeMintSpot(address to, uint256 tokenId) internal virtual {
_safeMintSpot(to, tokenId, '');
}
// =============================================================
// 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 && _msgSenderERC721A() != owner)
if (!isApprovedForAll(owner, _msgSenderERC721A())) {
_revert(ApprovalCallerNotOwnerNorApproved.selector);
}
_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.selector);
}
_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 + _spotMinted` 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.selector);
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)
}
}
/**
* @dev For more efficient reverts.
*/
function _revert(bytes4 errorSelector) internal pure {
assembly {
mstore(0x00, errorSelector)
revert(0x00, 0x04)
}
}
}
// File: @openzeppelin/contracts/utils/math/SignedMath.sol
// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/SignedMath.sol)
pragma solidity ^0.8.20;
/**
* @dev Standard signed math utilities missing in the Solidity language.
*/
library SignedMath {
/**
* @dev Returns the largest of two signed numbers.
*/
function max(int256 a, int256 b) internal pure returns (int256) {
return a > b ? a : b;
}
/**
* @dev Returns the smallest of two signed numbers.
*/
function min(int256 a, int256 b) internal pure returns (int256) {
return a < b ? a : b;
}
/**
* @dev Returns the average of two signed numbers without overflow.
* The result is rounded towards zero.
*/
function average(int256 a, int256 b) internal pure returns (int256) {
// Formula from the book "Hacker's Delight"
int256 x = (a & b) + ((a ^ b) >> 1);
return x + (int256(uint256(x) >> 255) & (a ^ b));
}
/**
* @dev Returns the absolute unsigned value of a signed value.
*/
function abs(int256 n) internal pure returns (uint256) {
unchecked {
// must be unchecked in order to support `n = type(int256).min`
return uint256(n >= 0 ? n : -n);
}
}
}
// File: @openzeppelin/contracts/utils/math/Math.sol
// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/Math.sol)
pragma solidity ^0.8.20;
/**
* @dev Standard math utilities missing in the Solidity language.
*/
library Math {
/**
* @dev Muldiv operation overflow.
*/
error MathOverflowedMulDiv();
enum Rounding {
Floor, // Toward negative infinity
Ceil, // Toward positive infinity
Trunc, // Toward zero
Expand // Away from zero
}
/**
* @dev Returns the addition of two unsigned integers, with an overflow flag.
*/
function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
uint256 c = a + b;
if (c < a) return (false, 0);
return (true, c);
}
}
/**
* @dev Returns the subtraction of two unsigned integers, with an overflow flag.
*/
function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b > a) return (false, 0);
return (true, a - b);
}
}
/**
* @dev Returns the multiplication of two unsigned integers, with an overflow flag.
*/
function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
// Gas optimization: this is cheaper than requiring 'a' not being zero, but the
// benefit is lost if 'b' is also tested.
// See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
if (a == 0) return (true, 0);
uint256 c = a * b;
if (c / a != b) return (false, 0);
return (true, c);
}
}
/**
* @dev Returns the division of two unsigned integers, with a division by zero flag.
*/
function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b == 0) return (false, 0);
return (true, a / b);
}
}
/**
* @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
*/
function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b == 0) return (false, 0);
return (true, a % b);
}
}
/**
* @dev Returns the largest of two numbers.
*/
function max(uint256 a, uint256 b) internal pure returns (uint256) {
return a > b ? a : b;
}
/**
* @dev Returns the smallest of two numbers.
*/
function min(uint256 a, uint256 b) internal pure returns (uint256) {
return a < b ? a : b;
}
/**
* @dev Returns the average of two numbers. The result is rounded towards
* zero.
*/
function average(uint256 a, uint256 b) internal pure returns (uint256) {
// (a + b) / 2 can overflow.
return (a & b) + (a ^ b) / 2;
}
/**
* @dev Returns the ceiling of the division of two numbers.
*
* This differs from standard division with `/` in that it rounds towards infinity instead
* of rounding towards zero.
*/
function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
if (b == 0) {
// Guarantee the same behavior as in a regular Solidity division.
return a / b;
}
// (a + b - 1) / b can overflow on addition, so we distribute.
return a == 0 ? 0 : (a - 1) / b + 1;
}
/**
* @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or
* denominator == 0.
* @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) with further edits by
* Uniswap Labs also under MIT license.
*/
function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {
unchecked {
// 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
// use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
// variables such that product = prod1 * 2^256 + prod0.
uint256 prod0 = x * y; // Least significant 256 bits of the product
uint256 prod1; // Most significant 256 bits of the product
assembly {
let mm := mulmod(x, y, not(0))
prod1 := sub(sub(mm, prod0), lt(mm, prod0))
}
// Handle non-overflow cases, 256 by 256 division.
if (prod1 == 0) {
// Solidity will revert if denominator == 0, unlike the div opcode on its own.
// The surrounding unchecked block does not change this fact.
// See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
return prod0 / denominator;
}
// Make sure the result is less than 2^256. Also prevents denominator == 0.
if (denominator <= prod1) {
revert MathOverflowedMulDiv();
}
///////////////////////////////////////////////
// 512 by 256 division.
///////////////////////////////////////////////
// Make division exact by subtracting the remainder from [prod1 prod0].
uint256 remainder;
assembly {
// Compute remainder using mulmod.
remainder := mulmod(x, y, denominator)
// Subtract 256 bit number from 512 bit number.
prod1 := sub(prod1, gt(remainder, prod0))
prod0 := sub(prod0, remainder)
}
// Factor powers of two out of denominator and compute largest power of two divisor of denominator.
// Always >= 1. See https://cs.stackexchange.com/q/138556/92363.
uint256 twos = denominator & (0 - denominator);
assembly {
// Divide denominator by twos.
denominator := div(denominator, twos)
// Divide [prod1 prod0] by twos.
prod0 := div(prod0, twos)
// Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
twos := add(div(sub(0, twos), twos), 1)
}
// Shift in bits from prod1 into prod0.
prod0 |= prod1 * twos;
// Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
// that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
// four bits. That is, denominator * inv = 1 mod 2^4.
uint256 inverse = (3 * denominator) ^ 2;
// Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also
// works in modular arithmetic, doubling the correct bits in each step.
inverse *= 2 - denominator * inverse; // inverse mod 2^8
inverse *= 2 - denominator * inverse; // inverse mod 2^16
inverse *= 2 - denominator * inverse; // inverse mod 2^32
inverse *= 2 - denominator * inverse; // inverse mod 2^64
inverse *= 2 - denominator * inverse; // inverse mod 2^128
inverse *= 2 - denominator * inverse; // inverse mod 2^256
// Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
// This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
// less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
// is no longer required.
result = prod0 * inverse;
return result;
}
}
/**
* @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
*/
function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {
uint256 result = mulDiv(x, y, denominator);
if (unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0) {
result += 1;
}
return result;
}
/**
* @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded
* towards zero.
*
* Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
*/
function sqrt(uint256 a) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
// For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
//
// We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
// `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
//
// This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
// → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
// → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
//
// Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
uint256 result = 1 << (log2(a) >> 1);
// At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
// since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
// every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
// into the expected uint128 result.
unchecked {
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
return min(result, a / result);
}
}
/**
* @notice Calculates sqrt(a), following the selected rounding direction.
*/
function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
unchecked {
uint256 result = sqrt(a);
return result + (unsignedRoundsUp(rounding) && result * result < a ? 1 : 0);
}
}
/**
* @dev Return the log in base 2 of a positive value rounded towards zero.
* Returns 0 if given 0.
*/
function log2(uint256 value) internal pure returns (uint256) {
uint256 result = 0;
unchecked {
if (value >> 128 > 0) {
value >>= 128;
result += 128;
}
if (value >> 64 > 0) {
value >>= 64;
result += 64;
}
if (value >> 32 > 0) {
value >>= 32;
result += 32;
}
if (value >> 16 > 0) {
value >>= 16;
result += 16;
}
if (value >> 8 > 0) {
value >>= 8;
result += 8;
}
if (value >> 4 > 0) {
value >>= 4;
result += 4;
}
if (value >> 2 > 0) {
value >>= 2;
result += 2;
}
if (value >> 1 > 0) {
result += 1;
}
}
return result;
}
/**
* @dev Return the log in base 2, following the selected rounding direction, of a positive value.
* Returns 0 if given 0.
*/
function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
unchecked {
uint256 result = log2(value);
return result + (unsignedRoundsUp(rounding) && 1 << result < value ? 1 : 0);
}
}
/**
* @dev Return the log in base 10 of a positive value rounded towards zero.
* Returns 0 if given 0.
*/
function log10(uint256 value) internal pure returns (uint256) {
uint256 result = 0;
unchecked {
if (value >= 10 ** 64) {
value /= 10 ** 64;
result += 64;
}
if (value >= 10 ** 32) {
value /= 10 ** 32;
result += 32;
}
if (value >= 10 ** 16) {
value /= 10 ** 16;
result += 16;
}
if (value >= 10 ** 8) {
value /= 10 ** 8;
result += 8;
}
if (value >= 10 ** 4) {
value /= 10 ** 4;
result += 4;
}
if (value >= 10 ** 2) {
value /= 10 ** 2;
result += 2;
}
if (value >= 10 ** 1) {
result += 1;
}
}
return result;
}
/**
* @dev Return the log in base 10, following the selected rounding direction, of a positive value.
* Returns 0 if given 0.
*/
function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
unchecked {
uint256 result = log10(value);
return result + (unsignedRoundsUp(rounding) && 10 ** result < value ? 1 : 0);
}
}
/**
* @dev Return the log in base 256 of a positive value rounded towards zero.
* Returns 0 if given 0.
*
* Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
*/
function log256(uint256 value) internal pure returns (uint256) {
uint256 result = 0;
unchecked {
if (value >> 128 > 0) {
value >>= 128;
result += 16;
}
if (value >> 64 > 0) {
value >>= 64;
result += 8;
}
if (value >> 32 > 0) {
value >>= 32;
result += 4;
}
if (value >> 16 > 0) {
value >>= 16;
result += 2;
}
if (value >> 8 > 0) {
result += 1;
}
}
return result;
}
/**
* @dev Return the log in base 256, following the selected rounding direction, of a positive value.
* Returns 0 if given 0.
*/
function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
unchecked {
uint256 result = log256(value);
return result + (unsignedRoundsUp(rounding) && 1 << (result << 3) < value ? 1 : 0);
}
}
/**
* @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers.
*/
function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) {
return uint8(rounding) % 2 == 1;
}
}
// File: @openzeppelin/contracts/utils/Strings.sol
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Strings.sol)
pragma solidity ^0.8.20;
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant HEX_DIGITS = "0123456789abcdef";
uint8 private constant ADDRESS_LENGTH = 20;
/**
* @dev The `value` string doesn't fit in the specified `length`.
*/
error StringsInsufficientHexLength(uint256 value, uint256 length);
/**
* @dev Converts a `uint256` to its ASCII `string` decimal representation.
*/
function toString(uint256 value) internal pure returns (string memory) {
unchecked {
uint256 length = Math.log10(value) + 1;
string memory buffer = new string(length);
uint256 ptr;
/// @solidity memory-safe-assembly
assembly {
ptr := add(buffer, add(32, length))
}
while (true) {
ptr--;
/// @solidity memory-safe-assembly
assembly {
mstore8(ptr, byte(mod(value, 10), HEX_DIGITS))
}
value /= 10;
if (value == 0) break;
}
return buffer;
}
}
/**
* @dev Converts a `int256` to its ASCII `string` decimal representation.
*/
function toStringSigned(int256 value) internal pure returns (string memory) {
return string.concat(value < 0 ? "-" : "", toString(SignedMath.abs(value)));
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
*/
function toHexString(uint256 value) internal pure returns (string memory) {
unchecked {
return toHexString(value, Math.log256(value) + 1);
}
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
*/
function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
uint256 localValue = value;
bytes memory buffer = new bytes(2 * length + 2);
buffer[0] = "0";
buffer[1] = "x";
for (uint256 i = 2 * length + 1; i > 1; --i) {
buffer[i] = HEX_DIGITS[localValue & 0xf];
localValue >>= 4;
}
if (localValue != 0) {
revert StringsInsufficientHexLength(value, length);
}
return string(buffer);
}
/**
* @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal
* representation.
*/
function toHexString(address addr) internal pure returns (string memory) {
return toHexString(uint256(uint160(addr)), ADDRESS_LENGTH);
}
/**
* @dev Returns true if the two strings are equal.
*/
function equal(string memory a, string memory b) internal pure returns (bool) {
return bytes(a).length == bytes(b).length && keccak256(bytes(a)) == keccak256(bytes(b));
}
}
// File: @openzeppelin/contracts/utils/Context.sol
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)
pragma solidity ^0.8.20;
/**
* @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;
}
}
// File: @openzeppelin/contracts/access/Ownable.sol
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)
pragma solidity ^0.8.20;
/**
* @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);
}
}
// File: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol
// OpenZeppelin Contracts (last updated v5.0.0) (utils/cryptography/MerkleProof.sol)
pragma solidity ^0.8.20;
/**
* @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.
*/
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.
*/
function verify(bytes32[] memory proof, bytes32 root, bytes32 leaf) internal pure returns (bool) {
return processProof(proof, leaf) == root;
}
/**
* @dev Calldata version of {verify}
*/
function verifyCalldata(bytes32[] calldata proof, bytes32 root, bytes32 leaf) internal pure returns (bool) {
return processProofCalldata(proof, leaf) == root;
}
/**
* @dev Returns the rebuilt hash obtained by traversing a Merkle tree up
* from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
* hash matches the root of the tree. When processing the proof, the pairs
* of leafs & pre-images are assumed to be sorted.
*/
function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
bytes32 computedHash = leaf;
for (uint256 i = 0; i < proof.length; i++) {
computedHash = _hashPair(computedHash, proof[i]);
}
return computedHash;
}
/**
* @dev Calldata version of {processProof}
*/
function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
bytes32 computedHash = leaf;
for (uint256 i = 0; i < proof.length; i++) {
computedHash = _hashPair(computedHash, proof[i]);
}
return computedHash;
}
/**
* @dev Returns true if the `leaves` can be simultaneously proven to be a part of a Merkle tree defined by
* `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
*
* CAUTION: Not all Merkle trees admit multiproofs. See {processMultiProof} for details.
*/
function multiProofVerify(
bytes32[] memory proof,
bool[] memory proofFlags,
bytes32 root,
bytes32[] memory leaves
) internal pure returns (bool) {
return processMultiProof(proof, proofFlags, leaves) == root;
}
/**
* @dev Calldata version of {multiProofVerify}
*
* CAUTION: Not all Merkle trees admit multiproofs. See {processMultiProof} for details.
*/
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.
*
* 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).
*/
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 proofLen = proof.length;
uint256 totalHashes = proofFlags.length;
// Check proof validity.
if (leavesLen + proofLen != totalHashes + 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[](totalHashes);
uint256 leafPos = 0;
uint256 hashPos = 0;
uint256 proofPos = 0;
// At each step, we compute the next hash using two values:
// - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
// get the next hash.
// - depending on the flag, either another value from the "main queue" (merging branches) or an element from the
// `proof` array.
for (uint256 i = 0; i < totalHashes; i++) {
bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
bytes32 b = proofFlags[i]
? (leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++])
: proof[proofPos++];
hashes[i] = _hashPair(a, b);
}
if (totalHashes > 0) {
if (proofPos != proofLen) {
revert MerkleProofInvalidMultiproof();
}
unchecked {
return hashes[totalHashes - 1];
}
} else if (leavesLen > 0) {
return leaves[0];
} else {
return proof[0];
}
}
/**
* @dev Calldata version of {processMultiProof}.
*
* CAUTION: Not all Merkle trees admit multiproofs. See {processMultiProof} for details.
*/
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 proofLen = proof.length;
uint256 totalHashes = proofFlags.length;
// Check proof validity.
if (leavesLen + proofLen != totalHashes + 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[](totalHashes);
uint256 leafPos = 0;
uint256 hashPos = 0;
uint256 proofPos = 0;
// At each step, we compute the next hash using two values:
// - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
// get the next hash.
// - depending on the flag, either another value from the "main queue" (merging branches) or an element from the
// `proof` array.
for (uint256 i = 0; i < totalHashes; i++) {
bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
bytes32 b = proofFlags[i]
? (leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++])
: proof[proofPos++];
hashes[i] = _hashPair(a, b);
}
if (totalHashes > 0) {
if (proofPos != proofLen) {
revert MerkleProofInvalidMultiproof();
}
unchecked {
return hashes[totalHashes - 1];
}
} else if (leavesLen > 0) {
return leaves[0];
} else {
return proof[0];
}
}
/**
* @dev Sorts the pair (a, b) and hashes the result.
*/
function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
}
/**
* @dev Implementation of keccak256(abi.encode(a, b)) that doesn't allocate or expand memory.
*/
function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
/// @solidity memory-safe-assembly
assembly {
mstore(0x00, a)
mstore(0x20, b)
value := keccak256(0x00, 0x40)
}
}
}
// File: @openzeppelin/contracts/security/ReentrancyGuard.sol
// OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol)
pragma solidity ^0.8.0;
/**
* @dev Contract module that helps prevent reentrant calls to a function.
*
* Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
* available, which can be applied to functions to make sure there are no nested
* (reentrant) calls to them.
*
* Note that because there is a single `nonReentrant` guard, functions marked as
* `nonReentrant` may not call one another. This can be worked around by making
* those functions `private`, and then adding `external` `nonReentrant` entry
* points to them.
*
* TIP: If you would like to learn more about reentrancy and alternative ways
* to protect against it, check out our blog post
* https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
*/
abstract contract ReentrancyGuard {
// Booleans are more expensive than uint256 or any type that takes up a full
// word because each write operation emits an extra SLOAD to first read the
// slot's contents, replace the bits taken up by the boolean, and then write
// back. This is the compiler's defense against contract upgrades and
// pointer aliasing, and it cannot be disabled.
// The values being non-zero value makes deployment a bit more expensive,
// but in exchange the refund on every call to nonReentrant will be lower in
// amount. Since refunds are capped to a percentage of the total
// transaction's gas, it is best to keep them low in cases like this one, to
// increase the likelihood of the full refund coming into effect.
uint256 private constant _NOT_ENTERED = 1;
uint256 private constant _ENTERED = 2;
uint256 private _status;
constructor() {
_status = _NOT_ENTERED;
}
/**
* @dev Prevents a contract from calling itself, directly or indirectly.
* Calling a `nonReentrant` function from another `nonReentrant`
* function is not supported. It is possible to prevent this from happening
* by making the `nonReentrant` function external, and making it call a
* `private` function that does the actual work.
*/
modifier nonReentrant() {
_nonReentrantBefore();
_;
_nonReentrantAfter();
}
function _nonReentrantBefore() private {
// On the first call to nonReentrant, _status will be _NOT_ENTERED
require(_status != _ENTERED, "ReentrancyGuard: reentrant call");
// Any calls to nonReentrant after this point will fail
_status = _ENTERED;
}
function _nonReentrantAfter() private {
// By storing the original value once again, a refund is triggered (see
// https://eips.ethereum.org/EIPS/eip-2200)
_status = _NOT_ENTERED;
}
/**
* @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
* `nonReentrant` function in the call stack.
*/
function _reentrancyGuardEntered() internal view returns (bool) {
return _status == _ENTERED;
}
}
// File: wholesome.sol
// Author: WholesomeDev
enum YieldMode {
AUTOMATIC,
VOID,
CLAIMABLE
}
enum GasMode {
VOID,
CLAIMABLE
}
interface IBlast {
// configure
function configureContract(
address contractAddress,
YieldMode _yield,
GasMode gasMode,
address governor
) external;
function configure(
YieldMode _yield,
GasMode gasMode,
address governor
) external;
// base configuration options
function configureClaimableYield() external;
function configureClaimableYieldOnBehalf(address contractAddress) external;
function configureAutomaticYield() external;
function configureAutomaticYieldOnBehalf(address contractAddress) external;
function configureVoidYield() external;
function configureVoidYieldOnBehalf(address contractAddress) external;
function configureClaimableGas() external;
function configureClaimableGasOnBehalf(address contractAddress) external;
function configureVoidGas() external;
function configureVoidGasOnBehalf(address contractAddress) external;
function configureGovernor(address _governor) external;
function configureGovernorOnBehalf(
address _newGovernor,
address contractAddress
) external;
// claim yield
function claimYield(
address contractAddress,
address recipientOfYield,
uint256 amount
) external returns (uint256);
function claimAllYield(address contractAddress, address recipientOfYield)
external
returns (uint256);
// claim gas
function claimAllGas(address contractAddress, address recipientOfGas)
external
returns (uint256);
function claimGasAtMinClaimRate(
address contractAddress,
address recipientOfGas,
uint256 minClaimRateBips
) external returns (uint256);
function claimMaxGas(address contractAddress, address recipientOfGas)
external
returns (uint256);
function claimGas(
address contractAddress,
address recipientOfGas,
uint256 gasToClaim,
uint256 gasSecondsToConsume
) external returns (uint256);
// read functions
function readClaimableYield(address contractAddress)
external
view
returns (uint256);
function readYieldConfiguration(address contractAddress)
external
view
returns (uint8);
function readGasParams(address contractAddress)
external
view
returns (
uint256 etherSeconds,
uint256 etherBalance,
uint256 lastUpdated,
GasMode
);
}
interface IBlastPoints {
function configurePointsOperator(address operator) external;
function configurePointsOperatorOnBehalf(
address contractAddress,
address operator
) external;
}
pragma solidity >=0.8.20 <0.8.21;
contract WholesomePoker is ERC721A, Ownable, ReentrancyGuard, ERC2981 {
using Strings for uint256;
// ================== Variables Start =======================
error transferBlacklisted(address account);
bytes32 public merkleRoot;
string internal uri;
string public uriExtension = ".json";
string public hiddenMetadataUri = "ipfs://bafybeigov4namy7cabme2idid54t7viyo5hfmibmmamaf3m7sz4ck5qlfm/placeholder.json";
uint256 public price = 0.025 ether;
uint256 public wlprice = 0.03 ether;
uint256 public supplyLimit = 6420;
uint256 public wlsupplyLimit = 6420;
uint256 public maxMintAmountPerTx = 10;
uint256 public wlmaxMintAmountPerTx = 2;
uint256 public maxLimitPerWallet = 6420;
uint256 public wlmaxLimitPerWallet = 2;
bool public revealed = false;
mapping(address => uint256) public wlMintCount;
mapping(address => uint256) public publicMintCount;
uint256 public publicMinted;
uint256 public wlMinted;
uint96 internal royaltyFraction = 500; // 100 = 1% , 1000 = 10%
address internal royaltiesReciever =
0xcfFd103bc31afd3dfdC01E9e20ac4B9d87FFb8eB;
// time set in epoch
uint256 public wlStartTime = 1712588400;
uint256 public wlEndTime = 1712595599;
uint256 public publicStartTime = 1712595600;
uint256 public publicEndTime = 1712602800;
mapping(address => bool) public blacklistStatus;
IBlast public constant BLAST =
IBlast(0x4300000000000000000000000000000000000002);
// for testnet: 0x2fc95838c71e76ec69ff817983BFf17c710F34E0
// for mainnet: 0x2536FE9ab3F511540F2f9e2eC2A805005C3Dd800
IBlastPoints public constant BLASTPointsAddress =
IBlastPoints(0x2536FE9ab3F511540F2f9e2eC2A805005C3Dd800);
bool public forceStop = false;
// ================== Variables End =======================
// ================== Constructor Start =======================
constructor(string memory _uri, address _pointsOperator)
ERC721A("Tilted Kings", "TILTEDKING")
Ownable(msg.sender)
{
seturi(_uri);
setRoyaltyInfo(royaltiesReciever, royaltyFraction);
BLASTPointsAddress.configurePointsOperator(_pointsOperator);
BLAST.configureClaimableGas();
BLAST.configureClaimableYield();
}
// ================== Constructor End =======================
// ================== Mint Functions Start =======================
// Minting with eth functions
function WlMint(uint256 _mintAmount, bytes32[] calldata _merkleProof)
public
payable
nonReentrant
{
// Verify wl requirements
bytes32 leaf = keccak256(abi.encodePacked(_msgSender()));
require(
MerkleProof.verify(_merkleProof, merkleRoot, leaf),
"Not Whitelited!"
);
require(whitelistSaleStatus(), "The WlSale is paused!");
require(!forceStop, "Contract is Force Stopped!");
// Normal requirements
require(
_mintAmount > 0 && _mintAmount <= wlmaxMintAmountPerTx,
"Invalid mint amount!"
);
require(
totalSupply() + _mintAmount <= wlsupplyLimit,
"Max supply exceeded!"
);
require(
wlMintCount[msg.sender] + _mintAmount <= wlmaxLimitPerWallet,
"Max mint per wallet exceeded!"
);
require(msg.value >= wlprice * _mintAmount, "Insufficient funds!");
// Mint
_safeMint(_msgSender(), _mintAmount);
// Mapping update
wlMintCount[msg.sender] += _mintAmount;
wlMinted += _mintAmount;
}
function PublicMint(uint256 _mintAmount) public payable nonReentrant {
// Normal requirements
require(
_mintAmount > 0 && _mintAmount <= maxMintAmountPerTx,
"Invalid mint amount!"
);
require(publicSaleStatus(), "The Public Sale is paused!");
require(!forceStop, "Contract is Force Stopped!");
require(
totalSupply() + _mintAmount <= supplyLimit,
"Max supply exceeded!"
);
require(
publicMintCount[msg.sender] + _mintAmount <= maxLimitPerWallet,
"Max mint per wallet exceeded!"
);
require(msg.value >= price * _mintAmount, "Insufficient funds!");
// Mint
_safeMint(_msgSender(), _mintAmount);
// Mapping update
publicMintCount[msg.sender] += _mintAmount;
publicMinted += _mintAmount;
}
function OwnerMint(uint256 _mintAmount, address _receiver)
public
onlyOwner
{
require(
totalSupply() + _mintAmount <= supplyLimit,
"Max supply exceeded!"
);
_safeMint(_receiver, _mintAmount);
}
function MassAirdrop(address[] calldata receivers) external onlyOwner {
for (uint256 i; i < receivers.length; ++i) {
require(totalSupply() + 1 <= supplyLimit, "Max supply exceeded!");
_mint(receivers[i], 1);
}
}
// ================== Mint Functions End =======================
// ================== Set Functions Start =======================
// reveal
function setRevealed(bool _state) public onlyOwner {
revealed = _state;
}
// uri
function seturi(string memory _uri) public onlyOwner {
uri = _uri;
}
function seturiExtension(string memory _uriExtension) public onlyOwner {
uriExtension = _uriExtension;
}
function setHiddenMetadataUri(string memory _hiddenMetadataUri)
public
onlyOwner
{
hiddenMetadataUri = _hiddenMetadataUri;
}
// hash set
function setwlMerkleRootHash(bytes32 _merkleRoot) public onlyOwner {
merkleRoot = _merkleRoot;
}
// max per tx
function setMaxMintAmountPerTx(uint256 _maxMintAmountPerTx)
public
onlyOwner
{
maxMintAmountPerTx = _maxMintAmountPerTx;
}
function setwlmaxMintAmountPerTx(uint256 _wlmaxMintAmountPerTx)
public
onlyOwner
{
wlmaxMintAmountPerTx = _wlmaxMintAmountPerTx;
}
// pax per wallet
function setmaxLimitPerWallet(uint256 _maxLimitPerWallet) public onlyOwner {
maxLimitPerWallet = _maxLimitPerWallet;
}
function setwlmaxLimitPerWallet(uint256 _wlmaxLimitPerWallet)
public
onlyOwner
{
wlmaxLimitPerWallet = _wlmaxLimitPerWallet;
}
// price
function setPrice(uint256 _price) public onlyOwner {
price = _price;
}
function setwlPrice(uint256 _wlprice) public onlyOwner {
wlprice = _wlprice;
}
// supply limit
function setsupplyLimit(uint256 _supplyLimit) public onlyOwner {
supplyLimit = _supplyLimit;
}
function setwlsupplyLimit(uint256 _wlsupplyLimit) public onlyOwner {
wlsupplyLimit = _wlsupplyLimit;
}
// set royalties info
function setRoyaltyTokens(
uint256 _tokenId,
address _receiver,
uint96 _royaltyFeesInBips
) public onlyOwner {
_setTokenRoyalty(_tokenId, _receiver, _royaltyFeesInBips);
}
function setRoyaltyInfo(address _receiver, uint96 _royaltyFeesInBips)
public
onlyOwner
{
_setDefaultRoyalty(_receiver, _royaltyFeesInBips);
}
// set timings
function setTimings(
uint256 _pubStartTime,
uint256 _pubEndTime,
uint256 _wlStartTime,
uint256 _wlEndTime
) public onlyOwner {
wlStartTime = _wlStartTime;
wlEndTime = _wlEndTime;
publicStartTime = _pubStartTime;
publicEndTime = _pubEndTime;
}
// set blacklist status
function setblacklistStatus(address _address, bool _blacklistStatus)
public
onlyOwner
{
blacklistStatus[_address] = _blacklistStatus;
}
// set force stop
function setForceStop(bool _status) public onlyOwner {
forceStop = _status;
}
// ================== Set Functions End =======================
// ================== Withdraw Function Start =======================
function withdraw() public onlyOwner nonReentrant {
//owner withdraw
(bool os, ) = payable(owner()).call{value: address(this).balance}("");
require(os);
}
// ================== Withdraw Function End=======================
// ================== Read Functions Start =======================
function tokensOfOwner(address owner)
external
view
returns (uint256[] memory)
{
unchecked {
uint256[] memory a = new uint256[](balanceOf(owner));
uint256 end = _nextTokenId();
uint256 tokenIdsIdx;
address currOwnershipAddr;
for (uint256 i; i < end; i++) {
TokenOwnership memory ownership = _ownershipAt(i);
if (ownership.burned) {
continue;
}
if (ownership.addr != address(0)) {
currOwnershipAddr = ownership.addr;
}
if (currOwnershipAddr == owner) {
a[tokenIdsIdx++] = i;
}
}
return a;
}
}
function _startTokenId() internal view virtual override returns (uint256) {
return 1;
}
function supportsInterface(bytes4 interfaceId)
public
view
virtual
override(ERC721A, ERC2981)
returns (bool)
{
return
ERC721A.supportsInterface(interfaceId) ||
ERC2981.supportsInterface(interfaceId);
}
function tokenURI(uint256 _tokenId)
public
view
virtual
override
returns (string memory)
{
require(
_exists(_tokenId),
"ERC721Metadata: URI query for nonexistent token"
);
if (revealed == false) {
return hiddenMetadataUri;
}
string memory currentBaseURI = _baseURI();
return
bytes(currentBaseURI).length > 0
? string(
abi.encodePacked(
currentBaseURI,
_tokenId.toString(),
uriExtension
)
)
: "";
}
function _baseURI() internal view virtual override returns (string memory) {
return uri;
}
event ethReceived(address, uint256);
receive() external payable {
emit ethReceived(msg.sender, msg.value);
}
function blockTime() internal view returns (uint256) {
return block.timestamp;
}
function whitelistSaleStatus() public view returns (bool) {
if (blockTime() <= wlEndTime && blockTime() >= wlStartTime) {
return true;
} else {
return false;
}
}
function publicSaleStatus() public view returns (bool) {
if (blockTime() <= publicEndTime && blockTime() >= publicStartTime) {
return true;
} else {
return false;
}
}
modifier transferAllowed(address _address) {
_transferAllowed(_address);
_;
}
function _transferAllowed(address _address) internal view virtual {
if (blacklistStatus[_address] == true) {
revert transferBlacklisted(_address);
}
}
function setApprovalForAll(address operator, bool approved)
public
override
transferAllowed(operator)
{
super.setApprovalForAll(operator, approved);
}
function approve(address operator, uint256 tokenId)
public
payable
override
transferAllowed(operator)
{
super.approve(operator, tokenId);
}
// blast functions
function claimMyContractAllGas() public onlyOwner {
BLAST.claimAllGas(address(this), msg.sender);
}
function claimMyContractMaxGas() public onlyOwner {
BLAST.claimMaxGas(address(this), msg.sender);
}
function claimYield(address recipient, uint256 amount) public onlyOwner {
BLAST.claimYield(address(this), recipient, amount);
}
function claimAllYield(address recipient) public onlyOwner {
BLAST.claimAllYield(address(this), recipient);
}
// Recover functions
function recoverERC20(
address tokenAddress,
uint256 tokenAmount,
address to
) external onlyOwner {
require(to != address(0), "Cannot send to zero address");
require(IERC20(tokenAddress).transfer(to, tokenAmount), "ERC20 transfer failed");
}
function recoverERC721(
address tokenAddress,
uint256 tokenId,
address to
) external onlyOwner {
require(to != address(0), "Cannot send to zero address");
IERC721A(tokenAddress).transferFrom(address(this), to, tokenId);
}
// ================== Read Functions End =======================
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"string","name":"_uri","type":"string"},{"internalType":"address","name":"_pointsOperator","type":"address"}],"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":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"NotCompatibleWithSpotMints","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":"SequentialMintExceedsLimit","type":"error"},{"inputs":[],"name":"SequentialUpToTooSmall","type":"error"},{"inputs":[],"name":"SpotMintTokenIdTooSmall","type":"error"},{"inputs":[],"name":"TokenAlreadyExists","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"transferBlacklisted","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"","type":"address"},{"indexed":false,"internalType":"uint256","name":"","type":"uint256"}],"name":"ethReceived","type":"event"},{"inputs":[],"name":"BLAST","outputs":[{"internalType":"contract IBlast","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BLASTPointsAddress","outputs":[{"internalType":"contract IBlastPoints","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"receivers","type":"address[]"}],"name":"MassAirdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"OwnerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"PublicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"WlMint","outputs":[],"stateMutability":"payable","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":[{"internalType":"address","name":"","type":"address"}],"name":"blacklistStatus","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"}],"name":"claimAllYield","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimMyContractAllGas","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimMyContractMaxGas","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"claimYield","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"forceStop","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hiddenMetadataUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxLimitPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicEndTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"publicMintCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleStatus","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenAmount","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"recoverERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"recoverERC721","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_status","type":"bool"}],"name":"setForceStop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hiddenMetadataUri","type":"string"}],"name":"setHiddenMetadataUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmountPerTx","type":"uint256"}],"name":"setMaxMintAmountPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint96","name":"_royaltyFeesInBips","type":"uint96"}],"name":"setRoyaltyInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint96","name":"_royaltyFeesInBips","type":"uint96"}],"name":"setRoyaltyTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pubStartTime","type":"uint256"},{"internalType":"uint256","name":"_pubEndTime","type":"uint256"},{"internalType":"uint256","name":"_wlStartTime","type":"uint256"},{"internalType":"uint256","name":"_wlEndTime","type":"uint256"}],"name":"setTimings","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bool","name":"_blacklistStatus","type":"bool"}],"name":"setblacklistStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxLimitPerWallet","type":"uint256"}],"name":"setmaxLimitPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_supplyLimit","type":"uint256"}],"name":"setsupplyLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"seturi","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriExtension","type":"string"}],"name":"seturiExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setwlMerkleRootHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_wlprice","type":"uint256"}],"name":"setwlPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_wlmaxLimitPerWallet","type":"uint256"}],"name":"setwlmaxLimitPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_wlmaxMintAmountPerTx","type":"uint256"}],"name":"setwlmaxMintAmountPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_wlsupplyLimit","type":"uint256"}],"name":"setwlsupplyLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"supplyLimit","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":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"result","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uriExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistSaleStatus","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wlEndTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"wlMintCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wlMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wlStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wlmaxLimitPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wlmaxMintAmountPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wlprice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wlsupplyLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]Contract Creation Code
60c06040526005608090815264173539b7b760d91b60a052600f9062000026908262000532565b50604051806080016040528060538152602001620038bd6053913960109062000050908262000532565b506658d15e17628000601155666a94d74f43000060125561191460138190556014819055600a601555600260168190556017919091556018556019805460ff199081169091557fcffd103bc31afd3dfdc01e9e20ac4b9d87ffb8eb0000000000000000000001f4601e556366140670601f55636614228f60205563661422906021556366143eb0602255602480549091169055348015620000ef575f80fd5b506040516200391038038062003910833981016040819052620001129162000616565b336040518060400160405280600c81526020016b54696c746564204b696e677360a01b8152506040518060400160405280600a81526020016954494c5445444b494e4760b01b81525081600290816200016c919062000532565b5060036200017b828262000532565b5060015f5550506001600160a01b038116620001b157604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b620001bc8162000338565b506001600a55620001cd8262000389565b601e54620001fe906001600160a01b036c01000000000000000000000000820416906001600160601b0316620003a5565b6040516336b91f2b60e01b81526001600160a01b0382166004820152732536fe9ab3f511540f2f9e2ec2a805005c3dd800906336b91f2b906024015f604051808303815f87803b15801562000251575f80fd5b505af115801562000264573d5f803e3d5ffd5b505050507343000000000000000000000000000000000000026001600160a01b0316634e606c476040518163ffffffff1660e01b81526004015f604051808303815f87803b158015620002b5575f80fd5b505af1158015620002c8573d5f803e3d5ffd5b505050507343000000000000000000000000000000000000026001600160a01b031663f098767a6040518163ffffffff1660e01b81526004015f604051808303815f87803b15801562000319575f80fd5b505af11580156200032c573d5f803e3d5ffd5b505050505050620006f7565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b62000393620003bb565b600e620003a1828262000532565b5050565b620003af620003bb565b620003a18282620003ec565b6009546001600160a01b03163314620003ea5760405163118cdaa760e01b8152336004820152602401620001a8565b565b6127106001600160601b0382168110156200042d57604051636f483d0960e01b81526001600160601b038316600482015260248101829052604401620001a8565b6001600160a01b0383166200045857604051635b6cc80560e11b81525f6004820152602401620001a8565b50604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600b55565b634e487b7160e01b5f52604160045260245ffd5b600181811c90821680620004bb57607f821691505b602082108103620004da57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156200052d575f81815260208120601f850160051c81016020861015620005085750805b601f850160051c820191505b81811015620005295782815560010162000514565b5050505b505050565b81516001600160401b038111156200054e576200054e62000492565b62000566816200055f8454620004a6565b84620004e0565b602080601f8311600181146200059c575f8415620005845750858301515b5f19600386901b1c1916600185901b17855562000529565b5f85815260208120601f198616915b82811015620005cc57888601518255948401946001909101908401620005ab565b5085821015620005ea57878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b80516001600160a01b038116811462000611575f80fd5b919050565b5f806040838503121562000628575f80fd5b82516001600160401b03808211156200063f575f80fd5b818501915085601f83011262000653575f80fd5b81518181111562000668576200066862000492565b604051601f8201601f19908116603f0116810190838211818310171562000693576200069362000492565b81604052828152602093508884848701011115620006af575f80fd5b5f91505b82821015620006d25784820184015181830185015290830190620006b3565b5f848483010152809650505050620006ec818601620005fa565b925050509250929050565b6131b880620007055f395ff3fe608060405260043610610423575f3560e01c80638da5cb5b11610220578063b6c693e511610129578063dc544ca7116100b3578063eaf36bc811610078578063eaf36bc814610c0c578063f0e9fcd114610c25578063f2cd579614610c44578063f2fde38b14610c59578063f648498014610c78575f80fd5b8063dc544ca714610b7b578063e0a8085314610b90578063e266842514610baf578063e35b0ab114610bce578063e985e9c514610bed575f80fd5b8063c2d94aec116100f9578063c2d94aec14610ae0578063c36f8e4614610aff578063c87b56dd14610b1e578063d2a23a0014610b3d578063d9f0a67114610b5c575f80fd5b8063b6c693e514610a90578063b88d4fde14610aa4578063bc1ac5c114610ab7578063be9feb3014610acb575f80fd5b8063a22cb465116101aa578063a903d3ed1161017a578063a903d3ed146109f8578063abe37a9414610a1f578063aeeae27214610a3e578063b071401b14610a52578063b51609b414610a71575f80fd5b8063a22cb46514610991578063a28b56f2146109b0578063a45ba8e7146109cf578063a4f4f8af146109e3575f80fd5b806396330b5f116101f057806396330b5f1461090557806397d75776146109305780639f6156001461094a5780639fb17e3414610969578063a035b1fe1461097c575f80fd5b80638da5cb5b146108a057806391b7f5ed146108bd57806394354fd0146108dc57806395d89b41146108f1575f80fd5b80633fe591271161032d5780635a0b8b23116102b757806370cad3aa1161027c57806370cad3aa1461080b578063715018a61461083657806378d45eef1461084a5780638462151c1461085f578063869194ac1461088b575f80fd5b80635a0b8b23146107905780635fd1bbc4146107a557806361efde22146107ba5780636352211e146107cd57806370a08231146107ec575f80fd5b806347a54148116102fd57806347a541481461071057806347d9569e146107255780634fdd43cb14610744578063518302271461076357806352ee46961461077c575f80fd5b80633fe591271461069b57806342842e0e146106c9578063454bb2a8146106dc578063463fb323146106fb575f80fd5b806319d1997a116103ae5780632c27e5811161037e5780632c27e5811461062a5780632eb4a7ab1461063f5780632eba0dce14610654578063390f9466146106735780633ccfd60b14610687575f80fd5b806319d1997a146105a557806323b872dd146105ba578063286b7f8e146105cd5780632a55205a146105ec575f80fd5b8063081812fc116103f4578063081812fc146104fb578063095ea7b3146105325780630e13a7c01461054557806318160ddd146105645780631869ebda14610586575f80fd5b806275770a1461046657806301ffc9a71461048757806302fa7c47146104bb57806306fdde03146104da575f80fd5b3661046257604080513381523460208201527ffe2d73074d233633e644a6fb7186458fbf422add1c18d996efd14ffbece6f2b2910160405180910390a1005b5f80fd5b348015610471575f80fd5b50610485610480366004612928565b610c97565b005b348015610492575f80fd5b506104a66104a1366004612954565b610ca4565b60405190151581526020015b60405180910390f35b3480156104c6575f80fd5b506104856104d536600461299b565b610cc3565b3480156104e5575f80fd5b506104ee610cd9565b6040516104b29190612a19565b348015610506575f80fd5b5061051a610515366004612928565b610d69565b6040516001600160a01b0390911681526020016104b2565b610485610540366004612a2b565b610da2565b348015610550575f80fd5b5061048561055f366004612928565b610dbb565b34801561056f575f80fd5b50610578610dc8565b6040519081526020016104b2565b348015610591575f80fd5b506104856105a0366004612a2b565b610dd4565b3480156105b0575f80fd5b5061057860135481565b6104856105c8366004612a53565b610e57565b3480156105d8575f80fd5b506104856105e7366004612a8c565b610fb1565b3480156105f7575f80fd5b5061060b610606366004612abb565b610fcd565b604080516001600160a01b0390931683526020830191909152016104b2565b348015610635575f80fd5b5061057860225481565b34801561064a575f80fd5b50610578600d5481565b34801561065f575f80fd5b5061048561066e366004612adb565b611079565b34801561067e575f80fd5b506104856110c8565b348015610692575f80fd5b5061048561113f565b3480156106a6575f80fd5b506104a66106b5366004612afc565b60236020525f908152604090205460ff1681565b6104856106d7366004612a53565b6111c8565b3480156106e7575f80fd5b506104856106f6366004612928565b6111e2565b348015610706575f80fd5b50610578601d5481565b34801561071b575f80fd5b5061057860205481565b348015610730575f80fd5b5061048561073f366004612b56565b6111ef565b34801561074f575f80fd5b5061048561075e366004612c1c565b611276565b34801561076e575f80fd5b506019546104a69060ff1681565b348015610787575f80fd5b506104ee61128a565b34801561079b575f80fd5b5061057860175481565b3480156107b0575f80fd5b5061057860215481565b6104856107c8366004612c61565b611316565b3480156107d8575f80fd5b5061051a6107e7366004612928565b611609565b3480156107f7575f80fd5b50610578610806366004612afc565b611613565b348015610816575f80fd5b50610578610825366004612afc565b601a6020525f908152604090205481565b348015610841575f80fd5b50610485611657565b348015610855575f80fd5b5061057860145481565b34801561086a575f80fd5b5061087e610879366004612afc565b611668565b6040516104b29190612ca9565b348015610896575f80fd5b5061057860185481565b3480156108ab575f80fd5b506009546001600160a01b031661051a565b3480156108c8575f80fd5b506104856108d7366004612928565b611754565b3480156108e7575f80fd5b5061057860155481565b3480156108fc575f80fd5b506104ee611761565b348015610910575f80fd5b5061057861091f366004612afc565b601b6020525f908152604090205481565b34801561093b575f80fd5b5061051a6002604360981b0181565b348015610955575f80fd5b50610485610964366004612cf9565b611770565b610485610977366004612928565b61178b565b348015610987575f80fd5b5061057860115481565b34801561099c575f80fd5b506104856109ab366004612d14565b6119cd565b3480156109bb575f80fd5b506104856109ca366004612928565b6119e1565b3480156109da575f80fd5b506104ee6119ee565b3480156109ee575f80fd5b50610578601c5481565b348015610a03575f80fd5b5061051a732536fe9ab3f511540f2f9e2ec2a805005c3dd80081565b348015610a2a575f80fd5b50610485610a39366004612928565b6119fb565b348015610a49575f80fd5b50610485611a08565b348015610a5d575f80fd5b50610485610a6c366004612928565b611a40565b348015610a7c575f80fd5b50610485610a8b366004612d49565b611a4d565b348015610a9b575f80fd5b506104a6611b5f565b610485610ab2366004612d82565b611b8b565b348015610ac2575f80fd5b506104a6611bcc565b348015610ad6575f80fd5b50610578601f5481565b348015610aeb575f80fd5b50610485610afa366004612afc565b611be9565b348015610b0a575f80fd5b50610485610b19366004612d14565b611c65565b348015610b29575f80fd5b506104ee610b38366004612928565b611c97565b348015610b48575f80fd5b50610485610b57366004612c1c565b611e00565b348015610b67575f80fd5b50610485610b76366004612928565b611e14565b348015610b86575f80fd5b5061057860125481565b348015610b9b575f80fd5b50610485610baa366004612cf9565b611e21565b348015610bba575f80fd5b50610485610bc9366004612df9565b611e3c565b348015610bd9575f80fd5b50610485610be8366004612928565b611e4f565b348015610bf8575f80fd5b506104a6610c07366004612e29565b611e5c565b348015610c17575f80fd5b506024546104a69060ff1681565b348015610c30575f80fd5b50610485610c3f366004612d49565b611e89565b348015610c4f575f80fd5b5061057860165481565b348015610c64575f80fd5b50610485610c73366004612afc565b611f46565b348015610c83575f80fd5b50610485610c92366004612c1c565b611f80565b610c9f611f94565b601355565b5f610cae82611fc1565b80610cbd5750610cbd8261200e565b92915050565b610ccb611f94565b610cd58282612042565b5050565b606060028054610ce890612e51565b80601f0160208091040260200160405190810160405280929190818152602001828054610d1490612e51565b8015610d5f5780601f10610d3657610100808354040283529160200191610d5f565b820191905f5260205f20905b815481529060010190602001808311610d4257829003601f168201915b5050505050905090565b5f610d73826120e4565b610d8757610d876333d1c03960e21b61212e565b505f908152600660205260409020546001600160a01b031690565b81610dac81612136565b610db6838361217e565b505050565b610dc3611f94565b601255565b6001545f54035f190190565b610ddc611f94565b604051637cb8cb3160e11b81523060048201526001600160a01b0383166024820152604481018290526002604360981b019063f9719662906064016020604051808303815f875af1158015610e33573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610db69190612e89565b5f610e618261218a565b6001600160a01b039485169490915081168414610e8757610e8762a1148160e81b61212e565b5f8281526006602052604090208054338082146001600160a01b03881690911417610eca57610eb68633611e5c565b610eca57610eca632ce44b5f60e11b61212e565b8015610ed4575f82555b6001600160a01b038681165f9081526005602052604080822080545f19019055918716808252919020805460010190554260a01b17600160e11b175f85815260046020526040812091909155600160e11b84169003610f6057600184015f818152600460205260408120549003610f5e575f548114610f5e575f8181526004602052604090208490555b505b6001600160a01b0385168481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4805f03610fa857610fa8633a954ecd60e21b61212e565b50505050505050565b610fb9611f94565b601f91909155602055602191909155602255565b5f828152600c602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291611041575060408051808201909152600b546001600160a01b0381168252600160a01b90046001600160601b031660208201525b60208101515f906127109061105f906001600160601b031687612eb4565b6110699190612ecb565b91519350909150505b9250929050565b611081611f94565b6013548261108d610dc8565b6110979190612eea565b11156110be5760405162461bcd60e51b81526004016110b590612efd565b60405180910390fd5b610cd58183612223565b6110d0611f94565b604051634aa7d2f760e11b81523060048201523360248201526002604360981b019063954fa5ee906044015b6020604051808303815f875af1158015611118573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061113c9190612e89565b50565b611147611f94565b61114f61223c565b5f6111626009546001600160a01b031690565b6001600160a01b0316476040515f6040518083038185875af1925050503d805f81146111a9576040519150601f19603f3d011682016040523d82523d5f602084013e6111ae565b606091505b50509050806111bb575f80fd5b506111c66001600a55565b565b610db683838360405180602001604052805f815250611b8b565b6111ea611f94565b601855565b6111f7611f94565b5f5b81811015610db65760135461120c610dc8565b611217906001612eea565b11156112355760405162461bcd60e51b81526004016110b590612efd565b61126683838381811061124a5761124a612f2b565b905060200201602081019061125f9190612afc565b6001612295565b61126f81612f3f565b90506111f9565b61127e611f94565b6010610cd58282612fa4565b600f805461129790612e51565b80601f01602080910402602001604051908101604052809291908181526020018280546112c390612e51565b801561130e5780601f106112e55761010080835404028352916020019161130e565b820191905f5260205f20905b8154815290600101906020018083116112f157829003601f168201915b505050505081565b61131e61223c565b6040516bffffffffffffffffffffffff193360601b1660208201525f906034016040516020818303038152906040528051906020012090506113968383808060200260200160405190810160405280939291908181526020018383602002808284375f9201919091525050600d54915084905061234f565b6113d45760405162461bcd60e51b815260206004820152600f60248201526e4e6f742057686974656c697465642160881b60448201526064016110b5565b6113dc611bcc565b6114205760405162461bcd60e51b815260206004820152601560248201527454686520576c53616c65206973207061757365642160581b60448201526064016110b5565b60245460ff16156114735760405162461bcd60e51b815260206004820152601a60248201527f436f6e747261637420697320466f7263652053746f707065642100000000000060448201526064016110b5565b5f8411801561148457506016548411155b6114c75760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b60448201526064016110b5565b601454846114d3610dc8565b6114dd9190612eea565b11156114fb5760405162461bcd60e51b81526004016110b590612efd565b601854335f908152601a6020526040902054611518908690612eea565b11156115665760405162461bcd60e51b815260206004820152601d60248201527f4d6178206d696e74207065722077616c6c65742065786365656465642100000060448201526064016110b5565b836012546115749190612eb4565b3410156115b95760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b60448201526064016110b5565b6115c33385612223565b335f908152601a6020526040812080548692906115e1908490612eea565b9250508190555083601d5f8282546115f99190612eea565b90915550506001600a5550505050565b5f610cbd8261218a565b5f6001600160a01b038216611632576116326323d3ad8160e21b61212e565b506001600160a01b03165f9081526005602052604090205467ffffffffffffffff1690565b61165f611f94565b6111c65f612364565b60605f61167483611613565b67ffffffffffffffff81111561168c5761168c612b95565b6040519080825280602002602001820160405280156116b5578160200160208202803683370190505b5090505f6116c15f5490565b90505f805f5b83811015611749575f6116d9826123b5565b90508060400151156116eb5750611741565b80516001600160a01b03161561170057805192505b876001600160a01b0316836001600160a01b03160361173f578186858060010196508151811061173257611732612f2b565b6020026020010181815250505b505b6001016116c7565b509295945050505050565b61175c611f94565b601155565b606060038054610ce890612e51565b611778611f94565b6024805460ff1916911515919091179055565b61179361223c565b5f811180156117a457506015548111155b6117e75760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b60448201526064016110b5565b6117ef611b5f565b61183b5760405162461bcd60e51b815260206004820152601a60248201527f546865205075626c69632053616c65206973207061757365642100000000000060448201526064016110b5565b60245460ff161561188e5760405162461bcd60e51b815260206004820152601a60248201527f436f6e747261637420697320466f7263652053746f707065642100000000000060448201526064016110b5565b6013548161189a610dc8565b6118a49190612eea565b11156118c25760405162461bcd60e51b81526004016110b590612efd565b601754335f908152601b60205260409020546118df908390612eea565b111561192d5760405162461bcd60e51b815260206004820152601d60248201527f4d6178206d696e74207065722077616c6c65742065786365656465642100000060448201526064016110b5565b8060115461193b9190612eb4565b3410156119805760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b60448201526064016110b5565b61198a3382612223565b335f908152601b6020526040812080548392906119a8908490612eea565b9250508190555080601c5f8282546119c09190612eea565b90915550506001600a5550565b816119d781612136565b610db68383612432565b6119e9611f94565b600d55565b6010805461129790612e51565b611a03611f94565b601655565b611a10611f94565b60405163662aa11d60e01b81523060048201523360248201526002604360981b019063662aa11d906044016110fc565b611a48611f94565b601555565b611a55611f94565b6001600160a01b038116611aab5760405162461bcd60e51b815260206004820152601b60248201527f43616e6e6f742073656e6420746f207a65726f2061646472657373000000000060448201526064016110b5565b60405163a9059cbb60e01b81526001600160a01b0382811660048301526024820184905284169063a9059cbb906044016020604051808303815f875af1158015611af7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b1b9190613060565b610db65760405162461bcd60e51b8152602060048201526015602482015274115490cc8c081d1c985b9cd9995c8819985a5b1959605a1b60448201526064016110b5565b5f602254611b6a4290565b11158015611b7b5750602154425b10155b15611b865750600190565b505f90565b611b96848484610e57565b6001600160a01b0383163b15611bc657611bb28484848461249d565b611bc657611bc66368d2bf6b60e11b61212e565b50505050565b5f602054611bd74290565b11158015611b7b5750601f5442611b78565b611bf1611f94565b60405163430021db60e11b81523060048201526001600160a01b03821660248201526002604360981b019063860043b6906044016020604051808303815f875af1158015611c41573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cd59190612e89565b611c6d611f94565b6001600160a01b03919091165f908152602360205260409020805460ff1916911515919091179055565b6060611ca2826120e4565b611d065760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016110b5565b60195460ff1615155f03611da45760108054611d2190612e51565b80601f0160208091040260200160405190810160405280929190818152602001828054611d4d90612e51565b8015611d985780601f10611d6f57610100808354040283529160200191611d98565b820191905f5260205f20905b815481529060010190602001808311611d7b57829003601f168201915b50505050509050919050565b5f611dad61257c565b90505f815111611dcb5760405180602001604052805f815250611df9565b80611dd58461258b565b600f604051602001611de99392919061307b565b6040516020818303038152906040525b9392505050565b611e08611f94565b600f610cd58282612fa4565b611e1c611f94565b601755565b611e29611f94565b6019805460ff1916911515919091179055565b611e44611f94565b610db683838361261b565b611e57611f94565b601455565b6001600160a01b039182165f90815260076020908152604080832093909416825291909152205460ff1690565b611e91611f94565b6001600160a01b038116611ee75760405162461bcd60e51b815260206004820152601b60248201527f43616e6e6f742073656e6420746f207a65726f2061646472657373000000000060448201526064016110b5565b6040516323b872dd60e01b81523060048201526001600160a01b038281166024830152604482018490528416906323b872dd906064015f604051808303815f87803b158015611f34575f80fd5b505af1158015610fa8573d5f803e3d5ffd5b611f4e611f94565b6001600160a01b038116611f7757604051631e4fbdf760e01b81525f60048201526024016110b5565b61113c81612364565b611f88611f94565b600e610cd58282612fa4565b6009546001600160a01b031633146111c65760405163118cdaa760e01b81523360048201526024016110b5565b5f6301ffc9a760e01b6001600160e01b031983161480611ff157506380ac58cd60e01b6001600160e01b03198316145b80610cbd5750506001600160e01b031916635b5e139f60e01b1490565b5f6001600160e01b0319821663152a902d60e11b1480610cbd57506301ffc9a760e01b6001600160e01b0319831614610cbd565b6127106001600160601b03821681101561208157604051636f483d0960e01b81526001600160601b0383166004820152602481018290526044016110b5565b6001600160a01b0383166120aa57604051635b6cc80560e11b81525f60048201526024016110b5565b50604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600b55565b5f81600111612129575f54821015612129575f5b505f828152600460205260408120549081900361211f5761211883613116565b92506120f8565b600160e01b161590505b919050565b805f5260045ffd5b6001600160a01b0381165f9081526023602052604090205460ff16151560010361113c57604051633b01444b60e11b81526001600160a01b03821660048201526024016110b5565b610cd5828260016126db565b5f8160011161221357505f81815260046020526040902054805f03612201575f5482106121c1576121c1636f96cda160e11b61212e565b5b505f19015f8181526004602052604090205480156121c257600160e01b81165f036121ec57919050565b6121fc636f96cda160e11b61212e565b6121c2565b600160e01b81165f0361221357919050565b612129636f96cda160e11b61212e565b610cd5828260405180602001604052805f81525061277c565b6002600a540361228e5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016110b5565b6002600a55565b5f8054908290036122b0576122b063b562e8dd60e01b61212e565b5f8181526004602090815260408083206001600160a01b0387164260a01b6001881460e11b1781179091558084526005909252822080546801000000000000000186020190559081900361230d5761230d622e076360e81b61212e565b818301825b80835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a481816001019150810361231257505f5550505050565b5f8261235b85846127dc565b14949350505050565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b604080516080810182525f8082526020820181905291810182905260608101919091525f82815260046020526040902054610cbd90604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a02906124d190339089908890889060040161312b565b6020604051808303815f875af192505050801561250b575060408051601f3d908101601f1916820190925261250891810190613167565b60015b61255e573d808015612538576040519150601f19603f3d011682016040523d82523d5f602084013e61253d565b606091505b5080515f03612556576125566368d2bf6b60e11b61212e565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600e8054610ce890612e51565b60605f61259783612828565b60010190505f8167ffffffffffffffff8111156125b6576125b6612b95565b6040519080825280601f01601f1916602001820160405280156125e0576020820181803683370190505b5090508181016020015b5f19016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846125ea57509392505050565b6127106001600160601b0382168110156126615760405163dfd1fc1b60e01b8152600481018590526001600160601b0383166024820152604481018290526064016110b5565b6001600160a01b03831661269157604051634b4f842960e11b8152600481018590525f60248201526044016110b5565b506040805180820182526001600160a01b0393841681526001600160601b0392831660208083019182525f968752600c90529190942093519051909116600160a01b029116179055565b5f6126e583611609565b90508180156126fd5750336001600160a01b03821614155b156127205761270c8133611e5c565b612720576127206367d9dca160e11b61212e565b5f8381526006602052604080822080546001600160a01b0319166001600160a01b0388811691821790925591518693918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a450505050565b6127868383612295565b6001600160a01b0383163b15610db6575f548281035b6127ae5f86838060010194508661249d565b6127c2576127c26368d2bf6b60e11b61212e565b81811061279c57815f54146127d5575f80fd5b5050505050565b5f81815b84518110156128205761280c828683815181106127ff576127ff612f2b565b60200260200101516128ff565b91508061281881612f3f565b9150506127e0565b509392505050565b5f8072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106128665772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310612892576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106128b057662386f26fc10000830492506010015b6305f5e10083106128c8576305f5e100830492506008015b61271083106128dc57612710830492506004015b606483106128ee576064830492506002015b600a8310610cbd5760010192915050565b5f818310612919575f828152602084905260409020611df9565b505f9182526020526040902090565b5f60208284031215612938575f80fd5b5035919050565b6001600160e01b03198116811461113c575f80fd5b5f60208284031215612964575f80fd5b8135611df98161293f565b80356001600160a01b0381168114612129575f80fd5b80356001600160601b0381168114612129575f80fd5b5f80604083850312156129ac575f80fd5b6129b58361296f565b91506129c360208401612985565b90509250929050565b5f5b838110156129e65781810151838201526020016129ce565b50505f910152565b5f8151808452612a058160208601602086016129cc565b601f01601f19169290920160200192915050565b602081525f611df960208301846129ee565b5f8060408385031215612a3c575f80fd5b612a458361296f565b946020939093013593505050565b5f805f60608486031215612a65575f80fd5b612a6e8461296f565b9250612a7c6020850161296f565b9150604084013590509250925092565b5f805f8060808587031215612a9f575f80fd5b5050823594602084013594506040840135936060013592509050565b5f8060408385031215612acc575f80fd5b50508035926020909101359150565b5f8060408385031215612aec575f80fd5b823591506129c36020840161296f565b5f60208284031215612b0c575f80fd5b611df98261296f565b5f8083601f840112612b25575f80fd5b50813567ffffffffffffffff811115612b3c575f80fd5b6020830191508360208260051b8501011115611072575f80fd5b5f8060208385031215612b67575f80fd5b823567ffffffffffffffff811115612b7d575f80fd5b612b8985828601612b15565b90969095509350505050565b634e487b7160e01b5f52604160045260245ffd5b5f67ffffffffffffffff80841115612bc357612bc3612b95565b604051601f8501601f19908116603f01168101908282118183101715612beb57612beb612b95565b81604052809350858152868686011115612c03575f80fd5b858560208301375f602087830101525050509392505050565b5f60208284031215612c2c575f80fd5b813567ffffffffffffffff811115612c42575f80fd5b8201601f81018413612c52575f80fd5b61257484823560208401612ba9565b5f805f60408486031215612c73575f80fd5b83359250602084013567ffffffffffffffff811115612c90575f80fd5b612c9c86828701612b15565b9497909650939450505050565b602080825282518282018190525f9190848201906040850190845b81811015612ce057835183529284019291840191600101612cc4565b50909695505050505050565b801515811461113c575f80fd5b5f60208284031215612d09575f80fd5b8135611df981612cec565b5f8060408385031215612d25575f80fd5b612d2e8361296f565b91506020830135612d3e81612cec565b809150509250929050565b5f805f60608486031215612d5b575f80fd5b612d648461296f565b925060208401359150612d796040850161296f565b90509250925092565b5f805f8060808587031215612d95575f80fd5b612d9e8561296f565b9350612dac6020860161296f565b925060408501359150606085013567ffffffffffffffff811115612dce575f80fd5b8501601f81018713612dde575f80fd5b612ded87823560208401612ba9565b91505092959194509250565b5f805f60608486031215612e0b575f80fd5b83359250612e1b6020850161296f565b9150612d7960408501612985565b5f8060408385031215612e3a575f80fd5b612e438361296f565b91506129c36020840161296f565b600181811c90821680612e6557607f821691505b602082108103612e8357634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215612e99575f80fd5b5051919050565b634e487b7160e01b5f52601160045260245ffd5b8082028115828204841417610cbd57610cbd612ea0565b5f82612ee557634e487b7160e01b5f52601260045260245ffd5b500490565b80820180821115610cbd57610cbd612ea0565b6020808252601490820152734d617820737570706c792065786365656465642160601b604082015260600190565b634e487b7160e01b5f52603260045260245ffd5b5f60018201612f5057612f50612ea0565b5060010190565b601f821115610db6575f81815260208120601f850160051c81016020861015612f7d5750805b601f850160051c820191505b81811015612f9c57828155600101612f89565b505050505050565b815167ffffffffffffffff811115612fbe57612fbe612b95565b612fd281612fcc8454612e51565b84612f57565b602080601f831160018114613005575f8415612fee5750858301515b5f19600386901b1c1916600185901b178555612f9c565b5f85815260208120601f198616915b8281101561303357888601518255948401946001909101908401613014565b508582101561305057878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b5f60208284031215613070575f80fd5b8151611df981612cec565b5f8451602061308d8285838a016129cc565b8551918401916130a08184848a016129cc565b85549201915f906130b081612e51565b600182811680156130c857600181146130dd57613106565b60ff1984168752821515830287019450613106565b895f52855f205f5b848110156130fe578154898201529083019087016130e5565b505082870194505b50929a9950505050505050505050565b5f8161312457613124612ea0565b505f190190565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f9061315d908301846129ee565b9695505050505050565b5f60208284031215613177575f80fd5b8151611df98161293f56fea26469706673582212203fc7985b9d8138577c7e345dd91d45aab17a83e813531a7c15e6ef09e3c29b4664736f6c63430008140033697066733a2f2f62616679626569676f76346e616d79376361626d653269646964353474377669796f3568666d69626d6d616d6166336d37737a34636b35716c666d2f706c616365686f6c6465722e6a736f6e00000000000000000000000000000000000000000000000000000000000000400000000000000000000000008f5b56ede7b227eb949e8f3c2063c7d377df1adb00000000000000000000000000000000000000000000000000000000000000033131310000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405260043610610423575f3560e01c80638da5cb5b11610220578063b6c693e511610129578063dc544ca7116100b3578063eaf36bc811610078578063eaf36bc814610c0c578063f0e9fcd114610c25578063f2cd579614610c44578063f2fde38b14610c59578063f648498014610c78575f80fd5b8063dc544ca714610b7b578063e0a8085314610b90578063e266842514610baf578063e35b0ab114610bce578063e985e9c514610bed575f80fd5b8063c2d94aec116100f9578063c2d94aec14610ae0578063c36f8e4614610aff578063c87b56dd14610b1e578063d2a23a0014610b3d578063d9f0a67114610b5c575f80fd5b8063b6c693e514610a90578063b88d4fde14610aa4578063bc1ac5c114610ab7578063be9feb3014610acb575f80fd5b8063a22cb465116101aa578063a903d3ed1161017a578063a903d3ed146109f8578063abe37a9414610a1f578063aeeae27214610a3e578063b071401b14610a52578063b51609b414610a71575f80fd5b8063a22cb46514610991578063a28b56f2146109b0578063a45ba8e7146109cf578063a4f4f8af146109e3575f80fd5b806396330b5f116101f057806396330b5f1461090557806397d75776146109305780639f6156001461094a5780639fb17e3414610969578063a035b1fe1461097c575f80fd5b80638da5cb5b146108a057806391b7f5ed146108bd57806394354fd0146108dc57806395d89b41146108f1575f80fd5b80633fe591271161032d5780635a0b8b23116102b757806370cad3aa1161027c57806370cad3aa1461080b578063715018a61461083657806378d45eef1461084a5780638462151c1461085f578063869194ac1461088b575f80fd5b80635a0b8b23146107905780635fd1bbc4146107a557806361efde22146107ba5780636352211e146107cd57806370a08231146107ec575f80fd5b806347a54148116102fd57806347a541481461071057806347d9569e146107255780634fdd43cb14610744578063518302271461076357806352ee46961461077c575f80fd5b80633fe591271461069b57806342842e0e146106c9578063454bb2a8146106dc578063463fb323146106fb575f80fd5b806319d1997a116103ae5780632c27e5811161037e5780632c27e5811461062a5780632eb4a7ab1461063f5780632eba0dce14610654578063390f9466146106735780633ccfd60b14610687575f80fd5b806319d1997a146105a557806323b872dd146105ba578063286b7f8e146105cd5780632a55205a146105ec575f80fd5b8063081812fc116103f4578063081812fc146104fb578063095ea7b3146105325780630e13a7c01461054557806318160ddd146105645780631869ebda14610586575f80fd5b806275770a1461046657806301ffc9a71461048757806302fa7c47146104bb57806306fdde03146104da575f80fd5b3661046257604080513381523460208201527ffe2d73074d233633e644a6fb7186458fbf422add1c18d996efd14ffbece6f2b2910160405180910390a1005b5f80fd5b348015610471575f80fd5b50610485610480366004612928565b610c97565b005b348015610492575f80fd5b506104a66104a1366004612954565b610ca4565b60405190151581526020015b60405180910390f35b3480156104c6575f80fd5b506104856104d536600461299b565b610cc3565b3480156104e5575f80fd5b506104ee610cd9565b6040516104b29190612a19565b348015610506575f80fd5b5061051a610515366004612928565b610d69565b6040516001600160a01b0390911681526020016104b2565b610485610540366004612a2b565b610da2565b348015610550575f80fd5b5061048561055f366004612928565b610dbb565b34801561056f575f80fd5b50610578610dc8565b6040519081526020016104b2565b348015610591575f80fd5b506104856105a0366004612a2b565b610dd4565b3480156105b0575f80fd5b5061057860135481565b6104856105c8366004612a53565b610e57565b3480156105d8575f80fd5b506104856105e7366004612a8c565b610fb1565b3480156105f7575f80fd5b5061060b610606366004612abb565b610fcd565b604080516001600160a01b0390931683526020830191909152016104b2565b348015610635575f80fd5b5061057860225481565b34801561064a575f80fd5b50610578600d5481565b34801561065f575f80fd5b5061048561066e366004612adb565b611079565b34801561067e575f80fd5b506104856110c8565b348015610692575f80fd5b5061048561113f565b3480156106a6575f80fd5b506104a66106b5366004612afc565b60236020525f908152604090205460ff1681565b6104856106d7366004612a53565b6111c8565b3480156106e7575f80fd5b506104856106f6366004612928565b6111e2565b348015610706575f80fd5b50610578601d5481565b34801561071b575f80fd5b5061057860205481565b348015610730575f80fd5b5061048561073f366004612b56565b6111ef565b34801561074f575f80fd5b5061048561075e366004612c1c565b611276565b34801561076e575f80fd5b506019546104a69060ff1681565b348015610787575f80fd5b506104ee61128a565b34801561079b575f80fd5b5061057860175481565b3480156107b0575f80fd5b5061057860215481565b6104856107c8366004612c61565b611316565b3480156107d8575f80fd5b5061051a6107e7366004612928565b611609565b3480156107f7575f80fd5b50610578610806366004612afc565b611613565b348015610816575f80fd5b50610578610825366004612afc565b601a6020525f908152604090205481565b348015610841575f80fd5b50610485611657565b348015610855575f80fd5b5061057860145481565b34801561086a575f80fd5b5061087e610879366004612afc565b611668565b6040516104b29190612ca9565b348015610896575f80fd5b5061057860185481565b3480156108ab575f80fd5b506009546001600160a01b031661051a565b3480156108c8575f80fd5b506104856108d7366004612928565b611754565b3480156108e7575f80fd5b5061057860155481565b3480156108fc575f80fd5b506104ee611761565b348015610910575f80fd5b5061057861091f366004612afc565b601b6020525f908152604090205481565b34801561093b575f80fd5b5061051a6002604360981b0181565b348015610955575f80fd5b50610485610964366004612cf9565b611770565b610485610977366004612928565b61178b565b348015610987575f80fd5b5061057860115481565b34801561099c575f80fd5b506104856109ab366004612d14565b6119cd565b3480156109bb575f80fd5b506104856109ca366004612928565b6119e1565b3480156109da575f80fd5b506104ee6119ee565b3480156109ee575f80fd5b50610578601c5481565b348015610a03575f80fd5b5061051a732536fe9ab3f511540f2f9e2ec2a805005c3dd80081565b348015610a2a575f80fd5b50610485610a39366004612928565b6119fb565b348015610a49575f80fd5b50610485611a08565b348015610a5d575f80fd5b50610485610a6c366004612928565b611a40565b348015610a7c575f80fd5b50610485610a8b366004612d49565b611a4d565b348015610a9b575f80fd5b506104a6611b5f565b610485610ab2366004612d82565b611b8b565b348015610ac2575f80fd5b506104a6611bcc565b348015610ad6575f80fd5b50610578601f5481565b348015610aeb575f80fd5b50610485610afa366004612afc565b611be9565b348015610b0a575f80fd5b50610485610b19366004612d14565b611c65565b348015610b29575f80fd5b506104ee610b38366004612928565b611c97565b348015610b48575f80fd5b50610485610b57366004612c1c565b611e00565b348015610b67575f80fd5b50610485610b76366004612928565b611e14565b348015610b86575f80fd5b5061057860125481565b348015610b9b575f80fd5b50610485610baa366004612cf9565b611e21565b348015610bba575f80fd5b50610485610bc9366004612df9565b611e3c565b348015610bd9575f80fd5b50610485610be8366004612928565b611e4f565b348015610bf8575f80fd5b506104a6610c07366004612e29565b611e5c565b348015610c17575f80fd5b506024546104a69060ff1681565b348015610c30575f80fd5b50610485610c3f366004612d49565b611e89565b348015610c4f575f80fd5b5061057860165481565b348015610c64575f80fd5b50610485610c73366004612afc565b611f46565b348015610c83575f80fd5b50610485610c92366004612c1c565b611f80565b610c9f611f94565b601355565b5f610cae82611fc1565b80610cbd5750610cbd8261200e565b92915050565b610ccb611f94565b610cd58282612042565b5050565b606060028054610ce890612e51565b80601f0160208091040260200160405190810160405280929190818152602001828054610d1490612e51565b8015610d5f5780601f10610d3657610100808354040283529160200191610d5f565b820191905f5260205f20905b815481529060010190602001808311610d4257829003601f168201915b5050505050905090565b5f610d73826120e4565b610d8757610d876333d1c03960e21b61212e565b505f908152600660205260409020546001600160a01b031690565b81610dac81612136565b610db6838361217e565b505050565b610dc3611f94565b601255565b6001545f54035f190190565b610ddc611f94565b604051637cb8cb3160e11b81523060048201526001600160a01b0383166024820152604481018290526002604360981b019063f9719662906064016020604051808303815f875af1158015610e33573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610db69190612e89565b5f610e618261218a565b6001600160a01b039485169490915081168414610e8757610e8762a1148160e81b61212e565b5f8281526006602052604090208054338082146001600160a01b03881690911417610eca57610eb68633611e5c565b610eca57610eca632ce44b5f60e11b61212e565b8015610ed4575f82555b6001600160a01b038681165f9081526005602052604080822080545f19019055918716808252919020805460010190554260a01b17600160e11b175f85815260046020526040812091909155600160e11b84169003610f6057600184015f818152600460205260408120549003610f5e575f548114610f5e575f8181526004602052604090208490555b505b6001600160a01b0385168481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4805f03610fa857610fa8633a954ecd60e21b61212e565b50505050505050565b610fb9611f94565b601f91909155602055602191909155602255565b5f828152600c602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291611041575060408051808201909152600b546001600160a01b0381168252600160a01b90046001600160601b031660208201525b60208101515f906127109061105f906001600160601b031687612eb4565b6110699190612ecb565b91519350909150505b9250929050565b611081611f94565b6013548261108d610dc8565b6110979190612eea565b11156110be5760405162461bcd60e51b81526004016110b590612efd565b60405180910390fd5b610cd58183612223565b6110d0611f94565b604051634aa7d2f760e11b81523060048201523360248201526002604360981b019063954fa5ee906044015b6020604051808303815f875af1158015611118573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061113c9190612e89565b50565b611147611f94565b61114f61223c565b5f6111626009546001600160a01b031690565b6001600160a01b0316476040515f6040518083038185875af1925050503d805f81146111a9576040519150601f19603f3d011682016040523d82523d5f602084013e6111ae565b606091505b50509050806111bb575f80fd5b506111c66001600a55565b565b610db683838360405180602001604052805f815250611b8b565b6111ea611f94565b601855565b6111f7611f94565b5f5b81811015610db65760135461120c610dc8565b611217906001612eea565b11156112355760405162461bcd60e51b81526004016110b590612efd565b61126683838381811061124a5761124a612f2b565b905060200201602081019061125f9190612afc565b6001612295565b61126f81612f3f565b90506111f9565b61127e611f94565b6010610cd58282612fa4565b600f805461129790612e51565b80601f01602080910402602001604051908101604052809291908181526020018280546112c390612e51565b801561130e5780601f106112e55761010080835404028352916020019161130e565b820191905f5260205f20905b8154815290600101906020018083116112f157829003601f168201915b505050505081565b61131e61223c565b6040516bffffffffffffffffffffffff193360601b1660208201525f906034016040516020818303038152906040528051906020012090506113968383808060200260200160405190810160405280939291908181526020018383602002808284375f9201919091525050600d54915084905061234f565b6113d45760405162461bcd60e51b815260206004820152600f60248201526e4e6f742057686974656c697465642160881b60448201526064016110b5565b6113dc611bcc565b6114205760405162461bcd60e51b815260206004820152601560248201527454686520576c53616c65206973207061757365642160581b60448201526064016110b5565b60245460ff16156114735760405162461bcd60e51b815260206004820152601a60248201527f436f6e747261637420697320466f7263652053746f707065642100000000000060448201526064016110b5565b5f8411801561148457506016548411155b6114c75760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b60448201526064016110b5565b601454846114d3610dc8565b6114dd9190612eea565b11156114fb5760405162461bcd60e51b81526004016110b590612efd565b601854335f908152601a6020526040902054611518908690612eea565b11156115665760405162461bcd60e51b815260206004820152601d60248201527f4d6178206d696e74207065722077616c6c65742065786365656465642100000060448201526064016110b5565b836012546115749190612eb4565b3410156115b95760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b60448201526064016110b5565b6115c33385612223565b335f908152601a6020526040812080548692906115e1908490612eea565b9250508190555083601d5f8282546115f99190612eea565b90915550506001600a5550505050565b5f610cbd8261218a565b5f6001600160a01b038216611632576116326323d3ad8160e21b61212e565b506001600160a01b03165f9081526005602052604090205467ffffffffffffffff1690565b61165f611f94565b6111c65f612364565b60605f61167483611613565b67ffffffffffffffff81111561168c5761168c612b95565b6040519080825280602002602001820160405280156116b5578160200160208202803683370190505b5090505f6116c15f5490565b90505f805f5b83811015611749575f6116d9826123b5565b90508060400151156116eb5750611741565b80516001600160a01b03161561170057805192505b876001600160a01b0316836001600160a01b03160361173f578186858060010196508151811061173257611732612f2b565b6020026020010181815250505b505b6001016116c7565b509295945050505050565b61175c611f94565b601155565b606060038054610ce890612e51565b611778611f94565b6024805460ff1916911515919091179055565b61179361223c565b5f811180156117a457506015548111155b6117e75760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b60448201526064016110b5565b6117ef611b5f565b61183b5760405162461bcd60e51b815260206004820152601a60248201527f546865205075626c69632053616c65206973207061757365642100000000000060448201526064016110b5565b60245460ff161561188e5760405162461bcd60e51b815260206004820152601a60248201527f436f6e747261637420697320466f7263652053746f707065642100000000000060448201526064016110b5565b6013548161189a610dc8565b6118a49190612eea565b11156118c25760405162461bcd60e51b81526004016110b590612efd565b601754335f908152601b60205260409020546118df908390612eea565b111561192d5760405162461bcd60e51b815260206004820152601d60248201527f4d6178206d696e74207065722077616c6c65742065786365656465642100000060448201526064016110b5565b8060115461193b9190612eb4565b3410156119805760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b60448201526064016110b5565b61198a3382612223565b335f908152601b6020526040812080548392906119a8908490612eea565b9250508190555080601c5f8282546119c09190612eea565b90915550506001600a5550565b816119d781612136565b610db68383612432565b6119e9611f94565b600d55565b6010805461129790612e51565b611a03611f94565b601655565b611a10611f94565b60405163662aa11d60e01b81523060048201523360248201526002604360981b019063662aa11d906044016110fc565b611a48611f94565b601555565b611a55611f94565b6001600160a01b038116611aab5760405162461bcd60e51b815260206004820152601b60248201527f43616e6e6f742073656e6420746f207a65726f2061646472657373000000000060448201526064016110b5565b60405163a9059cbb60e01b81526001600160a01b0382811660048301526024820184905284169063a9059cbb906044016020604051808303815f875af1158015611af7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b1b9190613060565b610db65760405162461bcd60e51b8152602060048201526015602482015274115490cc8c081d1c985b9cd9995c8819985a5b1959605a1b60448201526064016110b5565b5f602254611b6a4290565b11158015611b7b5750602154425b10155b15611b865750600190565b505f90565b611b96848484610e57565b6001600160a01b0383163b15611bc657611bb28484848461249d565b611bc657611bc66368d2bf6b60e11b61212e565b50505050565b5f602054611bd74290565b11158015611b7b5750601f5442611b78565b611bf1611f94565b60405163430021db60e11b81523060048201526001600160a01b03821660248201526002604360981b019063860043b6906044016020604051808303815f875af1158015611c41573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cd59190612e89565b611c6d611f94565b6001600160a01b03919091165f908152602360205260409020805460ff1916911515919091179055565b6060611ca2826120e4565b611d065760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016110b5565b60195460ff1615155f03611da45760108054611d2190612e51565b80601f0160208091040260200160405190810160405280929190818152602001828054611d4d90612e51565b8015611d985780601f10611d6f57610100808354040283529160200191611d98565b820191905f5260205f20905b815481529060010190602001808311611d7b57829003601f168201915b50505050509050919050565b5f611dad61257c565b90505f815111611dcb5760405180602001604052805f815250611df9565b80611dd58461258b565b600f604051602001611de99392919061307b565b6040516020818303038152906040525b9392505050565b611e08611f94565b600f610cd58282612fa4565b611e1c611f94565b601755565b611e29611f94565b6019805460ff1916911515919091179055565b611e44611f94565b610db683838361261b565b611e57611f94565b601455565b6001600160a01b039182165f90815260076020908152604080832093909416825291909152205460ff1690565b611e91611f94565b6001600160a01b038116611ee75760405162461bcd60e51b815260206004820152601b60248201527f43616e6e6f742073656e6420746f207a65726f2061646472657373000000000060448201526064016110b5565b6040516323b872dd60e01b81523060048201526001600160a01b038281166024830152604482018490528416906323b872dd906064015f604051808303815f87803b158015611f34575f80fd5b505af1158015610fa8573d5f803e3d5ffd5b611f4e611f94565b6001600160a01b038116611f7757604051631e4fbdf760e01b81525f60048201526024016110b5565b61113c81612364565b611f88611f94565b600e610cd58282612fa4565b6009546001600160a01b031633146111c65760405163118cdaa760e01b81523360048201526024016110b5565b5f6301ffc9a760e01b6001600160e01b031983161480611ff157506380ac58cd60e01b6001600160e01b03198316145b80610cbd5750506001600160e01b031916635b5e139f60e01b1490565b5f6001600160e01b0319821663152a902d60e11b1480610cbd57506301ffc9a760e01b6001600160e01b0319831614610cbd565b6127106001600160601b03821681101561208157604051636f483d0960e01b81526001600160601b0383166004820152602481018290526044016110b5565b6001600160a01b0383166120aa57604051635b6cc80560e11b81525f60048201526024016110b5565b50604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600b55565b5f81600111612129575f54821015612129575f5b505f828152600460205260408120549081900361211f5761211883613116565b92506120f8565b600160e01b161590505b919050565b805f5260045ffd5b6001600160a01b0381165f9081526023602052604090205460ff16151560010361113c57604051633b01444b60e11b81526001600160a01b03821660048201526024016110b5565b610cd5828260016126db565b5f8160011161221357505f81815260046020526040902054805f03612201575f5482106121c1576121c1636f96cda160e11b61212e565b5b505f19015f8181526004602052604090205480156121c257600160e01b81165f036121ec57919050565b6121fc636f96cda160e11b61212e565b6121c2565b600160e01b81165f0361221357919050565b612129636f96cda160e11b61212e565b610cd5828260405180602001604052805f81525061277c565b6002600a540361228e5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016110b5565b6002600a55565b5f8054908290036122b0576122b063b562e8dd60e01b61212e565b5f8181526004602090815260408083206001600160a01b0387164260a01b6001881460e11b1781179091558084526005909252822080546801000000000000000186020190559081900361230d5761230d622e076360e81b61212e565b818301825b80835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a481816001019150810361231257505f5550505050565b5f8261235b85846127dc565b14949350505050565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b604080516080810182525f8082526020820181905291810182905260608101919091525f82815260046020526040902054610cbd90604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a02906124d190339089908890889060040161312b565b6020604051808303815f875af192505050801561250b575060408051601f3d908101601f1916820190925261250891810190613167565b60015b61255e573d808015612538576040519150601f19603f3d011682016040523d82523d5f602084013e61253d565b606091505b5080515f03612556576125566368d2bf6b60e11b61212e565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600e8054610ce890612e51565b60605f61259783612828565b60010190505f8167ffffffffffffffff8111156125b6576125b6612b95565b6040519080825280601f01601f1916602001820160405280156125e0576020820181803683370190505b5090508181016020015b5f19016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846125ea57509392505050565b6127106001600160601b0382168110156126615760405163dfd1fc1b60e01b8152600481018590526001600160601b0383166024820152604481018290526064016110b5565b6001600160a01b03831661269157604051634b4f842960e11b8152600481018590525f60248201526044016110b5565b506040805180820182526001600160a01b0393841681526001600160601b0392831660208083019182525f968752600c90529190942093519051909116600160a01b029116179055565b5f6126e583611609565b90508180156126fd5750336001600160a01b03821614155b156127205761270c8133611e5c565b612720576127206367d9dca160e11b61212e565b5f8381526006602052604080822080546001600160a01b0319166001600160a01b0388811691821790925591518693918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a450505050565b6127868383612295565b6001600160a01b0383163b15610db6575f548281035b6127ae5f86838060010194508661249d565b6127c2576127c26368d2bf6b60e11b61212e565b81811061279c57815f54146127d5575f80fd5b5050505050565b5f81815b84518110156128205761280c828683815181106127ff576127ff612f2b565b60200260200101516128ff565b91508061281881612f3f565b9150506127e0565b509392505050565b5f8072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106128665772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310612892576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106128b057662386f26fc10000830492506010015b6305f5e10083106128c8576305f5e100830492506008015b61271083106128dc57612710830492506004015b606483106128ee576064830492506002015b600a8310610cbd5760010192915050565b5f818310612919575f828152602084905260409020611df9565b505f9182526020526040902090565b5f60208284031215612938575f80fd5b5035919050565b6001600160e01b03198116811461113c575f80fd5b5f60208284031215612964575f80fd5b8135611df98161293f565b80356001600160a01b0381168114612129575f80fd5b80356001600160601b0381168114612129575f80fd5b5f80604083850312156129ac575f80fd5b6129b58361296f565b91506129c360208401612985565b90509250929050565b5f5b838110156129e65781810151838201526020016129ce565b50505f910152565b5f8151808452612a058160208601602086016129cc565b601f01601f19169290920160200192915050565b602081525f611df960208301846129ee565b5f8060408385031215612a3c575f80fd5b612a458361296f565b946020939093013593505050565b5f805f60608486031215612a65575f80fd5b612a6e8461296f565b9250612a7c6020850161296f565b9150604084013590509250925092565b5f805f8060808587031215612a9f575f80fd5b5050823594602084013594506040840135936060013592509050565b5f8060408385031215612acc575f80fd5b50508035926020909101359150565b5f8060408385031215612aec575f80fd5b823591506129c36020840161296f565b5f60208284031215612b0c575f80fd5b611df98261296f565b5f8083601f840112612b25575f80fd5b50813567ffffffffffffffff811115612b3c575f80fd5b6020830191508360208260051b8501011115611072575f80fd5b5f8060208385031215612b67575f80fd5b823567ffffffffffffffff811115612b7d575f80fd5b612b8985828601612b15565b90969095509350505050565b634e487b7160e01b5f52604160045260245ffd5b5f67ffffffffffffffff80841115612bc357612bc3612b95565b604051601f8501601f19908116603f01168101908282118183101715612beb57612beb612b95565b81604052809350858152868686011115612c03575f80fd5b858560208301375f602087830101525050509392505050565b5f60208284031215612c2c575f80fd5b813567ffffffffffffffff811115612c42575f80fd5b8201601f81018413612c52575f80fd5b61257484823560208401612ba9565b5f805f60408486031215612c73575f80fd5b83359250602084013567ffffffffffffffff811115612c90575f80fd5b612c9c86828701612b15565b9497909650939450505050565b602080825282518282018190525f9190848201906040850190845b81811015612ce057835183529284019291840191600101612cc4565b50909695505050505050565b801515811461113c575f80fd5b5f60208284031215612d09575f80fd5b8135611df981612cec565b5f8060408385031215612d25575f80fd5b612d2e8361296f565b91506020830135612d3e81612cec565b809150509250929050565b5f805f60608486031215612d5b575f80fd5b612d648461296f565b925060208401359150612d796040850161296f565b90509250925092565b5f805f8060808587031215612d95575f80fd5b612d9e8561296f565b9350612dac6020860161296f565b925060408501359150606085013567ffffffffffffffff811115612dce575f80fd5b8501601f81018713612dde575f80fd5b612ded87823560208401612ba9565b91505092959194509250565b5f805f60608486031215612e0b575f80fd5b83359250612e1b6020850161296f565b9150612d7960408501612985565b5f8060408385031215612e3a575f80fd5b612e438361296f565b91506129c36020840161296f565b600181811c90821680612e6557607f821691505b602082108103612e8357634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215612e99575f80fd5b5051919050565b634e487b7160e01b5f52601160045260245ffd5b8082028115828204841417610cbd57610cbd612ea0565b5f82612ee557634e487b7160e01b5f52601260045260245ffd5b500490565b80820180821115610cbd57610cbd612ea0565b6020808252601490820152734d617820737570706c792065786365656465642160601b604082015260600190565b634e487b7160e01b5f52603260045260245ffd5b5f60018201612f5057612f50612ea0565b5060010190565b601f821115610db6575f81815260208120601f850160051c81016020861015612f7d5750805b601f850160051c820191505b81811015612f9c57828155600101612f89565b505050505050565b815167ffffffffffffffff811115612fbe57612fbe612b95565b612fd281612fcc8454612e51565b84612f57565b602080601f831160018114613005575f8415612fee5750858301515b5f19600386901b1c1916600185901b178555612f9c565b5f85815260208120601f198616915b8281101561303357888601518255948401946001909101908401613014565b508582101561305057878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b5f60208284031215613070575f80fd5b8151611df981612cec565b5f8451602061308d8285838a016129cc565b8551918401916130a08184848a016129cc565b85549201915f906130b081612e51565b600182811680156130c857600181146130dd57613106565b60ff1984168752821515830287019450613106565b895f52855f205f5b848110156130fe578154898201529083019087016130e5565b505082870194505b50929a9950505050505050505050565b5f8161312457613124612ea0565b505f190190565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f9061315d908301846129ee565b9695505050505050565b5f60208284031215613177575f80fd5b8151611df98161293f56fea26469706673582212203fc7985b9d8138577c7e345dd91d45aab17a83e813531a7c15e6ef09e3c29b4664736f6c63430008140033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000400000000000000000000000008f5b56ede7b227eb949e8f3c2063c7d377df1adb00000000000000000000000000000000000000000000000000000000000000033131310000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _uri (string): 111
Arg [1] : _pointsOperator (address): 0x8f5b56ede7B227eb949e8f3c2063c7d377dF1AdB
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000008f5b56ede7b227eb949e8f3c2063c7d377df1adb
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [3] : 3131310000000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
112242:13492:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;123184:34;;;123196:10;188:51:1;;123208:9:0;270:2:1;255:18;;248:34;123184::0;;161:18:1;123184:34:0;;;;;;;112242:13492;;;;;119155:108;;;;;;;;;;-1:-1:-1;119155:108:0;;;;;:::i;:::-;;:::i;:::-;;121948:291;;;;;;;;;;-1:-1:-1;121948:291:0;;;;;:::i;:::-;;:::i;:::-;;;1029:14:1;;1022:22;1004:41;;992:2;977:18;121948:291:0;;;;;;;;119649:178;;;;;;;;;;-1:-1:-1;119649:178:0;;;;;:::i;:::-;;:::i;32356:100::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;39596:227::-;;;;;;;;;;-1:-1:-1;39596:227:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2601:32:1;;;2583:51;;2571:2;2556:18;39596:227:0;2437:203:1;124301:194:0;;;;;;:::i;:::-;;:::i;119034:92::-;;;;;;;;;;-1:-1:-1;119034:92:0;;;;;:::i;:::-;;:::i;27558:573::-;;;;;;;;;;;;;:::i;:::-;;;3050:25:1;;;3038:2;3023:18;27558:573:0;2904:177:1;124771:141:0;;;;;;;;;;-1:-1:-1;124771:141:0;;;;;:::i;:::-;;:::i;112781:33::-;;;;;;;;;;;;;;;;43868:3523;;;;;;:::i;:::-;;:::i;119855:324::-;;;;;;;;;;-1:-1:-1;119855:324:0;;;;;:::i;:::-;;:::i;8032:429::-;;;;;;;;;;-1:-1:-1;8032:429:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;206:32:1;;;188:51;;270:2;255:18;;248:34;;;;161:18;8032:429:0;14:274:1;113584:41:0;;;;;;;;;;;;;;;;112471:25;;;;;;;;;;;;;;;;116896:274;;;;;;;;;;-1:-1:-1;116896:274:0;;;;;:::i;:::-;;:::i;124529:113::-;;;;;;;;;;;;;:::i;120670:186::-;;;;;;;;;;;;;:::i;113632:47::-;;;;;;;;;;-1:-1:-1;113632:47:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;47487:193;;;;;;:::i;:::-;;:::i;118757:163::-;;;;;;;;;;-1:-1:-1;118757:163:0;;;;;:::i;:::-;;:::i;113224:23::-;;;;;;;;;;;;;;;;113490:37;;;;;;;;;;;;;;;;117178:260;;;;;;;;;;-1:-1:-1;117178:260:0;;;;;:::i;:::-;;:::i;117929:161::-;;;;;;;;;;-1:-1:-1;117929:161:0;;;;;:::i;:::-;;:::i;113045:28::-;;;;;;;;;;-1:-1:-1;113045:28:0;;;;;;;;112529:36;;;;;;;;;;;;;:::i;112954:39::-;;;;;;;;;;;;;;;;113534:43;;;;;;;;;;;;;;;;114781:1191;;;;;;:::i;:::-;;:::i;33758:152::-;;;;;;;;;;-1:-1:-1;33758:152:0;;;;;:::i;:::-;;:::i;29282:242::-;;;;;;;;;;-1:-1:-1;29282:242:0;;;;;:::i;:::-;;:::i;113080:46::-;;;;;;;;;;-1:-1:-1;113080:46:0;;;;;:::i;:::-;;;;;;;;;;;;;;95048:103;;;;;;;;;;;;;:::i;112821:35::-;;;;;;;;;;;;;;;;121012:819;;;;;;;;;;-1:-1:-1;121012:819:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;113000:38::-;;;;;;;;;;;;;;;;94373:87;;;;;;;;;;-1:-1:-1;94446:6:0;;-1:-1:-1;;;;;94446:6:0;94373:87;;118942:84;;;;;;;;;;-1:-1:-1;118942:84:0;;;;;:::i;:::-;;:::i;112863:38::-;;;;;;;;;;;;;;;;32532:104;;;;;;;;;;;;;:::i;113133:50::-;;;;;;;;;;-1:-1:-1;113133:50:0;;;;;:::i;:::-;;;;;;;;;;;;;;113686:90;;;;;;;;;;;;-1:-1:-1;;;;;113686:90:0;;120423:91;;;;;;;;;;-1:-1:-1;120423:91:0;;;;;:::i;:::-;;:::i;115980:908::-;;;;;;:::i;:::-;;:::i;112698:34::-;;;;;;;;;;;;;;;;124097:196;;;;;;;;;;-1:-1:-1;124097:196:0;;;;;:::i;:::-;;:::i;118115:110::-;;;;;;;;;;-1:-1:-1;118115:110:0;;;;;:::i;:::-;;:::i;112572:119::-;;;;;;;;;;;;;:::i;113190:27::-;;;;;;;;;;;;;;;;113911:115;;;;;;;;;;;;113983:42;113911:115;;118419:167;;;;;;;;;;-1:-1:-1;118419:167:0;;;;;:::i;:::-;;:::i;124650:113::-;;;;;;;;;;;;;:::i;118252:159::-;;;;;;;;;;-1:-1:-1;118252:159:0;;;;;:::i;:::-;;:::i;125077:296::-;;;;;;;;;;-1:-1:-1;125077:296:0;;;;;:::i;:::-;;:::i;123563:224::-;;;;;;;;;;;;;:::i;48278:416::-;;;;;;:::i;:::-;;:::i;123336:219::-;;;;;;;;;;;;;:::i;113444:39::-;;;;;;;;;;;;;;;;124920:123;;;;;;;;;;-1:-1:-1;124920:123:0;;;;;:::i;:::-;;:::i;120218:172::-;;;;;;;;;;-1:-1:-1;120218:172:0;;;;;:::i;:::-;;:::i;122247:730::-;;;;;;;;;;-1:-1:-1;122247:730:0;;;;;:::i;:::-;;:::i;117803:118::-;;;;;;;;;;-1:-1:-1;117803:118:0;;;;;:::i;:::-;;:::i;118617:132::-;;;;;;;;;;-1:-1:-1;118617:132:0;;;;;:::i;:::-;;:::i;112739:35::-;;;;;;;;;;;;;;;;117606:87;;;;;;;;;;-1:-1:-1;117606:87:0;;;;;:::i;:::-;;:::i;119424:217::-;;;;;;;;;;-1:-1:-1;119424:217:0;;;;;:::i;:::-;;:::i;119271:116::-;;;;;;;;;;-1:-1:-1;119271:116:0;;;;;:::i;:::-;;:::i;40554:164::-;;;;;;;;;;-1:-1:-1;40554:164:0;;;;;:::i;:::-;;:::i;114035:29::-;;;;;;;;;;-1:-1:-1;114035:29:0;;;;;;;;125381:276;;;;;;;;;;-1:-1:-1;125381:276:0;;;;;:::i;:::-;;:::i;112908:39::-;;;;;;;;;;;;;;;;95306:220;;;;;;;;;;-1:-1:-1;95306:220:0;;;;;:::i;:::-;;:::i;117713:82::-;;;;;;;;;;-1:-1:-1;117713:82:0;;;;;:::i;:::-;;:::i;119155:108::-;94259:13;:11;:13::i;:::-;119229:11:::1;:26:::0;119155:108::o;121948:291::-;122096:4;122138:38;122164:11;122138:25;:38::i;:::-;:93;;;;122193:38;122219:11;122193:25;:38::i;:::-;122118:113;121948:291;-1:-1:-1;;121948:291:0:o;119649:178::-;94259:13;:11;:13::i;:::-;119770:49:::1;119789:9;119800:18;119770;:49::i;:::-;119649:178:::0;;:::o;32356:100::-;32410:13;32443:5;32436:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32356:100;:::o;39596:227::-;39672:7;39697:16;39705:7;39697;:16::i;:::-;39692:73;;39715:50;-1:-1:-1;;;39715:7:0;:50::i;:::-;-1:-1:-1;39785:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;39785:30:0;;39596:227::o;124301:194::-;124429:8;123849:26;123866:8;123849:16;:26::i;:::-;124455:32:::1;124469:8;124479:7;124455:13;:32::i;:::-;124301:194:::0;;;:::o;119034:92::-;94259:13;:11;:13::i;:::-;119100:7:::1;:18:::0;119034:92::o;27558:573::-;121931:1;28002:12;27619:14;27986:13;:28;-1:-1:-1;;27986:46:0;;27558:573::o;124771:141::-;94259:13;:11;:13::i;:::-;124854:50:::1;::::0;-1:-1:-1;;;124854:50:0;;124879:4:::1;124854:50;::::0;::::1;11432:34:1::0;-1:-1:-1;;;;;11502:15:1;;11482:18;;;11475:43;11534:18;;;11527:34;;;-1:-1:-1;;;;;113733:42:0;124854:16:::1;::::0;11367:18:1;;124854:50:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;43868:3523::-:0;44010:27;44040;44059:7;44040:18;:27::i;:::-;-1:-1:-1;;;;;44195:22:0;;;;44010:57;;-1:-1:-1;44255:45:0;;;;44251:95;;44302:44;-1:-1:-1;;;44302:7:0;:44::i;:::-;44360:27;42976:24;;;:15;:24;;;;;43204:26;;69553:10;42601:30;;;-1:-1:-1;;;;;42294:28:0;;42579:20;;;42576:56;44546:189;;44639:43;44656:4;69553:10;40554:164;:::i;44639:43::-;44634:101;;44684:51;-1:-1:-1;;;44684:7:0;:51::i;:::-;44884:15;44881:160;;;45024:1;45003:19;44996:30;44881:160;-1:-1:-1;;;;;45421:24:0;;;;;;;:18;:24;;;;;;45419:26;;-1:-1:-1;;45419:26:0;;;45490:22;;;;;;;;;45488:24;;-1:-1:-1;45488:24:0;;;38415:11;38390:23;38386:41;38373:63;-1:-1:-1;;;38373:63:0;45783:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;46078:47:0;;:52;;46074:627;;46183:1;46173:11;;46151:19;46306:30;;;:17;:30;;;;;;:35;;46302:384;;46444:13;;46429:11;:28;46425:242;;46591:30;;;;:17;:30;;;;;:52;;;46425:242;46132:569;46074:627;-1:-1:-1;;;;;46833:20:0;;47213:7;46833:20;47143:4;47085:25;46814:16;;46950:299;47274:8;47286:1;47274:13;47270:58;;47289:39;-1:-1:-1;;;47289:7:0;:39::i;:::-;43999:3392;;;;43868:3523;;;:::o;119855:324::-;94259:13;:11;:13::i;:::-;120032:11:::1;:26:::0;;;;120069:9:::1;:22:::0;120102:15:::1;:31:::0;;;;120144:13:::1;:27:::0;119855:324::o;8032:429::-;8118:7;8176:26;;;:17;:26;;;;;;;;8147:55;;;;;;;;;-1:-1:-1;;;;;8147:55:0;;;;;-1:-1:-1;;;8147:55:0;;;-1:-1:-1;;;;;8147:55:0;;;;;;;;8118:7;;8215:92;;-1:-1:-1;8266:29:0;;;;;;;;;8276:19;8266:29;-1:-1:-1;;;;;8266:29:0;;;;-1:-1:-1;;;8266:29:0;;-1:-1:-1;;;;;8266:29:0;;;;;8215:92;8356:23;;;;8319:21;;8827:5;;8344:35;;-1:-1:-1;;;;;8344:35:0;:9;:35;:::i;:::-;8343:57;;;;:::i;:::-;8421:16;;;-1:-1:-1;8319:81:0;;-1:-1:-1;;8032:429:0;;;;;;:::o;116896:274::-;94259:13;:11;:13::i;:::-;117059:11:::1;;117044;117028:13;:11;:13::i;:::-;:27;;;;:::i;:::-;:42;;117006:112;;;;-1:-1:-1::0;;;117006:112:0::1;;;;;;;:::i;:::-;;;;;;;;;117129:33;117139:9;117150:11;117129:9;:33::i;124529:113::-:0;94259:13;:11;:13::i;:::-;124590:44:::1;::::0;-1:-1:-1;;;124590:44:0;;124616:4:::1;124590:44;::::0;::::1;13111:34:1::0;124623:10:0::1;13161:18:1::0;;;13154:43;-1:-1:-1;;;;;113733:42:0;124590:17:::1;::::0;13046:18:1;;124590:44:0::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;124529:113::o:0;120670:186::-;94259:13;:11;:13::i;:::-;108263:21:::1;:19;:21::i;:::-;120758:7:::2;120779;94446:6:::0;;-1:-1:-1;;;;;94446:6:0;;94373:87;120779:7:::2;-1:-1:-1::0;;;;;120771:21:0::2;120800;120771:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;120757:69;;;120845:2;120837:11;;;::::0;::::2;;120720:136;108307:20:::1;107701:1:::0;108827:7;:22;108644:213;108307:20:::1;120670:186::o:0;47487:193::-;47633:39;47650:4;47656:2;47660:7;47633:39;;;;;;;;;;;;:16;:39::i;118757:163::-;94259:13;:11;:13::i;:::-;118870:19:::1;:42:::0;118757:163::o;117178:260::-;94259:13;:11;:13::i;:::-;117264:9:::1;117259:172;117275:20:::0;;::::1;117259:172;;;117346:11;;117325:13;:11;:13::i;:::-;:17;::::0;117341:1:::1;117325:17;:::i;:::-;:32;;117317:65;;;;-1:-1:-1::0;;;117317:65:0::1;;;;;;;:::i;:::-;117397:22;117403:9;;117413:1;117403:12;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;117417:1;117397:5;:22::i;:::-;117297:3;::::0;::::1;:::i;:::-;;;117259:172;;117929:161:::0;94259:13;:11;:13::i;:::-;118044:17:::1;:38;118064:18:::0;118044:17;:38:::1;:::i;112529:36::-:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;114781:1191::-;108263:21;:19;:21::i;:::-;114982:30:::1;::::0;-1:-1:-1;;69553:10:0;16043:2:1;16039:15;16035:53;114982:30:0::1;::::0;::::1;16023:66:1::0;114957:12:0::1;::::0;16105::1;;114982:30:0::1;;;;;;;;;;;;114972:41;;;;;;114957:56;;115046:50;115065:12;;115046:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;;115079:10:0::1;::::0;;-1:-1:-1;115091:4:0;;-1:-1:-1;115046:18:0::1;:50::i;:::-;115024:115;;;::::0;-1:-1:-1;;;115024:115:0;;16330:2:1;115024:115:0::1;::::0;::::1;16312:21:1::0;16369:2;16349:18;;;16342:30;-1:-1:-1;;;16388:18:1;;;16381:45;16443:18;;115024:115:0::1;16128:339:1::0;115024:115:0::1;115158:21;:19;:21::i;:::-;115150:55;;;::::0;-1:-1:-1;;;115150:55:0;;16674:2:1;115150:55:0::1;::::0;::::1;16656:21:1::0;16713:2;16693:18;;;16686:30;-1:-1:-1;;;16732:18:1;;;16725:51;16793:18;;115150:55:0::1;16472:345:1::0;115150:55:0::1;115225:9;::::0;::::1;;115224:10;115216:49;;;::::0;-1:-1:-1;;;115216:49:0;;17024:2:1;115216:49:0::1;::::0;::::1;17006:21:1::0;17063:2;17043:18;;;17036:30;17102:28;17082:18;;;17075:56;17148:18;;115216:49:0::1;16822:350:1::0;115216:49:0::1;115346:1;115332:11;:15;:54;;;;;115366:20;;115351:11;:35;;115332:54;115310:124;;;::::0;-1:-1:-1;;;115310:124:0;;17379:2:1;115310:124:0::1;::::0;::::1;17361:21:1::0;17418:2;17398:18;;;17391:30;-1:-1:-1;;;17437:18:1;;;17430:50;17497:18;;115310:124:0::1;17177:344:1::0;115310:124:0::1;115498:13;;115483:11;115467:13;:11;:13::i;:::-;:27;;;;:::i;:::-;:44;;115445:114;;;;-1:-1:-1::0;;;115445:114:0::1;;;;;;;:::i;:::-;115633:19;::::0;115604:10:::1;115592:23;::::0;;;:11:::1;:23;::::0;;;;;:37:::1;::::0;115618:11;;115592:37:::1;:::i;:::-;:60;;115570:139;;;::::0;-1:-1:-1;;;115570:139:0;;17728:2:1;115570:139:0::1;::::0;::::1;17710:21:1::0;17767:2;17747:18;;;17740:30;17806:31;17786:18;;;17779:59;17855:18;;115570:139:0::1;17526:353:1::0;115570:139:0::1;115751:11;115741:7;;:21;;;;:::i;:::-;115728:9;:34;;115720:66;;;::::0;-1:-1:-1;;;115720:66:0;;18086:2:1;115720:66:0::1;::::0;::::1;18068:21:1::0;18125:2;18105:18;;;18098:30;-1:-1:-1;;;18144:18:1;;;18137:49;18203:18;;115720:66:0::1;17884:343:1::0;115720:66:0::1;115816:36;69553:10:::0;115840:11:::1;115816:9;:36::i;:::-;115904:10;115892:23;::::0;;;:11:::1;:23;::::0;;;;:38;;115919:11;;115892:23;:38:::1;::::0;115919:11;;115892:38:::1;:::i;:::-;;;;;;;;115953:11;115941:8;;:23;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;107701:1:0;108827:7;:22;-1:-1:-1;124301:194:0;;;:::o;33758:152::-;33830:7;33873:27;33892:7;33873:18;:27::i;29282:242::-;29354:7;-1:-1:-1;;;;;29378:19:0;;29374:69;;29399:44;-1:-1:-1;;;29399:7:0;:44::i;:::-;-1:-1:-1;;;;;;29461:25:0;;;;;:18;:25;;;;;;22042:13;29461:55;;29282:242::o;95048:103::-;94259:13;:11;:13::i;:::-;95113:30:::1;95140:1;95113:18;:30::i;121012:819::-:0;121100:16;121159:18;121194:16;121204:5;121194:9;:16::i;:::-;121180:31;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;121180:31:0;;121159:52;;121226:11;121240:14;27300:7;27327:13;;27245:103;121240:14;121226:28;;121269:19;121303:25;121348:9;121343:447;121363:3;121359:1;:7;121343:447;;;121392:31;121426:15;121439:1;121426:12;:15::i;:::-;121392:49;;121464:9;:16;;;121460:73;;;121505:8;;;121460:73;121555:14;;-1:-1:-1;;;;;121555:28:0;;121551:111;;121628:14;;;-1:-1:-1;121551:111:0;121705:5;-1:-1:-1;;;;;121684:26:0;:17;-1:-1:-1;;;;;121684:26:0;;121680:95;;121754:1;121735;121737:13;;;;;;121735:16;;;;;;;;:::i;:::-;;;;;;:20;;;;;121680:95;121373:417;121343:447;121368:3;;121343:447;;;-1:-1:-1;121811:1:0;;121012:819;-1:-1:-1;;;;;121012:819:0:o;118942:84::-;94259:13;:11;:13::i;:::-;119004:5:::1;:14:::0;118942:84::o;32532:104::-;32588:13;32621:7;32614:14;;;;;:::i;120423:91::-;94259:13;:11;:13::i;:::-;120487:9:::1;:19:::0;;-1:-1:-1;;120487:19:0::1;::::0;::::1;;::::0;;;::::1;::::0;;120423:91::o;115980:908::-;108263:21;:19;:21::i;:::-;116128:1:::1;116114:11;:15;:52;;;;;116148:18;;116133:11;:33;;116114:52;116092:122;;;::::0;-1:-1:-1;;;116092:122:0;;17379:2:1;116092:122:0::1;::::0;::::1;17361:21:1::0;17418:2;17398:18;;;17391:30;-1:-1:-1;;;17437:18:1;;;17430:50;17497:18;;116092:122:0::1;17177:344:1::0;116092:122:0::1;116233:18;:16;:18::i;:::-;116225:57;;;::::0;-1:-1:-1;;;116225:57:0;;18434:2:1;116225:57:0::1;::::0;::::1;18416:21:1::0;18473:2;18453:18;;;18446:30;18512:28;18492:18;;;18485:56;18558:18;;116225:57:0::1;18232:350:1::0;116225:57:0::1;116302:9;::::0;::::1;;116301:10;116293:49;;;::::0;-1:-1:-1;;;116293:49:0;;17024:2:1;116293:49:0::1;::::0;::::1;17006:21:1::0;17063:2;17043:18;;;17036:30;17102:28;17082:18;;;17075:56;17148:18;;116293:49:0::1;16822:350:1::0;116293:49:0::1;116408:11;;116393;116377:13;:11;:13::i;:::-;:27;;;;:::i;:::-;:42;;116355:112;;;;-1:-1:-1::0;;;116355:112:0::1;;;;;;;:::i;:::-;116545:17;::::0;116516:10:::1;116500:27;::::0;;;:15:::1;:27;::::0;;;;;:41:::1;::::0;116530:11;;116500:41:::1;:::i;:::-;:62;;116478:141;;;::::0;-1:-1:-1;;;116478:141:0;;17728:2:1;116478:141:0::1;::::0;::::1;17710:21:1::0;17767:2;17747:18;;;17740:30;17806:31;17786:18;;;17779:59;17855:18;;116478:141:0::1;17526:353:1::0;116478:141:0::1;116659:11;116651:5;;:19;;;;:::i;:::-;116638:9;:32;;116630:64;;;::::0;-1:-1:-1;;;116630:64:0;;18086:2:1;116630:64:0::1;::::0;::::1;18068:21:1::0;18125:2;18105:18;;;18098:30;-1:-1:-1;;;18144:18:1;;;18137:49;18203:18;;116630:64:0::1;17884:343:1::0;116630:64:0::1;116724:36;69553:10:::0;116748:11:::1;116724:9;:36::i;:::-;116816:10;116800:27;::::0;;;:15:::1;:27;::::0;;;;:42;;116831:11;;116800:27;:42:::1;::::0;116831:11;;116800:42:::1;:::i;:::-;;;;;;;;116869:11;116853:12;;:27;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;107701:1:0;108827:7;:22;124590:44:::1;124529:113::o:0;124097:196::-;124216:8;123849:26;123866:8;123849:16;:26::i;:::-;124242:43:::1;124266:8;124276;124242:23;:43::i;118115:110::-:0;94259:13;:11;:13::i;:::-;118193:10:::1;:24:::0;118115:110::o;112572:119::-;;;;;;;:::i;118419:167::-;94259:13;:11;:13::i;:::-;118534:20:::1;:44:::0;118419:167::o;124650:113::-;94259:13;:11;:13::i;:::-;124711:44:::1;::::0;-1:-1:-1;;;124711:44:0;;124737:4:::1;124711:44;::::0;::::1;13111:34:1::0;124744:10:0::1;13161:18:1::0;;;13154:43;-1:-1:-1;;;;;113733:42:0;124711:17:::1;::::0;13046:18:1;;124711:44:0::1;12899:304:1::0;118252:159:0;94259:13;:11;:13::i;:::-;118363:18:::1;:40:::0;118252:159::o;125077:296::-;94259:13;:11;:13::i;:::-;-1:-1:-1;;;;;125226:16:0;::::1;125218:56;;;::::0;-1:-1:-1;;;125218:56:0;;18789:2:1;125218:56:0::1;::::0;::::1;18771:21:1::0;18828:2;18808:18;;;18801:30;18867:29;18847:18;;;18840:57;18914:18;;125218:56:0::1;18587:351:1::0;125218:56:0::1;125293:46;::::0;-1:-1:-1;;;125293:46:0;;-1:-1:-1;;;;;206:32:1;;;125293:46:0::1;::::0;::::1;188:51:1::0;255:18;;;248:34;;;125293:29:0;::::1;::::0;::::1;::::0;161:18:1;;125293:46:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;125285:80;;;::::0;-1:-1:-1;;;125285:80:0;;19395:2:1;125285:80:0::1;::::0;::::1;19377:21:1::0;19434:2;19414:18;;;19407:30;-1:-1:-1;;;19453:18:1;;;19446:51;19514:18;;125285:80:0::1;19193:345:1::0;123563:224:0;123612:4;123648:13;;123633:11;123305:15;;123234:94;123633:11;:28;;:62;;;;-1:-1:-1;123680:15:0;;123305;123665:11;:30;;123633:62;123629:151;;;-1:-1:-1;123719:4:0;;123563:224::o;123629:151::-;-1:-1:-1;123763:5:0;;123563:224::o;48278:416::-;48453:31;48466:4;48472:2;48476:7;48453:12;:31::i;:::-;-1:-1:-1;;;;;48499:14:0;;;:19;48495:192;;48538:56;48569:4;48575:2;48579:7;48588:5;48538:30;:56::i;:::-;48533:154;;48615:56;-1:-1:-1;;;48615:7:0;:56::i;:::-;48278:416;;;;:::o;123336:219::-;123388:4;123424:9;;123409:11;123305:15;;123234:94;123409:11;:24;;:54;;;;-1:-1:-1;123452:11:0;;123305:15;123437:11;123234:94;124920:123;94259:13;:11;:13::i;:::-;124990:45:::1;::::0;-1:-1:-1;;;124990:45:0;;125018:4:::1;124990:45;::::0;::::1;13111:34:1::0;-1:-1:-1;;;;;13181:15:1;;13161:18;;;13154:43;-1:-1:-1;;;;;113733:42:0;124990:19:::1;::::0;13046:18:1;;124990:45:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;120218:172::-:0;94259:13;:11;:13::i;:::-;-1:-1:-1;;;;;120338:25:0;;;::::1;;::::0;;;:15:::1;:25;::::0;;;;:44;;-1:-1:-1;;120338:44:0::1;::::0;::::1;;::::0;;;::::1;::::0;;120218:172::o;122247:730::-;122366:13;122419:17;122427:8;122419:7;:17::i;:::-;122397:114;;;;-1:-1:-1;;;122397:114:0;;19745:2:1;122397:114:0;;;19727:21:1;19784:2;19764:18;;;19757:30;19823:34;19803:18;;;19796:62;-1:-1:-1;;;19874:18:1;;;19867:45;19929:19;;122397:114:0;19543:411:1;122397:114:0;122528:8;;;;:17;;:8;:17;122524:74;;122569:17;122562:24;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;122247:730;;;:::o;122524:74::-;122610:28;122641:10;:8;:10::i;:::-;122610:41;;122713:1;122688:14;122682:28;:32;:287;;;;;;;;;;;;;;;;;122806:14;122847:19;:8;:17;:19::i;:::-;122893:12;122763:165;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;122682:287;122662:307;122247:730;-1:-1:-1;;;122247:730:0:o;117803:118::-;94259:13;:11;:13::i;:::-;117885:12:::1;:28;117900:13:::0;117885:12;:28:::1;:::i;118617:132::-:0;94259:13;:11;:13::i;:::-;118703:17:::1;:38:::0;118617:132::o;117606:87::-;94259:13;:11;:13::i;:::-;117668:8:::1;:17:::0;;-1:-1:-1;;117668:17:0::1;::::0;::::1;;::::0;;;::::1;::::0;;117606:87::o;119424:217::-;94259:13;:11;:13::i;:::-;119576:57:::1;119593:8;119603:9;119614:18;119576:16;:57::i;119271:116::-:0;94259:13;:11;:13::i;:::-;119349::::1;:30:::0;119271:116::o;40554:164::-;-1:-1:-1;;;;;40675:25:0;;;40651:4;40675:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;40554:164::o;125381:276::-;94259:13;:11;:13::i;:::-;-1:-1:-1;;;;;125527:16:0;::::1;125519:56;;;::::0;-1:-1:-1;;;125519:56:0;;18789:2:1;125519:56:0::1;::::0;::::1;18771:21:1::0;18828:2;18808:18;;;18801:30;18867:29;18847:18;;;18840:57;18914:18;;125519:56:0::1;18587:351:1::0;125519:56:0::1;125586:63;::::0;-1:-1:-1;;;125586:63:0;;125630:4:::1;125586:63;::::0;::::1;11432:34:1::0;-1:-1:-1;;;;;11502:15:1;;;11482:18;;;11475:43;11534:18;;;11527:34;;;125586:35:0;::::1;::::0;::::1;::::0;11367:18:1;;125586:63:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;95306:220:::0;94259:13;:11;:13::i;:::-;-1:-1:-1;;;;;95391:22:0;::::1;95387:93;;95437:31;::::0;-1:-1:-1;;;95437:31:0;;95465:1:::1;95437:31;::::0;::::1;2583:51:1::0;2556:18;;95437:31:0::1;2437:203:1::0;95387:93:0::1;95490:28;95509:8;95490:18;:28::i;117713:82::-:0;94259:13;:11;:13::i;:::-;117777:3:::1;:10;117783:4:::0;117777:3;:10:::1;:::i;94538:166::-:0;94446:6;;-1:-1:-1;;;;;94446:6:0;69553:10;94598:23;94594:103;;94645:40;;-1:-1:-1;;;94645:40:0;;69553:10;94645:40;;;2583:51:1;2556:18;;94645:40:0;2437:203:1;31454:639:0;31539:4;-1:-1:-1;;;;;;;;;31863:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;31940:25:0;;;31863:102;:179;;;-1:-1:-1;;;;;;;;32017:25:0;-1:-1:-1;;;32017:25:0;;31454:639::o;7762:215::-;7864:4;-1:-1:-1;;;;;;7888:41:0;;-1:-1:-1;;;7888:41:0;;:81;;-1:-1:-1;;;;;;;;;;4769:40:0;;;7933:36;4669:148;9111:518;8827:5;-1:-1:-1;;;;;9260:26:0;;;-1:-1:-1;9256:176:0;;;9365:55;;-1:-1:-1;;;9365:55:0;;-1:-1:-1;;;;;21411:39:1;;9365:55:0;;;21393:58:1;21467:18;;;21460:34;;;21366:18;;9365:55:0;21220:280:1;9256:176:0;-1:-1:-1;;;;;9446:22:0;;9442:110;;9492:48;;-1:-1:-1;;;9492:48:0;;9537:1;9492:48;;;2583:51:1;2556:18;;9492:48:0;2437:203:1;9442:110:0;-1:-1:-1;9586:35:0;;;;;;;;;-1:-1:-1;;;;;9586:35:0;;;;;;-1:-1:-1;;;;;9586:35:0;;;;;;;;;;-1:-1:-1;;;9564:57:0;;;;:19;:57;9111:518::o;40976:475::-;41041:11;41088:7;121931:1;41069:26;41065:379;;41233:13;;41223:7;:23;41219:214;;;41267:14;41300:60;-1:-1:-1;41317:26:0;;;;:17;:26;;;;;;;41307:42;;;41300:60;;41351:9;;;:::i;:::-;;;41300:60;;;-1:-1:-1;;;41388:24:0;:29;;-1:-1:-1;41219:214:0;40976:475;;;:::o;71485:165::-;71586:13;71580:4;71573:27;71627:4;71621;71614:18;123903:186;-1:-1:-1;;;;;123984:25:0;;;;;;:15;:25;;;;;;;;:33;;:25;:33;123980:102;;124041:29;;-1:-1:-1;;;124041:29:0;;-1:-1:-1;;;;;2601:32:1;;124041:29:0;;;2583:51:1;2556:18;;124041:29:0;2437:203:1;39313:124:0;39402:27;39411:2;39415:7;39424:4;39402:8;:27::i;35243:2213::-;35310:14;35360:7;121931:1;35341:26;35337:2054;;-1:-1:-1;35393:26:0;;;;:17;:26;;;;;;35720:6;35730:1;35720:11;35716:1292;;35767:13;;35756:7;:24;35752:77;;35782:47;-1:-1:-1;;;35782:7:0;:47::i;:::-;36386:607;-1:-1:-1;;;36482:9:0;36464:28;;;;:17;:28;;;;;;36538:25;;36386:607;36538:25;-1:-1:-1;;;36590:6:0;:24;36618:1;36590:29;36586:48;;35243:2213;;;:::o;36586:48::-;36926:47;-1:-1:-1;;;36926:7:0;:47::i;:::-;36386:607;;35716:1292;-1:-1:-1;;;37335:6:0;:24;37363:1;37335:29;37331:48;;35243:2213;;;:::o;37331:48::-;37401:47;-1:-1:-1;;;37401:7:0;:47::i;58094:112::-;58171:27;58181:2;58185:8;58171:27;;;;;;;;;;;;:9;:27::i;108343:293::-;107745:1;108477:7;;:19;108469:63;;;;-1:-1:-1;;;108469:63:0;;21848:2:1;108469:63:0;;;21830:21:1;21887:2;21867:18;;;21860:30;21926:33;21906:18;;;21899:61;21977:18;;108469:63:0;21646:355:1;108469:63:0;107745:1;108610:7;:18;108343:293::o;51931:2399::-;52004:20;52027:13;;;52055;;;52051:53;;52070:34;-1:-1:-1;;;52070:7:0;:34::i;:::-;52617:31;;;;:17;:31;;;;;;;;-1:-1:-1;;;;;38241:28:0;;38415:11;38390:23;38386:41;38859:1;38846:15;;38820:24;38816:46;38383:52;38373:63;;52617:173;;;53008:22;;;:18;:22;;;;;:71;;53046:32;53034:45;;53008:71;;;38241:28;53269:13;;;53265:54;;53284:35;-1:-1:-1;;;53284:7:0;:35::i;:::-;53350:23;;;;53529:676;53948:7;53904:8;53859:1;53793:25;53730:1;53665;53634:358;54200:3;54187:9;;;;;;:16;53529:676;;-1:-1:-1;54221:13:0;:19;-1:-1:-1;124301:194:0;;;:::o;97220:156::-;97311:4;97364;97335:25;97348:5;97355:4;97335:12;:25::i;:::-;:33;;97220:156;-1:-1:-1;;;;97220:156:0:o;95686:191::-;95779:6;;;-1:-1:-1;;;;;95796:17:0;;;-1:-1:-1;;;;;;95796:17:0;;;;;;;95829:40;;95779:6;;;95796:17;95779:6;;95829:40;;95760:16;;95829:40;95749:128;95686:191;:::o;34361:161::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34489:24:0;;;;:17;:24;;;;;;34470:44;;-1:-1:-1;;;;;;;;;;;;;37665:41:0;;;;22701:3;37751:33;;;37717:68;;-1:-1:-1;;;37717:68:0;-1:-1:-1;;;37815:24:0;;:29;;-1:-1:-1;;;37796:48:0;;;;23222:3;37884:28;;;;-1:-1:-1;;;37855:58:0;-1:-1:-1;37555:366:0;40163:234;69553:10;40258:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;40258:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;40258:60:0;;;;;;;;;;40334:55;;1004:41:1;;;40258:49:0;;69553:10;40334:55;;977:18:1;40334:55:0;;;;;;;40163:234;;:::o;50778:691::-;50962:88;;-1:-1:-1;;;50962:88:0;;50941:4;;-1:-1:-1;;;;;50962:45:0;;;;;:88;;69553:10;;51029:4;;51035:7;;51044:5;;50962:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50962:88:0;;;;;;;;-1:-1:-1;;50962:88:0;;;;;;;;;;;;:::i;:::-;;;50958:504;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51245:6;:13;51262:1;51245:18;51241:115;;51284:56;-1:-1:-1;;;51284:7:0;:56::i;:::-;51428:6;51422:13;51413:6;51409:2;51405:15;51398:38;50958:504;-1:-1:-1;;;;;;51121:64:0;-1:-1:-1;;;51121:64:0;;-1:-1:-1;50958:504:0;50778:691;;;;;;:::o;122985:104::-;123045:13;123078:3;123071:10;;;;;:::i;89152:718::-;89208:13;89259:14;89276:17;89287:5;89276:10;:17::i;:::-;89296:1;89276:21;89259:38;;89312:20;89346:6;89335:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;89335:18:0;-1:-1:-1;89312:41:0;-1:-1:-1;89477:28:0;;;89493:2;89477:28;89534:290;-1:-1:-1;;89566:5:0;-1:-1:-1;;;89703:2:0;89692:14;;89687:32;89566:5;89674:46;89766:2;89757:11;;;-1:-1:-1;89787:21:0;89534:290;89787:21;-1:-1:-1;89845:6:0;89152:718;-1:-1:-1;;;89152:718:0:o;10080:554::-;8827:5;-1:-1:-1;;;;;10244:26:0;;;-1:-1:-1;10240:183:0;;;10349:62;;-1:-1:-1;;;10349:62:0;;;;;22955:25:1;;;-1:-1:-1;;;;;23016:39:1;;22996:18;;;22989:67;23072:18;;;23065:34;;;22928:18;;10349:62:0;22754:351:1;10240:183:0;-1:-1:-1;;;;;10437:22:0;;10433:117;;10483:55;;-1:-1:-1;;;10483:55:0;;;;;23284:25:1;;;10535:1:0;23325:18:1;;;23318:60;23257:18;;10483:55:0;23110:274:1;10433:117:0;-1:-1:-1;10591:35:0;;;;;;;;-1:-1:-1;;;;;10591:35:0;;;;;-1:-1:-1;;;;;10591:35:0;;;;;;;;;;-1:-1:-1;10562:26:0;;;:17;:26;;;;;;:64;;;;;;;-1:-1:-1;;;10562:64:0;;;;;;10080:554::o;62900:474::-;63029:13;63045:16;63053:7;63045;:16::i;:::-;63029:32;;63078:13;:45;;;;-1:-1:-1;69553:10:0;-1:-1:-1;;;;;63095:28:0;;;;63078:45;63074:201;;;63143:44;63160:5;69553:10;40554:164;:::i;63143:44::-;63138:137;;63208:51;-1:-1:-1;;;63208:7:0;:51::i;:::-;63287:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;63287:35:0;-1:-1:-1;;;;;63287:35:0;;;;;;;;;63338:28;;63287:24;;63338:28;;;;;;;63018:356;62900:474;;;:::o;57223:787::-;57354:19;57360:2;57364:8;57354:5;:19::i;:::-;-1:-1:-1;;;;;57415:14:0;;;:19;57411:581;;57455:11;57469:13;57517:14;;;57550:242;57581:62;57620:1;57624:2;57628:7;;;;;;57637:5;57581:30;:62::i;:::-;57576:176;;57672:56;-1:-1:-1;;;57672:7:0;:56::i;:::-;57787:3;57779:5;:11;57550:242;;57963:3;57946:13;;:20;57942:34;;57968:8;;;57942:34;57436:556;;57223:787;;;:::o;97939:296::-;98022:7;98065:4;98022:7;98080:118;98104:5;:12;98100:1;:16;98080:118;;;98153:33;98163:12;98177:5;98183:1;98177:8;;;;;;;;:::i;:::-;;;;;;;98153:9;:33::i;:::-;98138:48;-1:-1:-1;98118:3:0;;;;:::i;:::-;;;;98080:118;;;-1:-1:-1;98215:12:0;97939:296;-1:-1:-1;;;97939:296:0:o;85556:948::-;85609:7;;-1:-1:-1;;;85687:17:0;;85683:106;;-1:-1:-1;;;85725:17:0;;;-1:-1:-1;85771:2:0;85761:12;85683:106;85816:8;85807:5;:17;85803:106;;85854:8;85845:17;;;-1:-1:-1;85891:2:0;85881:12;85803:106;85936:8;85927:5;:17;85923:106;;85974:8;85965:17;;;-1:-1:-1;86011:2:0;86001:12;85923:106;86056:7;86047:5;:16;86043:103;;86093:7;86084:16;;;-1:-1:-1;86129:1:0;86119:11;86043:103;86173:7;86164:5;:16;86160:103;;86210:7;86201:16;;;-1:-1:-1;86246:1:0;86236:11;86160:103;86290:7;86281:5;:16;86277:103;;86327:7;86318:16;;;-1:-1:-1;86363:1:0;86353:11;86277:103;86407:7;86398:5;:16;86394:68;;86445:1;86435:11;86490:6;85556:948;-1:-1:-1;;85556:948:0:o;105369:149::-;105432:7;105463:1;105459;:5;:51;;105711:13;105805:15;;;105841:4;105834:15;;;105888:4;105872:21;;105459:51;;;-1:-1:-1;105711:13:0;105805:15;;;105841:4;105834:15;105888:4;105872:21;;;105369:149::o;293:180:1:-;352:6;405:2;393:9;384:7;380:23;376:32;373:52;;;421:1;418;411:12;373:52;-1:-1:-1;444:23:1;;293:180;-1:-1:-1;293:180:1:o;478:131::-;-1:-1:-1;;;;;;552:32:1;;542:43;;532:71;;599:1;596;589:12;614:245;672:6;725:2;713:9;704:7;700:23;696:32;693:52;;;741:1;738;731:12;693:52;780:9;767:23;799:30;823:5;799:30;:::i;1056:173::-;1124:20;;-1:-1:-1;;;;;1173:31:1;;1163:42;;1153:70;;1219:1;1216;1209:12;1234:179;1301:20;;-1:-1:-1;;;;;1350:38:1;;1340:49;;1330:77;;1403:1;1400;1393:12;1418:258;1485:6;1493;1546:2;1534:9;1525:7;1521:23;1517:32;1514:52;;;1562:1;1559;1552:12;1514:52;1585:29;1604:9;1585:29;:::i;:::-;1575:39;;1633:37;1666:2;1655:9;1651:18;1633:37;:::i;:::-;1623:47;;1418:258;;;;;:::o;1681:250::-;1766:1;1776:113;1790:6;1787:1;1784:13;1776:113;;;1866:11;;;1860:18;1847:11;;;1840:39;1812:2;1805:10;1776:113;;;-1:-1:-1;;1923:1:1;1905:16;;1898:27;1681:250::o;1936:271::-;1978:3;2016:5;2010:12;2043:6;2038:3;2031:19;2059:76;2128:6;2121:4;2116:3;2112:14;2105:4;2098:5;2094:16;2059:76;:::i;:::-;2189:2;2168:15;-1:-1:-1;;2164:29:1;2155:39;;;;2196:4;2151:50;;1936:271;-1:-1:-1;;1936:271:1:o;2212:220::-;2361:2;2350:9;2343:21;2324:4;2381:45;2422:2;2411:9;2407:18;2399:6;2381:45;:::i;2645:254::-;2713:6;2721;2774:2;2762:9;2753:7;2749:23;2745:32;2742:52;;;2790:1;2787;2780:12;2742:52;2813:29;2832:9;2813:29;:::i;:::-;2803:39;2889:2;2874:18;;;;2861:32;;-1:-1:-1;;;2645:254:1:o;3086:328::-;3163:6;3171;3179;3232:2;3220:9;3211:7;3207:23;3203:32;3200:52;;;3248:1;3245;3238:12;3200:52;3271:29;3290:9;3271:29;:::i;:::-;3261:39;;3319:38;3353:2;3342:9;3338:18;3319:38;:::i;:::-;3309:48;;3404:2;3393:9;3389:18;3376:32;3366:42;;3086:328;;;;;:::o;3419:385::-;3505:6;3513;3521;3529;3582:3;3570:9;3561:7;3557:23;3553:33;3550:53;;;3599:1;3596;3589:12;3550:53;-1:-1:-1;;3622:23:1;;;3692:2;3677:18;;3664:32;;-1:-1:-1;3743:2:1;3728:18;;3715:32;;3794:2;3779:18;3766:32;;-1:-1:-1;3419:385:1;-1:-1:-1;3419:385:1:o;3809:248::-;3877:6;3885;3938:2;3926:9;3917:7;3913:23;3909:32;3906:52;;;3954:1;3951;3944:12;3906:52;-1:-1:-1;;3977:23:1;;;4047:2;4032:18;;;4019:32;;-1:-1:-1;3809:248:1:o;4244:254::-;4312:6;4320;4373:2;4361:9;4352:7;4348:23;4344:32;4341:52;;;4389:1;4386;4379:12;4341:52;4425:9;4412:23;4402:33;;4454:38;4488:2;4477:9;4473:18;4454:38;:::i;4503:186::-;4562:6;4615:2;4603:9;4594:7;4590:23;4586:32;4583:52;;;4631:1;4628;4621:12;4583:52;4654:29;4673:9;4654:29;:::i;4694:367::-;4757:8;4767:6;4821:3;4814:4;4806:6;4802:17;4798:27;4788:55;;4839:1;4836;4829:12;4788:55;-1:-1:-1;4862:20:1;;4905:18;4894:30;;4891:50;;;4937:1;4934;4927:12;4891:50;4974:4;4966:6;4962:17;4950:29;;5034:3;5027:4;5017:6;5014:1;5010:14;5002:6;4998:27;4994:38;4991:47;4988:67;;;5051:1;5048;5041:12;5066:437;5152:6;5160;5213:2;5201:9;5192:7;5188:23;5184:32;5181:52;;;5229:1;5226;5219:12;5181:52;5269:9;5256:23;5302:18;5294:6;5291:30;5288:50;;;5334:1;5331;5324:12;5288:50;5373:70;5435:7;5426:6;5415:9;5411:22;5373:70;:::i;:::-;5462:8;;5347:96;;-1:-1:-1;5066:437:1;-1:-1:-1;;;;5066:437:1:o;5508:127::-;5569:10;5564:3;5560:20;5557:1;5550:31;5600:4;5597:1;5590:15;5624:4;5621:1;5614:15;5640:632;5705:5;5735:18;5776:2;5768:6;5765:14;5762:40;;;5782:18;;:::i;:::-;5857:2;5851:9;5825:2;5911:15;;-1:-1:-1;;5907:24:1;;;5933:2;5903:33;5899:42;5887:55;;;5957:18;;;5977:22;;;5954:46;5951:72;;;6003:18;;:::i;:::-;6043:10;6039:2;6032:22;6072:6;6063:15;;6102:6;6094;6087:22;6142:3;6133:6;6128:3;6124:16;6121:25;6118:45;;;6159:1;6156;6149:12;6118:45;6209:6;6204:3;6197:4;6189:6;6185:17;6172:44;6264:1;6257:4;6248:6;6240;6236:19;6232:30;6225:41;;;;5640:632;;;;;:::o;6277:451::-;6346:6;6399:2;6387:9;6378:7;6374:23;6370:32;6367:52;;;6415:1;6412;6405:12;6367:52;6455:9;6442:23;6488:18;6480:6;6477:30;6474:50;;;6520:1;6517;6510:12;6474:50;6543:22;;6596:4;6588:13;;6584:27;-1:-1:-1;6574:55:1;;6625:1;6622;6615:12;6574:55;6648:74;6714:7;6709:2;6696:16;6691:2;6687;6683:11;6648:74;:::i;6733:505::-;6828:6;6836;6844;6897:2;6885:9;6876:7;6872:23;6868:32;6865:52;;;6913:1;6910;6903:12;6865:52;6949:9;6936:23;6926:33;;7010:2;6999:9;6995:18;6982:32;7037:18;7029:6;7026:30;7023:50;;;7069:1;7066;7059:12;7023:50;7108:70;7170:7;7161:6;7150:9;7146:22;7108:70;:::i;:::-;6733:505;;7197:8;;-1:-1:-1;7082:96:1;;-1:-1:-1;;;;6733:505:1:o;7243:632::-;7414:2;7466:21;;;7536:13;;7439:18;;;7558:22;;;7385:4;;7414:2;7637:15;;;;7611:2;7596:18;;;7385:4;7680:169;7694:6;7691:1;7688:13;7680:169;;;7755:13;;7743:26;;7824:15;;;;7789:12;;;;7716:1;7709:9;7680:169;;;-1:-1:-1;7866:3:1;;7243:632;-1:-1:-1;;;;;;7243:632:1:o;8103:118::-;8189:5;8182:13;8175:21;8168:5;8165:32;8155:60;;8211:1;8208;8201:12;8226:241;8282:6;8335:2;8323:9;8314:7;8310:23;8306:32;8303:52;;;8351:1;8348;8341:12;8303:52;8390:9;8377:23;8409:28;8431:5;8409:28;:::i;8472:315::-;8537:6;8545;8598:2;8586:9;8577:7;8573:23;8569:32;8566:52;;;8614:1;8611;8604:12;8566:52;8637:29;8656:9;8637:29;:::i;:::-;8627:39;;8716:2;8705:9;8701:18;8688:32;8729:28;8751:5;8729:28;:::i;:::-;8776:5;8766:15;;;8472:315;;;;;:::o;9206:328::-;9283:6;9291;9299;9352:2;9340:9;9331:7;9327:23;9323:32;9320:52;;;9368:1;9365;9358:12;9320:52;9391:29;9410:9;9391:29;:::i;:::-;9381:39;;9467:2;9456:9;9452:18;9439:32;9429:42;;9490:38;9524:2;9513:9;9509:18;9490:38;:::i;:::-;9480:48;;9206:328;;;;;:::o;9539:667::-;9634:6;9642;9650;9658;9711:3;9699:9;9690:7;9686:23;9682:33;9679:53;;;9728:1;9725;9718:12;9679:53;9751:29;9770:9;9751:29;:::i;:::-;9741:39;;9799:38;9833:2;9822:9;9818:18;9799:38;:::i;:::-;9789:48;;9884:2;9873:9;9869:18;9856:32;9846:42;;9939:2;9928:9;9924:18;9911:32;9966:18;9958:6;9955:30;9952:50;;;9998:1;9995;9988:12;9952:50;10021:22;;10074:4;10066:13;;10062:27;-1:-1:-1;10052:55:1;;10103:1;10100;10093:12;10052:55;10126:74;10192:7;10187:2;10174:16;10169:2;10165;10161:11;10126:74;:::i;:::-;10116:84;;;9539:667;;;;;;;:::o;10211:326::-;10287:6;10295;10303;10356:2;10344:9;10335:7;10331:23;10327:32;10324:52;;;10372:1;10369;10362:12;10324:52;10408:9;10395:23;10385:33;;10437:38;10471:2;10460:9;10456:18;10437:38;:::i;:::-;10427:48;;10494:37;10527:2;10516:9;10512:18;10494:37;:::i;10542:260::-;10610:6;10618;10671:2;10659:9;10650:7;10646:23;10642:32;10639:52;;;10687:1;10684;10677:12;10639:52;10710:29;10729:9;10710:29;:::i;:::-;10700:39;;10758:38;10792:2;10781:9;10777:18;10758:38;:::i;10807:380::-;10886:1;10882:12;;;;10929;;;10950:61;;11004:4;10996:6;10992:17;10982:27;;10950:61;11057:2;11049:6;11046:14;11026:18;11023:38;11020:161;;11103:10;11098:3;11094:20;11091:1;11084:31;11138:4;11135:1;11128:15;11166:4;11163:1;11156:15;11020:161;;10807:380;;;:::o;11572:184::-;11642:6;11695:2;11683:9;11674:7;11670:23;11666:32;11663:52;;;11711:1;11708;11701:12;11663:52;-1:-1:-1;11734:16:1;;11572:184;-1:-1:-1;11572:184:1:o;11761:127::-;11822:10;11817:3;11813:20;11810:1;11803:31;11853:4;11850:1;11843:15;11877:4;11874:1;11867:15;11893:168;11966:9;;;11997;;12014:15;;;12008:22;;11994:37;11984:71;;12035:18;;:::i;12198:217::-;12238:1;12264;12254:132;;12308:10;12303:3;12299:20;12296:1;12289:31;12343:4;12340:1;12333:15;12371:4;12368:1;12361:15;12254:132;-1:-1:-1;12400:9:1;;12198:217::o;12420:125::-;12485:9;;;12506:10;;;12503:36;;;12519:18;;:::i;12550:344::-;12752:2;12734:21;;;12791:2;12771:18;;;12764:30;-1:-1:-1;;;12825:2:1;12810:18;;12803:50;12885:2;12870:18;;12550:344::o;13418:127::-;13479:10;13474:3;13470:20;13467:1;13460:31;13510:4;13507:1;13500:15;13534:4;13531:1;13524:15;13550:135;13589:3;13610:17;;;13607:43;;13630:18;;:::i;:::-;-1:-1:-1;13677:1:1;13666:13;;13550:135::o;13816:545::-;13918:2;13913:3;13910:11;13907:448;;;13954:1;13979:5;13975:2;13968:17;14024:4;14020:2;14010:19;14094:2;14082:10;14078:19;14075:1;14071:27;14065:4;14061:38;14130:4;14118:10;14115:20;14112:47;;;-1:-1:-1;14153:4:1;14112:47;14208:2;14203:3;14199:12;14196:1;14192:20;14186:4;14182:31;14172:41;;14263:82;14281:2;14274:5;14271:13;14263:82;;;14326:17;;;14307:1;14296:13;14263:82;;;14267:3;;;13816:545;;;:::o;14537:1352::-;14663:3;14657:10;14690:18;14682:6;14679:30;14676:56;;;14712:18;;:::i;:::-;14741:97;14831:6;14791:38;14823:4;14817:11;14791:38;:::i;:::-;14785:4;14741:97;:::i;:::-;14893:4;;14957:2;14946:14;;14974:1;14969:663;;;;15676:1;15693:6;15690:89;;;-1:-1:-1;15745:19:1;;;15739:26;15690:89;-1:-1:-1;;14494:1:1;14490:11;;;14486:24;14482:29;14472:40;14518:1;14514:11;;;14469:57;15792:81;;14939:944;;14969:663;13763:1;13756:14;;;13800:4;13787:18;;-1:-1:-1;;15005:20:1;;;15123:236;15137:7;15134:1;15131:14;15123:236;;;15226:19;;;15220:26;15205:42;;15318:27;;;;15286:1;15274:14;;;;15153:19;;15123:236;;;15127:3;15387:6;15378:7;15375:19;15372:201;;;15448:19;;;15442:26;-1:-1:-1;;15531:1:1;15527:14;;;15543:3;15523:24;15519:37;15515:42;15500:58;15485:74;;15372:201;-1:-1:-1;;;;;15619:1:1;15603:14;;;15599:22;15586:36;;-1:-1:-1;14537:1352:1:o;18943:245::-;19010:6;19063:2;19051:9;19042:7;19038:23;19034:32;19031:52;;;19079:1;19076;19069:12;19031:52;19111:9;19105:16;19130:28;19152:5;19130:28;:::i;19959:1256::-;20183:3;20221:6;20215:13;20247:4;20260:64;20317:6;20312:3;20307:2;20299:6;20295:15;20260:64;:::i;:::-;20387:13;;20346:16;;;;20409:68;20387:13;20346:16;20444:15;;;20409:68;:::i;:::-;20566:13;;20499:20;;;20539:1;;20604:36;20566:13;20604:36;:::i;:::-;20659:1;20676:18;;;20703:141;;;;20858:1;20853:337;;;;20669:521;;20703:141;-1:-1:-1;;20738:24:1;;20724:39;;20815:16;;20808:24;20794:39;;20783:51;;;-1:-1:-1;20703:141:1;;20853:337;20884:6;20881:1;20874:17;20932:2;20929:1;20919:16;20957:1;20971:169;20985:8;20982:1;20979:15;20971:169;;;21067:14;;21052:13;;;21045:37;21110:16;;;;21002:10;;20971:169;;;20975:3;;21171:8;21164:5;21160:20;21153:27;;20669:521;-1:-1:-1;21206:3:1;;19959:1256;-1:-1:-1;;;;;;;;;;19959:1256:1:o;21505:136::-;21544:3;21572:5;21562:39;;21581:18;;:::i;:::-;-1:-1:-1;;;21617:18:1;;21505:136::o;22006:489::-;-1:-1:-1;;;;;22275:15:1;;;22257:34;;22327:15;;22322:2;22307:18;;22300:43;22374:2;22359:18;;22352:34;;;22422:3;22417:2;22402:18;;22395:31;;;22200:4;;22443:46;;22469:19;;22461:6;22443:46;:::i;:::-;22435:54;22006:489;-1:-1:-1;;;;;;22006:489:1:o;22500:249::-;22569:6;22622:2;22610:9;22601:7;22597:23;22593:32;22590:52;;;22638:1;22635;22628:12;22590:52;22670:9;22664:16;22689:30;22713:5;22689:30;:::i
Swarm Source
ipfs://3fc7985b9d8138577c7e345dd91d45aab17a83e813531a7c15e6ef09e3c29b46
Loading...
Loading
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
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.