Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 17 from a total of 17 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Set Option Two A... | 14997949 | 1372 days ago | IN | 0 ETH | 0.00090679 | ||||
| Set Option One A... | 14997945 | 1372 days ago | IN | 0 ETH | 0.00105284 | ||||
| Set Option Two C... | 14988036 | 1374 days ago | IN | 0 ETH | 0.00068795 | ||||
| Set Option Two A... | 14988036 | 1374 days ago | IN | 0 ETH | 0.0006877 | ||||
| Set Option One C... | 14988026 | 1374 days ago | IN | 0 ETH | 0.00070939 | ||||
| Set Option One A... | 14988025 | 1374 days ago | IN | 0 ETH | 0.00071085 | ||||
| Set Treasury Wal... | 14941045 | 1382 days ago | IN | 0 ETH | 0.0011319 | ||||
| Set Option Two C... | 14833770 | 1400 days ago | IN | 0 ETH | 0.00110974 | ||||
| Set Option Two A... | 14833770 | 1400 days ago | IN | 0 ETH | 0.00110934 | ||||
| Set Option One C... | 14833770 | 1400 days ago | IN | 0 ETH | 0.00110809 | ||||
| Set Option One A... | 14833765 | 1400 days ago | IN | 0 ETH | 0.00091004 | ||||
| Withdraw | 14830640 | 1400 days ago | IN | 0 ETH | 0.00182497 | ||||
| Set Treasury Wal... | 14830632 | 1400 days ago | IN | 0 ETH | 0.00121262 | ||||
| Reserve | 14821596 | 1402 days ago | IN | 0 ETH | 0.00129026 | ||||
| Allowlist Mint | 14765557 | 1410 days ago | IN | 1.14 ETH | 0.00733624 | ||||
| Set Treasury Wal... | 14756387 | 1412 days ago | IN | 0 ETH | 0.00336872 | ||||
| Reserve | 14747106 | 1413 days ago | IN | 0 ETH | 0.00550384 |
Latest 1 internal transaction
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| - | 14830640 | 1400 days ago | 1.14 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
Interstellar
Compiler Version
v0.8.13+commit.abaa5c0e
Optimization Enabled:
Yes with 20000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
/**
* No Branding Clause:
* The Artwork shall never be used, or authorized for use, as a logo or brand.
* The Artwork shall never be displayed on “branded” material, in any medium now know or hereafter devised,
* including without limitation any merchandise, products, or printed or electronic material, that features
* a trademark, service mark, trade name, tagline, logo, or other indicia identifying a person or entity except
* for Kristen Visbal or State Street Global Advisors or its affiliates.
* Purchase for a financial institution: Your Fearless Girl NFT Image or sculpture may not be used on behalf of
* any financial institution for commercial or corporate purpose. A maximum of 20 of the miniatures may be purchased
* to be used as award for a financial.
* Purchase for political parties, politicians, activists, or activist groups: Your Fearless Girl NFT or sculpture may
* not be used to promote a politician, political party, activist group or used for political purpose.
*/
pragma solidity ^0.8.0;
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/utils/cryptography/MerkleProof.sol';
import './common/libraries/AssemblyMath.sol';
import './common/token/ERC721/ERC721Enumerable.sol';
/// @title Interstellar
contract Interstellar is ERC721Enumerable, Ownable {
using Strings for uint256;
// URIs
string public baseURI =
'ipfs://Qmcs6by4em9FK6Az9bB5ZebDv38HNEJTJE6dVeitjHU3mh/';
// Mint Option 1 Costs
uint256 public optionOneCost = 3.65 ether;
uint256 public optionOneAllowlistCost = 3.25 ether;
// Mint Option 2 Costs
uint256 public optionTwoCost = 1.42 ether;
uint256 public optionTwoAllowlistCost = 1.14 ether;
// Sale State
bool public mintIsActive = true;
// Allowlist Root
bytes32 public allowlistMerkleRoot =
0x6ef44377e05a71a0e02a1b72ae3b41b668ed2498e059ceb91d2505465c1192a6;
// Treasury wallet
address public treasury = 0x889F91b971fc6eFB0d0f1a0a3F8C77e718bbdCcd;
// Supply limits
uint256 public constant SUPPLY_STRICT_UPPER_BOUND = 226;
uint256 public optionOneSupplyLeft = 125;
uint256 public optionTwoSupplyLeft = 100;
/**********************************************************************************************/
/***************************************** EVENTS *********************************************/
/**********************************************************************************************/
/**
* @param allowlist Whether or not cost was associated to the allowlist.
* @param optionOne Whether or not the cost was associated to option one.
* @param cost The mew cost of the mint.
*/
event CostUpdated(bool allowlist, bool optionOne, uint256 cost);
/**
* @param beneficiary The beneficiary of the tokens.
* @param tokenId The token identifier.
* @param optionOne Whether the token is minted for Option One or Option Two.
*/
event Minted(
address indexed beneficiary,
uint256 indexed tokenId,
bool optionOne
);
constructor() ERC721('Fearless Girl: Interstellar Collection', 'INTSTLR') {}
/*************************************************************************/
/****************************** MODIFIERS ********************************/
/*************************************************************************/
/**
* @param msgValue Total amount of ether provided by caller.
* @param numberOfTokens Number of tokens to be minted.
* @param unitCost Cost per single token.
* @dev Reverts if incorrect amount provided.
*/
modifier correctCost(
uint256 msgValue,
uint256 numberOfTokens,
uint256 unitCost
) {
require(
numberOfTokens * unitCost == msgValue,
'Interstellar: Incorrect ether amount provided.'
);
_;
}
/**
* @param tokenId Token identifier.
* @dev Reverts if invalid token ID.
*/
modifier meetsExistence(uint256 tokenId) {
require(_exists(tokenId), 'Interstellar: Nonexistent token.');
_;
}
/**
* @dev Reverts if mint is not active.
*/
modifier mintActive() {
require(mintIsActive, 'Interstellar: Mint is not active.');
_;
}
/**
* @param couponCode Coupon code.
* @param proof Merkle proof.
* @dev Reverts if coupon code is invalid.
*/
modifier validCouponCode(string memory couponCode, bytes32[] calldata proof) {
require(
MerkleProof.verify(
proof,
allowlistMerkleRoot,
keccak256(abi.encodePacked(couponCode))
),
'Interstellar: Invalid coupon code.'
);
_;
}
/**
* @param count Number of tokens to be minted.
* @param optionOne True if option one is to be minted.
* @dev Reverts if insufficient supply.
*/
modifier meetsSupplyConditions(uint256 count, bool optionOne) {
// Ensure meets total supply restrictions.
require(
count + totalSupply() < SUPPLY_STRICT_UPPER_BOUND,
'Interstellar: Supply limit reached.'
);
// Ensure there is enough supply of the proposed option left.
require(
count <= (optionOne ? optionOneSupplyLeft : optionTwoSupplyLeft),
'Interstellar: Insufficient option supply.'
);
_;
}
/*************************************************************************/
/****************************** QUERIES **********************************/
/*************************************************************************/
/**
* @param tokenId Token identifier.
* @return tokenURI uri of the given token ID
*/
function tokenURI(uint256 tokenId)
external
view
override
meetsExistence(tokenId)
returns (string memory)
{
return string(abi.encodePacked(baseURI, Strings.toString(tokenId)));
}
/**
* @param tokenOwner Wallet address
* @return tokenIds list of tokens owned by the given address.
*/
function walletOfOwner(address tokenOwner)
external
view
returns (uint256[] memory)
{
uint256 tokenCount = balanceOf(tokenOwner);
if (tokenCount == 0) return new uint256[](0);
uint256[] memory tokenIds = new uint256[](tokenCount);
for (uint256 i; i < tokenCount; i++) {
tokenIds[i] = tokenOfOwnerByIndex(tokenOwner, i);
}
return tokenIds;
}
/**
* @param account Address checking ownership for.
* @param tokenIds IDs of tokens we are checking ownership over.
* @return isOwnerOf regarding whether or not address owns all listed tokens.
*/
function isOwnerOf(address account, uint256[] calldata tokenIds)
external
view
returns (bool)
{
for (uint256 i; i < tokenIds.length; ++i) {
if (tokenOwners[tokenIds[i]] != account) return false;
}
return true;
}
/*************************************************************************/
/*************************** STATE CHANGERS ******************************/
/*************************************************************************/
/**
* @notice Activates/deactivates the public mint.
* @dev Can only be called by contract owner.
*/
function flipMintState() external onlyOwner {
mintIsActive = !mintIsActive;
}
/**
* @param newAllowlistMerkleRoot The new merkle root of the allowlist.
* @notice Sets the new root of the merkle tree for the allowlist.
* @dev Only contract owner can call this function.
*/
function setAllowlistMerkleRoot(bytes32 newAllowlistMerkleRoot)
external
onlyOwner
{
allowlistMerkleRoot = newAllowlistMerkleRoot;
}
/**
* @param newUri new base uri.
* @notice Sets the value of the base URI.
* @dev Only contract owner can call this function.
*/
function setBaseURI(string memory newUri) external onlyOwner {
baseURI = newUri;
}
/**
* @param cost New collection cost for option one allowlists
* @notice Amount to mint one token
* @dev Only contract owner can call this function.
*/
function setOptionOneAllowlistCost(uint256 cost) external onlyOwner {
optionOneAllowlistCost = cost;
emit CostUpdated(true, true, cost);
}
/**
* @param cost New collection cost for option one
* @notice Amount to mint one token
* @dev Only contract owner can call this function.
*/
function setOptionOneCost(uint256 cost) external onlyOwner {
optionOneCost = cost;
emit CostUpdated(false, true, cost);
}
/**
* @param cost New collection cost for option two allowlists
* @notice Amount to mint one token
* @dev Only contract owner can call this function.
*/
function setOptionTwoAllowlistCost(uint256 cost) external onlyOwner {
optionTwoAllowlistCost = cost;
emit CostUpdated(true, false, cost);
}
/**
* @param cost New collection cost for option two
* @notice Amount to mint one token
* @dev Only contract owner can call this function.
*/
function setOptionTwoCost(uint256 cost) external onlyOwner {
optionTwoCost = cost;
emit CostUpdated(false, false, cost);
}
/**
* @param newTreasury new treasury address.
* @notice Sets the address of the treasury.
* @dev Only contract owner can call this function.
*/
function setTreasuryWallet(address newTreasury) external onlyOwner {
require(
newTreasury != address(0),
'Interstellar: Invalid treasury address.'
);
treasury = newTreasury;
}
/*************************************************************************/
/****************************** MINTING **********************************/
/*************************************************************************/
/**
* @param to Address to mint to.
* @param tokenId ID of token to be minted.
* @dev Internal function for minting.
*/
function _mint(address to, uint256 tokenId) internal virtual override {
tokenOwners.push(to);
emit Transfer(address(0), to, tokenId);
}
/**
* @param count Number of tokens of the option to mint.
* @param optionOne Option one or two.
* @param couponCode Coupon code.
* @param proof Merkle proof of allowlisted status.
* @notice Mint function for allowlist addresses for option one.
*/
function allowlistMint(
uint256 count,
bool optionOne,
string memory couponCode,
bytes32[] calldata proof
)
external
payable
mintActive
validCouponCode(couponCode, proof)
correctCost(
msg.value,
count,
(optionOne ? optionOneAllowlistCost : optionTwoAllowlistCost)
)
meetsSupplyConditions(count, optionOne)
{
internalMint(_msgSender(), count, optionOne);
// Update supply.
if (optionOne) {
optionOneSupplyLeft = optionOneSupplyLeft - count;
} else {
optionTwoSupplyLeft = optionTwoSupplyLeft - count;
}
}
/**
* @param to Address to mint to.
* @param count Number of tokens of the option to mint.
* @param optionOne Option one or two.
*/
function internalMint(
address to,
uint256 count,
bool optionOne
) internal {
// Mint options.
uint256 numTokens = totalSupply();
for (uint256 i = 0; i < count; i++) {
_mint(to, numTokens + i);
emit Minted(to, numTokens + i, optionOne);
}
delete numTokens;
}
/**
* @param count Number of tokens to mint.
* @param optionOne Whether or not to mint option one.
* @notice Mints the given number of tokens.
* @dev Sale must be active.
* @dev Cannot mint more than supply limit.
* @dev Correct cost amount must be supplied.
*/
function publicMint(uint256 count, bool optionOne)
external
payable
mintActive
correctCost(msg.value, count, (optionOne ? optionOneCost : optionTwoCost))
meetsSupplyConditions(count, optionOne)
{
internalMint(_msgSender(), count, optionOne);
// Update supply.
if (optionOne) {
optionOneSupplyLeft = optionOneSupplyLeft - count;
} else {
optionTwoSupplyLeft = optionTwoSupplyLeft - count;
}
}
/*************************************************************************/
/****************************** ADMIN **********************************/
/*************************************************************************/
/**
* @notice Withdraw function for contract ethereum.
*/
function withdraw() external onlyOwner {
payable(treasury).transfer(address(this).balance);
}
/**
* @param amt Array of amounts to mint.
* @param to Associated array of addresses to mint to.
* @param optionOne Whether or not to mint option one.
* @notice Admin minting function.
* @dev Can only be called by contract owner.
*/
function reserve(
uint256[] calldata amt,
address[] calldata to,
bool optionOne
) external onlyOwner {
require(
amt.length == to.length,
'Interstellar: Amount array length does not match recipient array or option length.'
);
uint256 s = totalSupply();
uint256 t = AssemblyMath.arraySumAssembly(amt);
require(
s + t < SUPPLY_STRICT_UPPER_BOUND,
'Interstellar: Cannot mint more than supply limit.'
);
// Ensure there is enough supply of the proposed option left.
require(
t <= (optionOne ? optionOneSupplyLeft : optionTwoSupplyLeft),
'Interstellar: Insufficient option supply.'
);
for (uint256 i = 0; i < to.length; ++i) {
internalMint(to[i], amt[i], optionOne);
}
// Update supply.
if (optionOne) {
optionOneSupplyLeft = optionOneSupplyLeft - t;
} else {
optionTwoSupplyLeft = optionTwoSupplyLeft - t;
}
delete t;
delete s;
}
/*************************************************************************/
/************************ BATCH TRANSFERS ********************************/
/*************************************************************************/
/**
* @param fromAddress Address transferring from.
* @param toAddress Address transferring to.
* @param tokenIds IDs of tokens to be transferred.
* @param data_ Call data argument.
* @notice Safe variant of batch token transfer function
*/
function batchSafeTransferFrom(
address fromAddress,
address toAddress,
uint256[] memory tokenIds,
bytes memory data_
) external {
for (uint256 i = 0; i < tokenIds.length; i++) {
safeTransferFrom(fromAddress, toAddress, tokenIds[i], data_);
}
}
/**
* @param fromAddress Address transferring from.
* @param toAddress Address transferring to.
* @param tokenIds IDs of tokens to be transferred.
* @notice Batch token transfer function
*/
function batchTransferFrom(
address fromAddress,
address toAddress,
uint256[] memory tokenIds
) external {
for (uint256 i = 0; i < tokenIds.length; i++) {
transferFrom(fromAddress, toAddress, tokenIds[i]);
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)
pragma solidity ^0.8.0;
import "../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.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor() {
_transferOwnership(_msgSender());
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
_;
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions anymore. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby removing any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/MerkleProof.sol)
pragma solidity ^0.8.0;
/**
* @dev These functions deal with verification of Merkle Trees proofs.
*
* The proofs can be generated using the JavaScript library
* https://github.com/miguelmota/merkletreejs[merkletreejs].
* Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
*
* See `test/utils/cryptography/MerkleProof.test.js` for some examples.
*/
library MerkleProof {
/**
* @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
* defined by `root`. For this, a `proof` must be provided, containing
* sibling hashes on the branch from the leaf to the root of the tree. Each
* pair of leaves and each pair of pre-images are assumed to be sorted.
*/
function verify(
bytes32[] memory proof,
bytes32 root,
bytes32 leaf
) internal pure returns (bool) {
return processProof(proof, leaf) == root;
}
/**
* @dev Returns the rebuilt hash obtained by traversing a Merklee tree up
* from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
* hash matches the root of the tree. When processing the proof, the pairs
* of leafs & pre-images are assumed to be sorted.
*
* _Available since v4.4._
*/
function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
bytes32 computedHash = leaf;
for (uint256 i = 0; i < proof.length; i++) {
bytes32 proofElement = proof[i];
if (computedHash <= proofElement) {
// Hash(current computed hash + current element of the proof)
computedHash = _efficientHash(computedHash, proofElement);
} else {
// Hash(current element of the proof + current computed hash)
computedHash = _efficientHash(proofElement, computedHash);
}
}
return computedHash;
}
function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
assembly {
mstore(0x00, a)
mstore(0x20, b)
value := keccak256(0x00, 0x40)
}
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
library AssemblyMath {
function arraySumAssembly(uint256[] memory d)
internal
pure
returns (uint256 sum)
{
assembly {
let len := mload(d)
let data := add(d, 0x20)
for {
let end := add(data, mul(len, 0x20))
} lt(data, end) {
data := add(data, 0x20)
} {
sum := add(sum, mload(data))
}
}
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import './ERC721.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol';
/**
* @dev This implements an optional extension of {ERC721} defined in the EIP that adds
* enumerability of all the token ids in the contract as well as all token ids owned by each
* account but rips out the core of the gas-wasting processing that comes from OpenZeppelin.
*/
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId)
public
view
virtual
override(IERC165, ERC721)
returns (bool)
{
return
interfaceId == type(IERC721Enumerable).interfaceId ||
super.supportsInterface(interfaceId);
}
/**
* @dev See {IERC721Enumerable-totalSupply}.
*/
function totalSupply() public view virtual override returns (uint256) {
return tokenOwners.length;
}
/**
* @dev See {IERC721Enumerable-tokenByIndex}.
*/
function tokenByIndex(uint256 index)
public
view
virtual
override
returns (uint256)
{
require(
index < tokenOwners.length,
'ERC721Enumerable: global index out of bounds'
);
return index;
}
/**
* @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
*/
function tokenOfOwnerByIndex(address owner, uint256 index)
public
view
virtual
override
returns (uint256 tokenId)
{
require(
index < balanceOf(owner),
'ERC721Enumerable: owner index out of bounds'
);
uint256 count;
for (uint256 i; i < tokenOwners.length; i++) {
if (owner == tokenOwners[i]) {
if (count == index) return i;
else count++;
}
}
revert('ERC721Enumerable: owner index out of bounds');
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
pragma solidity ^0.8.0;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import '@openzeppelin/contracts/token/ERC721/IERC721.sol';
import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol';
import '@openzeppelin/contracts/utils/Context.sol';
import '@openzeppelin/contracts/utils/Strings.sol';
import '@openzeppelin/contracts/utils/introspection/ERC165.sol';
import '../../libraries/Address.sol';
abstract contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
using Address for address;
using Strings for uint256;
string private _name;
string private _symbol;
// Mapping from token ID to owner address
address[] internal tokenOwners;
mapping(uint256 => address) private _tokenApprovals;
mapping(address => mapping(address => bool)) private _operatorApprovals;
/**
* @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
*/
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
}
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId)
public
view
virtual
override(ERC165, IERC165)
returns (bool)
{
return
interfaceId == type(IERC721).interfaceId ||
interfaceId == type(IERC721Metadata).interfaceId ||
super.supportsInterface(interfaceId);
}
/**
* @dev See {IERC721-balanceOf}.
*/
function balanceOf(address owner)
public
view
virtual
override
returns (uint256)
{
require(owner != address(0), 'ERC721: balance query for the zero address');
uint256 count;
for (uint256 i; i < tokenOwners.length; ++i) {
if (owner == tokenOwners[i]) ++count;
}
return count;
}
/**
* @dev See {IERC721-ownerOf}.
*/
function ownerOf(uint256 tokenId)
public
view
virtual
override
returns (address)
{
address owner = tokenOwners[tokenId];
require(owner != address(0), 'ERC721: owner query for nonexistent token');
return owner;
}
/**
* @dev See {IERC721Metadata-name}.
*/
function name() public view virtual override returns (string memory) {
return _name;
}
/**
* @dev See {IERC721Metadata-symbol}.
*/
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
/**
* @dev See {IERC721-approve}.
*/
function approve(address to, uint256 tokenId) public virtual override {
address owner = ERC721.ownerOf(tokenId);
require(to != owner, 'ERC721: approval to current owner');
require(
_msgSender() == owner || isApprovedForAll(owner, _msgSender()),
'ERC721: approve caller is not owner nor approved for all'
);
_approve(to, tokenId);
}
/**
* @dev See {IERC721-getApproved}.
*/
function getApproved(uint256 tokenId)
public
view
virtual
override
returns (address)
{
require(_exists(tokenId), 'ERC721: approved query for nonexistent token');
return _tokenApprovals[tokenId];
}
/**
* @dev See {IERC721-setApprovalForAll}.
*/
function setApprovalForAll(address operator, bool approved)
public
virtual
override
{
require(operator != _msgSender(), 'ERC721: approve to caller');
_operatorApprovals[_msgSender()][operator] = approved;
emit ApprovalForAll(_msgSender(), operator, approved);
}
/**
* @dev See {IERC721-isApprovedForAll}.
*/
function isApprovedForAll(address owner, address operator)
public
view
virtual
override
returns (bool)
{
return _operatorApprovals[owner][operator];
}
/**
* @dev See {IERC721-transferFrom}.
*/
function transferFrom(
address from,
address to,
uint256 tokenId
) public virtual override {
//solhint-disable-next-line max-line-length
require(
_isApprovedOrOwner(_msgSender(), tokenId),
'ERC721: transfer caller is not owner nor approved'
);
_transfer(from, to, tokenId);
}
/**
* @dev See {IERC721-safeTransferFrom}.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId
) public virtual override {
safeTransferFrom(from, to, tokenId, '');
}
/**
* @dev See {IERC721-safeTransferFrom}.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId,
bytes memory d
) public virtual override {
require(
_isApprovedOrOwner(_msgSender(), tokenId),
'ERC721: transfer caller is not owner nor approved'
);
_safeTransfer(from, to, tokenId, d);
}
/**
* @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.
*
* `_data` is additional data, it has no specified format and it is sent in call to `to`.
*
* This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
* implement alternative mechanisms to perform token transfer, such as signature-based.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function _safeTransfer(
address from,
address to,
uint256 tokenId,
bytes memory _data
) internal virtual {
_transfer(from, to, tokenId);
require(
_checkOnERC721Received(from, to, tokenId, _data),
'ERC721: transfer to non ERC721Receiver implementer'
);
}
/**
* @dev Returns whether `tokenId` exists.
*
* Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
*
* Tokens start existing when they are minted (`_mint`),
* and stop existing when they are burned (`_burn`).
*/
function _exists(uint256 tokenId) internal view virtual returns (bool) {
return tokenId < tokenOwners.length && tokenOwners[tokenId] != address(0);
}
/**
* @dev Returns whether `spender` is allowed to manage `tokenId`.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function _isApprovedOrOwner(address spender, uint256 tokenId)
internal
view
virtual
returns (bool)
{
require(_exists(tokenId), 'ERC721: operator query for nonexistent token');
address owner = ERC721.ownerOf(tokenId);
return (spender == owner ||
getApproved(tokenId) == spender ||
isApprovedForAll(owner, spender));
}
/**
* @dev Safely mints `tokenId` and transfers it to `to`.
*
* Requirements:
*
* - `tokenId` must not exist.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function _safeMint(address to, uint256 tokenId) internal virtual {
_safeMint(to, tokenId, '');
}
/**
* @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
* forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
*/
function _safeMint(
address to,
uint256 tokenId,
bytes memory _data
) internal virtual {
_mint(to, tokenId);
require(
_checkOnERC721Received(address(0), to, tokenId, _data),
'ERC721: transfer to non ERC721Receiver implementer'
);
}
/**
* @dev Mints `tokenId` and transfers it to `to`.
*
* WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
*
* Requirements:
*
* - `tokenId` must not exist.
* - `to` cannot be the zero address.
*
* Emits a {Transfer} event.
*/
function _mint(address to, uint256 tokenId) internal virtual {
require(to != address(0), 'ERC721: mint to the zero address');
require(!_exists(tokenId), 'ERC721: token already minted');
_beforeTokenTransfer(address(0), to, tokenId);
tokenOwners.push(to);
emit Transfer(address(0), to, tokenId);
}
/**
* @dev Destroys `tokenId`.
* The approval is cleared when the token is burned.
*
* Requirements:
*
* - `tokenId` must exist.
*
* Emits a {Transfer} event.
*/
function _burn(uint256 tokenId) internal virtual {
address owner = ERC721.ownerOf(tokenId);
_beforeTokenTransfer(owner, address(0), tokenId);
// Clear approvals
_approve(address(0), tokenId);
tokenOwners[tokenId] = address(0);
emit Transfer(owner, address(0), tokenId);
}
/**
* @dev Transfers `tokenId` from `from` to `to`.
* As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
*
* Emits a {Transfer} event.
*/
function _transfer(
address from,
address to,
uint256 tokenId
) internal virtual {
require(
ERC721.ownerOf(tokenId) == from,
'ERC721: transfer of token that is not own'
);
require(to != address(0), 'ERC721: transfer to the zero address');
_beforeTokenTransfer(from, to, tokenId);
// Clear approvals from the previous owner
_approve(address(0), tokenId);
tokenOwners[tokenId] = to;
emit Transfer(from, to, tokenId);
}
/**
* @dev Approve `to` to operate on `tokenId`
*
* Emits a {Approval} event.
*/
function _approve(address to, uint256 tokenId) internal virtual {
_tokenApprovals[tokenId] = to;
emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
}
/**
* @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
* The call is not executed if the target address is not a contract.
*
* @param from address representing the previous owner of the given token ID
* @param to target address that will receive the tokens
* @param tokenId uint256 ID of the token to be transferred
* @param _data bytes optional data to send along with the call
* @return bool whether the call correctly returned the expected magic value
*/
function _checkOnERC721Received(
address from,
address to,
uint256 tokenId,
bytes memory _data
) private returns (bool) {
if (to.isContract()) {
try
IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data)
returns (bytes4 retval) {
return retval == IERC721Receiver.onERC721Received.selector;
} catch (bytes memory reason) {
if (reason.length == 0) {
revert('ERC721: transfer to non ERC721Receiver implementer');
} else {
assembly {
revert(add(32, reason), mload(reason))
}
}
}
} else {
return true;
}
}
/**
* @dev Hook that is called before any token transfer. This includes minting
* and burning.
*
* 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, ``from``'s `tokenId` will be burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(
address from,
address to,
uint256 tokenId
) internal virtual {}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)
pragma solidity ^0.8.0;
import "../IERC721.sol";
/**
* @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
* @dev See https://eips.ethereum.org/EIPS/eip-721
*/
interface IERC721Enumerable is IERC721 {
/**
* @dev Returns the total amount of tokens stored by the contract.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns a token ID owned by `owner` at a given `index` of its token list.
* Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
*/
function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);
/**
* @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
* Use along with {totalSupply} to enumerate all tokens.
*/
function tokenByIndex(uint256 index) external view returns (uint256);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)
pragma solidity ^0.8.0;
import "../../utils/introspection/IERC165.sol";
/**
* @dev Required interface of an ERC721 compliant contract.
*/
interface IERC721 is IERC165 {
/**
* @dev Emitted when `tokenId` token is transferred from `from` to `to`.
*/
event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
*/
event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
*/
event ApprovalForAll(address indexed owner, address indexed operator, bool approved);
/**
* @dev Returns the number of tokens in ``owner``'s account.
*/
function balanceOf(address owner) external view returns (uint256 balance);
/**
* @dev Returns the owner of the `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function ownerOf(uint256 tokenId) external view returns (address owner);
/**
* @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
* are aware of the ERC721 protocol to prevent tokens from being forever locked.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId
) external;
/**
* @dev Transfers `tokenId` token from `from` to `to`.
*
* WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
*
* Emits a {Transfer} event.
*/
function transferFrom(
address from,
address to,
uint256 tokenId
) external;
/**
* @dev Gives permission to `to` to transfer `tokenId` token to another account.
* The approval is cleared when the token is transferred.
*
* Only a single account can be approved at a time, so approving the zero address clears previous approvals.
*
* Requirements:
*
* - The caller must own the token or be an approved operator.
* - `tokenId` must exist.
*
* Emits an {Approval} event.
*/
function approve(address to, uint256 tokenId) external;
/**
* @dev Returns the account approved for `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function getApproved(uint256 tokenId) external view returns (address operator);
/**
* @dev Approve or remove `operator` as an operator for the caller.
* Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
*
* Requirements:
*
* - The `operator` cannot be the caller.
*
* Emits an {ApprovalForAll} event.
*/
function setApprovalForAll(address operator, bool _approved) external;
/**
* @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
*
* See {setApprovalForAll}
*/
function isApprovedForAll(address owner, address operator) external view returns (bool);
/**
* @dev Safely transfers `tokenId` token from `from` to `to`.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId,
bytes calldata data
) external;
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)
pragma solidity ^0.8.0;
/**
* @title ERC721 token receiver interface
* @dev Interface for any contract that wants to support safeTransfers
* from ERC721 asset contracts.
*/
interface IERC721Receiver {
/**
* @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
* by `operator` from `from`, this function is called.
*
* It must return its Solidity selector to confirm the token transfer.
* If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
*
* The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
*/
function onERC721Received(
address operator,
address from,
uint256 tokenId,
bytes calldata data
) external returns (bytes4);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)
pragma solidity ^0.8.0;
import "../IERC721.sol";
/**
* @title ERC-721 Non-Fungible Token Standard, optional metadata extension
* @dev See https://eips.ethereum.org/EIPS/eip-721
*/
interface IERC721Metadata is IERC721 {
/**
* @dev Returns the token collection name.
*/
function name() external view returns (string memory);
/**
* @dev Returns the token collection symbol.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
*/
function tokenURI(uint256 tokenId) external view returns (string memory);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)
pragma solidity ^0.8.0;
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
/**
* @dev Converts a `uint256` to its ASCII `string` decimal representation.
*/
function toString(uint256 value) internal pure returns (string memory) {
// Inspired by OraclizeAPI's implementation - MIT licence
// https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol
if (value == 0) {
return "0";
}
uint256 temp = value;
uint256 digits;
while (temp != 0) {
digits++;
temp /= 10;
}
bytes memory buffer = new bytes(digits);
while (value != 0) {
digits -= 1;
buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
value /= 10;
}
return string(buffer);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
*/
function toHexString(uint256 value) internal pure returns (string memory) {
if (value == 0) {
return "0x00";
}
uint256 temp = value;
uint256 length = 0;
while (temp != 0) {
length++;
temp >>= 8;
}
return toHexString(value, length);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
*/
function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
bytes memory buffer = new bytes(2 * length + 2);
buffer[0] = "0";
buffer[1] = "x";
for (uint256 i = 2 * length + 1; i > 1; --i) {
buffer[i] = _HEX_SYMBOLS[value & 0xf];
value >>= 4;
}
require(value == 0, "Strings: hex length insufficient");
return string(buffer);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)
pragma solidity ^0.8.0;
import "./IERC165.sol";
/**
* @dev Implementation of the {IERC165} interface.
*
* Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
* for the additional interface id that will be supported. For example:
*
* ```solidity
* function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
* return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
* }
* ```
*
* Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
*/
abstract contract ERC165 is IERC165 {
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
return interfaceId == type(IERC165).interfaceId;
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
library Address {
function isContract(address account) internal view returns (bool) {
uint256 size;
assembly {
size := extcodesize(account)
}
return size > 0;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
*
* Implementers can declare support of contract interfaces, which can then be
* queried by others ({ERC165Checker}).
*
* For an implementation, see {ERC165}.
*/
interface IERC165 {
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
* to learn more about how these ids are created.
*
* This function call must use less than 30 000 gas.
*/
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}{
"optimizer": {
"enabled": true,
"runs": 20000
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"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":false,"internalType":"bool","name":"allowlist","type":"bool"},{"indexed":false,"internalType":"bool","name":"optionOne","type":"bool"},{"indexed":false,"internalType":"uint256","name":"cost","type":"uint256"}],"name":"CostUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"beneficiary","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"bool","name":"optionOne","type":"bool"}],"name":"Minted","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":"SUPPLY_STRICT_UPPER_BOUND","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allowlistMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"},{"internalType":"bool","name":"optionOne","type":"bool"},{"internalType":"string","name":"couponCode","type":"string"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"allowlistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"fromAddress","type":"address"},{"internalType":"address","name":"toAddress","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"bytes","name":"data_","type":"bytes"}],"name":"batchSafeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"fromAddress","type":"address"},{"internalType":"address","name":"toAddress","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"batchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipMintState","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"isOwnerOf","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"optionOneAllowlistCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"optionOneCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"optionOneSupplyLeft","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"optionTwoAllowlistCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"optionTwoCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"optionTwoSupplyLeft","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"uint256","name":"count","type":"uint256"},{"internalType":"bool","name":"optionOne","type":"bool"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"amt","type":"uint256[]"},{"internalType":"address[]","name":"to","type":"address[]"},{"internalType":"bool","name":"optionOne","type":"bool"}],"name":"reserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"d","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"newAllowlistMerkleRoot","type":"bytes32"}],"name":"setAllowlistMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newUri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"cost","type":"uint256"}],"name":"setOptionOneAllowlistCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"cost","type":"uint256"}],"name":"setOptionOneCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"cost","type":"uint256"}],"name":"setOptionTwoAllowlistCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"cost","type":"uint256"}],"name":"setOptionTwoCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newTreasury","type":"address"}],"name":"setTreasuryWallet","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":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenOwner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
60e0604052603660808181529062003d0c60a03980516200002991600691602090910190620001aa565b506732a767a9562d0000600755672d1a51c7e00500006008556713b4da79fd0e0000600955670fd217f5c3f20000600a55600b805460ff191660011790557f6ef44377e05a71a0e02a1b72ae3b41b668ed2498e059ceb91d2505465c1192a6600c55600d80546001600160a01b03191673889f91b971fc6efb0d0f1a0a3f8c77e718bbdccd179055607d600e556064600f55348015620000c857600080fd5b5060405180606001604052806026815260200162003ce6602691396040518060400160405280600781526020016624a72a29aa262960c91b81525081600090805190602001906200011b929190620001aa565b50805162000131906001906020840190620001aa565b5050506200014e620001486200015460201b60201c565b62000158565b6200028c565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001b89062000250565b90600052602060002090601f016020900481019282620001dc576000855562000227565b82601f10620001f757805160ff191683800117855562000227565b8280016001018555821562000227579182015b82811115620002275782518255916020019190600101906200020a565b506200023592915062000239565b5090565b5b808211156200023557600081556001016200023a565b600181811c908216806200026557607f821691505b6020821081036200028657634e487b7160e01b600052602260045260246000fd5b50919050565b613a4a806200029c6000396000f3fe6080604052600436106102fd5760003560e01c806370a4871e1161018f578063a22cb465116100e1578063e29507271161008a578063f3993d1111610064578063f3993d111461085c578063f95df4141461087c578063f97cbd461461089c57600080fd5b8063e2950727146107c6578063e985e9c5146107e6578063f2fde38b1461083c57600080fd5b8063a8602fea116100bb578063a8602fea14610766578063b88d4fde14610786578063c87b56dd146107a657600080fd5b8063a22cb46514610713578063a243d3b614610733578063a73cabf01461074657600080fd5b80637ce87a5b1161014357806395d89b411161011d57806395d89b41146106d257806399e2031e146106e75780639c0af794146106fd57600080fd5b80637ce87a5b1461066757806387487c7b146106875780638da5cb5b146106a757600080fd5b8063723c5f6111610174578063723c5f611461061e5780637a3d60d0146106345780637b28c6961461064757600080fd5b806370a4871e146105f3578063715018a61461060957600080fd5b80634501c0561161025357806359c74f29116101fc5780636352211e116101d65780636352211e1461059e5780636c0360eb146105be57806370a08231146105d357600080fd5b806359c74f291461053c5780635a4fee301461055157806361d027b31461057157600080fd5b80634f6ccce71161022d5780634f6ccce7146104e6578063533a287f1461050657806355f804b31461051c57600080fd5b80634501c05614610497578063471a4294146104ac5780634d44660c146104c657600080fd5b806323b872dd116102b55780633ccfd60b1161028f5780633ccfd60b1461043557806342842e0e1461044a578063438b63001461046a57600080fd5b806323b872dd146103df578063293108e0146103ff5780632f745c591461041557600080fd5b8063081812fc116102e6578063081812fc14610359578063095ea7b31461039e57806318160ddd146103c057600080fd5b806301ffc9a71461030257806306fdde0314610337575b600080fd5b34801561030e57600080fd5b5061032261031d366004613011565b6108b2565b60405190151581526020015b60405180910390f35b34801561034357600080fd5b5061034c61090e565b60405161032e91906130a4565b34801561036557600080fd5b506103796103743660046130b7565b6109a0565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161032e565b3480156103aa57600080fd5b506103be6103b93660046130f9565b610a4b565b005b3480156103cc57600080fd5b506002545b60405190815260200161032e565b3480156103eb57600080fd5b506103be6103fa366004613123565b610ba3565b34801561040b57600080fd5b506103d1600c5481565b34801561042157600080fd5b506103d16104303660046130f9565b610c2a565b34801561044157600080fd5b506103be610d95565b34801561045657600080fd5b506103be610465366004613123565b610e45565b34801561047657600080fd5b5061048a61048536600461315f565b610e60565b60405161032e919061317a565b3480156104a357600080fd5b506103d160e281565b3480156104b857600080fd5b50600b546103229060ff1681565b3480156104d257600080fd5b506103226104e136600461320a565b610f1c565b3480156104f257600080fd5b506103d16105013660046130b7565b610fb8565b34801561051257600080fd5b506103d160075481565b34801561052857600080fd5b506103be610537366004613369565b611036565b34801561054857600080fd5b506103be6110b4565b34801561055d57600080fd5b506103be61056c36600461341e565b61114d565b34801561057d57600080fd5b50600d546103799073ffffffffffffffffffffffffffffffffffffffff1681565b3480156105aa57600080fd5b506103796105b93660046130b7565b611197565b3480156105ca57600080fd5b5061034c611244565b3480156105df57600080fd5b506103d16105ee36600461315f565b6112d2565b3480156105ff57600080fd5b506103d160085481565b34801561061557600080fd5b506103be6113cd565b34801561062a57600080fd5b506103d160095481565b6103be6106423660046134b3565b611440565b34801561065357600080fd5b506103be6106623660046130b7565b61177d565b34801561067357600080fd5b506103be6106823660046130b7565b61182f565b34801561069357600080fd5b506103be6106a2366004613538565b6118d9565b3480156106b357600080fd5b5060055473ffffffffffffffffffffffffffffffffffffffff16610379565b3480156106de57600080fd5b5061034c611bc9565b3480156106f357600080fd5b506103d1600f5481565b34801561070957600080fd5b506103d1600e5481565b34801561071f57600080fd5b506103be61072e3660046135b9565b611bd8565b6103be6107413660046135ec565b611cd4565b34801561075257600080fd5b506103be6107613660046130b7565b611f1a565b34801561077257600080fd5b506103be61078136600461315f565b611fc4565b34801561079257600080fd5b506103be6107a136600461360f565b6120fb565b3480156107b257600080fd5b5061034c6107c13660046130b7565b612189565b3480156107d257600080fd5b506103be6107e13660046130b7565b612215565b3480156107f257600080fd5b5061032261080136600461366b565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260046020908152604080832093909416825291909152205460ff1690565b34801561084857600080fd5b506103be61085736600461315f565b6122c0565b34801561086857600080fd5b506103be610877366004613695565b6123b9565b34801561088857600080fd5b506103be6108973660046130b7565b6123fb565b3480156108a857600080fd5b506103d1600a5481565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f780e9d63000000000000000000000000000000000000000000000000000000001480610908575061090882612467565b92915050565b60606000805461091d906136f3565b80601f0160208091040260200160405190810160405280929190818152602001828054610949906136f3565b80156109965780601f1061096b57610100808354040283529160200191610996565b820191906000526020600020905b81548152906001019060200180831161097957829003601f168201915b5050505050905090565b60006109ab8261254a565b610a225760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b5060009081526003602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b6000610a5682611197565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610af95760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610a19565b3373ffffffffffffffffffffffffffffffffffffffff82161480610b225750610b228133610801565b610b945760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610a19565b610b9e83836125ae565b505050565b610bad338261264e565b610c1f5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610a19565b610b9e83838361278a565b6000610c35836112d2565b8210610ca95760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401610a19565b6000805b600254811015610d265760028181548110610cca57610cca613740565b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff90811690861603610d1457838203610d065791506109089050565b81610d108161379e565b9250505b80610d1e8161379e565b915050610cad565b5060405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401610a19565b60055473ffffffffffffffffffffffffffffffffffffffff163314610dfc5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a19565b600d5460405173ffffffffffffffffffffffffffffffffffffffff909116904780156108fc02916000818181858888f19350505050158015610e42573d6000803e3d6000fd5b50565b610b9e838383604051806020016040528060008152506120fb565b60606000610e6d836112d2565b905080600003610e915760408051600080825260208201909252905b509392505050565b60008167ffffffffffffffff811115610eac57610eac61325d565b604051908082528060200260200182016040528015610ed5578160200160208202803683370190505b50905060005b82811015610e8957610eed8582610c2a565b828281518110610eff57610eff613740565b602090810291909101015280610f148161379e565b915050610edb565b6000805b82811015610fab578473ffffffffffffffffffffffffffffffffffffffff166002858584818110610f5357610f53613740565b9050602002013581548110610f6a57610f6a613740565b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff1614610f9b576000915050610fb1565b610fa48161379e565b9050610f20565b50600190505b9392505050565b60025460009082106110325760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e647300000000000000000000000000000000000000006064820152608401610a19565b5090565b60055473ffffffffffffffffffffffffffffffffffffffff16331461109d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a19565b80516110b0906006906020840190612f53565b5050565b60055473ffffffffffffffffffffffffffffffffffffffff16331461111b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a19565b600b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00811660ff90911615179055565b60005b82518110156111905761117e858585848151811061117057611170613740565b6020026020010151856120fb565b806111888161379e565b915050611150565b5050505050565b600080600283815481106111ad576111ad613740565b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff169050806109085760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610a19565b60068054611251906136f3565b80601f016020809104026020016040519081016040528092919081815260200182805461127d906136f3565b80156112ca5780601f1061129f576101008083540402835291602001916112ca565b820191906000526020600020905b8154815290600101906020018083116112ad57829003601f168201915b505050505081565b600073ffffffffffffffffffffffffffffffffffffffff821661135d5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610a19565b6000805b6002548110156113c6576002818154811061137e5761137e613740565b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff908116908516036113b6576113b38261379e565b91505b6113bf8161379e565b9050611361565b5092915050565b60055473ffffffffffffffffffffffffffffffffffffffff1633146114345760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a19565b61143e6000612959565b565b600b5460ff166114b85760405162461bcd60e51b815260206004820152602160248201527f496e7465727374656c6c61723a204d696e74206973206e6f742061637469766560448201527f2e000000000000000000000000000000000000000000000000000000000000006064820152608401610a19565b82828261152282828080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600c54604051909250611507915087906020016137f2565b604051602081830303815290604052805190602001206129d0565b6115945760405162461bcd60e51b815260206004820152602260248201527f496e7465727374656c6c61723a20496e76616c696420636f75706f6e20636f6460448201527f652e0000000000000000000000000000000000000000000000000000000000006064820152608401610a19565b3488886115a357600a546115a7565b6008545b826115b2828461380e565b146116255760405162461bcd60e51b815260206004820152602e60248201527f496e7465727374656c6c61723a20496e636f727265637420657468657220616d60448201527f6f756e742070726f76696465642e0000000000000000000000000000000000006064820152608401610a19565b8a8a60e261163260025490565b61163c908461384b565b106116af5760405162461bcd60e51b815260206004820152602360248201527f496e7465727374656c6c61723a20537570706c79206c696d697420726561636860448201527f65642e00000000000000000000000000000000000000000000000000000000006064820152608401610a19565b806116bc57600f546116c0565b600e545b8211156117355760405162461bcd60e51b815260206004820152602960248201527f496e7465727374656c6c61723a20496e73756666696369656e74206f7074696f60448201527f6e20737570706c792e00000000000000000000000000000000000000000000006064820152608401610a19565b611740338e8e6129e6565b8b1561175c578c600e546117549190613863565b600e5561176e565b8c600f5461176a9190613863565b600f555b50505050505050505050505050565b60055473ffffffffffffffffffffffffffffffffffffffff1633146117e45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a19565b600a8190556040805160018152600060208201529081018290527fb87a29e1f0734b57d95308af5a136440c194441ac49edd417a1ed26aa78ceda2906060015b60405180910390a150565b60055473ffffffffffffffffffffffffffffffffffffffff1633146118965760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a19565b600881905560408051600180825260208201529081018290527fb87a29e1f0734b57d95308af5a136440c194441ac49edd417a1ed26aa78ceda290606001611824565b60055473ffffffffffffffffffffffffffffffffffffffff1633146119405760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a19565b8382146119db5760405162461bcd60e51b815260206004820152605260248201527f496e7465727374656c6c61723a20416d6f756e74206172726179206c656e677460448201527f6820646f6573206e6f74206d6174636820726563697069656e7420617272617960648201527f206f72206f7074696f6e206c656e6774682e0000000000000000000000000000608482015260a401610a19565b60006119e660025490565b90506000611a26878780806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250612a7f92505050565b905060e2611a34828461384b565b10611aa75760405162461bcd60e51b815260206004820152603160248201527f496e7465727374656c6c61723a2043616e6e6f74206d696e74206d6f7265207460448201527f68616e20737570706c79206c696d69742e0000000000000000000000000000006064820152608401610a19565b82611ab457600f54611ab8565b600e545b811115611b2d5760405162461bcd60e51b815260206004820152602960248201527f496e7465727374656c6c61723a20496e73756666696369656e74206f7074696f60448201527f6e20737570706c792e00000000000000000000000000000000000000000000006064820152608401610a19565b60005b84811015611b9157611b81868683818110611b4d57611b4d613740565b9050602002016020810190611b62919061315f565b898984818110611b7457611b74613740565b90506020020135866129e6565b611b8a8161379e565b9050611b30565b508215611bae5780600e54611ba69190613863565b600e55611bc0565b80600f54611bbc9190613863565b600f555b50505050505050565b60606001805461091d906136f3565b3373ffffffffffffffffffffffffffffffffffffffff831603611c3d5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610a19565b33600081815260046020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600b5460ff16611d4c5760405162461bcd60e51b815260206004820152602160248201527f496e7465727374656c6c61723a204d696e74206973206e6f742061637469766560448201527f2e000000000000000000000000000000000000000000000000000000000000006064820152608401610a19565b348282611d5b57600954611d5f565b6007545b82611d6a828461380e565b14611ddd5760405162461bcd60e51b815260206004820152602e60248201527f496e7465727374656c6c61723a20496e636f727265637420657468657220616d60448201527f6f756e742070726f76696465642e0000000000000000000000000000000000006064820152608401610a19565b848460e2611dea60025490565b611df4908461384b565b10611e675760405162461bcd60e51b815260206004820152602360248201527f496e7465727374656c6c61723a20537570706c79206c696d697420726561636860448201527f65642e00000000000000000000000000000000000000000000000000000000006064820152608401610a19565b80611e7457600f54611e78565b600e545b821115611eed5760405162461bcd60e51b815260206004820152602960248201527f496e7465727374656c6c61723a20496e73756666696369656e74206f7074696f60448201527f6e20737570706c792e00000000000000000000000000000000000000000000006064820152608401610a19565b611ef83388886129e6565b8515611f0c5786600e54611ba69190613863565b86600f54611bbc9190613863565b60055473ffffffffffffffffffffffffffffffffffffffff163314611f815760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a19565b600981905560408051600080825260208201529081018290527fb87a29e1f0734b57d95308af5a136440c194441ac49edd417a1ed26aa78ceda290606001611824565b60055473ffffffffffffffffffffffffffffffffffffffff16331461202b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a19565b73ffffffffffffffffffffffffffffffffffffffff81166120b45760405162461bcd60e51b815260206004820152602760248201527f496e7465727374656c6c61723a20496e76616c6964207472656173757279206160448201527f6464726573732e000000000000000000000000000000000000000000000000006064820152608401610a19565b600d80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b612105338361264e565b6121775760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610a19565b61218384848484612aaf565b50505050565b6060816121958161254a565b6121e15760405162461bcd60e51b815260206004820181905260248201527f496e7465727374656c6c61723a204e6f6e6578697374656e7420746f6b656e2e6044820152606401610a19565b60066121ec84612b38565b6040516020016121fd92919061387a565b60405160208183030381529060405291505b50919050565b60055473ffffffffffffffffffffffffffffffffffffffff16331461227c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a19565b60078190556040805160008152600160208201529081018290527fb87a29e1f0734b57d95308af5a136440c194441ac49edd417a1ed26aa78ceda290606001611824565b60055473ffffffffffffffffffffffffffffffffffffffff1633146123275760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a19565b73ffffffffffffffffffffffffffffffffffffffff81166123b05760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610a19565b610e4281612959565b60005b8151811015612183576123e984848484815181106123dc576123dc613740565b6020026020010151610ba3565b806123f38161379e565b9150506123bc565b60055473ffffffffffffffffffffffffffffffffffffffff1633146124625760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a19565b600c55565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd0000000000000000000000000000000000000000000000000000000014806124fa57507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061090857507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614610908565b600254600090821080156109085750600073ffffffffffffffffffffffffffffffffffffffff166002838154811061258457612584613740565b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16141592915050565b600081815260036020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8416908117909155819061260882611197565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006126598261254a565b6126cb5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610a19565b60006126d683611197565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061274557508373ffffffffffffffffffffffffffffffffffffffff1661272d846109a0565b73ffffffffffffffffffffffffffffffffffffffff16145b80612782575073ffffffffffffffffffffffffffffffffffffffff80821660009081526004602090815260408083209388168352929052205460ff165b949350505050565b8273ffffffffffffffffffffffffffffffffffffffff166127aa82611197565b73ffffffffffffffffffffffffffffffffffffffff16146128335760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610a19565b73ffffffffffffffffffffffffffffffffffffffff82166128bb5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610a19565b6128c66000826125ae565b81600282815481106128da576128da613740565b6000918252602082200180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b6005805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000826129dd8584612c6d565b14949350505050565b60006129f160025490565b905060005b8381101561119057612a1185612a0c838561384b565b612cd9565b612a1b818361384b565b8573ffffffffffffffffffffffffffffffffffffffff167f53ad8893610de0fa6656f026deb942f5cde3d84f4c68f80c8b376f70c1a0f38985604051612a65911515815260200190565b60405180910390a380612a778161379e565b9150506129f6565b60008151602083016020820281015b80821015612aa757815184019350602082019150612a8e565b505050919050565b612aba84848461278a565b612ac684848484612d7a565b6121835760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610a19565b606081600003612b7b57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115612ba55780612b8f8161379e565b9150612b9e9050600a83613986565b9150612b7f565b60008167ffffffffffffffff811115612bc057612bc061325d565b6040519080825280601f01601f191660200182016040528015612bea576020820181803683370190505b5090505b841561278257612bff600183613863565b9150612c0c600a8661399a565b612c1790603061384b565b60f81b818381518110612c2c57612c2c613740565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612c66600a86613986565b9450612bee565b600081815b8451811015610e89576000858281518110612c8f57612c8f613740565b60200260200101519050808311612cb55760008381526020829052604090209250612cc6565b600081815260208490526040902092505b5080612cd18161379e565b915050612c72565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff85169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600073ffffffffffffffffffffffffffffffffffffffff84163b15612f48576040517f150b7a0200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063150b7a0290612df19033908990889088906004016139ae565b6020604051808303816000875af1925050508015612e4a575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201909252612e47918101906139f7565b60015b612efd573d808015612e78576040519150601f19603f3d011682016040523d82523d6000602084013e612e7d565b606091505b508051600003612ef55760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610a19565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050612782565b506001949350505050565b828054612f5f906136f3565b90600052602060002090601f016020900481019282612f815760008555612fc7565b82601f10612f9a57805160ff1916838001178555612fc7565b82800160010185558215612fc7579182015b82811115612fc7578251825591602001919060010190612fac565b506110329291505b808211156110325760008155600101612fcf565b7fffffffff0000000000000000000000000000000000000000000000000000000081168114610e4257600080fd5b60006020828403121561302357600080fd5b8135610fb181612fe3565b60005b83811015613049578181015183820152602001613031565b838111156121835750506000910152565b6000815180845261307281602086016020860161302e565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000610fb1602083018461305a565b6000602082840312156130c957600080fd5b5035919050565b803573ffffffffffffffffffffffffffffffffffffffff811681146130f457600080fd5b919050565b6000806040838503121561310c57600080fd5b613115836130d0565b946020939093013593505050565b60008060006060848603121561313857600080fd5b613141846130d0565b925061314f602085016130d0565b9150604084013590509250925092565b60006020828403121561317157600080fd5b610fb1826130d0565b6020808252825182820181905260009190848201906040850190845b818110156131b257835183529284019291840191600101613196565b50909695505050505050565b60008083601f8401126131d057600080fd5b50813567ffffffffffffffff8111156131e857600080fd5b6020830191508360208260051b850101111561320357600080fd5b9250929050565b60008060006040848603121561321f57600080fd5b613228846130d0565b9250602084013567ffffffffffffffff81111561324457600080fd5b613250868287016131be565b9497909650939450505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff811182821017156132d3576132d361325d565b604052919050565b600082601f8301126132ec57600080fd5b813567ffffffffffffffff8111156133065761330661325d565b61333760207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8401160161328c565b81815284602083860101111561334c57600080fd5b816020850160208301376000918101602001919091529392505050565b60006020828403121561337b57600080fd5b813567ffffffffffffffff81111561339257600080fd5b612782848285016132db565b600082601f8301126133af57600080fd5b8135602067ffffffffffffffff8211156133cb576133cb61325d565b8160051b6133da82820161328c565b92835284810182019282810190878511156133f457600080fd5b83870192505b84831015613413578235825291830191908301906133fa565b979650505050505050565b6000806000806080858703121561343457600080fd5b61343d856130d0565b935061344b602086016130d0565b9250604085013567ffffffffffffffff8082111561346857600080fd5b6134748883890161339e565b9350606087013591508082111561348a57600080fd5b50613497878288016132db565b91505092959194509250565b803580151581146130f457600080fd5b6000806000806000608086880312156134cb57600080fd5b853594506134db602087016134a3565b9350604086013567ffffffffffffffff808211156134f857600080fd5b61350489838a016132db565b9450606088013591508082111561351a57600080fd5b50613527888289016131be565b969995985093965092949392505050565b60008060008060006060868803121561355057600080fd5b853567ffffffffffffffff8082111561356857600080fd5b61357489838a016131be565b9097509550602088013591508082111561358d57600080fd5b5061359a888289016131be565b90945092506135ad9050604087016134a3565b90509295509295909350565b600080604083850312156135cc57600080fd5b6135d5836130d0565b91506135e3602084016134a3565b90509250929050565b600080604083850312156135ff57600080fd5b823591506135e3602084016134a3565b6000806000806080858703121561362557600080fd5b61362e856130d0565b935061363c602086016130d0565b925060408501359150606085013567ffffffffffffffff81111561365f57600080fd5b613497878288016132db565b6000806040838503121561367e57600080fd5b613687836130d0565b91506135e3602084016130d0565b6000806000606084860312156136aa57600080fd5b6136b3846130d0565b92506136c1602085016130d0565b9150604084013567ffffffffffffffff8111156136dd57600080fd5b6136e98682870161339e565b9150509250925092565b600181811c9082168061370757607f821691505b60208210810361220f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036137cf576137cf61376f565b5060010190565b600081516137e881856020860161302e565b9290920192915050565b6000825161380481846020870161302e565b9190910192915050565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156138465761384661376f565b500290565b6000821982111561385e5761385e61376f565b500190565b6000828210156138755761387561376f565b500390565b600080845481600182811c91508083168061389657607f831692505b602080841082036138ce577f4e487b710000000000000000000000000000000000000000000000000000000086526022600452602486fd5b8180156138e257600181146139115761393e565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0086168952848901965061393e565b60008b81526020902060005b868110156139365781548b82015290850190830161391d565b505084890196505b50505050505061394e81856137d6565b95945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60008261399557613995613957565b500490565b6000826139a9576139a9613957565b500690565b600073ffffffffffffffffffffffffffffffffffffffff8087168352808616602084015250836040830152608060608301526139ed608083018461305a565b9695505050505050565b600060208284031215613a0957600080fd5b8151610fb181612fe356fea26469706673582212207e57057692f76dc6afa0b53e48a6ca5da6b4ded9fb355188dc71ed9a8dd9182364736f6c634300080d0033466561726c657373204769726c3a20496e7465727374656c6c617220436f6c6c656374696f6e697066733a2f2f516d637336627934656d39464b36417a396242355a656244763338484e454a544a453664566569746a4855336d682f
Deployed Bytecode
0x6080604052600436106102fd5760003560e01c806370a4871e1161018f578063a22cb465116100e1578063e29507271161008a578063f3993d1111610064578063f3993d111461085c578063f95df4141461087c578063f97cbd461461089c57600080fd5b8063e2950727146107c6578063e985e9c5146107e6578063f2fde38b1461083c57600080fd5b8063a8602fea116100bb578063a8602fea14610766578063b88d4fde14610786578063c87b56dd146107a657600080fd5b8063a22cb46514610713578063a243d3b614610733578063a73cabf01461074657600080fd5b80637ce87a5b1161014357806395d89b411161011d57806395d89b41146106d257806399e2031e146106e75780639c0af794146106fd57600080fd5b80637ce87a5b1461066757806387487c7b146106875780638da5cb5b146106a757600080fd5b8063723c5f6111610174578063723c5f611461061e5780637a3d60d0146106345780637b28c6961461064757600080fd5b806370a4871e146105f3578063715018a61461060957600080fd5b80634501c0561161025357806359c74f29116101fc5780636352211e116101d65780636352211e1461059e5780636c0360eb146105be57806370a08231146105d357600080fd5b806359c74f291461053c5780635a4fee301461055157806361d027b31461057157600080fd5b80634f6ccce71161022d5780634f6ccce7146104e6578063533a287f1461050657806355f804b31461051c57600080fd5b80634501c05614610497578063471a4294146104ac5780634d44660c146104c657600080fd5b806323b872dd116102b55780633ccfd60b1161028f5780633ccfd60b1461043557806342842e0e1461044a578063438b63001461046a57600080fd5b806323b872dd146103df578063293108e0146103ff5780632f745c591461041557600080fd5b8063081812fc116102e6578063081812fc14610359578063095ea7b31461039e57806318160ddd146103c057600080fd5b806301ffc9a71461030257806306fdde0314610337575b600080fd5b34801561030e57600080fd5b5061032261031d366004613011565b6108b2565b60405190151581526020015b60405180910390f35b34801561034357600080fd5b5061034c61090e565b60405161032e91906130a4565b34801561036557600080fd5b506103796103743660046130b7565b6109a0565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161032e565b3480156103aa57600080fd5b506103be6103b93660046130f9565b610a4b565b005b3480156103cc57600080fd5b506002545b60405190815260200161032e565b3480156103eb57600080fd5b506103be6103fa366004613123565b610ba3565b34801561040b57600080fd5b506103d1600c5481565b34801561042157600080fd5b506103d16104303660046130f9565b610c2a565b34801561044157600080fd5b506103be610d95565b34801561045657600080fd5b506103be610465366004613123565b610e45565b34801561047657600080fd5b5061048a61048536600461315f565b610e60565b60405161032e919061317a565b3480156104a357600080fd5b506103d160e281565b3480156104b857600080fd5b50600b546103229060ff1681565b3480156104d257600080fd5b506103226104e136600461320a565b610f1c565b3480156104f257600080fd5b506103d16105013660046130b7565b610fb8565b34801561051257600080fd5b506103d160075481565b34801561052857600080fd5b506103be610537366004613369565b611036565b34801561054857600080fd5b506103be6110b4565b34801561055d57600080fd5b506103be61056c36600461341e565b61114d565b34801561057d57600080fd5b50600d546103799073ffffffffffffffffffffffffffffffffffffffff1681565b3480156105aa57600080fd5b506103796105b93660046130b7565b611197565b3480156105ca57600080fd5b5061034c611244565b3480156105df57600080fd5b506103d16105ee36600461315f565b6112d2565b3480156105ff57600080fd5b506103d160085481565b34801561061557600080fd5b506103be6113cd565b34801561062a57600080fd5b506103d160095481565b6103be6106423660046134b3565b611440565b34801561065357600080fd5b506103be6106623660046130b7565b61177d565b34801561067357600080fd5b506103be6106823660046130b7565b61182f565b34801561069357600080fd5b506103be6106a2366004613538565b6118d9565b3480156106b357600080fd5b5060055473ffffffffffffffffffffffffffffffffffffffff16610379565b3480156106de57600080fd5b5061034c611bc9565b3480156106f357600080fd5b506103d1600f5481565b34801561070957600080fd5b506103d1600e5481565b34801561071f57600080fd5b506103be61072e3660046135b9565b611bd8565b6103be6107413660046135ec565b611cd4565b34801561075257600080fd5b506103be6107613660046130b7565b611f1a565b34801561077257600080fd5b506103be61078136600461315f565b611fc4565b34801561079257600080fd5b506103be6107a136600461360f565b6120fb565b3480156107b257600080fd5b5061034c6107c13660046130b7565b612189565b3480156107d257600080fd5b506103be6107e13660046130b7565b612215565b3480156107f257600080fd5b5061032261080136600461366b565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260046020908152604080832093909416825291909152205460ff1690565b34801561084857600080fd5b506103be61085736600461315f565b6122c0565b34801561086857600080fd5b506103be610877366004613695565b6123b9565b34801561088857600080fd5b506103be6108973660046130b7565b6123fb565b3480156108a857600080fd5b506103d1600a5481565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f780e9d63000000000000000000000000000000000000000000000000000000001480610908575061090882612467565b92915050565b60606000805461091d906136f3565b80601f0160208091040260200160405190810160405280929190818152602001828054610949906136f3565b80156109965780601f1061096b57610100808354040283529160200191610996565b820191906000526020600020905b81548152906001019060200180831161097957829003601f168201915b5050505050905090565b60006109ab8261254a565b610a225760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b5060009081526003602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b6000610a5682611197565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610af95760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610a19565b3373ffffffffffffffffffffffffffffffffffffffff82161480610b225750610b228133610801565b610b945760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610a19565b610b9e83836125ae565b505050565b610bad338261264e565b610c1f5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610a19565b610b9e83838361278a565b6000610c35836112d2565b8210610ca95760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401610a19565b6000805b600254811015610d265760028181548110610cca57610cca613740565b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff90811690861603610d1457838203610d065791506109089050565b81610d108161379e565b9250505b80610d1e8161379e565b915050610cad565b5060405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401610a19565b60055473ffffffffffffffffffffffffffffffffffffffff163314610dfc5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a19565b600d5460405173ffffffffffffffffffffffffffffffffffffffff909116904780156108fc02916000818181858888f19350505050158015610e42573d6000803e3d6000fd5b50565b610b9e838383604051806020016040528060008152506120fb565b60606000610e6d836112d2565b905080600003610e915760408051600080825260208201909252905b509392505050565b60008167ffffffffffffffff811115610eac57610eac61325d565b604051908082528060200260200182016040528015610ed5578160200160208202803683370190505b50905060005b82811015610e8957610eed8582610c2a565b828281518110610eff57610eff613740565b602090810291909101015280610f148161379e565b915050610edb565b6000805b82811015610fab578473ffffffffffffffffffffffffffffffffffffffff166002858584818110610f5357610f53613740565b9050602002013581548110610f6a57610f6a613740565b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff1614610f9b576000915050610fb1565b610fa48161379e565b9050610f20565b50600190505b9392505050565b60025460009082106110325760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e647300000000000000000000000000000000000000006064820152608401610a19565b5090565b60055473ffffffffffffffffffffffffffffffffffffffff16331461109d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a19565b80516110b0906006906020840190612f53565b5050565b60055473ffffffffffffffffffffffffffffffffffffffff16331461111b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a19565b600b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00811660ff90911615179055565b60005b82518110156111905761117e858585848151811061117057611170613740565b6020026020010151856120fb565b806111888161379e565b915050611150565b5050505050565b600080600283815481106111ad576111ad613740565b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff169050806109085760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610a19565b60068054611251906136f3565b80601f016020809104026020016040519081016040528092919081815260200182805461127d906136f3565b80156112ca5780601f1061129f576101008083540402835291602001916112ca565b820191906000526020600020905b8154815290600101906020018083116112ad57829003601f168201915b505050505081565b600073ffffffffffffffffffffffffffffffffffffffff821661135d5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610a19565b6000805b6002548110156113c6576002818154811061137e5761137e613740565b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff908116908516036113b6576113b38261379e565b91505b6113bf8161379e565b9050611361565b5092915050565b60055473ffffffffffffffffffffffffffffffffffffffff1633146114345760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a19565b61143e6000612959565b565b600b5460ff166114b85760405162461bcd60e51b815260206004820152602160248201527f496e7465727374656c6c61723a204d696e74206973206e6f742061637469766560448201527f2e000000000000000000000000000000000000000000000000000000000000006064820152608401610a19565b82828261152282828080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600c54604051909250611507915087906020016137f2565b604051602081830303815290604052805190602001206129d0565b6115945760405162461bcd60e51b815260206004820152602260248201527f496e7465727374656c6c61723a20496e76616c696420636f75706f6e20636f6460448201527f652e0000000000000000000000000000000000000000000000000000000000006064820152608401610a19565b3488886115a357600a546115a7565b6008545b826115b2828461380e565b146116255760405162461bcd60e51b815260206004820152602e60248201527f496e7465727374656c6c61723a20496e636f727265637420657468657220616d60448201527f6f756e742070726f76696465642e0000000000000000000000000000000000006064820152608401610a19565b8a8a60e261163260025490565b61163c908461384b565b106116af5760405162461bcd60e51b815260206004820152602360248201527f496e7465727374656c6c61723a20537570706c79206c696d697420726561636860448201527f65642e00000000000000000000000000000000000000000000000000000000006064820152608401610a19565b806116bc57600f546116c0565b600e545b8211156117355760405162461bcd60e51b815260206004820152602960248201527f496e7465727374656c6c61723a20496e73756666696369656e74206f7074696f60448201527f6e20737570706c792e00000000000000000000000000000000000000000000006064820152608401610a19565b611740338e8e6129e6565b8b1561175c578c600e546117549190613863565b600e5561176e565b8c600f5461176a9190613863565b600f555b50505050505050505050505050565b60055473ffffffffffffffffffffffffffffffffffffffff1633146117e45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a19565b600a8190556040805160018152600060208201529081018290527fb87a29e1f0734b57d95308af5a136440c194441ac49edd417a1ed26aa78ceda2906060015b60405180910390a150565b60055473ffffffffffffffffffffffffffffffffffffffff1633146118965760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a19565b600881905560408051600180825260208201529081018290527fb87a29e1f0734b57d95308af5a136440c194441ac49edd417a1ed26aa78ceda290606001611824565b60055473ffffffffffffffffffffffffffffffffffffffff1633146119405760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a19565b8382146119db5760405162461bcd60e51b815260206004820152605260248201527f496e7465727374656c6c61723a20416d6f756e74206172726179206c656e677460448201527f6820646f6573206e6f74206d6174636820726563697069656e7420617272617960648201527f206f72206f7074696f6e206c656e6774682e0000000000000000000000000000608482015260a401610a19565b60006119e660025490565b90506000611a26878780806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250612a7f92505050565b905060e2611a34828461384b565b10611aa75760405162461bcd60e51b815260206004820152603160248201527f496e7465727374656c6c61723a2043616e6e6f74206d696e74206d6f7265207460448201527f68616e20737570706c79206c696d69742e0000000000000000000000000000006064820152608401610a19565b82611ab457600f54611ab8565b600e545b811115611b2d5760405162461bcd60e51b815260206004820152602960248201527f496e7465727374656c6c61723a20496e73756666696369656e74206f7074696f60448201527f6e20737570706c792e00000000000000000000000000000000000000000000006064820152608401610a19565b60005b84811015611b9157611b81868683818110611b4d57611b4d613740565b9050602002016020810190611b62919061315f565b898984818110611b7457611b74613740565b90506020020135866129e6565b611b8a8161379e565b9050611b30565b508215611bae5780600e54611ba69190613863565b600e55611bc0565b80600f54611bbc9190613863565b600f555b50505050505050565b60606001805461091d906136f3565b3373ffffffffffffffffffffffffffffffffffffffff831603611c3d5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610a19565b33600081815260046020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600b5460ff16611d4c5760405162461bcd60e51b815260206004820152602160248201527f496e7465727374656c6c61723a204d696e74206973206e6f742061637469766560448201527f2e000000000000000000000000000000000000000000000000000000000000006064820152608401610a19565b348282611d5b57600954611d5f565b6007545b82611d6a828461380e565b14611ddd5760405162461bcd60e51b815260206004820152602e60248201527f496e7465727374656c6c61723a20496e636f727265637420657468657220616d60448201527f6f756e742070726f76696465642e0000000000000000000000000000000000006064820152608401610a19565b848460e2611dea60025490565b611df4908461384b565b10611e675760405162461bcd60e51b815260206004820152602360248201527f496e7465727374656c6c61723a20537570706c79206c696d697420726561636860448201527f65642e00000000000000000000000000000000000000000000000000000000006064820152608401610a19565b80611e7457600f54611e78565b600e545b821115611eed5760405162461bcd60e51b815260206004820152602960248201527f496e7465727374656c6c61723a20496e73756666696369656e74206f7074696f60448201527f6e20737570706c792e00000000000000000000000000000000000000000000006064820152608401610a19565b611ef83388886129e6565b8515611f0c5786600e54611ba69190613863565b86600f54611bbc9190613863565b60055473ffffffffffffffffffffffffffffffffffffffff163314611f815760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a19565b600981905560408051600080825260208201529081018290527fb87a29e1f0734b57d95308af5a136440c194441ac49edd417a1ed26aa78ceda290606001611824565b60055473ffffffffffffffffffffffffffffffffffffffff16331461202b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a19565b73ffffffffffffffffffffffffffffffffffffffff81166120b45760405162461bcd60e51b815260206004820152602760248201527f496e7465727374656c6c61723a20496e76616c6964207472656173757279206160448201527f6464726573732e000000000000000000000000000000000000000000000000006064820152608401610a19565b600d80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b612105338361264e565b6121775760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610a19565b61218384848484612aaf565b50505050565b6060816121958161254a565b6121e15760405162461bcd60e51b815260206004820181905260248201527f496e7465727374656c6c61723a204e6f6e6578697374656e7420746f6b656e2e6044820152606401610a19565b60066121ec84612b38565b6040516020016121fd92919061387a565b60405160208183030381529060405291505b50919050565b60055473ffffffffffffffffffffffffffffffffffffffff16331461227c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a19565b60078190556040805160008152600160208201529081018290527fb87a29e1f0734b57d95308af5a136440c194441ac49edd417a1ed26aa78ceda290606001611824565b60055473ffffffffffffffffffffffffffffffffffffffff1633146123275760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a19565b73ffffffffffffffffffffffffffffffffffffffff81166123b05760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610a19565b610e4281612959565b60005b8151811015612183576123e984848484815181106123dc576123dc613740565b6020026020010151610ba3565b806123f38161379e565b9150506123bc565b60055473ffffffffffffffffffffffffffffffffffffffff1633146124625760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a19565b600c55565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd0000000000000000000000000000000000000000000000000000000014806124fa57507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061090857507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614610908565b600254600090821080156109085750600073ffffffffffffffffffffffffffffffffffffffff166002838154811061258457612584613740565b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16141592915050565b600081815260036020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8416908117909155819061260882611197565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006126598261254a565b6126cb5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610a19565b60006126d683611197565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061274557508373ffffffffffffffffffffffffffffffffffffffff1661272d846109a0565b73ffffffffffffffffffffffffffffffffffffffff16145b80612782575073ffffffffffffffffffffffffffffffffffffffff80821660009081526004602090815260408083209388168352929052205460ff165b949350505050565b8273ffffffffffffffffffffffffffffffffffffffff166127aa82611197565b73ffffffffffffffffffffffffffffffffffffffff16146128335760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610a19565b73ffffffffffffffffffffffffffffffffffffffff82166128bb5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610a19565b6128c66000826125ae565b81600282815481106128da576128da613740565b6000918252602082200180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b6005805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000826129dd8584612c6d565b14949350505050565b60006129f160025490565b905060005b8381101561119057612a1185612a0c838561384b565b612cd9565b612a1b818361384b565b8573ffffffffffffffffffffffffffffffffffffffff167f53ad8893610de0fa6656f026deb942f5cde3d84f4c68f80c8b376f70c1a0f38985604051612a65911515815260200190565b60405180910390a380612a778161379e565b9150506129f6565b60008151602083016020820281015b80821015612aa757815184019350602082019150612a8e565b505050919050565b612aba84848461278a565b612ac684848484612d7a565b6121835760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610a19565b606081600003612b7b57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115612ba55780612b8f8161379e565b9150612b9e9050600a83613986565b9150612b7f565b60008167ffffffffffffffff811115612bc057612bc061325d565b6040519080825280601f01601f191660200182016040528015612bea576020820181803683370190505b5090505b841561278257612bff600183613863565b9150612c0c600a8661399a565b612c1790603061384b565b60f81b818381518110612c2c57612c2c613740565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612c66600a86613986565b9450612bee565b600081815b8451811015610e89576000858281518110612c8f57612c8f613740565b60200260200101519050808311612cb55760008381526020829052604090209250612cc6565b600081815260208490526040902092505b5080612cd18161379e565b915050612c72565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff85169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600073ffffffffffffffffffffffffffffffffffffffff84163b15612f48576040517f150b7a0200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063150b7a0290612df19033908990889088906004016139ae565b6020604051808303816000875af1925050508015612e4a575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201909252612e47918101906139f7565b60015b612efd573d808015612e78576040519150601f19603f3d011682016040523d82523d6000602084013e612e7d565b606091505b508051600003612ef55760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610a19565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050612782565b506001949350505050565b828054612f5f906136f3565b90600052602060002090601f016020900481019282612f815760008555612fc7565b82601f10612f9a57805160ff1916838001178555612fc7565b82800160010185558215612fc7579182015b82811115612fc7578251825591602001919060010190612fac565b506110329291505b808211156110325760008155600101612fcf565b7fffffffff0000000000000000000000000000000000000000000000000000000081168114610e4257600080fd5b60006020828403121561302357600080fd5b8135610fb181612fe3565b60005b83811015613049578181015183820152602001613031565b838111156121835750506000910152565b6000815180845261307281602086016020860161302e565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000610fb1602083018461305a565b6000602082840312156130c957600080fd5b5035919050565b803573ffffffffffffffffffffffffffffffffffffffff811681146130f457600080fd5b919050565b6000806040838503121561310c57600080fd5b613115836130d0565b946020939093013593505050565b60008060006060848603121561313857600080fd5b613141846130d0565b925061314f602085016130d0565b9150604084013590509250925092565b60006020828403121561317157600080fd5b610fb1826130d0565b6020808252825182820181905260009190848201906040850190845b818110156131b257835183529284019291840191600101613196565b50909695505050505050565b60008083601f8401126131d057600080fd5b50813567ffffffffffffffff8111156131e857600080fd5b6020830191508360208260051b850101111561320357600080fd5b9250929050565b60008060006040848603121561321f57600080fd5b613228846130d0565b9250602084013567ffffffffffffffff81111561324457600080fd5b613250868287016131be565b9497909650939450505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff811182821017156132d3576132d361325d565b604052919050565b600082601f8301126132ec57600080fd5b813567ffffffffffffffff8111156133065761330661325d565b61333760207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8401160161328c565b81815284602083860101111561334c57600080fd5b816020850160208301376000918101602001919091529392505050565b60006020828403121561337b57600080fd5b813567ffffffffffffffff81111561339257600080fd5b612782848285016132db565b600082601f8301126133af57600080fd5b8135602067ffffffffffffffff8211156133cb576133cb61325d565b8160051b6133da82820161328c565b92835284810182019282810190878511156133f457600080fd5b83870192505b84831015613413578235825291830191908301906133fa565b979650505050505050565b6000806000806080858703121561343457600080fd5b61343d856130d0565b935061344b602086016130d0565b9250604085013567ffffffffffffffff8082111561346857600080fd5b6134748883890161339e565b9350606087013591508082111561348a57600080fd5b50613497878288016132db565b91505092959194509250565b803580151581146130f457600080fd5b6000806000806000608086880312156134cb57600080fd5b853594506134db602087016134a3565b9350604086013567ffffffffffffffff808211156134f857600080fd5b61350489838a016132db565b9450606088013591508082111561351a57600080fd5b50613527888289016131be565b969995985093965092949392505050565b60008060008060006060868803121561355057600080fd5b853567ffffffffffffffff8082111561356857600080fd5b61357489838a016131be565b9097509550602088013591508082111561358d57600080fd5b5061359a888289016131be565b90945092506135ad9050604087016134a3565b90509295509295909350565b600080604083850312156135cc57600080fd5b6135d5836130d0565b91506135e3602084016134a3565b90509250929050565b600080604083850312156135ff57600080fd5b823591506135e3602084016134a3565b6000806000806080858703121561362557600080fd5b61362e856130d0565b935061363c602086016130d0565b925060408501359150606085013567ffffffffffffffff81111561365f57600080fd5b613497878288016132db565b6000806040838503121561367e57600080fd5b613687836130d0565b91506135e3602084016130d0565b6000806000606084860312156136aa57600080fd5b6136b3846130d0565b92506136c1602085016130d0565b9150604084013567ffffffffffffffff8111156136dd57600080fd5b6136e98682870161339e565b9150509250925092565b600181811c9082168061370757607f821691505b60208210810361220f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036137cf576137cf61376f565b5060010190565b600081516137e881856020860161302e565b9290920192915050565b6000825161380481846020870161302e565b9190910192915050565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156138465761384661376f565b500290565b6000821982111561385e5761385e61376f565b500190565b6000828210156138755761387561376f565b500390565b600080845481600182811c91508083168061389657607f831692505b602080841082036138ce577f4e487b710000000000000000000000000000000000000000000000000000000086526022600452602486fd5b8180156138e257600181146139115761393e565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0086168952848901965061393e565b60008b81526020902060005b868110156139365781548b82015290850190830161391d565b505084890196505b50505050505061394e81856137d6565b95945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60008261399557613995613957565b500490565b6000826139a9576139a9613957565b500690565b600073ffffffffffffffffffffffffffffffffffffffff8087168352808616602084015250836040830152608060608301526139ed608083018461305a565b9695505050505050565b600060208284031215613a0957600080fd5b8151610fb181612fe356fea26469706673582212207e57057692f76dc6afa0b53e48a6ca5da6b4ded9fb355188dc71ed9a8dd9182364736f6c634300080d0033
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.