Feature Tip: Add private address tag to any address under My Name Tag !
Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 1,156 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Withdraw | 24522174 | 6 days ago | IN | 0 ETH | 0.00000166 | ||||
| Mint | 24516953 | 6 days ago | IN | 0.0011 ETH | 0.00000301 | ||||
| Set Approval For... | 24516948 | 6 days ago | IN | 0 ETH | 0.00004899 | ||||
| Safe Transfer Fr... | 24516945 | 6 days ago | IN | 0 ETH | 0.00000171 | ||||
| Safe Transfer Fr... | 24516945 | 6 days ago | IN | 0 ETH | 0.00000171 | ||||
| Safe Transfer Fr... | 24516945 | 6 days ago | IN | 0 ETH | 0.00000171 | ||||
| Safe Transfer Fr... | 24516945 | 6 days ago | IN | 0 ETH | 0.00000171 | ||||
| Safe Transfer Fr... | 24516945 | 6 days ago | IN | 0 ETH | 0.00000171 | ||||
| Safe Transfer Fr... | 24516945 | 6 days ago | IN | 0 ETH | 0.00000171 | ||||
| Safe Transfer Fr... | 24516945 | 6 days ago | IN | 0 ETH | 0.00000171 | ||||
| Safe Transfer Fr... | 24516945 | 6 days ago | IN | 0 ETH | 0.00000171 | ||||
| Safe Transfer Fr... | 24516945 | 6 days ago | IN | 0 ETH | 0.00000171 | ||||
| Safe Transfer Fr... | 24516945 | 6 days ago | IN | 0 ETH | 0.00000171 | ||||
| Safe Transfer Fr... | 24516945 | 6 days ago | IN | 0 ETH | 0.00000171 | ||||
| Safe Transfer Fr... | 24516945 | 6 days ago | IN | 0 ETH | 0.00000171 | ||||
| Safe Transfer Fr... | 24516945 | 6 days ago | IN | 0 ETH | 0.00000171 | ||||
| Safe Transfer Fr... | 24516945 | 6 days ago | IN | 0 ETH | 0.00000171 | ||||
| Safe Transfer Fr... | 24516945 | 6 days ago | IN | 0 ETH | 0.00000171 | ||||
| Safe Transfer Fr... | 24516945 | 6 days ago | IN | 0 ETH | 0.00000171 | ||||
| Safe Transfer Fr... | 24516945 | 6 days ago | IN | 0 ETH | 0.00000171 | ||||
| Safe Transfer Fr... | 24516945 | 6 days ago | IN | 0 ETH | 0.00000171 | ||||
| Safe Transfer Fr... | 24516945 | 6 days ago | IN | 0 ETH | 0.00000171 | ||||
| Safe Transfer Fr... | 24516945 | 6 days ago | IN | 0 ETH | 0.00000171 | ||||
| Safe Transfer Fr... | 24516945 | 6 days ago | IN | 0 ETH | 0.00000171 | ||||
| Safe Transfer Fr... | 24516945 | 6 days ago | IN | 0 ETH | 0.00000171 |
Latest 1 internal transaction
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| Transfer | 24522174 | 6 days ago | 0.0022 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
OnchainLilCats
Compiler Version
v0.8.31+commit.fd3a2265
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.24;
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/common/ERC2981.sol";
interface IRenderer {
function tokenURI(uint256 tokenId) external view returns (string memory);
}
interface IDelegateRegistry {
function checkDelegateForAll(
address delegate,
address vault,
bytes32 rights
) external view returns (bool);
}
contract OnchainLilCats is ERC721A, Ownable, ERC2981 {
/* ---------------- CONFIG ---------------- */
uint256 public constant MAX_SUPPLY = 2222;
uint256 public constant FREE_SUPPLY = 1000;
uint256 public mintPrice = 0.0011 ether;
uint256 public maxFreePerWallet = 1;
uint256 public maxPublicPerWallet = 20;
bool public freeMintOpen = false;
bool public publicMintOpen = false;
address public constant DELEGATE_REGISTRY =
0x00000000000076A84feF008CDAbe6409d2FE638B;
IRenderer public renderer;
mapping(address => uint256) public freeMinted;
mapping(address => uint256) public publicMinted;
/* ---------------- CONSTRUCTOR ---------------- */
constructor(address _renderer)
ERC721A("Onchain Lil Cats", "OLC")
Ownable(msg.sender)
{
renderer = IRenderer(_renderer);
// Royalty %5
_setDefaultRoyalty(msg.sender, 500);
}
/* ---------------- MODIFIERS ---------------- */
modifier onlyOwnerOrDelegate() {
require(
msg.sender == owner() ||
IDelegateRegistry(DELEGATE_REGISTRY)
.checkDelegateForAll(msg.sender, owner(), ""),
"Not authorized"
);
_;
}
/* ---------------- FREE MINT ---------------- */
function freeMint() external {
require(freeMintOpen, "Free mint closed");
require(totalSupply() + 1 <= FREE_SUPPLY, "Free supply filled");
require(freeMinted[msg.sender] < maxFreePerWallet, "Free limit");
freeMinted[msg.sender] += 1;
_safeMint(msg.sender, 1);
}
/* ---------------- PUBLIC MINT ---------------- */
function mint(uint256 amount) external payable {
require(publicMintOpen, "Public mint closed");
require(totalSupply() + amount <= MAX_SUPPLY, "Max supply exceeded");
require(publicMinted[msg.sender] + amount <= maxPublicPerWallet, "Wallet limit");
require(msg.value == amount * mintPrice, "Wrong ETH");
publicMinted[msg.sender] += amount;
_safeMint(msg.sender, amount);
}
/* ---------------- OWNER / DELEGATE ---------------- */
function setMintStates(bool _free, bool _public)
external
onlyOwnerOrDelegate
{
freeMintOpen = _free;
publicMintOpen = _public;
}
function setPrice(uint256 _price) external onlyOwnerOrDelegate {
mintPrice = _price;
}
function setRenderer(address _renderer) external onlyOwnerOrDelegate {
renderer = IRenderer(_renderer);
}
function setRoyalty(address receiver, uint96 feeNumerator)
external
onlyOwnerOrDelegate
{
_setDefaultRoyalty(receiver, feeNumerator);
}
function withdraw() external onlyOwnerOrDelegate {
(bool ok,) = payable(owner()).call{value: address(this).balance}("");
require(ok, "Withdraw failed");
}
/* ---------------- METADATA ---------------- */
function tokenURI(uint256 tokenId)
public
view
override
returns (string memory)
{
require(_exists(tokenId), "Nonexistent token");
return renderer.tokenURI(tokenId);
}
/* ---------------- OVERRIDES ---------------- */
function supportsInterface(bytes4 interfaceId)
public
view
virtual
override(ERC721A, ERC2981)
returns (bool)
{
return
interfaceId == 0x80ac58cd || // ERC721
interfaceId == 0x5b5e139f || // ERC721Metadata
super.supportsInterface(interfaceId);
}
function _startTokenId() internal pure override returns (uint256) {
return 1;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (token/common/ERC2981.sol)
pragma solidity ^0.8.20;
import {IERC2981} from "../../interfaces/IERC2981.sol";
import {IERC165, ERC165} from "../../utils/introspection/ERC165.sol";
/**
* @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
*
* Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
* specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
*
* Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
* fee is specified in basis points by default.
*
* IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
* https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the ERC. Marketplaces are expected to
* voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
*/
abstract contract ERC2981 is IERC2981, ERC165 {
struct RoyaltyInfo {
address receiver;
uint96 royaltyFraction;
}
RoyaltyInfo private _defaultRoyaltyInfo;
mapping(uint256 tokenId => RoyaltyInfo) private _tokenRoyaltyInfo;
/**
* @dev The default royalty set is invalid (eg. (numerator / denominator) >= 1).
*/
error ERC2981InvalidDefaultRoyalty(uint256 numerator, uint256 denominator);
/**
* @dev The default royalty receiver is invalid.
*/
error ERC2981InvalidDefaultRoyaltyReceiver(address receiver);
/**
* @dev The royalty set for a specific `tokenId` is invalid (eg. (numerator / denominator) >= 1).
*/
error ERC2981InvalidTokenRoyalty(uint256 tokenId, uint256 numerator, uint256 denominator);
/**
* @dev The royalty receiver for `tokenId` is invalid.
*/
error ERC2981InvalidTokenRoyaltyReceiver(uint256 tokenId, address receiver);
/// @inheritdoc IERC165
function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) {
return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId);
}
/// @inheritdoc IERC2981
function royaltyInfo(
uint256 tokenId,
uint256 salePrice
) public view virtual returns (address receiver, uint256 amount) {
RoyaltyInfo storage _royaltyInfo = _tokenRoyaltyInfo[tokenId];
address royaltyReceiver = _royaltyInfo.receiver;
uint96 royaltyFraction = _royaltyInfo.royaltyFraction;
if (royaltyReceiver == address(0)) {
royaltyReceiver = _defaultRoyaltyInfo.receiver;
royaltyFraction = _defaultRoyaltyInfo.royaltyFraction;
}
uint256 royaltyAmount = (salePrice * royaltyFraction) / _feeDenominator();
return (royaltyReceiver, royaltyAmount);
}
/**
* @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
* fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
* override.
*/
function _feeDenominator() internal pure virtual returns (uint96) {
return 10000;
}
/**
* @dev Sets the royalty information that all ids in this contract will default to.
*
* Requirements:
*
* - `receiver` cannot be the zero address.
* - `feeNumerator` cannot be greater than the fee denominator.
*/
function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
uint256 denominator = _feeDenominator();
if (feeNumerator > denominator) {
// Royalty fee will exceed the sale price
revert ERC2981InvalidDefaultRoyalty(feeNumerator, denominator);
}
if (receiver == address(0)) {
revert ERC2981InvalidDefaultRoyaltyReceiver(address(0));
}
_defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
}
/**
* @dev Removes default royalty information.
*/
function _deleteDefaultRoyalty() internal virtual {
delete _defaultRoyaltyInfo;
}
/**
* @dev Sets the royalty information for a specific token id, overriding the global default.
*
* Requirements:
*
* - `receiver` cannot be the zero address.
* - `feeNumerator` cannot be greater than the fee denominator.
*/
function _setTokenRoyalty(uint256 tokenId, address receiver, uint96 feeNumerator) internal virtual {
uint256 denominator = _feeDenominator();
if (feeNumerator > denominator) {
// Royalty fee will exceed the sale price
revert ERC2981InvalidTokenRoyalty(tokenId, feeNumerator, denominator);
}
if (receiver == address(0)) {
revert ERC2981InvalidTokenRoyaltyReceiver(tokenId, address(0));
}
_tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
}
/**
* @dev Resets royalty information for the token id back to the global default.
*/
function _resetTokenRoyalty(uint256 tokenId) internal virtual {
delete _tokenRoyaltyInfo[tokenId];
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)
pragma solidity ^0.8.20;
import {Context} from "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* The initial owner is set to the address provided by the deployer. This can
* later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
/**
* @dev The caller account is not authorized to perform an operation.
*/
error OwnableUnauthorizedAccount(address account);
/**
* @dev The owner is not a valid owner account. (eg. `address(0)`)
*/
error OwnableInvalidOwner(address owner);
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the address provided by the deployer as the initial owner.
*/
constructor(address initialOwner) {
if (initialOwner == address(0)) {
revert OwnableInvalidOwner(address(0));
}
_transferOwnership(initialOwner);
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
_checkOwner();
_;
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if the sender is not the owner.
*/
function _checkOwner() internal view virtual {
if (owner() != _msgSender()) {
revert OwnableUnauthorizedAccount(_msgSender());
}
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby disabling any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
if (newOwner == address(0)) {
revert OwnableInvalidOwner(address(0));
}
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.3.0
// Creator: Chiru Labs
pragma solidity ^0.8.4;
import './IERC721A.sol';
/**
* @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)
}
}
}// SPDX-License-Identifier: MIT
// 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);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (utils/introspection/ERC165.sol)
pragma solidity ^0.8.20;
import {IERC165} from "./IERC165.sol";
/**
* @dev Implementation of the {IERC165} interface.
*
* Contracts that want to implement ERC-165 should inherit from this contract and override {supportsInterface} to check
* for the additional interface id that will be supported. For example:
*
* ```solidity
* function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
* return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
* }
* ```
*/
abstract contract ERC165 is IERC165 {
/// @inheritdoc IERC165
function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) {
return interfaceId == type(IERC165).interfaceId;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (interfaces/IERC2981.sol)
pragma solidity ^0.8.20;
import {IERC165} from "../utils/introspection/IERC165.sol";
/**
* @dev Interface for the NFT Royalty Standard.
*
* A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
* support for royalty payments across all NFT marketplaces and ecosystem participants.
*/
interface IERC2981 is IERC165 {
/**
* @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
* exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
*
* NOTE: ERC-2981 allows setting the royalty to 100% of the price. In that case all the price would be sent to the
* royalty receiver and 0 tokens to the seller. Contracts dealing with royalty should consider empty transfers.
*/
function royaltyInfo(
uint256 tokenId,
uint256 salePrice
) external view returns (address receiver, uint256 royaltyAmount);
}// SPDX-License-Identifier: MIT
// 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;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/IERC165.sol)
pragma solidity ^0.8.20;
/**
* @dev Interface of the ERC-165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[ERC].
*
* Implementers can declare support of contract interfaces, which can then be
* queried by others ({ERC165Checker}).
*
* For an implementation, see {ERC165}.
*/
interface IERC165 {
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[ERC section]
* to learn more about how these ids are created.
*
* This function call must use less than 30 000 gas.
*/
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}{
"optimizer": {
"enabled": false,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"remappings": []
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_renderer","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DELEGATE_REGISTRY","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FREE_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"freeMintOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"freeMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxFreePerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPublicPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMintOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"publicMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renderer","outputs":[{"internalType":"contract IRenderer","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_free","type":"bool"},{"internalType":"bool","name":"_public","type":"bool"}],"name":"setMintStates","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_renderer","type":"address"}],"name":"setRenderer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"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":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
60806040526603e871b540c000600c556001600d556014600e555f600f5f6101000a81548160ff0219169083151502179055505f600f60016101000a81548160ff021916908315150217905550348015610057575f5ffd5b506040516140eb3803806140eb8339818101604052810190610079919061052f565b336040518060400160405280601081526020017f4f6e636861696e204c696c2043617473000000000000000000000000000000008152506040518060400160405280600381526020017f4f4c43000000000000000000000000000000000000000000000000000000000081525081600290816100f59190610797565b5080600390816101059190610797565b5061011461022d60201b60201c565b5f8190555061012761022d60201b60201c565b61013561023560201b60201c565b10156101525761015163fed8210f60e01b61025c60201b60201c565b5b50505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036101c4575f6040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016101bb9190610875565b60405180910390fd5b6101d38161026460201b60201c565b5080600f60026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610227336101f461032760201b60201c565b5061090b565b5f6001905090565b5f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff905090565b805f5260045ffd5b5f60095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160095f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f6103366104c860201b60201c565b6bffffffffffffffffffffffff16905080826bffffffffffffffffffffffff16111561039b5781816040517f6f483d090000000000000000000000000000000000000000000000000000000081526004016103929291906108e4565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361040b575f6040517fb6d9900a0000000000000000000000000000000000000000000000000000000081526004016104029190610875565b60405180910390fd5b60405180604001604052808473ffffffffffffffffffffffffffffffffffffffff168152602001836bffffffffffffffffffffffff16815250600a5f820151815f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151815f0160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550905050505050565b5f612710905090565b5f5ffd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6104fe826104d5565b9050919050565b61050e816104f4565b8114610518575f5ffd5b50565b5f8151905061052981610505565b92915050565b5f60208284031215610544576105436104d1565b5b5f6105518482850161051b565b91505092915050565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806105d557607f821691505b6020821081036105e8576105e7610591565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f6008830261064a7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261060f565b610654868361060f565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f61069861069361068e8461066c565b610675565b61066c565b9050919050565b5f819050919050565b6106b18361067e565b6106c56106bd8261069f565b84845461061b565b825550505050565b5f5f905090565b6106dc6106cd565b6106e78184846106a8565b505050565b5b8181101561070a576106ff5f826106d4565b6001810190506106ed565b5050565b601f82111561074f57610720816105ee565b61072984610600565b81016020851015610738578190505b61074c61074485610600565b8301826106ec565b50505b505050565b5f82821c905092915050565b5f61076f5f1984600802610754565b1980831691505092915050565b5f6107878383610760565b9150826002028217905092915050565b6107a08261055a565b67ffffffffffffffff8111156107b9576107b8610564565b5b6107c382546105be565b6107ce82828561070e565b5f60209050601f8311600181146107ff575f84156107ed578287015190505b6107f7858261077c565b86555061085e565b601f19841661080d866105ee565b5f5b828110156108345784890151825560018201915060208501945060208101905061080f565b86831015610851578489015161084d601f891682610760565b8355505b6001600288020188555050505b505050505050565b61086f816104f4565b82525050565b5f6020820190506108885f830184610866565b92915050565b5f6bffffffffffffffffffffffff82169050919050565b5f6108bf6108ba6108b58461088e565b610675565b61066c565b9050919050565b6108cf816108a5565b82525050565b6108de8161066c565b82525050565b5f6040820190506108f75f8301856108c6565b61090460208301846108d5565b9392505050565b6137d3806109185f395ff3fe60806040526004361061020e575f3560e01c8063777fa9ab116101175780639858cf191161009f578063b88d4fde1161006e578063b88d4fde14610729578063bcc9ca5b14610745578063c87b56dd1461076f578063e985e9c5146107ab578063f2fde38b146107e75761020e565b80639858cf1914610691578063a0712d68146106bb578063a22cb465146106d7578063a7027357146106ff5761020e565b80638da5cb5b116100e65780638da5cb5b146105c35780638f2fc60b146105ed57806391b7f5ed1461061557806393ce00331461063d57806395d89b41146106675761020e565b8063777fa9ab1461051d578063815e8993146105475780638286eee21461056f5780638ada6b0f146105995761020e565b8063389fcf061161019a5780635b70ea9f116101695780635b70ea9f1461044f5780636352211e146104655780636817c76c146104a157806370a08231146104cb578063715018a6146105075761020e565b8063389fcf06146103b95780633ccfd60b146103f557806342842e0e1461040b57806356d3163d146104275761020e565b80631015805b116101e15780631015805b146102d057806318160ddd1461030c57806323b872dd146103365780632a55205a1461035257806332cb6b0c1461038f5761020e565b806301ffc9a71461021257806306fdde031461024e578063081812fc14610278578063095ea7b3146102b4575b5f5ffd5b34801561021d575f5ffd5b50610238600480360381019061023391906128a4565b61080f565b60405161024591906128e9565b60405180910390f35b348015610259575f5ffd5b50610262610880565b60405161026f9190612972565b60405180910390f35b348015610283575f5ffd5b5061029e600480360381019061029991906129c5565b610910565b6040516102ab9190612a2f565b60405180910390f35b6102ce60048036038101906102c99190612a72565b610969565b005b3480156102db575f5ffd5b506102f660048036038101906102f19190612ab0565b610979565b6040516103039190612aea565b60405180910390f35b348015610317575f5ffd5b5061032061098e565b60405161032d9190612aea565b60405180910390f35b610350600480360381019061034b9190612b03565b6109d9565b005b34801561035d575f5ffd5b5061037860048036038101906103739190612b53565b610c84565b604051610386929190612b91565b60405180910390f35b34801561039a575f5ffd5b506103a3610da6565b6040516103b09190612aea565b60405180910390f35b3480156103c4575f5ffd5b506103df60048036038101906103da9190612ab0565b610dac565b6040516103ec9190612aea565b60405180910390f35b348015610400575f5ffd5b50610409610dc1565b005b61042560048036038101906104209190612b03565b610f7e565b005b348015610432575f5ffd5b5061044d60048036038101906104489190612ab0565b610f9d565b005b34801561045a575f5ffd5b506104636110ec565b005b348015610470575f5ffd5b5061048b600480360381019061048691906129c5565b611274565b6040516104989190612a2f565b60405180910390f35b3480156104ac575f5ffd5b506104b5611285565b6040516104c29190612aea565b60405180910390f35b3480156104d6575f5ffd5b506104f160048036038101906104ec9190612ab0565b61128b565b6040516104fe9190612aea565b60405180910390f35b348015610512575f5ffd5b5061051b61131f565b005b348015610528575f5ffd5b50610531611332565b60405161053e91906128e9565b60405180910390f35b348015610552575f5ffd5b5061056d60048036038101906105689190612be2565b611344565b005b34801561057a575f5ffd5b50610583611486565b6040516105909190612a2f565b60405180910390f35b3480156105a4575f5ffd5b506105ad611498565b6040516105ba9190612c7b565b60405180910390f35b3480156105ce575f5ffd5b506105d76114be565b6040516105e49190612a2f565b60405180910390f35b3480156105f8575f5ffd5b50610613600480360381019061060e9190612cd5565b6114e6565b005b348015610620575f5ffd5b5061063b600480360381019061063691906129c5565b6115ff565b005b348015610648575f5ffd5b50610651611714565b60405161065e9190612aea565b60405180910390f35b348015610672575f5ffd5b5061067b61171a565b6040516106889190612972565b60405180910390f35b34801561069c575f5ffd5b506106a56117aa565b6040516106b29190612aea565b60405180910390f35b6106d560048036038101906106d091906129c5565b6117b0565b005b3480156106e2575f5ffd5b506106fd60048036038101906106f89190612d13565b611992565b005b34801561070a575f5ffd5b50610713611a98565b6040516107209190612aea565b60405180910390f35b610743600480360381019061073e9190612e7d565b611a9e565b005b348015610750575f5ffd5b50610759611aef565b60405161076691906128e9565b60405180910390f35b34801561077a575f5ffd5b50610795600480360381019061079091906129c5565b611b02565b6040516107a29190612972565b60405180910390f35b3480156107b6575f5ffd5b506107d160048036038101906107cc9190612efd565b611bf0565b6040516107de91906128e9565b60405180910390f35b3480156107f2575f5ffd5b5061080d60048036038101906108089190612ab0565b611c7e565b005b5f6380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108695750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610879575061087882611d02565b5b9050919050565b60606002805461088f90612f68565b80601f01602080910402602001604051908101604052809291908181526020018280546108bb90612f68565b80156109065780601f106108dd57610100808354040283529160200191610906565b820191905f5260205f20905b8154815290600101906020018083116108e957829003601f168201915b5050505050905090565b5f61091a82611d7b565b61092f5761092e63cf4700e460e01b611e1e565b5b60065f8381526020019081526020015f205f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b61097582826001611e26565b5050565b6011602052805f5260405f205f915090505481565b5f610997611f50565b6001545f54030390507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6109c9611f58565b146109d657600854810190505b90565b5f6109e382611f7f565b905073ffffffffffffffffffffffffffffffffffffffff8473ffffffffffffffffffffffffffffffffffffffff161693508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610a5857610a5763a114810060e01b611e1e565b5b5f5f610a638461208e565b91509150610a798187610a746120b1565b6120b8565b610aa457610a8e86610a896120b1565b611bf0565b610aa357610aa26359c896be60e01b611e1e565b5b5b610ab186868660016120fb565b8015610abb575f82555b60055f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8154600190039190508190555060055f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f815460010191905081905550610b8385610b5f888887612101565b7c020000000000000000000000000000000000000000000000000000000017612128565b60045f8681526020019081526020015f20819055505f7c0200000000000000000000000000000000000000000000000000000000841603610bff575f6001850190505f60045f8381526020019081526020015f205403610bfd575f548114610bfc578360045f8381526020019081526020015f20819055505b5b505b5f73ffffffffffffffffffffffffffffffffffffffff8673ffffffffffffffffffffffffffffffffffffffff161690508481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f5fa45f8103610c6e57610c6d63ea553b3460e01b611e1e565b5b610c7b8787876001612152565b50505050505050565b5f5f5f600b5f8681526020019081526020015f2090505f815f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690505f825f0160149054906101000a90046bffffffffffffffffffffffff1690505f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610d5857600a5f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169150600a5f0160149054906101000a90046bffffffffffffffffffffffff1690505b5f610d61612158565b6bffffffffffffffffffffffff16826bffffffffffffffffffffffff1688610d899190612fc5565b610d939190613033565b9050828195509550505050509250929050565b6108ae81565b6010602052805f5260405f205f915090505481565b610dc96114be565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610e8d57506d76a84fef008cdabe6409d2fe638b73ffffffffffffffffffffffffffffffffffffffff1663e839bd5333610e306114be565b6040518363ffffffff1660e01b8152600401610e4d929190613069565b602060405180830381865afa158015610e68573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e8c91906130b0565b5b610ecc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec390613125565b60405180910390fd5b5f610ed56114be565b73ffffffffffffffffffffffffffffffffffffffff1647604051610ef890613170565b5f6040518083038185875af1925050503d805f8114610f32576040519150601f19603f3d011682016040523d82523d5f602084013e610f37565b606091505b5050905080610f7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f72906131ce565b60405180910390fd5b50565b610f9883838360405180602001604052805f815250611a9e565b505050565b610fa56114be565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061106957506d76a84fef008cdabe6409d2fe638b73ffffffffffffffffffffffffffffffffffffffff1663e839bd533361100c6114be565b6040518363ffffffff1660e01b8152600401611029929190613069565b602060405180830381865afa158015611044573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061106891906130b0565b5b6110a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109f90613125565b60405180910390fd5b80600f60026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600f5f9054906101000a900460ff1661113a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113190613236565b60405180910390fd5b6103e8600161114761098e565b6111519190613254565b1115611192576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611189906132d1565b60405180910390fd5b600d5460105f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205410611213576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120a90613339565b60405180910390fd5b600160105f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546112609190613254565b92505081905550611272336001612161565b565b5f61127e82611f7f565b9050919050565b600c5481565b5f5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036112d0576112cf638f4eb60460e01b611e1e565b5b67ffffffffffffffff60055f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054169050919050565b61132761217e565b6113305f612205565b565b600f5f9054906101000a900460ff1681565b61134c6114be565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061141057506d76a84fef008cdabe6409d2fe638b73ffffffffffffffffffffffffffffffffffffffff1663e839bd53336113b36114be565b6040518363ffffffff1660e01b81526004016113d0929190613069565b602060405180830381865afa1580156113eb573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061140f91906130b0565b5b61144f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144690613125565b60405180910390fd5b81600f5f6101000a81548160ff02191690831515021790555080600f60016101000a81548160ff0219169083151502179055505050565b6d76a84fef008cdabe6409d2fe638b81565b600f60029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f60095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6114ee6114be565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806115b257506d76a84fef008cdabe6409d2fe638b73ffffffffffffffffffffffffffffffffffffffff1663e839bd53336115556114be565b6040518363ffffffff1660e01b8152600401611572929190613069565b602060405180830381865afa15801561158d573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115b191906130b0565b5b6115f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e890613125565b60405180910390fd5b6115fb82826122c8565b5050565b6116076114be565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806116cb57506d76a84fef008cdabe6409d2fe638b73ffffffffffffffffffffffffffffffffffffffff1663e839bd533361166e6114be565b6040518363ffffffff1660e01b815260040161168b929190613069565b602060405180830381865afa1580156116a6573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116ca91906130b0565b5b61170a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170190613125565b60405180910390fd5b80600c8190555050565b600e5481565b60606003805461172990612f68565b80601f016020809104026020016040519081016040528092919081815260200182805461175590612f68565b80156117a05780601f10611777576101008083540402835291602001916117a0565b820191905f5260205f20905b81548152906001019060200180831161178357829003601f168201915b5050505050905090565b6103e881565b600f60019054906101000a900460ff166117ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f6906133a1565b60405180910390fd5b6108ae8161180b61098e565b6118159190613254565b1115611856576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184d90613409565b60405180910390fd5b600e548160115f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20546118a29190613254565b11156118e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118da90613471565b60405180910390fd5b600c54816118f19190612fc5565b3414611932576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611929906134d9565b60405180910390fd5b8060115f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825461197e9190613254565b9250508190555061198f3382612161565b50565b8060075f61199e6120b1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611a476120b1565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a8c91906128e9565b60405180910390a35050565b600d5481565b611aa98484846109d9565b5f8373ffffffffffffffffffffffffffffffffffffffff163b14611ae957611ad384848484612463565b611ae857611ae763d1a57ed660e01b611e1e565b5b5b50505050565b600f60019054906101000a900460ff1681565b6060611b0d82611d7b565b611b4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4390613541565b60405180910390fd5b600f60029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c87b56dd836040518263ffffffff1660e01b8152600401611ba79190612aea565b5f60405180830381865afa158015611bc1573d5f5f3e3d5ffd5b505050506040513d5f823e3d601f19601f82011682018060405250810190611be991906135fd565b9050919050565b5f60075f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b611c8661217e565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611cf6575f6040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401611ced9190612a2f565b60405180910390fd5b611cff81612205565b50565b5f7f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611d745750611d738261258d565b5b9050919050565b5f81611d85611f50565b11611e1857611d92611f58565b821115611dba57611db360045f8481526020019081526020015f20546125f6565b9050611e19565b5f54821015611e17575f5b5f60045f8581526020019081526020015f205491508103611df15782611dea90613644565b9250611dc5565b5f7c01000000000000000000000000000000000000000000000000000000008216149150505b5b5b919050565b805f5260045ffd5b5f611e3083611274565b9050818015611e7257508073ffffffffffffffffffffffffffffffffffffffff16611e596120b1565b73ffffffffffffffffffffffffffffffffffffffff1614155b15611e9e57611e8881611e836120b1565b611bf0565b611e9d57611e9c63cfb3b94260e01b611e1e565b5b5b8360065f8581526020019081526020015f205f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550828473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a450505050565b5f6001905090565b5f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff905090565b5f81611f89611f50565b116120785760045f8381526020019081526020015f20549050611faa611f58565b821115611fcf57611fba816125f6565b61208957611fce63df2d9b4260e01b611e1e565b5b5f8103612050575f548210611fef57611fee63df2d9b4260e01b611e1e565b5b5b60045f836001900393508381526020019081526020015f205490505f81031561204b575f7c0100000000000000000000000000000000000000000000000000000000821603156120895761204a63df2d9b4260e01b611e1e565b5b611ff0565b5f7c010000000000000000000000000000000000000000000000000000000082160315612089575b61208863df2d9b4260e01b611e1e565b5b919050565b5f5f5f60065f8581526020019081526020015f2090508092508254915050915091565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b5f5f60e883901c905060e8612117868684612636565b62ffffff16901b9150509392505050565b5f73ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b5f612710905090565b61217a828260405180602001604052805f81525061263e565b5050565b6121866126b4565b73ffffffffffffffffffffffffffffffffffffffff166121a46114be565b73ffffffffffffffffffffffffffffffffffffffff1614612203576121c76126b4565b6040517f118cdaa70000000000000000000000000000000000000000000000000000000081526004016121fa9190612a2f565b60405180910390fd5b565b5f60095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160095f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f6122d1612158565b6bffffffffffffffffffffffff16905080826bffffffffffffffffffffffff1611156123365781816040517f6f483d0900000000000000000000000000000000000000000000000000000000815260040161232d92919061369b565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036123a6575f6040517fb6d9900a00000000000000000000000000000000000000000000000000000000815260040161239d9190612a2f565b60405180910390fd5b60405180604001604052808473ffffffffffffffffffffffffffffffffffffffff168152602001836bffffffffffffffffffffffff16815250600a5f820151815f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151815f0160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550905050505050565b5f8373ffffffffffffffffffffffffffffffffffffffff1663150b7a026124886120b1565b8786866040518563ffffffff1660e01b81526004016124aa9493929190613714565b6020604051808303815f875af19250505080156124e557506040513d601f19601f820116820180604052508101906124e29190613772565b60015b61253a573d805f8114612513576040519150601f19603f3d011682016040523d82523d5f602084013e612518565b606091505b505f8151036125325761253163d1a57ed660e01b611e1e565b5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b5f7f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b5f7c0100000000000000000000000000000000000000000000000000000000821673ffffffffffffffffffffffffffffffffffffffff8316119050919050565b5f9392505050565b61264883836126bb565b5f8373ffffffffffffffffffffffffffffffffffffffff163b146126af575f5f5490505f83820390505b6126845f868380600101945086612463565b6126995761269863d1a57ed660e01b611e1e565b5b81811061267257815f54146126ac575f5ffd5b50505b505050565b5f33905090565b5f5f5490505f82036126d8576126d763b562e8dd60e01b611e1e565b5b6126e45f8483856120fb565b612702836126f35f865f612101565b6126fc8561282f565b17612128565b60045f8381526020019081526020015f2081905550600160406001901b17820260055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505f73ffffffffffffffffffffffffffffffffffffffff8473ffffffffffffffffffffffffffffffffffffffff161690505f81036127b3576127b2632e07630060e01b611e1e565b5b5f83830190505f8390506127c5611f58565b6001830311156127e0576127df6381647e3a60e01b611e1e565b5b5b80835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f5fa48181600101915081036127e157815f8190555050505061282a5f848385612152565b505050565b5f6001821460e11b9050919050565b5f604051905090565b5f5ffd5b5f5ffd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6128838161284f565b811461288d575f5ffd5b50565b5f8135905061289e8161287a565b92915050565b5f602082840312156128b9576128b8612847565b5b5f6128c684828501612890565b91505092915050565b5f8115159050919050565b6128e3816128cf565b82525050565b5f6020820190506128fc5f8301846128da565b92915050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f61294482612902565b61294e818561290c565b935061295e81856020860161291c565b6129678161292a565b840191505092915050565b5f6020820190508181035f83015261298a818461293a565b905092915050565b5f819050919050565b6129a481612992565b81146129ae575f5ffd5b50565b5f813590506129bf8161299b565b92915050565b5f602082840312156129da576129d9612847565b5b5f6129e7848285016129b1565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f612a19826129f0565b9050919050565b612a2981612a0f565b82525050565b5f602082019050612a425f830184612a20565b92915050565b612a5181612a0f565b8114612a5b575f5ffd5b50565b5f81359050612a6c81612a48565b92915050565b5f5f60408385031215612a8857612a87612847565b5b5f612a9585828601612a5e565b9250506020612aa6858286016129b1565b9150509250929050565b5f60208284031215612ac557612ac4612847565b5b5f612ad284828501612a5e565b91505092915050565b612ae481612992565b82525050565b5f602082019050612afd5f830184612adb565b92915050565b5f5f5f60608486031215612b1a57612b19612847565b5b5f612b2786828701612a5e565b9350506020612b3886828701612a5e565b9250506040612b49868287016129b1565b9150509250925092565b5f5f60408385031215612b6957612b68612847565b5b5f612b76858286016129b1565b9250506020612b87858286016129b1565b9150509250929050565b5f604082019050612ba45f830185612a20565b612bb16020830184612adb565b9392505050565b612bc1816128cf565b8114612bcb575f5ffd5b50565b5f81359050612bdc81612bb8565b92915050565b5f5f60408385031215612bf857612bf7612847565b5b5f612c0585828601612bce565b9250506020612c1685828601612bce565b9150509250929050565b5f819050919050565b5f612c43612c3e612c39846129f0565b612c20565b6129f0565b9050919050565b5f612c5482612c29565b9050919050565b5f612c6582612c4a565b9050919050565b612c7581612c5b565b82525050565b5f602082019050612c8e5f830184612c6c565b92915050565b5f6bffffffffffffffffffffffff82169050919050565b612cb481612c94565b8114612cbe575f5ffd5b50565b5f81359050612ccf81612cab565b92915050565b5f5f60408385031215612ceb57612cea612847565b5b5f612cf885828601612a5e565b9250506020612d0985828601612cc1565b9150509250929050565b5f5f60408385031215612d2957612d28612847565b5b5f612d3685828601612a5e565b9250506020612d4785828601612bce565b9150509250929050565b5f5ffd5b5f5ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b612d8f8261292a565b810181811067ffffffffffffffff82111715612dae57612dad612d59565b5b80604052505050565b5f612dc061283e565b9050612dcc8282612d86565b919050565b5f67ffffffffffffffff821115612deb57612dea612d59565b5b612df48261292a565b9050602081019050919050565b828183375f83830152505050565b5f612e21612e1c84612dd1565b612db7565b905082815260208101848484011115612e3d57612e3c612d55565b5b612e48848285612e01565b509392505050565b5f82601f830112612e6457612e63612d51565b5b8135612e74848260208601612e0f565b91505092915050565b5f5f5f5f60808587031215612e9557612e94612847565b5b5f612ea287828801612a5e565b9450506020612eb387828801612a5e565b9350506040612ec4878288016129b1565b925050606085013567ffffffffffffffff811115612ee557612ee461284b565b5b612ef187828801612e50565b91505092959194509250565b5f5f60408385031215612f1357612f12612847565b5b5f612f2085828601612a5e565b9250506020612f3185828601612a5e565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680612f7f57607f821691505b602082108103612f9257612f91612f3b565b5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f612fcf82612992565b9150612fda83612992565b9250828202612fe881612992565b91508282048414831517612fff57612ffe612f98565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f61303d82612992565b915061304883612992565b92508261305857613057613006565b5b828204905092915050565b5f815250565b5f60608201905061307c5f830185612a20565b6130896020830184612a20565b61309560408301613063565b9392505050565b5f815190506130aa81612bb8565b92915050565b5f602082840312156130c5576130c4612847565b5b5f6130d28482850161309c565b91505092915050565b7f4e6f7420617574686f72697a65640000000000000000000000000000000000005f82015250565b5f61310f600e8361290c565b915061311a826130db565b602082019050919050565b5f6020820190508181035f83015261313c81613103565b9050919050565b5f81905092915050565b50565b5f61315b5f83613143565b91506131668261314d565b5f82019050919050565b5f61317a82613150565b9150819050919050565b7f5769746864726177206661696c656400000000000000000000000000000000005f82015250565b5f6131b8600f8361290c565b91506131c382613184565b602082019050919050565b5f6020820190508181035f8301526131e5816131ac565b9050919050565b7f46726565206d696e7420636c6f736564000000000000000000000000000000005f82015250565b5f61322060108361290c565b915061322b826131ec565b602082019050919050565b5f6020820190508181035f83015261324d81613214565b9050919050565b5f61325e82612992565b915061326983612992565b925082820190508082111561328157613280612f98565b5b92915050565b7f4672656520737570706c792066696c6c656400000000000000000000000000005f82015250565b5f6132bb60128361290c565b91506132c682613287565b602082019050919050565b5f6020820190508181035f8301526132e8816132af565b9050919050565b7f46726565206c696d6974000000000000000000000000000000000000000000005f82015250565b5f613323600a8361290c565b915061332e826132ef565b602082019050919050565b5f6020820190508181035f83015261335081613317565b9050919050565b7f5075626c6963206d696e7420636c6f73656400000000000000000000000000005f82015250565b5f61338b60128361290c565b915061339682613357565b602082019050919050565b5f6020820190508181035f8301526133b88161337f565b9050919050565b7f4d617820737570706c79206578636565646564000000000000000000000000005f82015250565b5f6133f360138361290c565b91506133fe826133bf565b602082019050919050565b5f6020820190508181035f830152613420816133e7565b9050919050565b7f57616c6c6574206c696d697400000000000000000000000000000000000000005f82015250565b5f61345b600c8361290c565b915061346682613427565b602082019050919050565b5f6020820190508181035f8301526134888161344f565b9050919050565b7f57726f6e672045544800000000000000000000000000000000000000000000005f82015250565b5f6134c360098361290c565b91506134ce8261348f565b602082019050919050565b5f6020820190508181035f8301526134f0816134b7565b9050919050565b7f4e6f6e6578697374656e7420746f6b656e0000000000000000000000000000005f82015250565b5f61352b60118361290c565b9150613536826134f7565b602082019050919050565b5f6020820190508181035f8301526135588161351f565b9050919050565b5f67ffffffffffffffff82111561357957613578612d59565b5b6135828261292a565b9050602081019050919050565b5f6135a161359c8461355f565b612db7565b9050828152602081018484840111156135bd576135bc612d55565b5b6135c884828561291c565b509392505050565b5f82601f8301126135e4576135e3612d51565b5b81516135f484826020860161358f565b91505092915050565b5f6020828403121561361257613611612847565b5b5f82015167ffffffffffffffff81111561362f5761362e61284b565b5b61363b848285016135d0565b91505092915050565b5f61364e82612992565b91505f82036136605761365f612f98565b5b600182039050919050565b5f61368561368061367b84612c94565b612c20565b612992565b9050919050565b6136958161366b565b82525050565b5f6040820190506136ae5f83018561368c565b6136bb6020830184612adb565b9392505050565b5f81519050919050565b5f82825260208201905092915050565b5f6136e6826136c2565b6136f081856136cc565b935061370081856020860161291c565b6137098161292a565b840191505092915050565b5f6080820190506137275f830187612a20565b6137346020830186612a20565b6137416040830185612adb565b818103606083015261375381846136dc565b905095945050505050565b5f8151905061376c8161287a565b92915050565b5f6020828403121561378757613786612847565b5b5f6137948482850161375e565b9150509291505056fea26469706673582212200c5c379a1b0d6bffd5d14027021b9347f6aa93ff77f1c1c33bd20e1bcdad360564736f6c634300081f0033000000000000000000000000973e0a07a7de8e35545ba58650c94309eaf92a58
Deployed Bytecode
0x60806040526004361061020e575f3560e01c8063777fa9ab116101175780639858cf191161009f578063b88d4fde1161006e578063b88d4fde14610729578063bcc9ca5b14610745578063c87b56dd1461076f578063e985e9c5146107ab578063f2fde38b146107e75761020e565b80639858cf1914610691578063a0712d68146106bb578063a22cb465146106d7578063a7027357146106ff5761020e565b80638da5cb5b116100e65780638da5cb5b146105c35780638f2fc60b146105ed57806391b7f5ed1461061557806393ce00331461063d57806395d89b41146106675761020e565b8063777fa9ab1461051d578063815e8993146105475780638286eee21461056f5780638ada6b0f146105995761020e565b8063389fcf061161019a5780635b70ea9f116101695780635b70ea9f1461044f5780636352211e146104655780636817c76c146104a157806370a08231146104cb578063715018a6146105075761020e565b8063389fcf06146103b95780633ccfd60b146103f557806342842e0e1461040b57806356d3163d146104275761020e565b80631015805b116101e15780631015805b146102d057806318160ddd1461030c57806323b872dd146103365780632a55205a1461035257806332cb6b0c1461038f5761020e565b806301ffc9a71461021257806306fdde031461024e578063081812fc14610278578063095ea7b3146102b4575b5f5ffd5b34801561021d575f5ffd5b50610238600480360381019061023391906128a4565b61080f565b60405161024591906128e9565b60405180910390f35b348015610259575f5ffd5b50610262610880565b60405161026f9190612972565b60405180910390f35b348015610283575f5ffd5b5061029e600480360381019061029991906129c5565b610910565b6040516102ab9190612a2f565b60405180910390f35b6102ce60048036038101906102c99190612a72565b610969565b005b3480156102db575f5ffd5b506102f660048036038101906102f19190612ab0565b610979565b6040516103039190612aea565b60405180910390f35b348015610317575f5ffd5b5061032061098e565b60405161032d9190612aea565b60405180910390f35b610350600480360381019061034b9190612b03565b6109d9565b005b34801561035d575f5ffd5b5061037860048036038101906103739190612b53565b610c84565b604051610386929190612b91565b60405180910390f35b34801561039a575f5ffd5b506103a3610da6565b6040516103b09190612aea565b60405180910390f35b3480156103c4575f5ffd5b506103df60048036038101906103da9190612ab0565b610dac565b6040516103ec9190612aea565b60405180910390f35b348015610400575f5ffd5b50610409610dc1565b005b61042560048036038101906104209190612b03565b610f7e565b005b348015610432575f5ffd5b5061044d60048036038101906104489190612ab0565b610f9d565b005b34801561045a575f5ffd5b506104636110ec565b005b348015610470575f5ffd5b5061048b600480360381019061048691906129c5565b611274565b6040516104989190612a2f565b60405180910390f35b3480156104ac575f5ffd5b506104b5611285565b6040516104c29190612aea565b60405180910390f35b3480156104d6575f5ffd5b506104f160048036038101906104ec9190612ab0565b61128b565b6040516104fe9190612aea565b60405180910390f35b348015610512575f5ffd5b5061051b61131f565b005b348015610528575f5ffd5b50610531611332565b60405161053e91906128e9565b60405180910390f35b348015610552575f5ffd5b5061056d60048036038101906105689190612be2565b611344565b005b34801561057a575f5ffd5b50610583611486565b6040516105909190612a2f565b60405180910390f35b3480156105a4575f5ffd5b506105ad611498565b6040516105ba9190612c7b565b60405180910390f35b3480156105ce575f5ffd5b506105d76114be565b6040516105e49190612a2f565b60405180910390f35b3480156105f8575f5ffd5b50610613600480360381019061060e9190612cd5565b6114e6565b005b348015610620575f5ffd5b5061063b600480360381019061063691906129c5565b6115ff565b005b348015610648575f5ffd5b50610651611714565b60405161065e9190612aea565b60405180910390f35b348015610672575f5ffd5b5061067b61171a565b6040516106889190612972565b60405180910390f35b34801561069c575f5ffd5b506106a56117aa565b6040516106b29190612aea565b60405180910390f35b6106d560048036038101906106d091906129c5565b6117b0565b005b3480156106e2575f5ffd5b506106fd60048036038101906106f89190612d13565b611992565b005b34801561070a575f5ffd5b50610713611a98565b6040516107209190612aea565b60405180910390f35b610743600480360381019061073e9190612e7d565b611a9e565b005b348015610750575f5ffd5b50610759611aef565b60405161076691906128e9565b60405180910390f35b34801561077a575f5ffd5b50610795600480360381019061079091906129c5565b611b02565b6040516107a29190612972565b60405180910390f35b3480156107b6575f5ffd5b506107d160048036038101906107cc9190612efd565b611bf0565b6040516107de91906128e9565b60405180910390f35b3480156107f2575f5ffd5b5061080d60048036038101906108089190612ab0565b611c7e565b005b5f6380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108695750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610879575061087882611d02565b5b9050919050565b60606002805461088f90612f68565b80601f01602080910402602001604051908101604052809291908181526020018280546108bb90612f68565b80156109065780601f106108dd57610100808354040283529160200191610906565b820191905f5260205f20905b8154815290600101906020018083116108e957829003601f168201915b5050505050905090565b5f61091a82611d7b565b61092f5761092e63cf4700e460e01b611e1e565b5b60065f8381526020019081526020015f205f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b61097582826001611e26565b5050565b6011602052805f5260405f205f915090505481565b5f610997611f50565b6001545f54030390507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6109c9611f58565b146109d657600854810190505b90565b5f6109e382611f7f565b905073ffffffffffffffffffffffffffffffffffffffff8473ffffffffffffffffffffffffffffffffffffffff161693508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610a5857610a5763a114810060e01b611e1e565b5b5f5f610a638461208e565b91509150610a798187610a746120b1565b6120b8565b610aa457610a8e86610a896120b1565b611bf0565b610aa357610aa26359c896be60e01b611e1e565b5b5b610ab186868660016120fb565b8015610abb575f82555b60055f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8154600190039190508190555060055f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f815460010191905081905550610b8385610b5f888887612101565b7c020000000000000000000000000000000000000000000000000000000017612128565b60045f8681526020019081526020015f20819055505f7c0200000000000000000000000000000000000000000000000000000000841603610bff575f6001850190505f60045f8381526020019081526020015f205403610bfd575f548114610bfc578360045f8381526020019081526020015f20819055505b5b505b5f73ffffffffffffffffffffffffffffffffffffffff8673ffffffffffffffffffffffffffffffffffffffff161690508481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f5fa45f8103610c6e57610c6d63ea553b3460e01b611e1e565b5b610c7b8787876001612152565b50505050505050565b5f5f5f600b5f8681526020019081526020015f2090505f815f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690505f825f0160149054906101000a90046bffffffffffffffffffffffff1690505f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610d5857600a5f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169150600a5f0160149054906101000a90046bffffffffffffffffffffffff1690505b5f610d61612158565b6bffffffffffffffffffffffff16826bffffffffffffffffffffffff1688610d899190612fc5565b610d939190613033565b9050828195509550505050509250929050565b6108ae81565b6010602052805f5260405f205f915090505481565b610dc96114be565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610e8d57506d76a84fef008cdabe6409d2fe638b73ffffffffffffffffffffffffffffffffffffffff1663e839bd5333610e306114be565b6040518363ffffffff1660e01b8152600401610e4d929190613069565b602060405180830381865afa158015610e68573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e8c91906130b0565b5b610ecc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec390613125565b60405180910390fd5b5f610ed56114be565b73ffffffffffffffffffffffffffffffffffffffff1647604051610ef890613170565b5f6040518083038185875af1925050503d805f8114610f32576040519150601f19603f3d011682016040523d82523d5f602084013e610f37565b606091505b5050905080610f7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f72906131ce565b60405180910390fd5b50565b610f9883838360405180602001604052805f815250611a9e565b505050565b610fa56114be565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061106957506d76a84fef008cdabe6409d2fe638b73ffffffffffffffffffffffffffffffffffffffff1663e839bd533361100c6114be565b6040518363ffffffff1660e01b8152600401611029929190613069565b602060405180830381865afa158015611044573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061106891906130b0565b5b6110a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109f90613125565b60405180910390fd5b80600f60026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600f5f9054906101000a900460ff1661113a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113190613236565b60405180910390fd5b6103e8600161114761098e565b6111519190613254565b1115611192576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611189906132d1565b60405180910390fd5b600d5460105f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205410611213576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120a90613339565b60405180910390fd5b600160105f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546112609190613254565b92505081905550611272336001612161565b565b5f61127e82611f7f565b9050919050565b600c5481565b5f5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036112d0576112cf638f4eb60460e01b611e1e565b5b67ffffffffffffffff60055f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054169050919050565b61132761217e565b6113305f612205565b565b600f5f9054906101000a900460ff1681565b61134c6114be565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061141057506d76a84fef008cdabe6409d2fe638b73ffffffffffffffffffffffffffffffffffffffff1663e839bd53336113b36114be565b6040518363ffffffff1660e01b81526004016113d0929190613069565b602060405180830381865afa1580156113eb573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061140f91906130b0565b5b61144f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144690613125565b60405180910390fd5b81600f5f6101000a81548160ff02191690831515021790555080600f60016101000a81548160ff0219169083151502179055505050565b6d76a84fef008cdabe6409d2fe638b81565b600f60029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f60095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6114ee6114be565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806115b257506d76a84fef008cdabe6409d2fe638b73ffffffffffffffffffffffffffffffffffffffff1663e839bd53336115556114be565b6040518363ffffffff1660e01b8152600401611572929190613069565b602060405180830381865afa15801561158d573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115b191906130b0565b5b6115f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e890613125565b60405180910390fd5b6115fb82826122c8565b5050565b6116076114be565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806116cb57506d76a84fef008cdabe6409d2fe638b73ffffffffffffffffffffffffffffffffffffffff1663e839bd533361166e6114be565b6040518363ffffffff1660e01b815260040161168b929190613069565b602060405180830381865afa1580156116a6573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116ca91906130b0565b5b61170a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170190613125565b60405180910390fd5b80600c8190555050565b600e5481565b60606003805461172990612f68565b80601f016020809104026020016040519081016040528092919081815260200182805461175590612f68565b80156117a05780601f10611777576101008083540402835291602001916117a0565b820191905f5260205f20905b81548152906001019060200180831161178357829003601f168201915b5050505050905090565b6103e881565b600f60019054906101000a900460ff166117ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f6906133a1565b60405180910390fd5b6108ae8161180b61098e565b6118159190613254565b1115611856576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184d90613409565b60405180910390fd5b600e548160115f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20546118a29190613254565b11156118e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118da90613471565b60405180910390fd5b600c54816118f19190612fc5565b3414611932576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611929906134d9565b60405180910390fd5b8060115f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825461197e9190613254565b9250508190555061198f3382612161565b50565b8060075f61199e6120b1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611a476120b1565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a8c91906128e9565b60405180910390a35050565b600d5481565b611aa98484846109d9565b5f8373ffffffffffffffffffffffffffffffffffffffff163b14611ae957611ad384848484612463565b611ae857611ae763d1a57ed660e01b611e1e565b5b5b50505050565b600f60019054906101000a900460ff1681565b6060611b0d82611d7b565b611b4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4390613541565b60405180910390fd5b600f60029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c87b56dd836040518263ffffffff1660e01b8152600401611ba79190612aea565b5f60405180830381865afa158015611bc1573d5f5f3e3d5ffd5b505050506040513d5f823e3d601f19601f82011682018060405250810190611be991906135fd565b9050919050565b5f60075f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b611c8661217e565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611cf6575f6040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401611ced9190612a2f565b60405180910390fd5b611cff81612205565b50565b5f7f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611d745750611d738261258d565b5b9050919050565b5f81611d85611f50565b11611e1857611d92611f58565b821115611dba57611db360045f8481526020019081526020015f20546125f6565b9050611e19565b5f54821015611e17575f5b5f60045f8581526020019081526020015f205491508103611df15782611dea90613644565b9250611dc5565b5f7c01000000000000000000000000000000000000000000000000000000008216149150505b5b5b919050565b805f5260045ffd5b5f611e3083611274565b9050818015611e7257508073ffffffffffffffffffffffffffffffffffffffff16611e596120b1565b73ffffffffffffffffffffffffffffffffffffffff1614155b15611e9e57611e8881611e836120b1565b611bf0565b611e9d57611e9c63cfb3b94260e01b611e1e565b5b5b8360065f8581526020019081526020015f205f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550828473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a450505050565b5f6001905090565b5f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff905090565b5f81611f89611f50565b116120785760045f8381526020019081526020015f20549050611faa611f58565b821115611fcf57611fba816125f6565b61208957611fce63df2d9b4260e01b611e1e565b5b5f8103612050575f548210611fef57611fee63df2d9b4260e01b611e1e565b5b5b60045f836001900393508381526020019081526020015f205490505f81031561204b575f7c0100000000000000000000000000000000000000000000000000000000821603156120895761204a63df2d9b4260e01b611e1e565b5b611ff0565b5f7c010000000000000000000000000000000000000000000000000000000082160315612089575b61208863df2d9b4260e01b611e1e565b5b919050565b5f5f5f60065f8581526020019081526020015f2090508092508254915050915091565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b5f5f60e883901c905060e8612117868684612636565b62ffffff16901b9150509392505050565b5f73ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b5f612710905090565b61217a828260405180602001604052805f81525061263e565b5050565b6121866126b4565b73ffffffffffffffffffffffffffffffffffffffff166121a46114be565b73ffffffffffffffffffffffffffffffffffffffff1614612203576121c76126b4565b6040517f118cdaa70000000000000000000000000000000000000000000000000000000081526004016121fa9190612a2f565b60405180910390fd5b565b5f60095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160095f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f6122d1612158565b6bffffffffffffffffffffffff16905080826bffffffffffffffffffffffff1611156123365781816040517f6f483d0900000000000000000000000000000000000000000000000000000000815260040161232d92919061369b565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036123a6575f6040517fb6d9900a00000000000000000000000000000000000000000000000000000000815260040161239d9190612a2f565b60405180910390fd5b60405180604001604052808473ffffffffffffffffffffffffffffffffffffffff168152602001836bffffffffffffffffffffffff16815250600a5f820151815f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151815f0160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550905050505050565b5f8373ffffffffffffffffffffffffffffffffffffffff1663150b7a026124886120b1565b8786866040518563ffffffff1660e01b81526004016124aa9493929190613714565b6020604051808303815f875af19250505080156124e557506040513d601f19601f820116820180604052508101906124e29190613772565b60015b61253a573d805f8114612513576040519150601f19603f3d011682016040523d82523d5f602084013e612518565b606091505b505f8151036125325761253163d1a57ed660e01b611e1e565b5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b5f7f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b5f7c0100000000000000000000000000000000000000000000000000000000821673ffffffffffffffffffffffffffffffffffffffff8316119050919050565b5f9392505050565b61264883836126bb565b5f8373ffffffffffffffffffffffffffffffffffffffff163b146126af575f5f5490505f83820390505b6126845f868380600101945086612463565b6126995761269863d1a57ed660e01b611e1e565b5b81811061267257815f54146126ac575f5ffd5b50505b505050565b5f33905090565b5f5f5490505f82036126d8576126d763b562e8dd60e01b611e1e565b5b6126e45f8483856120fb565b612702836126f35f865f612101565b6126fc8561282f565b17612128565b60045f8381526020019081526020015f2081905550600160406001901b17820260055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505f73ffffffffffffffffffffffffffffffffffffffff8473ffffffffffffffffffffffffffffffffffffffff161690505f81036127b3576127b2632e07630060e01b611e1e565b5b5f83830190505f8390506127c5611f58565b6001830311156127e0576127df6381647e3a60e01b611e1e565b5b5b80835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f5fa48181600101915081036127e157815f8190555050505061282a5f848385612152565b505050565b5f6001821460e11b9050919050565b5f604051905090565b5f5ffd5b5f5ffd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6128838161284f565b811461288d575f5ffd5b50565b5f8135905061289e8161287a565b92915050565b5f602082840312156128b9576128b8612847565b5b5f6128c684828501612890565b91505092915050565b5f8115159050919050565b6128e3816128cf565b82525050565b5f6020820190506128fc5f8301846128da565b92915050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f61294482612902565b61294e818561290c565b935061295e81856020860161291c565b6129678161292a565b840191505092915050565b5f6020820190508181035f83015261298a818461293a565b905092915050565b5f819050919050565b6129a481612992565b81146129ae575f5ffd5b50565b5f813590506129bf8161299b565b92915050565b5f602082840312156129da576129d9612847565b5b5f6129e7848285016129b1565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f612a19826129f0565b9050919050565b612a2981612a0f565b82525050565b5f602082019050612a425f830184612a20565b92915050565b612a5181612a0f565b8114612a5b575f5ffd5b50565b5f81359050612a6c81612a48565b92915050565b5f5f60408385031215612a8857612a87612847565b5b5f612a9585828601612a5e565b9250506020612aa6858286016129b1565b9150509250929050565b5f60208284031215612ac557612ac4612847565b5b5f612ad284828501612a5e565b91505092915050565b612ae481612992565b82525050565b5f602082019050612afd5f830184612adb565b92915050565b5f5f5f60608486031215612b1a57612b19612847565b5b5f612b2786828701612a5e565b9350506020612b3886828701612a5e565b9250506040612b49868287016129b1565b9150509250925092565b5f5f60408385031215612b6957612b68612847565b5b5f612b76858286016129b1565b9250506020612b87858286016129b1565b9150509250929050565b5f604082019050612ba45f830185612a20565b612bb16020830184612adb565b9392505050565b612bc1816128cf565b8114612bcb575f5ffd5b50565b5f81359050612bdc81612bb8565b92915050565b5f5f60408385031215612bf857612bf7612847565b5b5f612c0585828601612bce565b9250506020612c1685828601612bce565b9150509250929050565b5f819050919050565b5f612c43612c3e612c39846129f0565b612c20565b6129f0565b9050919050565b5f612c5482612c29565b9050919050565b5f612c6582612c4a565b9050919050565b612c7581612c5b565b82525050565b5f602082019050612c8e5f830184612c6c565b92915050565b5f6bffffffffffffffffffffffff82169050919050565b612cb481612c94565b8114612cbe575f5ffd5b50565b5f81359050612ccf81612cab565b92915050565b5f5f60408385031215612ceb57612cea612847565b5b5f612cf885828601612a5e565b9250506020612d0985828601612cc1565b9150509250929050565b5f5f60408385031215612d2957612d28612847565b5b5f612d3685828601612a5e565b9250506020612d4785828601612bce565b9150509250929050565b5f5ffd5b5f5ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b612d8f8261292a565b810181811067ffffffffffffffff82111715612dae57612dad612d59565b5b80604052505050565b5f612dc061283e565b9050612dcc8282612d86565b919050565b5f67ffffffffffffffff821115612deb57612dea612d59565b5b612df48261292a565b9050602081019050919050565b828183375f83830152505050565b5f612e21612e1c84612dd1565b612db7565b905082815260208101848484011115612e3d57612e3c612d55565b5b612e48848285612e01565b509392505050565b5f82601f830112612e6457612e63612d51565b5b8135612e74848260208601612e0f565b91505092915050565b5f5f5f5f60808587031215612e9557612e94612847565b5b5f612ea287828801612a5e565b9450506020612eb387828801612a5e565b9350506040612ec4878288016129b1565b925050606085013567ffffffffffffffff811115612ee557612ee461284b565b5b612ef187828801612e50565b91505092959194509250565b5f5f60408385031215612f1357612f12612847565b5b5f612f2085828601612a5e565b9250506020612f3185828601612a5e565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680612f7f57607f821691505b602082108103612f9257612f91612f3b565b5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f612fcf82612992565b9150612fda83612992565b9250828202612fe881612992565b91508282048414831517612fff57612ffe612f98565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f61303d82612992565b915061304883612992565b92508261305857613057613006565b5b828204905092915050565b5f815250565b5f60608201905061307c5f830185612a20565b6130896020830184612a20565b61309560408301613063565b9392505050565b5f815190506130aa81612bb8565b92915050565b5f602082840312156130c5576130c4612847565b5b5f6130d28482850161309c565b91505092915050565b7f4e6f7420617574686f72697a65640000000000000000000000000000000000005f82015250565b5f61310f600e8361290c565b915061311a826130db565b602082019050919050565b5f6020820190508181035f83015261313c81613103565b9050919050565b5f81905092915050565b50565b5f61315b5f83613143565b91506131668261314d565b5f82019050919050565b5f61317a82613150565b9150819050919050565b7f5769746864726177206661696c656400000000000000000000000000000000005f82015250565b5f6131b8600f8361290c565b91506131c382613184565b602082019050919050565b5f6020820190508181035f8301526131e5816131ac565b9050919050565b7f46726565206d696e7420636c6f736564000000000000000000000000000000005f82015250565b5f61322060108361290c565b915061322b826131ec565b602082019050919050565b5f6020820190508181035f83015261324d81613214565b9050919050565b5f61325e82612992565b915061326983612992565b925082820190508082111561328157613280612f98565b5b92915050565b7f4672656520737570706c792066696c6c656400000000000000000000000000005f82015250565b5f6132bb60128361290c565b91506132c682613287565b602082019050919050565b5f6020820190508181035f8301526132e8816132af565b9050919050565b7f46726565206c696d6974000000000000000000000000000000000000000000005f82015250565b5f613323600a8361290c565b915061332e826132ef565b602082019050919050565b5f6020820190508181035f83015261335081613317565b9050919050565b7f5075626c6963206d696e7420636c6f73656400000000000000000000000000005f82015250565b5f61338b60128361290c565b915061339682613357565b602082019050919050565b5f6020820190508181035f8301526133b88161337f565b9050919050565b7f4d617820737570706c79206578636565646564000000000000000000000000005f82015250565b5f6133f360138361290c565b91506133fe826133bf565b602082019050919050565b5f6020820190508181035f830152613420816133e7565b9050919050565b7f57616c6c6574206c696d697400000000000000000000000000000000000000005f82015250565b5f61345b600c8361290c565b915061346682613427565b602082019050919050565b5f6020820190508181035f8301526134888161344f565b9050919050565b7f57726f6e672045544800000000000000000000000000000000000000000000005f82015250565b5f6134c360098361290c565b91506134ce8261348f565b602082019050919050565b5f6020820190508181035f8301526134f0816134b7565b9050919050565b7f4e6f6e6578697374656e7420746f6b656e0000000000000000000000000000005f82015250565b5f61352b60118361290c565b9150613536826134f7565b602082019050919050565b5f6020820190508181035f8301526135588161351f565b9050919050565b5f67ffffffffffffffff82111561357957613578612d59565b5b6135828261292a565b9050602081019050919050565b5f6135a161359c8461355f565b612db7565b9050828152602081018484840111156135bd576135bc612d55565b5b6135c884828561291c565b509392505050565b5f82601f8301126135e4576135e3612d51565b5b81516135f484826020860161358f565b91505092915050565b5f6020828403121561361257613611612847565b5b5f82015167ffffffffffffffff81111561362f5761362e61284b565b5b61363b848285016135d0565b91505092915050565b5f61364e82612992565b91505f82036136605761365f612f98565b5b600182039050919050565b5f61368561368061367b84612c94565b612c20565b612992565b9050919050565b6136958161366b565b82525050565b5f6040820190506136ae5f83018561368c565b6136bb6020830184612adb565b9392505050565b5f81519050919050565b5f82825260208201905092915050565b5f6136e6826136c2565b6136f081856136cc565b935061370081856020860161291c565b6137098161292a565b840191505092915050565b5f6080820190506137275f830187612a20565b6137346020830186612a20565b6137416040830185612adb565b818103606083015261375381846136dc565b905095945050505050565b5f8151905061376c8161287a565b92915050565b5f6020828403121561378757613786612847565b5b5f6137948482850161375e565b9150509291505056fea26469706673582212200c5c379a1b0d6bffd5d14027021b9347f6aa93ff77f1c1c33bd20e1bcdad360564736f6c634300081f0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000973e0a07a7de8e35545ba58650c94309eaf92a58
-----Decoded View---------------
Arg [0] : _renderer (address): 0x973e0a07a7dE8E35545bA58650c94309EaF92A58
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000973e0a07a7de8e35545ba58650c94309eaf92a58
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 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.