Source Code
More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 123 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Set Approval For... | 21339889 | 373 days ago | IN | 0 ETH | 0.00086878 | ||||
| Set Approval For... | 20307251 | 518 days ago | IN | 0 ETH | 0.0001106 | ||||
| Transfer Ownersh... | 19577285 | 620 days ago | IN | 0 ETH | 0.00115577 | ||||
| Mint To Team Mem... | 19290815 | 660 days ago | IN | 0 ETH | 0.00392061 | ||||
| Mint To Team Mem... | 19290806 | 660 days ago | IN | 0 ETH | 0.00398976 | ||||
| Mint To Team Mem... | 19290803 | 660 days ago | IN | 0 ETH | 0.00356487 | ||||
| Mint To Team Mem... | 19290798 | 660 days ago | IN | 0 ETH | 0.00404486 | ||||
| Mint To Team Mem... | 18807661 | 728 days ago | IN | 0 ETH | 0.00316387 | ||||
| Mint To Team Mem... | 18807658 | 728 days ago | IN | 0 ETH | 0.0032708 | ||||
| Mint To Team Mem... | 18586301 | 759 days ago | IN | 0 ETH | 0.00362756 | ||||
| Mint To Team Mem... | 18442735 | 779 days ago | IN | 0 ETH | 0.00199844 | ||||
| Safe Transfer Fr... | 18420869 | 782 days ago | IN | 0 ETH | 0.00151672 | ||||
| Mint To Team Mem... | 17900942 | 855 days ago | IN | 0 ETH | 0.00114744 | ||||
| Safe Transfer Fr... | 17630000 | 893 days ago | IN | 0 ETH | 0.00270824 | ||||
| Set Public Mint ... | 17599913 | 897 days ago | IN | 0 ETH | 0.00058311 | ||||
| Mint To Team Mem... | 17599893 | 897 days ago | IN | 0 ETH | 0.00232261 | ||||
| Mint To Team Mem... | 17599888 | 897 days ago | IN | 0 ETH | 0.00260861 | ||||
| Mint To Team Mem... | 17599855 | 897 days ago | IN | 0 ETH | 0.00194426 | ||||
| Set Paused | 17594143 | 898 days ago | IN | 0 ETH | 0.00070839 | ||||
| Set Paused | 17594134 | 898 days ago | IN | 0 ETH | 0.00084829 | ||||
| Withdraw | 17495801 | 911 days ago | IN | 0 ETH | 0.0012501 | ||||
| Set Paused | 17339016 | 934 days ago | IN | 0 ETH | 0.00098598 | ||||
| Set Cost | 17239304 | 948 days ago | IN | 0 ETH | 0.00306291 | ||||
| Mint To Team Mem... | 17139191 | 962 days ago | IN | 0 ETH | 0.00349654 | ||||
| Set Approval For... | 17090961 | 968 days ago | IN | 0 ETH | 0.00212066 |
Latest 8 internal transactions
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| Transfer* | 17495801 | 911 days ago | 0.336 ETH | ||||
| Transfer* | 17495801 | 911 days ago | 0.168 ETH | ||||
| Transfer* | 17495801 | 911 days ago | 0.588 ETH | ||||
| Transfer* | 17495801 | 911 days ago | 0.588 ETH | ||||
| Transfer* | 16184060 | 1096 days ago | 2.6778 ETH | ||||
| Transfer* | 16184060 | 1096 days ago | 1.3389 ETH | ||||
| Transfer* | 16184060 | 1096 days ago | 4.68615 ETH | ||||
| Transfer* | 16184060 | 1096 days ago | 4.68615 ETH |
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
TheX
Compiler Version
v0.8.16+commit.07a7930e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
// ████████╗██╗░░██╗███████╗ ██╗░░██╗
// ╚══██╔══╝██║░░██║██╔════╝ ╚██╗██╔╝
// ░░░██║░░░███████║█████╗░░ ░╚███╔╝░
// ░░░██║░░░██╔══██║██╔══╝░░ ░██╔██╗░
// ░░░██║░░░██║░░██║███████╗ ██╔╝╚██╗
// ░░░╚═╝░░░╚═╝░░╚═╝╚══════╝ ╚═╝░░╚═╝
// Powered by: https://nalikes.com
contract TheX is ERC721A, Ownable, ReentrancyGuard {
using Strings for uint256;
string public uriPrefix = "";
string public uriSuffix = ".json";
string public hiddenMetadataUri;
string public LC_hiddenMetadataUri;
uint256 public cost;
uint256 public finalMaxSupply;
uint256 public currentMaxSupply;
uint256 public maxMintAmountPerTx;
uint256 public remainingTeamMints = 95;
bool public publicMintEnabled = false;
bool public paused = true;
bool public revealed = false;
address public daoWallet;
constructor(
string memory _tokenName,
string memory _tokenSymbol,
string memory _hiddenMetadataUri,
string memory _LC_hiddenMetadataUri,
uint256 _cost,
uint256 _maxSupply,
uint256 _currentMaxSupply,
uint256 _maxMintAmountPerTx
) ERC721A(_tokenName, _tokenSymbol) {
setCost(_cost);
finalMaxSupply = _maxSupply;
setCurrentMaxSupply(_currentMaxSupply);
setMaxMintAmountPerTx(_maxMintAmountPerTx);
setHiddenMetadataUri(_hiddenMetadataUri);
setLCHiddenMetadataUri(_LC_hiddenMetadataUri);
}
//***************************************************************************
// MODIFIERS
//***************************************************************************
/// @dev Ensure the user cannot mint more than the max amount per tx, as well as the current max supply.
modifier mintCompliance(uint256 _mintAmount) {
require(_mintAmount > 0 && _mintAmount <= maxMintAmountPerTx, "Invalid mint amount!");
require(totalSupply() + _mintAmount <= currentMaxSupply, "Max supply exceeded!");
_;
}
/// @dev Confirm that the user has sent the appropriate amount of ether.
modifier mintPriceCompliance(uint256 _mintAmount) {
require(msg.value >= cost * _mintAmount, "Insufficient funds!");
_;
}
/// @dev Users cannot mint if contract is paused
modifier notPaused() {
require(!paused, "The contract is paused!");
_;
}
//***************************************************************************
// MINT FUNCTIONS
//***************************************************************************
function mint(uint256 _mintAmount) public payable notPaused mintCompliance(_mintAmount) mintPriceCompliance(_mintAmount) {
require(publicMintEnabled, "Public sale is not active.");
require(totalSupply() + _mintAmount <= currentMaxSupply - remainingTeamMints, "Max supply exceeded!");
_safeMint(_msgSender(), _mintAmount);
}
function mintForAddress(uint256 _mintAmount, address _receiver) public notPaused mintCompliance(_mintAmount) onlyOwner {
_safeMint(_receiver, _mintAmount);
}
function mintToTeamMember(uint256 _mintAmount, address _receiver) public notPaused mintCompliance(_mintAmount) onlyOwner {
require(_mintAmount <= remainingTeamMints, "Exceeds reserved NFTs supply" );
remainingTeamMints -= _mintAmount;
_safeMint(_receiver, _mintAmount);
}
//***************************************************************************
// VIEW FUNCTIONS
//***************************************************************************
function contractBalance() public view returns (uint256) {
return address(this).balance;
}
function _startTokenId() internal view virtual override returns (uint256) {
return 1;
}
function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) {
require(_exists(_tokenId), "URI query for nonexistent token");
if (revealed == false) {
if (_tokenId > 0 && _tokenId <= 10) {
return LC_hiddenMetadataUri;
}
else {
return hiddenMetadataUri;
}
}
string memory currentBaseURI = _baseURI();
return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, _tokenId.toString(), uriSuffix)) : "";
}
function _baseURI() internal view virtual override returns (string memory) {
return uriPrefix;
}
//***************************************************************************
// CRUD FUNCTIONS
//***************************************************************************
function setRevealed(bool _state) public onlyOwner {
revealed = _state;
}
function setCost(uint256 _cost) public onlyOwner {
cost = _cost;
}
function setMaxMintAmountPerTx(uint256 _maxMintAmount) public onlyOwner {
maxMintAmountPerTx = _maxMintAmount;
}
function setCurrentMaxSupply(uint256 _supply) public onlyOwner {
require(_supply <= finalMaxSupply && _supply >= currentMaxSupply, "Invalid supply");
currentMaxSupply = _supply;
}
function setFinalMaxSupply() public onlyOwner {
finalMaxSupply = currentMaxSupply;
}
function setHiddenMetadataUri(string memory _hiddenMetadataUri) public onlyOwner {
hiddenMetadataUri = _hiddenMetadataUri;
}
function setLCHiddenMetadataUri(string memory _LCHiddenMetadataUri) public onlyOwner {
LC_hiddenMetadataUri = _LCHiddenMetadataUri;
}
function setUriPrefix(string memory _uriPrefix) public onlyOwner {
uriPrefix = _uriPrefix;
}
function setUriSuffix(string memory _uriSuffix) public onlyOwner {
uriSuffix = _uriSuffix;
}
function setPaused(bool _state) public onlyOwner {
paused = _state;
}
function setPublicMintEnabled(bool _state) public onlyOwner {
publicMintEnabled = _state;
}
function setDaoWallet(address _daoWallet) public onlyOwner {
require(daoWallet == 0x0000000000000000000000000000000000000000, "DAO wallet already set");
daoWallet = payable(_daoWallet);
}
function withdraw() public onlyOwner nonReentrant {
uint256 balance = address(this).balance;
bool success;
(success, ) = payable(0x44084dff2a31c34C7EA4CFceA80aC9A883c51F74).call{value: ((balance * 35) / 100)}("BlocqX");
require(success, "BlocqX Transaction Unsuccessful");
(success, ) = payable(0xcea28cD43406a8a83d140dD9A4ABF8A413735fEd).call{value: ((balance * 35) / 100)}("Mode");
require(success, "Mode Transaction Unsuccessful");
(success, ) = payable(0xc259D6a0623411033f2E69384556f7c0F49dFa37).call{value: ((balance * 10) / 100)}("LtDan");
require(success, "Dan Transaction Unsuccessful");
(success, ) = daoWallet.call{value: ((balance * 20) / 100)}("DAO");
require(success, "DAO Transaction Unsuccessful");
(bool os, ) = payable(owner()).call{value: address(this).balance}("");
require(os);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)
pragma solidity ^0.8.0;
/**
* @dev Contract module that helps prevent reentrant calls to a function.
*
* Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
* available, which can be applied to functions to make sure there are no nested
* (reentrant) calls to them.
*
* Note that because there is a single `nonReentrant` guard, functions marked as
* `nonReentrant` may not call one another. This can be worked around by making
* those functions `private`, and then adding `external` `nonReentrant` entry
* points to them.
*
* TIP: If you would like to learn more about reentrancy and alternative ways
* to protect against it, check out our blog post
* https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
*/
abstract contract ReentrancyGuard {
// Booleans are more expensive than uint256 or any type that takes up a full
// word because each write operation emits an extra SLOAD to first read the
// slot's contents, replace the bits taken up by the boolean, and then write
// back. This is the compiler's defense against contract upgrades and
// pointer aliasing, and it cannot be disabled.
// The values being non-zero value makes deployment a bit more expensive,
// but in exchange the refund on every call to nonReentrant will be lower in
// amount. Since refunds are capped to a percentage of the total
// transaction's gas, it is best to keep them low in cases like this one, to
// increase the likelihood of the full refund coming into effect.
uint256 private constant _NOT_ENTERED = 1;
uint256 private constant _ENTERED = 2;
uint256 private _status;
constructor() {
_status = _NOT_ENTERED;
}
/**
* @dev Prevents a contract from calling itself, directly or indirectly.
* Calling a `nonReentrant` function from another `nonReentrant`
* function is not supported. It is possible to prevent this from happening
* by making the `nonReentrant` function external, and making it call a
* `private` function that does the actual work.
*/
modifier nonReentrant() {
// On the first call to nonReentrant, _notEntered will be true
require(_status != _ENTERED, "ReentrancyGuard: reentrant call");
// Any calls to nonReentrant after this point will fail
_status = _ENTERED;
_;
// By storing the original value once again, a refund is triggered (see
// https://eips.ethereum.org/EIPS/eip-2200)
_status = _NOT_ENTERED;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol)
pragma solidity ^0.8.0;
/**
* @dev These functions deal with verification of Merkle Tree 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.
*
* WARNING: You should avoid using leaf values that are 64 bytes long prior to
* hashing, or use a hash function other than keccak256 for hashing leaves.
* This is because the concatenation of a sorted pair of internal nodes in
* the merkle tree could be reinterpreted as a leaf value.
*/
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 Calldata version of {verify}
*
* _Available since v4.7._
*/
function verifyCalldata(
bytes32[] calldata proof,
bytes32 root,
bytes32 leaf
) internal pure returns (bool) {
return processProofCalldata(proof, leaf) == root;
}
/**
* @dev Returns the rebuilt hash obtained by traversing a Merkle tree up
* from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
* hash matches the root of the tree. When processing the proof, the pairs
* of leafs & pre-images are assumed to be sorted.
*
* _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++) {
computedHash = _hashPair(computedHash, proof[i]);
}
return computedHash;
}
/**
* @dev Calldata version of {processProof}
*
* _Available since v4.7._
*/
function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
bytes32 computedHash = leaf;
for (uint256 i = 0; i < proof.length; i++) {
computedHash = _hashPair(computedHash, proof[i]);
}
return computedHash;
}
/**
* @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by
* `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
*
* _Available since v4.7._
*/
function multiProofVerify(
bytes32[] memory proof,
bool[] memory proofFlags,
bytes32 root,
bytes32[] memory leaves
) internal pure returns (bool) {
return processMultiProof(proof, proofFlags, leaves) == root;
}
/**
* @dev Calldata version of {multiProofVerify}
*
* _Available since v4.7._
*/
function multiProofVerifyCalldata(
bytes32[] calldata proof,
bool[] calldata proofFlags,
bytes32 root,
bytes32[] memory leaves
) internal pure returns (bool) {
return processMultiProofCalldata(proof, proofFlags, leaves) == root;
}
/**
* @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`,
* consuming from one or the other at each step according to the instructions given by
* `proofFlags`.
*
* _Available since v4.7._
*/
function processMultiProof(
bytes32[] memory proof,
bool[] memory proofFlags,
bytes32[] memory leaves
) internal pure returns (bytes32 merkleRoot) {
// This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
// consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
// `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
// the merkle tree.
uint256 leavesLen = leaves.length;
uint256 totalHashes = proofFlags.length;
// Check proof validity.
require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");
// The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
// `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
bytes32[] memory hashes = new bytes32[](totalHashes);
uint256 leafPos = 0;
uint256 hashPos = 0;
uint256 proofPos = 0;
// At each step, we compute the next hash using two values:
// - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
// get the next hash.
// - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
// `proof` array.
for (uint256 i = 0; i < totalHashes; i++) {
bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
hashes[i] = _hashPair(a, b);
}
if (totalHashes > 0) {
return hashes[totalHashes - 1];
} else if (leavesLen > 0) {
return leaves[0];
} else {
return proof[0];
}
}
/**
* @dev Calldata version of {processMultiProof}
*
* _Available since v4.7._
*/
function processMultiProofCalldata(
bytes32[] calldata proof,
bool[] calldata proofFlags,
bytes32[] memory leaves
) internal pure returns (bytes32 merkleRoot) {
// This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
// consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
// `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
// the merkle tree.
uint256 leavesLen = leaves.length;
uint256 totalHashes = proofFlags.length;
// Check proof validity.
require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");
// The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
// `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
bytes32[] memory hashes = new bytes32[](totalHashes);
uint256 leafPos = 0;
uint256 hashPos = 0;
uint256 proofPos = 0;
// At each step, we compute the next hash using two values:
// - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
// get the next hash.
// - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
// `proof` array.
for (uint256 i = 0; i < totalHashes; i++) {
bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
hashes[i] = _hashPair(a, b);
}
if (totalHashes > 0) {
return hashes[totalHashes - 1];
} else if (leavesLen > 0) {
return leaves[0];
} else {
return proof[0];
}
}
function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
}
function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
/// @solidity memory-safe-assembly
assembly {
mstore(0x00, a)
mstore(0x20, b)
value := keccak256(0x00, 0x40)
}
}
}// 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.6.0) (token/ERC721/ERC721.sol)
pragma solidity ^0.8.0;
import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";
/**
* @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
* the Metadata extension, but not including the Enumerable extension, which is available separately as
* {ERC721Enumerable}.
*/
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
using Address for address;
using Strings for uint256;
// Token name
string private _name;
// Token symbol
string private _symbol;
// Mapping from token ID to owner address
mapping(uint256 => address) private _owners;
// Mapping owner address to token count
mapping(address => uint256) private _balances;
// Mapping from token ID to approved address
mapping(uint256 => address) private _tokenApprovals;
// Mapping from owner to operator approvals
mapping(address => mapping(address => bool)) private _operatorApprovals;
/**
* @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");
return _balances[owner];
}
/**
* @dev See {IERC721-ownerOf}.
*/
function ownerOf(uint256 tokenId) public view virtual override returns (address) {
address owner = _owners[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 {IERC721Metadata-tokenURI}.
*/
function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
string memory baseURI = _baseURI();
return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
}
/**
* @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
* token will be the concatenation of the `baseURI` and the `tokenId`. Empty
* by default, can be overridden in child contracts.
*/
function _baseURI() internal view virtual returns (string memory) {
return "";
}
/**
* @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 {
_setApprovalForAll(_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 _data
) public virtual override {
require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
_safeTransfer(from, to, tokenId, _data);
}
/**
* @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 _owners[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 || isApprovedForAll(owner, spender) || getApproved(tokenId) == 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);
_balances[to] += 1;
_owners[tokenId] = to;
emit Transfer(address(0), to, tokenId);
_afterTokenTransfer(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);
_balances[owner] -= 1;
delete _owners[tokenId];
emit Transfer(owner, address(0), tokenId);
_afterTokenTransfer(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 from incorrect owner");
require(to != address(0), "ERC721: transfer to the zero address");
_beforeTokenTransfer(from, to, tokenId);
// Clear approvals from the previous owner
_approve(address(0), tokenId);
_balances[from] -= 1;
_balances[to] += 1;
_owners[tokenId] = to;
emit Transfer(from, to, tokenId);
_afterTokenTransfer(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 Approve `operator` to operate on all of `owner` tokens
*
* Emits a {ApprovalForAll} event.
*/
function _setApprovalForAll(
address owner,
address operator,
bool approved
) internal virtual {
require(owner != operator, "ERC721: approve to caller");
_operatorApprovals[owner][operator] = approved;
emit ApprovalForAll(owner, operator, approved);
}
/**
* @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 {}
/**
* @dev Hook that is called after any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _afterTokenTransfer(
address from,
address to,
uint256 tokenId
) internal virtual {}
}// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.2
// Creator: Chiru Labs
pragma solidity ^0.8.4;
import './IERC721A.sol';
/**
* @dev Interface of ERC721 token receiver.
*/
interface ERC721A__IERC721Receiver {
function onERC721Received(
address operator,
address from,
uint256 tokenId,
bytes calldata data
) external returns (bytes4);
}
/**
* @title ERC721A
*
* @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721)
* Non-Fungible Token Standard, including the Metadata extension.
* Optimized for lower gas during batch mints.
*
* Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...)
* starting from `_startTokenId()`.
*
* Assumptions:
*
* - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
* - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256).
*/
contract ERC721A is IERC721A {
// Reference type for token approval.
struct TokenApprovalRef {
address value;
}
// =============================================================
// CONSTANTS
// =============================================================
// Mask of an entry in packed address data.
uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1;
// The bit position of `numberMinted` in packed address data.
uint256 private constant _BITPOS_NUMBER_MINTED = 64;
// The bit position of `numberBurned` in packed address data.
uint256 private constant _BITPOS_NUMBER_BURNED = 128;
// The bit position of `aux` in packed address data.
uint256 private constant _BITPOS_AUX = 192;
// Mask of all 256 bits in packed address data except the 64 bits for `aux`.
uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1;
// The bit position of `startTimestamp` in packed ownership.
uint256 private constant _BITPOS_START_TIMESTAMP = 160;
// The bit mask of the `burned` bit in packed ownership.
uint256 private constant _BITMASK_BURNED = 1 << 224;
// The bit position of the `nextInitialized` bit in packed ownership.
uint256 private constant _BITPOS_NEXT_INITIALIZED = 225;
// The bit mask of the `nextInitialized` bit in packed ownership.
uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225;
// The bit position of `extraData` in packed ownership.
uint256 private constant _BITPOS_EXTRA_DATA = 232;
// Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`.
uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1;
// The mask of the lower 160 bits for addresses.
uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1;
// The maximum `quantity` that can be minted with {_mintERC2309}.
// This limit is to prevent overflows on the address data entries.
// For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309}
// is required to cause an overflow, which is unrealistic.
uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000;
// The `Transfer` event signature is given by:
// `keccak256(bytes("Transfer(address,address,uint256)"))`.
bytes32 private constant _TRANSFER_EVENT_SIGNATURE =
0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef;
// =============================================================
// STORAGE
// =============================================================
// The next token ID to be minted.
uint256 private _currentIndex;
// The number of tokens burned.
uint256 private _burnCounter;
// Token name
string private _name;
// Token symbol
string private _symbol;
// Mapping from token ID to ownership details
// An empty struct value does not necessarily mean the token is unowned.
// See {_packedOwnershipOf} implementation for details.
//
// Bits Layout:
// - [0..159] `addr`
// - [160..223] `startTimestamp`
// - [224] `burned`
// - [225] `nextInitialized`
// - [232..255] `extraData`
mapping(uint256 => uint256) private _packedOwnerships;
// Mapping owner address to address data.
//
// Bits Layout:
// - [0..63] `balance`
// - [64..127] `numberMinted`
// - [128..191] `numberBurned`
// - [192..255] `aux`
mapping(address => uint256) private _packedAddressData;
// Mapping from token ID to approved address.
mapping(uint256 => TokenApprovalRef) private _tokenApprovals;
// Mapping from owner to operator approvals
mapping(address => mapping(address => bool)) private _operatorApprovals;
// =============================================================
// CONSTRUCTOR
// =============================================================
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
_currentIndex = _startTokenId();
}
// =============================================================
// TOKEN COUNTING OPERATIONS
// =============================================================
/**
* @dev Returns the starting token ID.
* To change the starting token ID, please override this function.
*/
function _startTokenId() internal view virtual returns (uint256) {
return 0;
}
/**
* @dev Returns the next token ID to be minted.
*/
function _nextTokenId() internal view virtual returns (uint256) {
return _currentIndex;
}
/**
* @dev Returns the total number of tokens in existence.
* Burned tokens will reduce the count.
* To get the total number of tokens minted, please see {_totalMinted}.
*/
function totalSupply() public view virtual override returns (uint256) {
// Counter underflow is impossible as _burnCounter cannot be incremented
// more than `_currentIndex - _startTokenId()` times.
unchecked {
return _currentIndex - _burnCounter - _startTokenId();
}
}
/**
* @dev Returns the total amount of tokens minted in the contract.
*/
function _totalMinted() internal view virtual returns (uint256) {
// Counter underflow is impossible as `_currentIndex` does not decrement,
// and it is initialized to `_startTokenId()`.
unchecked {
return _currentIndex - _startTokenId();
}
}
/**
* @dev Returns the total number of tokens burned.
*/
function _totalBurned() internal view virtual returns (uint256) {
return _burnCounter;
}
// =============================================================
// ADDRESS DATA OPERATIONS
// =============================================================
/**
* @dev Returns the number of tokens in `owner`'s account.
*/
function balanceOf(address owner) public view virtual override returns (uint256) {
if (owner == address(0)) revert BalanceQueryForZeroAddress();
return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY;
}
/**
* Returns the number of tokens minted by `owner`.
*/
function _numberMinted(address owner) internal view returns (uint256) {
return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY;
}
/**
* Returns the number of tokens burned by or on behalf of `owner`.
*/
function _numberBurned(address owner) internal view returns (uint256) {
return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY;
}
/**
* Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
*/
function _getAux(address owner) internal view returns (uint64) {
return uint64(_packedAddressData[owner] >> _BITPOS_AUX);
}
/**
* Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
* If there are multiple variables, please pack them into a uint64.
*/
function _setAux(address owner, uint64 aux) internal virtual {
uint256 packed = _packedAddressData[owner];
uint256 auxCasted;
// Cast `aux` with assembly to avoid redundant masking.
assembly {
auxCasted := aux
}
packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX);
_packedAddressData[owner] = packed;
}
// =============================================================
// IERC165
// =============================================================
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
* to learn more about how these ids are created.
*
* This function call must use less than 30000 gas.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
// The interface IDs are constants representing the first 4 bytes
// of the XOR of all function selectors in the interface.
// See: [ERC165](https://eips.ethereum.org/EIPS/eip-165)
// (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`)
return
interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
}
// =============================================================
// IERC721Metadata
// =============================================================
/**
* @dev Returns the token collection name.
*/
function name() public view virtual override returns (string memory) {
return _name;
}
/**
* @dev Returns the token collection symbol.
*/
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
/**
* @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
*/
function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
if (!_exists(tokenId)) revert URIQueryForNonexistentToken();
string memory baseURI = _baseURI();
return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : '';
}
/**
* @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
* token will be the concatenation of the `baseURI` and the `tokenId`. Empty
* by default, it can be overridden in child contracts.
*/
function _baseURI() internal view virtual returns (string memory) {
return '';
}
// =============================================================
// OWNERSHIPS OPERATIONS
// =============================================================
/**
* @dev Returns the owner of the `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function ownerOf(uint256 tokenId) public view virtual override returns (address) {
return address(uint160(_packedOwnershipOf(tokenId)));
}
/**
* @dev Gas spent here starts off proportional to the maximum mint batch size.
* It gradually moves to O(1) as tokens get transferred around over time.
*/
function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) {
return _unpackedOwnership(_packedOwnershipOf(tokenId));
}
/**
* @dev Returns the unpacked `TokenOwnership` struct at `index`.
*/
function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) {
return _unpackedOwnership(_packedOwnerships[index]);
}
/**
* @dev Initializes the ownership slot minted at `index` for efficiency purposes.
*/
function _initializeOwnershipAt(uint256 index) internal virtual {
if (_packedOwnerships[index] == 0) {
_packedOwnerships[index] = _packedOwnershipOf(index);
}
}
/**
* Returns the packed ownership data of `tokenId`.
*/
function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) {
uint256 curr = tokenId;
unchecked {
if (_startTokenId() <= curr)
if (curr < _currentIndex) {
uint256 packed = _packedOwnerships[curr];
// If not burned.
if (packed & _BITMASK_BURNED == 0) {
// Invariant:
// There will always be an initialized ownership slot
// (i.e. `ownership.addr != address(0) && ownership.burned == false`)
// before an unintialized ownership slot
// (i.e. `ownership.addr == address(0) && ownership.burned == false`)
// Hence, `curr` will not underflow.
//
// We can directly compare the packed value.
// If the address is zero, packed will be zero.
while (packed == 0) {
packed = _packedOwnerships[--curr];
}
return packed;
}
}
}
revert OwnerQueryForNonexistentToken();
}
/**
* @dev Returns the unpacked `TokenOwnership` struct from `packed`.
*/
function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) {
ownership.addr = address(uint160(packed));
ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP);
ownership.burned = packed & _BITMASK_BURNED != 0;
ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA);
}
/**
* @dev Packs ownership data into a single uint256.
*/
function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) {
assembly {
// Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
owner := and(owner, _BITMASK_ADDRESS)
// `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`.
result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags))
}
}
/**
* @dev Returns the `nextInitialized` flag set if `quantity` equals 1.
*/
function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) {
// For branchless setting of the `nextInitialized` flag.
assembly {
// `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`.
result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1))
}
}
// =============================================================
// APPROVAL OPERATIONS
// =============================================================
/**
* @dev Gives permission to `to` to transfer `tokenId` token to another account.
* 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) public virtual override {
address owner = ownerOf(tokenId);
if (_msgSenderERC721A() != owner)
if (!isApprovedForAll(owner, _msgSenderERC721A())) {
revert ApprovalCallerNotOwnerNorApproved();
}
_tokenApprovals[tokenId].value = to;
emit Approval(owner, to, tokenId);
}
/**
* @dev Returns the account approved for `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function getApproved(uint256 tokenId) public view virtual override returns (address) {
if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();
return _tokenApprovals[tokenId].value;
}
/**
* @dev Approve or remove `operator` as an operator for the caller.
* Operators can call {transferFrom} or {safeTransferFrom}
* for any token owned by the caller.
*
* Requirements:
*
* - The `operator` cannot be the caller.
*
* Emits an {ApprovalForAll} event.
*/
function setApprovalForAll(address operator, bool approved) public virtual override {
if (operator == _msgSenderERC721A()) revert ApproveToCaller();
_operatorApprovals[_msgSenderERC721A()][operator] = approved;
emit ApprovalForAll(_msgSenderERC721A(), operator, approved);
}
/**
* @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
*
* See {setApprovalForAll}.
*/
function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
return _operatorApprovals[owner][operator];
}
/**
* @dev Returns whether `tokenId` exists.
*
* Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
*
* Tokens start existing when they are minted. See {_mint}.
*/
function _exists(uint256 tokenId) internal view virtual returns (bool) {
return
_startTokenId() <= tokenId &&
tokenId < _currentIndex && // If within bounds,
_packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned.
}
/**
* @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`.
*/
function _isSenderApprovedOrOwner(
address approvedAddress,
address owner,
address msgSender
) private pure returns (bool result) {
assembly {
// Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
owner := and(owner, _BITMASK_ADDRESS)
// Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean.
msgSender := and(msgSender, _BITMASK_ADDRESS)
// `msgSender == owner || msgSender == approvedAddress`.
result := or(eq(msgSender, owner), eq(msgSender, approvedAddress))
}
}
/**
* @dev Returns the storage slot and value for the approved address of `tokenId`.
*/
function _getApprovedSlotAndAddress(uint256 tokenId)
private
view
returns (uint256 approvedAddressSlot, address approvedAddress)
{
TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId];
// The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`.
assembly {
approvedAddressSlot := tokenApproval.slot
approvedAddress := sload(approvedAddressSlot)
}
}
// =============================================================
// TRANSFER OPERATIONS
// =============================================================
/**
* @dev Transfers `tokenId` from `from` to `to`.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token
* by either {approve} or {setApprovalForAll}.
*
* Emits a {Transfer} event.
*/
function transferFrom(
address from,
address to,
uint256 tokenId
) public virtual override {
uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);
if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner();
(uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId);
// The nested ifs save around 20+ gas over a compound boolean condition.
if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A()))
if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();
if (to == address(0)) revert TransferToZeroAddress();
_beforeTokenTransfers(from, to, tokenId, 1);
// Clear approvals from the previous owner.
assembly {
if approvedAddress {
// This is equivalent to `delete _tokenApprovals[tokenId]`.
sstore(approvedAddressSlot, 0)
}
}
// Underflow of the sender's balance is impossible because we check for
// ownership above and the recipient's balance can't realistically overflow.
// Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256.
unchecked {
// We can directly increment and decrement the balances.
--_packedAddressData[from]; // Updates: `balance -= 1`.
++_packedAddressData[to]; // Updates: `balance += 1`.
// Updates:
// - `address` to the next owner.
// - `startTimestamp` to the timestamp of transfering.
// - `burned` to `false`.
// - `nextInitialized` to `true`.
_packedOwnerships[tokenId] = _packOwnershipData(
to,
_BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked)
);
// If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) {
uint256 nextTokenId = tokenId + 1;
// If the next slot's address is zero and not burned (i.e. packed value is zero).
if (_packedOwnerships[nextTokenId] == 0) {
// If the next slot is within bounds.
if (nextTokenId != _currentIndex) {
// Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
_packedOwnerships[nextTokenId] = prevOwnershipPacked;
}
}
}
}
emit Transfer(from, to, tokenId);
_afterTokenTransfers(from, to, tokenId, 1);
}
/**
* @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId
) public virtual override {
safeTransferFrom(from, to, tokenId, '');
}
/**
* @dev Safely transfers `tokenId` token from `from` to `to`.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token
* by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement
* {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId,
bytes memory _data
) public virtual override {
transferFrom(from, to, tokenId);
if (to.code.length != 0)
if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
revert TransferToNonERC721ReceiverImplementer();
}
}
/**
* @dev Hook that is called before a set of serially-ordered token IDs
* are about to be transferred. This includes minting.
* And also called before burning one token.
*
* `startTokenId` - the first token ID to be transferred.
* `quantity` - the amount to be transferred.
*
* Calling conditions:
*
* - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
* transferred to `to`.
* - When `from` is zero, `tokenId` will be minted for `to`.
* - When `to` is zero, `tokenId` will be burned by `from`.
* - `from` and `to` are never both zero.
*/
function _beforeTokenTransfers(
address from,
address to,
uint256 startTokenId,
uint256 quantity
) internal virtual {}
/**
* @dev Hook that is called after a set of serially-ordered token IDs
* have been transferred. This includes minting.
* And also called after one token has been burned.
*
* `startTokenId` - the first token ID to be transferred.
* `quantity` - the amount to be transferred.
*
* Calling conditions:
*
* - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
* transferred to `to`.
* - When `from` is zero, `tokenId` has been minted for `to`.
* - When `to` is zero, `tokenId` has been burned by `from`.
* - `from` and `to` are never both zero.
*/
function _afterTokenTransfers(
address from,
address to,
uint256 startTokenId,
uint256 quantity
) internal virtual {}
/**
* @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract.
*
* `from` - Previous owner of the given token ID.
* `to` - Target address that will receive the token.
* `tokenId` - Token ID to be transferred.
* `_data` - Optional data to send along with the call.
*
* Returns whether the call correctly returned the expected magic value.
*/
function _checkContractOnERC721Received(
address from,
address to,
uint256 tokenId,
bytes memory _data
) private returns (bool) {
try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns (
bytes4 retval
) {
return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector;
} catch (bytes memory reason) {
if (reason.length == 0) {
revert TransferToNonERC721ReceiverImplementer();
} else {
assembly {
revert(add(32, reason), mload(reason))
}
}
}
}
// =============================================================
// MINT OPERATIONS
// =============================================================
/**
* @dev Mints `quantity` tokens and transfers them to `to`.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - `quantity` must be greater than 0.
*
* Emits a {Transfer} event for each mint.
*/
function _mint(address to, uint256 quantity) internal virtual {
uint256 startTokenId = _currentIndex;
if (quantity == 0) revert MintZeroQuantity();
_beforeTokenTransfers(address(0), to, startTokenId, quantity);
// Overflows are incredibly unrealistic.
// `balance` and `numberMinted` have a maximum limit of 2**64.
// `tokenId` has a maximum limit of 2**256.
unchecked {
// Updates:
// - `balance += quantity`.
// - `numberMinted += quantity`.
//
// We can directly add to the `balance` and `numberMinted`.
_packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);
// Updates:
// - `address` to the owner.
// - `startTimestamp` to the timestamp of minting.
// - `burned` to `false`.
// - `nextInitialized` to `quantity == 1`.
_packedOwnerships[startTokenId] = _packOwnershipData(
to,
_nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
);
uint256 toMasked;
uint256 end = startTokenId + quantity;
// Use assembly to loop and emit the `Transfer` event for gas savings.
assembly {
// Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
toMasked := and(to, _BITMASK_ADDRESS)
// Emit the `Transfer` event.
log4(
0, // Start of data (0, since no data).
0, // End of data (0, since no data).
_TRANSFER_EVENT_SIGNATURE, // Signature.
0, // `address(0)`.
toMasked, // `to`.
startTokenId // `tokenId`.
)
for {
let tokenId := add(startTokenId, 1)
} iszero(eq(tokenId, end)) {
tokenId := add(tokenId, 1)
} {
// Emit the `Transfer` event. Similar to above.
log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId)
}
}
if (toMasked == 0) revert MintToZeroAddress();
_currentIndex = end;
}
_afterTokenTransfers(address(0), to, startTokenId, quantity);
}
/**
* @dev Mints `quantity` tokens and transfers them to `to`.
*
* This function is intended for efficient minting only during contract creation.
*
* It emits only one {ConsecutiveTransfer} as defined in
* [ERC2309](https://eips.ethereum.org/EIPS/eip-2309),
* instead of a sequence of {Transfer} event(s).
*
* Calling this function outside of contract creation WILL make your contract
* non-compliant with the ERC721 standard.
* For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309
* {ConsecutiveTransfer} event is only permissible during contract creation.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - `quantity` must be greater than 0.
*
* Emits a {ConsecutiveTransfer} event.
*/
function _mintERC2309(address to, uint256 quantity) internal virtual {
uint256 startTokenId = _currentIndex;
if (to == address(0)) revert MintToZeroAddress();
if (quantity == 0) revert MintZeroQuantity();
if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit();
_beforeTokenTransfers(address(0), to, startTokenId, quantity);
// Overflows are unrealistic due to the above check for `quantity` to be below the limit.
unchecked {
// Updates:
// - `balance += quantity`.
// - `numberMinted += quantity`.
//
// We can directly add to the `balance` and `numberMinted`.
_packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);
// Updates:
// - `address` to the owner.
// - `startTimestamp` to the timestamp of minting.
// - `burned` to `false`.
// - `nextInitialized` to `quantity == 1`.
_packedOwnerships[startTokenId] = _packOwnershipData(
to,
_nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
);
emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to);
_currentIndex = startTokenId + quantity;
}
_afterTokenTransfers(address(0), to, startTokenId, quantity);
}
/**
* @dev Safely mints `quantity` tokens and transfers them to `to`.
*
* Requirements:
*
* - If `to` refers to a smart contract, it must implement
* {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
* - `quantity` must be greater than 0.
*
* See {_mint}.
*
* Emits a {Transfer} event for each mint.
*/
function _safeMint(
address to,
uint256 quantity,
bytes memory _data
) internal virtual {
_mint(to, quantity);
unchecked {
if (to.code.length != 0) {
uint256 end = _currentIndex;
uint256 index = end - quantity;
do {
if (!_checkContractOnERC721Received(address(0), to, index++, _data)) {
revert TransferToNonERC721ReceiverImplementer();
}
} while (index < end);
// Reentrancy protection.
if (_currentIndex != end) revert();
}
}
}
/**
* @dev Equivalent to `_safeMint(to, quantity, '')`.
*/
function _safeMint(address to, uint256 quantity) internal virtual {
_safeMint(to, quantity, '');
}
// =============================================================
// BURN OPERATIONS
// =============================================================
/**
* @dev Equivalent to `_burn(tokenId, false)`.
*/
function _burn(uint256 tokenId) internal virtual {
_burn(tokenId, false);
}
/**
* @dev Destroys `tokenId`.
* The approval is cleared when the token is burned.
*
* Requirements:
*
* - `tokenId` must exist.
*
* Emits a {Transfer} event.
*/
function _burn(uint256 tokenId, bool approvalCheck) internal virtual {
uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);
address from = address(uint160(prevOwnershipPacked));
(uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId);
if (approvalCheck) {
// The nested ifs save around 20+ gas over a compound boolean condition.
if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A()))
if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();
}
_beforeTokenTransfers(from, address(0), tokenId, 1);
// Clear approvals from the previous owner.
assembly {
if approvedAddress {
// This is equivalent to `delete _tokenApprovals[tokenId]`.
sstore(approvedAddressSlot, 0)
}
}
// Underflow of the sender's balance is impossible because we check for
// ownership above and the recipient's balance can't realistically overflow.
// Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256.
unchecked {
// Updates:
// - `balance -= 1`.
// - `numberBurned += 1`.
//
// We can directly decrement the balance, and increment the number burned.
// This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`.
_packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1;
// Updates:
// - `address` to the last owner.
// - `startTimestamp` to the timestamp of burning.
// - `burned` to `true`.
// - `nextInitialized` to `true`.
_packedOwnerships[tokenId] = _packOwnershipData(
from,
(_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked)
);
// If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) {
uint256 nextTokenId = tokenId + 1;
// If the next slot's address is zero and not burned (i.e. packed value is zero).
if (_packedOwnerships[nextTokenId] == 0) {
// If the next slot is within bounds.
if (nextTokenId != _currentIndex) {
// Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
_packedOwnerships[nextTokenId] = prevOwnershipPacked;
}
}
}
}
emit Transfer(from, address(0), tokenId);
_afterTokenTransfers(from, address(0), tokenId, 1);
// Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
unchecked {
_burnCounter++;
}
}
// =============================================================
// EXTRA DATA OPERATIONS
// =============================================================
/**
* @dev Directly sets the extra data for the ownership data `index`.
*/
function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual {
uint256 packed = _packedOwnerships[index];
if (packed == 0) revert OwnershipNotInitializedForExtraData();
uint256 extraDataCasted;
// Cast `extraData` with assembly to avoid redundant masking.
assembly {
extraDataCasted := extraData
}
packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA);
_packedOwnerships[index] = packed;
}
/**
* @dev Called during each token transfer to set the 24bit `extraData` field.
* Intended to be overridden by the cosumer contract.
*
* `previousExtraData` - the value of `extraData` before transfer.
*
* Calling conditions:
*
* - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
* transferred to `to`.
* - When `from` is zero, `tokenId` will be minted for `to`.
* - When `to` is zero, `tokenId` will be burned by `from`.
* - `from` and `to` are never both zero.
*/
function _extraData(
address from,
address to,
uint24 previousExtraData
) internal view virtual returns (uint24) {}
/**
* @dev Returns the next extra data for the packed ownership data.
* The returned result is shifted into position.
*/
function _nextExtraData(
address from,
address to,
uint256 prevOwnershipPacked
) private view returns (uint256) {
uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA);
return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA;
}
// =============================================================
// OTHER OPERATIONS
// =============================================================
/**
* @dev Returns the message sender (defaults to `msg.sender`).
*
* If you are writing GSN compatible contracts, you need to override this function.
*/
function _msgSenderERC721A() internal view virtual returns (address) {
return msg.sender;
}
/**
* @dev Converts a uint256 to its ASCII string decimal representation.
*/
function _toString(uint256 value) internal pure virtual returns (string memory str) {
assembly {
// The maximum value of a uint256 contains 78 digits (1 byte per digit),
// but we allocate 0x80 bytes to keep the free memory pointer 32-byte word aliged.
// We will need 1 32-byte word to store the length,
// and 3 32-byte words to store a maximum of 78 digits. Total: 0x20 + 3 * 0x20 = 0x80.
str := add(mload(0x40), 0x80)
// Update the free memory pointer to allocate.
mstore(0x40, str)
// Cache the end of the memory to calculate the length later.
let end := str
// We write the string from rightmost digit to leftmost digit.
// The following is essentially a do-while loop that also handles the zero case.
// prettier-ignore
for { let temp := value } 1 {} {
str := sub(str, 1)
// Write the character to the pointer.
// The ASCII index of the '0' character is 48.
mstore8(str, add(48, mod(temp, 10)))
// Keep dividing `temp` until zero.
temp := div(temp, 10)
// prettier-ignore
if iszero(temp) { break }
}
let length := sub(end, str)
// Move the pointer 32 bytes leftwards to make room for the length.
str := sub(str, 0x20)
// Store the length.
mstore(str, length)
}
}
}// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.2
// Creator: Chiru Labs
pragma solidity ^0.8.4;
/**
* @dev Interface of ERC721A.
*/
interface IERC721A {
/**
* The caller must own the token or be an approved operator.
*/
error ApprovalCallerNotOwnerNorApproved();
/**
* The token does not exist.
*/
error ApprovalQueryForNonexistentToken();
/**
* The caller cannot approve to their own address.
*/
error ApproveToCaller();
/**
* Cannot query the balance for the zero address.
*/
error BalanceQueryForZeroAddress();
/**
* Cannot mint to the zero address.
*/
error MintToZeroAddress();
/**
* The quantity of tokens minted must be more than zero.
*/
error MintZeroQuantity();
/**
* The token does not exist.
*/
error OwnerQueryForNonexistentToken();
/**
* The caller must own the token or be an approved operator.
*/
error TransferCallerNotOwnerNorApproved();
/**
* The token must be owned by `from`.
*/
error TransferFromIncorrectOwner();
/**
* Cannot safely transfer to a contract that does not implement the
* ERC721Receiver interface.
*/
error TransferToNonERC721ReceiverImplementer();
/**
* Cannot transfer to the zero address.
*/
error TransferToZeroAddress();
/**
* The token does not exist.
*/
error URIQueryForNonexistentToken();
/**
* The `quantity` minted with ERC2309 exceeds the safety limit.
*/
error MintERC2309QuantityExceedsLimit();
/**
* The `extraData` cannot be set on an unintialized ownership slot.
*/
error OwnershipNotInitializedForExtraData();
// =============================================================
// STRUCTS
// =============================================================
struct TokenOwnership {
// The address of the owner.
address addr;
// Stores the start time of ownership with minimal overhead for tokenomics.
uint64 startTimestamp;
// Whether the token has been burned.
bool burned;
// Arbitrary data similar to `startTimestamp` that can be set via {_extraData}.
uint24 extraData;
}
// =============================================================
// TOKEN COUNTERS
// =============================================================
/**
* @dev Returns the total number of tokens in existence.
* Burned tokens will reduce the count.
* To get the total number of tokens minted, please see {_totalMinted}.
*/
function totalSupply() external view returns (uint256);
// =============================================================
// IERC165
// =============================================================
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
* to learn more about how these ids are created.
*
* This function call must use less than 30000 gas.
*/
function supportsInterface(bytes4 interfaceId) external view returns (bool);
// =============================================================
// IERC721
// =============================================================
/**
* @dev Emitted when `tokenId` token is transferred from `from` to `to`.
*/
event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
*/
event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables or disables
* (`approved`) `operator` to manage all of its assets.
*/
event ApprovalForAll(address indexed owner, address indexed operator, bool approved);
/**
* @dev Returns the number of tokens in `owner`'s account.
*/
function balanceOf(address owner) external view returns (uint256 balance);
/**
* @dev Returns the owner of the `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function ownerOf(uint256 tokenId) external view returns (address owner);
/**
* @dev Safely transfers `tokenId` token from `from` to `to`,
* checking first that contract recipients are aware of the ERC721 protocol
* to prevent tokens from being forever locked.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must be have been allowed to move
* this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement
* {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId,
bytes calldata data
) external;
/**
* @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId
) external;
/**
* @dev Transfers `tokenId` from `from` to `to`.
*
* WARNING: Usage of this method is discouraged, use {safeTransferFrom}
* whenever possible.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token
* by either {approve} or {setApprovalForAll}.
*
* Emits a {Transfer} event.
*/
function transferFrom(
address from,
address to,
uint256 tokenId
) external;
/**
* @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 Approve or remove `operator` as an operator for the caller.
* Operators can call {transferFrom} or {safeTransferFrom}
* for any token owned by the caller.
*
* Requirements:
*
* - The `operator` cannot be the caller.
*
* Emits an {ApprovalForAll} event.
*/
function setApprovalForAll(address operator, bool _approved) external;
/**
* @dev Returns the account approved for `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function getApproved(uint256 tokenId) external view returns (address operator);
/**
* @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
*
* See {setApprovalForAll}.
*/
function isApprovedForAll(address owner, address operator) external view returns (bool);
// =============================================================
// IERC721Metadata
// =============================================================
/**
* @dev Returns the token collection name.
*/
function name() external view returns (string memory);
/**
* @dev Returns the token collection symbol.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
*/
function tokenURI(uint256 tokenId) external view returns (string memory);
// =============================================================
// IERC2309
// =============================================================
/**
* @dev Emitted when tokens in `fromTokenId` to `toTokenId`
* (inclusive) is transferred from `from` to `to`, as defined in the
* [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard.
*
* See {_mintERC2309} for more details.
*/
event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts 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
// 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/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
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)
pragma solidity ^0.8.1;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
* ====
*
* [IMPORTANT]
* ====
* You shouldn't rely on `isContract` to protect against flash loan attacks!
*
* Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
* like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
* constructor.
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize/address.code.length, which returns 0
// for contracts in construction, since the code is only stored at the end
// of the constructor execution.
return account.code.length > 0;
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, "Address: insufficient balance");
(bool success, ) = recipient.call{value: amount}("");
require(success, "Address: unable to send value, recipient may have reverted");
}
/**
* @dev Performs a Solidity function call using a low level `call`. A
* plain `call` is an unsafe replacement for a function call: use this
* function instead.
*
* If `target` reverts with a revert reason, it is bubbled up by this
* function (like regular Solidity function calls).
*
* Returns the raw returned data. To convert to the expected return value,
* use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
*
* Requirements:
*
* - `target` must be a contract.
* - calling `target` with `data` must not revert.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCall(target, data, "Address: low-level call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
* `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but also transferring `value` wei to `target`.
*
* Requirements:
*
* - the calling contract must have an ETH balance of at least `value`.
* - the called Solidity function must be `payable`.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value
) internal returns (bytes memory) {
return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
}
/**
* @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
* with `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value,
string memory errorMessage
) internal returns (bytes memory) {
require(address(this).balance >= value, "Address: insufficient balance for call");
require(isContract(target), "Address: call to non-contract");
(bool success, bytes memory returndata) = target.call{value: value}(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
return functionStaticCall(target, data, "Address: low-level static call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(
address target,
bytes memory data,
string memory errorMessage
) internal view returns (bytes memory) {
require(isContract(target), "Address: static call to non-contract");
(bool success, bytes memory returndata) = target.staticcall(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
return functionDelegateCall(target, data, "Address: low-level delegate call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
require(isContract(target), "Address: delegate call to non-contract");
(bool success, bytes memory returndata) = target.delegatecall(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
* revert reason using the provided one.
*
* _Available since v4.3._
*/
function verifyCallResult(
bool success,
bytes memory returndata,
string memory errorMessage
) internal pure returns (bytes memory) {
if (success) {
return returndata;
} else {
// Look for revert reason and bubble it up if present
if (returndata.length > 0) {
// The easiest way to bubble the revert reason is using memory via assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
}// 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 (last updated v4.6.0) (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 `IERC721Receiver.onERC721Received.selector`.
*/
function onERC721Received(
address operator,
address from,
uint256 tokenId,
bytes calldata data
) external returns (bytes4);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (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`.
*
* 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;
/**
* @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 Approve or remove `operator` as an operator for the caller.
* Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
*
* Requirements:
*
* - The `operator` cannot be the caller.
*
* Emits an {ApprovalForAll} event.
*/
function setApprovalForAll(address operator, bool _approved) external;
/**
* @dev Returns the account approved for `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function getApproved(uint256 tokenId) external view returns (address operator);
/**
* @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
*
* See {setApprovalForAll}
*/
function isApprovedForAll(address owner, address operator) external view returns (bool);
}// 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": false,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"string","name":"_tokenName","type":"string"},{"internalType":"string","name":"_tokenSymbol","type":"string"},{"internalType":"string","name":"_hiddenMetadataUri","type":"string"},{"internalType":"string","name":"_LC_hiddenMetadataUri","type":"string"},{"internalType":"uint256","name":"_cost","type":"uint256"},{"internalType":"uint256","name":"_maxSupply","type":"uint256"},{"internalType":"uint256","name":"_currentMaxSupply","type":"uint256"},{"internalType":"uint256","name":"_maxMintAmountPerTx","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"LC_hiddenMetadataUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","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":"contractBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentMaxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"daoWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"finalMaxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hiddenMetadataUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"mintForAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"mintToTeamMember","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"remainingTeamMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_supply","type":"uint256"}],"name":"setCurrentMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_daoWallet","type":"address"}],"name":"setDaoWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setFinalMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hiddenMetadataUri","type":"string"}],"name":"setHiddenMetadataUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_LCHiddenMetadataUri","type":"string"}],"name":"setLCHiddenMetadataUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmount","type":"uint256"}],"name":"setMaxMintAmountPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPublicMintEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriPrefix","type":"string"}],"name":"setUriPrefix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","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":"uriPrefix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
608060405260405180602001604052806000815250600a9081620000249190620008aa565b506040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600b90816200006b9190620008aa565b50605f6012556000601360006101000a81548160ff0219169083151502179055506001601360016101000a81548160ff0219169083151502179055506000601360026101000a81548160ff021916908315150217905550348015620000cf57600080fd5b50604051620059a8380380620059a88339818101604052810190620000f5919062000b26565b87878160029081620001089190620008aa565b5080600390816200011a9190620008aa565b506200012b620001c560201b60201c565b60008190555050506200015362000147620001ce60201b60201c565b620001d660201b60201c565b60016009819055506200016c846200029c60201b60201c565b82600f8190555062000184826200033560201b60201c565b62000195816200042560201b60201c565b620001a686620004be60201b60201c565b620001b7856200056260201b60201c565b505050505050505062000d60565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002ac620001ce60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620002d26200060660201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16146200032b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003229062000ccc565b60405180910390fd5b80600e8190555050565b62000345620001ce60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff166200036b6200060660201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620003c4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003bb9062000ccc565b60405180910390fd5b600f548111158015620003d957506010548110155b6200041b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004129062000d3e565b60405180910390fd5b8060108190555050565b62000435620001ce60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff166200045b6200060660201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620004b4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004ab9062000ccc565b60405180910390fd5b8060118190555050565b620004ce620001ce60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620004f46200060660201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16146200054d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005449062000ccc565b60405180910390fd5b80600c90816200055e9190620008aa565b5050565b62000572620001ce60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620005986200060660201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620005f1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005e89062000ccc565b60405180910390fd5b80600d9081620006029190620008aa565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620006b257607f821691505b602082108103620006c857620006c76200066a565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620007327fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620006f3565b6200073e8683620006f3565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b60006200078b620007856200077f8462000756565b62000760565b62000756565b9050919050565b6000819050919050565b620007a7836200076a565b620007bf620007b68262000792565b84845462000700565b825550505050565b600090565b620007d6620007c7565b620007e38184846200079c565b505050565b5b818110156200080b57620007ff600082620007cc565b600181019050620007e9565b5050565b601f8211156200085a576200082481620006ce565b6200082f84620006e3565b810160208510156200083f578190505b620008576200084e85620006e3565b830182620007e8565b50505b505050565b600082821c905092915050565b60006200087f600019846008026200085f565b1980831691505092915050565b60006200089a83836200086c565b9150826002028217905092915050565b620008b58262000630565b67ffffffffffffffff811115620008d157620008d06200063b565b5b620008dd825462000699565b620008ea8282856200080f565b600060209050601f8311600181146200092257600084156200090d578287015190505b6200091985826200088c565b86555062000989565b601f1984166200093286620006ce565b60005b828110156200095c5784890151825560018201915060208501945060208101905062000935565b868310156200097c578489015162000978601f8916826200086c565b8355505b6001600288020188555050505b505050505050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b620009cb82620009af565b810181811067ffffffffffffffff82111715620009ed57620009ec6200063b565b5b80604052505050565b600062000a0262000991565b905062000a108282620009c0565b919050565b600067ffffffffffffffff82111562000a335762000a326200063b565b5b62000a3e82620009af565b9050602081019050919050565b60005b8381101562000a6b57808201518184015260208101905062000a4e565b60008484015250505050565b600062000a8e62000a888462000a15565b620009f6565b90508281526020810184848401111562000aad5762000aac620009aa565b5b62000aba84828562000a4b565b509392505050565b600082601f83011262000ada5762000ad9620009a5565b5b815162000aec84826020860162000a77565b91505092915050565b62000b008162000756565b811462000b0c57600080fd5b50565b60008151905062000b208162000af5565b92915050565b600080600080600080600080610100898b03121562000b4a5762000b496200099b565b5b600089015167ffffffffffffffff81111562000b6b5762000b6a620009a0565b5b62000b798b828c0162000ac2565b985050602089015167ffffffffffffffff81111562000b9d5762000b9c620009a0565b5b62000bab8b828c0162000ac2565b975050604089015167ffffffffffffffff81111562000bcf5762000bce620009a0565b5b62000bdd8b828c0162000ac2565b965050606089015167ffffffffffffffff81111562000c015762000c00620009a0565b5b62000c0f8b828c0162000ac2565b955050608062000c228b828c0162000b0f565b94505060a062000c358b828c0162000b0f565b93505060c062000c488b828c0162000b0f565b92505060e062000c5b8b828c0162000b0f565b9150509295985092959890939650565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600062000cb460208362000c6b565b915062000cc18262000c7c565b602082019050919050565b6000602082019050818103600083015262000ce78162000ca5565b9050919050565b7f496e76616c696420737570706c79000000000000000000000000000000000000600082015250565b600062000d26600e8362000c6b565b915062000d338262000cee565b602082019050919050565b6000602082019050818103600083015262000d598162000d17565b9050919050565b614c388062000d706000396000f3fe6080604052600436106102885760003560e01c80636352211e1161015a578063a0712d68116100c1578063dfb6c2e51161007a578063dfb6c2e514610961578063e0a808531461098a578063e985e9c5146109b3578063efbd73f4146109f0578063f2fde38b14610a19578063f375b7c714610a4257610288565b8063a0712d6814610862578063a22cb4651461087e578063a45ba8e7146108a7578063b071401b146108d2578063b88d4fde146108fb578063c87b56dd1461092457610288565b80637ec4a659116101135780637ec4a65914610764578063818668d71461078d5780638b7afe2e146107b65780638da5cb5b146107e157806394354fd01461080c57806395d89b411461083757610288565b80636352211e1461065657806364997e0114610693578063698a5897146106bc57806370a08231146106e7578063715018a614610724578063730220111461073b57610288565b806323b872dd116101fe5780634ad66811116101b75780634ad66811146105565780634fdd43cb1461058157806351830227146105aa5780635503a0e8146105d55780635c975abb1461060057806362b99ad41461062b57610288565b806323b872dd146104705780632c4934dc1461049957806331573421146104c45780633ccfd60b146104ed57806342842e0e1461050457806344a0d68a1461052d57610288565b80630f4161aa116102505780630f4161aa14610372578063104aeef81461039d57806313faede6146103c857806316ba10e0146103f357806316c38b3c1461041c57806318160ddd1461044557610288565b806301ffc9a71461028d57806306fdde03146102ca578063081812fc146102f5578063095ea7b3146103325780630e3925b81461035b575b600080fd5b34801561029957600080fd5b506102b460048036038101906102af9190613603565b610a6d565b6040516102c1919061364b565b60405180910390f35b3480156102d657600080fd5b506102df610aff565b6040516102ec91906136f6565b60405180910390f35b34801561030157600080fd5b5061031c6004803603810190610317919061374e565b610b91565b60405161032991906137bc565b60405180910390f35b34801561033e57600080fd5b5061035960048036038101906103549190613803565b610c10565b005b34801561036757600080fd5b50610370610d54565b005b34801561037e57600080fd5b50610387610ddb565b604051610394919061364b565b60405180910390f35b3480156103a957600080fd5b506103b2610dee565b6040516103bf9190613852565b60405180910390f35b3480156103d457600080fd5b506103dd610df4565b6040516103ea9190613852565b60405180910390f35b3480156103ff57600080fd5b5061041a600480360381019061041591906139a2565b610dfa565b005b34801561042857600080fd5b50610443600480360381019061043e9190613a17565b610e89565b005b34801561045157600080fd5b5061045a610f22565b6040516104679190613852565b60405180910390f35b34801561047c57600080fd5b5061049760048036038101906104929190613a44565b610f39565b005b3480156104a557600080fd5b506104ae61125b565b6040516104bb91906136f6565b60405180910390f35b3480156104d057600080fd5b506104eb60048036038101906104e69190613a97565b6112e9565b005b3480156104f957600080fd5b506105026114cb565b005b34801561051057600080fd5b5061052b60048036038101906105269190613a44565b611993565b005b34801561053957600080fd5b50610554600480360381019061054f919061374e565b6119b3565b005b34801561056257600080fd5b5061056b611a39565b6040516105789190613852565b60405180910390f35b34801561058d57600080fd5b506105a860048036038101906105a391906139a2565b611a3f565b005b3480156105b657600080fd5b506105bf611ace565b6040516105cc919061364b565b60405180910390f35b3480156105e157600080fd5b506105ea611ae1565b6040516105f791906136f6565b60405180910390f35b34801561060c57600080fd5b50610615611b6f565b604051610622919061364b565b60405180910390f35b34801561063757600080fd5b50610640611b82565b60405161064d91906136f6565b60405180910390f35b34801561066257600080fd5b5061067d6004803603810190610678919061374e565b611c10565b60405161068a91906137bc565b60405180910390f35b34801561069f57600080fd5b506106ba60048036038101906106b59190613ad7565b611c22565b005b3480156106c857600080fd5b506106d1611d73565b6040516106de91906137bc565b60405180910390f35b3480156106f357600080fd5b5061070e60048036038101906107099190613ad7565b611d99565b60405161071b9190613852565b60405180910390f35b34801561073057600080fd5b50610739611e51565b005b34801561074757600080fd5b50610762600480360381019061075d919061374e565b611ed9565b005b34801561077057600080fd5b5061078b600480360381019061078691906139a2565b611fb2565b005b34801561079957600080fd5b506107b460048036038101906107af9190613a17565b612041565b005b3480156107c257600080fd5b506107cb6120da565b6040516107d89190613852565b60405180910390f35b3480156107ed57600080fd5b506107f66120e2565b60405161080391906137bc565b60405180910390f35b34801561081857600080fd5b5061082161210c565b60405161082e9190613852565b60405180910390f35b34801561084357600080fd5b5061084c612112565b60405161085991906136f6565b60405180910390f35b61087c6004803603810190610877919061374e565b6121a4565b005b34801561088a57600080fd5b506108a560048036038101906108a09190613b04565b6123b7565b005b3480156108b357600080fd5b506108bc61252e565b6040516108c991906136f6565b60405180910390f35b3480156108de57600080fd5b506108f960048036038101906108f4919061374e565b6125bc565b005b34801561090757600080fd5b50610922600480360381019061091d9190613be5565b612642565b005b34801561093057600080fd5b5061094b6004803603810190610946919061374e565b6126b5565b60405161095891906136f6565b60405180910390f35b34801561096d57600080fd5b50610988600480360381019061098391906139a2565b6128b5565b005b34801561099657600080fd5b506109b160048036038101906109ac9190613a17565b612944565b005b3480156109bf57600080fd5b506109da60048036038101906109d59190613c68565b6129dd565b6040516109e7919061364b565b60405180910390f35b3480156109fc57600080fd5b50610a176004803603810190610a129190613a97565b612a71565b005b348015610a2557600080fd5b50610a406004803603810190610a3b9190613ad7565b612bf5565b005b348015610a4e57600080fd5b50610a57612cec565b604051610a649190613852565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ac857506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610af85750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610b0e90613cd7565b80601f0160208091040260200160405190810160405280929190818152602001828054610b3a90613cd7565b8015610b875780601f10610b5c57610100808354040283529160200191610b87565b820191906000526020600020905b815481529060010190602001808311610b6a57829003601f168201915b5050505050905090565b6000610b9c82612cf2565b610bd2576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c1b82611c10565b90508073ffffffffffffffffffffffffffffffffffffffff16610c3c612d51565b73ffffffffffffffffffffffffffffffffffffffff1614610c9f57610c6881610c63612d51565b6129dd565b610c9e576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b610d5c612d59565b73ffffffffffffffffffffffffffffffffffffffff16610d7a6120e2565b73ffffffffffffffffffffffffffffffffffffffff1614610dd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc790613d54565b60405180910390fd5b601054600f81905550565b601360009054906101000a900460ff1681565b60105481565b600e5481565b610e02612d59565b73ffffffffffffffffffffffffffffffffffffffff16610e206120e2565b73ffffffffffffffffffffffffffffffffffffffff1614610e76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6d90613d54565b60405180910390fd5b80600b9081610e859190613f20565b5050565b610e91612d59565b73ffffffffffffffffffffffffffffffffffffffff16610eaf6120e2565b73ffffffffffffffffffffffffffffffffffffffff1614610f05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610efc90613d54565b60405180910390fd5b80601360016101000a81548160ff02191690831515021790555050565b6000610f2c612d61565b6001546000540303905090565b6000610f4482612d6a565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610fab576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610fb784612e36565b91509150610fcd8187610fc8612d51565b612e5d565b61101957610fe286610fdd612d51565b6129dd565b611018576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff160361107f576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61108c8686866001612ea1565b801561109757600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001019190508190555061116585611141888887612ea7565b7c020000000000000000000000000000000000000000000000000000000017612ecf565b600460008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416036111eb57600060018501905060006004600083815260200190815260200160002054036111e95760005481146111e8578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46112538686866001612efa565b505050505050565b600d805461126890613cd7565b80601f016020809104026020016040519081016040528092919081815260200182805461129490613cd7565b80156112e15780601f106112b6576101008083540402835291602001916112e1565b820191906000526020600020905b8154815290600101906020018083116112c457829003601f168201915b505050505081565b601360019054906101000a900460ff1615611339576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113309061403e565b60405180910390fd5b8160008111801561134c57506011548111155b61138b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611382906140aa565b60405180910390fd5b60105481611397610f22565b6113a191906140f9565b11156113e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d990614179565b60405180910390fd5b6113ea612d59565b73ffffffffffffffffffffffffffffffffffffffff166114086120e2565b73ffffffffffffffffffffffffffffffffffffffff161461145e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145590613d54565b60405180910390fd5b6012548311156114a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149a906141e5565b60405180910390fd5b82601260008282546114b59190614205565b925050819055506114c68284612f00565b505050565b6114d3612d59565b73ffffffffffffffffffffffffffffffffffffffff166114f16120e2565b73ffffffffffffffffffffffffffffffffffffffff1614611547576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153e90613d54565b60405180910390fd5b60026009540361158c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158390614285565b60405180910390fd5b6002600981905550600047905060007344084dff2a31c34c7ea4cfcea80ac9a883c51f7473ffffffffffffffffffffffffffffffffffffffff1660646023846115d591906142a5565b6115df919061432e565b6040516115eb906143b6565b60006040518083038185875af1925050503d8060008114611628576040519150601f19603f3d011682016040523d82523d6000602084013e61162d565b606091505b50508091505080611673576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166a90614417565b60405180910390fd5b73cea28cd43406a8a83d140dd9a4abf8a413735fed73ffffffffffffffffffffffffffffffffffffffff1660646023846116ad91906142a5565b6116b7919061432e565b6040516116c390614483565b60006040518083038185875af1925050503d8060008114611700576040519150601f19603f3d011682016040523d82523d6000602084013e611705565b606091505b5050809150508061174b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611742906144e4565b60405180910390fd5b73c259d6a0623411033f2e69384556f7c0f49dfa3773ffffffffffffffffffffffffffffffffffffffff166064600a8461178591906142a5565b61178f919061432e565b60405161179b90614550565b60006040518083038185875af1925050503d80600081146117d8576040519150601f19603f3d011682016040523d82523d6000602084013e6117dd565b606091505b50508091505080611823576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181a906145b1565b60405180910390fd5b601360039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16606460148461186b91906142a5565b611875919061432e565b6040516118819061461d565b60006040518083038185875af1925050503d80600081146118be576040519150601f19603f3d011682016040523d82523d6000602084013e6118c3565b606091505b50508091505080611909576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119009061467e565b60405180910390fd5b60006119136120e2565b73ffffffffffffffffffffffffffffffffffffffff1647604051611936906146c4565b60006040518083038185875af1925050503d8060008114611973576040519150601f19603f3d011682016040523d82523d6000602084013e611978565b606091505b505090508061198657600080fd5b5050506001600981905550565b6119ae83838360405180602001604052806000815250612642565b505050565b6119bb612d59565b73ffffffffffffffffffffffffffffffffffffffff166119d96120e2565b73ffffffffffffffffffffffffffffffffffffffff1614611a2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2690613d54565b60405180910390fd5b80600e8190555050565b600f5481565b611a47612d59565b73ffffffffffffffffffffffffffffffffffffffff16611a656120e2565b73ffffffffffffffffffffffffffffffffffffffff1614611abb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab290613d54565b60405180910390fd5b80600c9081611aca9190613f20565b5050565b601360029054906101000a900460ff1681565b600b8054611aee90613cd7565b80601f0160208091040260200160405190810160405280929190818152602001828054611b1a90613cd7565b8015611b675780601f10611b3c57610100808354040283529160200191611b67565b820191906000526020600020905b815481529060010190602001808311611b4a57829003601f168201915b505050505081565b601360019054906101000a900460ff1681565b600a8054611b8f90613cd7565b80601f0160208091040260200160405190810160405280929190818152602001828054611bbb90613cd7565b8015611c085780601f10611bdd57610100808354040283529160200191611c08565b820191906000526020600020905b815481529060010190602001808311611beb57829003601f168201915b505050505081565b6000611c1b82612d6a565b9050919050565b611c2a612d59565b73ffffffffffffffffffffffffffffffffffffffff16611c486120e2565b73ffffffffffffffffffffffffffffffffffffffff1614611c9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9590613d54565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16601360039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611d2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2690614725565b60405180910390fd5b80601360036101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b601360039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611e00576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611e59612d59565b73ffffffffffffffffffffffffffffffffffffffff16611e776120e2565b73ffffffffffffffffffffffffffffffffffffffff1614611ecd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec490613d54565b60405180910390fd5b611ed76000612f1e565b565b611ee1612d59565b73ffffffffffffffffffffffffffffffffffffffff16611eff6120e2565b73ffffffffffffffffffffffffffffffffffffffff1614611f55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4c90613d54565b60405180910390fd5b600f548111158015611f6957506010548110155b611fa8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9f90614791565b60405180910390fd5b8060108190555050565b611fba612d59565b73ffffffffffffffffffffffffffffffffffffffff16611fd86120e2565b73ffffffffffffffffffffffffffffffffffffffff161461202e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202590613d54565b60405180910390fd5b80600a908161203d9190613f20565b5050565b612049612d59565b73ffffffffffffffffffffffffffffffffffffffff166120676120e2565b73ffffffffffffffffffffffffffffffffffffffff16146120bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b490613d54565b60405180910390fd5b80601360006101000a81548160ff02191690831515021790555050565b600047905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60115481565b60606003805461212190613cd7565b80601f016020809104026020016040519081016040528092919081815260200182805461214d90613cd7565b801561219a5780601f1061216f5761010080835404028352916020019161219a565b820191906000526020600020905b81548152906001019060200180831161217d57829003601f168201915b5050505050905090565b601360019054906101000a900460ff16156121f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121eb9061403e565b60405180910390fd5b8060008111801561220757506011548111155b612246576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223d906140aa565b60405180910390fd5b60105481612252610f22565b61225c91906140f9565b111561229d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161229490614179565b60405180910390fd5b8180600e546122ac91906142a5565b3410156122ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122e5906147fd565b60405180910390fd5b601360009054906101000a900460ff1661233d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233490614869565b60405180910390fd5b60125460105461234d9190614205565b83612356610f22565b61236091906140f9565b11156123a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161239890614179565b60405180910390fd5b6123b26123ac612d59565b84612f00565b505050565b6123bf612d51565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612423576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000612430612d51565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166124dd612d51565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612522919061364b565b60405180910390a35050565b600c805461253b90613cd7565b80601f016020809104026020016040519081016040528092919081815260200182805461256790613cd7565b80156125b45780601f10612589576101008083540402835291602001916125b4565b820191906000526020600020905b81548152906001019060200180831161259757829003601f168201915b505050505081565b6125c4612d59565b73ffffffffffffffffffffffffffffffffffffffff166125e26120e2565b73ffffffffffffffffffffffffffffffffffffffff1614612638576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262f90613d54565b60405180910390fd5b8060118190555050565b61264d848484610f39565b60008373ffffffffffffffffffffffffffffffffffffffff163b146126af5761267884848484612fe4565b6126ae576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60606126c082612cf2565b6126ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126f6906148d5565b60405180910390fd5b60001515601360029054906101000a900460ff161515036128545760008211801561272b5750600a8211155b156127c257600d805461273d90613cd7565b80601f016020809104026020016040519081016040528092919081815260200182805461276990613cd7565b80156127b65780601f1061278b576101008083540402835291602001916127b6565b820191906000526020600020905b81548152906001019060200180831161279957829003601f168201915b505050505090506128b0565b600c80546127cf90613cd7565b80601f01602080910402602001604051908101604052809291908181526020018280546127fb90613cd7565b80156128485780601f1061281d57610100808354040283529160200191612848565b820191906000526020600020905b81548152906001019060200180831161282b57829003601f168201915b505050505090506128b0565b600061285e613134565b9050600081511161287e57604051806020016040528060008152506128ac565b80612888846131c6565b600b60405160200161289c939291906149b4565b6040516020818303038152906040525b9150505b919050565b6128bd612d59565b73ffffffffffffffffffffffffffffffffffffffff166128db6120e2565b73ffffffffffffffffffffffffffffffffffffffff1614612931576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161292890613d54565b60405180910390fd5b80600d90816129409190613f20565b5050565b61294c612d59565b73ffffffffffffffffffffffffffffffffffffffff1661296a6120e2565b73ffffffffffffffffffffffffffffffffffffffff16146129c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129b790613d54565b60405180910390fd5b80601360026101000a81548160ff02191690831515021790555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b601360019054906101000a900460ff1615612ac1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ab89061403e565b60405180910390fd5b81600081118015612ad457506011548111155b612b13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b0a906140aa565b60405180910390fd5b60105481612b1f610f22565b612b2991906140f9565b1115612b6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b6190614179565b60405180910390fd5b612b72612d59565b73ffffffffffffffffffffffffffffffffffffffff16612b906120e2565b73ffffffffffffffffffffffffffffffffffffffff1614612be6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bdd90613d54565b60405180910390fd5b612bf08284612f00565b505050565b612bfd612d59565b73ffffffffffffffffffffffffffffffffffffffff16612c1b6120e2565b73ffffffffffffffffffffffffffffffffffffffff1614612c71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c6890613d54565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612ce0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cd790614a57565b60405180910390fd5b612ce981612f1e565b50565b60125481565b600081612cfd612d61565b11158015612d0c575060005482105b8015612d4a575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600033905090565b60006001905090565b60008082905080612d79612d61565b11612dff57600054811015612dfe5760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603612dfc575b60008103612df2576004600083600190039350838152602001908152602001600020549050612dc8565b8092505050612e31565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612ebe868684613326565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b612f1a82826040518060200160405280600081525061332f565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261300a612d51565b8786866040518563ffffffff1660e01b815260040161302c9493929190614acc565b6020604051808303816000875af192505050801561306857506040513d601f19601f820116820180604052508101906130659190614b2d565b60015b6130e1573d8060008114613098576040519150601f19603f3d011682016040523d82523d6000602084013e61309d565b606091505b5060008151036130d9576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600a805461314390613cd7565b80601f016020809104026020016040519081016040528092919081815260200182805461316f90613cd7565b80156131bc5780601f10613191576101008083540402835291602001916131bc565b820191906000526020600020905b81548152906001019060200180831161319f57829003601f168201915b5050505050905090565b60606000820361320d576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613321565b600082905060005b6000821461323f57808061322890614b5a565b915050600a82613238919061432e565b9150613215565b60008167ffffffffffffffff81111561325b5761325a613877565b5b6040519080825280601f01601f19166020018201604052801561328d5781602001600182028036833780820191505090505b5090505b6000851461331a576001826132a69190614205565b9150600a856132b59190614ba2565b60306132c191906140f9565b60f81b8183815181106132d7576132d6614bd3565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613313919061432e565b9450613291565b8093505050505b919050565b60009392505050565b61333983836133cc565b60008373ffffffffffffffffffffffffffffffffffffffff163b146133c757600080549050600083820390505b6133796000868380600101945086612fe4565b6133af576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106133665781600054146133c457600080fd5b50505b505050565b6000805490506000820361340c576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6134196000848385612ea1565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550613490836134816000866000612ea7565b61348a85613587565b17612ecf565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b81811461353157808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001810190506134f6565b506000820361356c576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060008190555050506135826000848385612efa565b505050565b60006001821460e11b9050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6135e0816135ab565b81146135eb57600080fd5b50565b6000813590506135fd816135d7565b92915050565b600060208284031215613619576136186135a1565b5b6000613627848285016135ee565b91505092915050565b60008115159050919050565b61364581613630565b82525050565b6000602082019050613660600083018461363c565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156136a0578082015181840152602081019050613685565b60008484015250505050565b6000601f19601f8301169050919050565b60006136c882613666565b6136d28185613671565b93506136e2818560208601613682565b6136eb816136ac565b840191505092915050565b6000602082019050818103600083015261371081846136bd565b905092915050565b6000819050919050565b61372b81613718565b811461373657600080fd5b50565b60008135905061374881613722565b92915050565b600060208284031215613764576137636135a1565b5b600061377284828501613739565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006137a68261377b565b9050919050565b6137b68161379b565b82525050565b60006020820190506137d160008301846137ad565b92915050565b6137e08161379b565b81146137eb57600080fd5b50565b6000813590506137fd816137d7565b92915050565b6000806040838503121561381a576138196135a1565b5b6000613828858286016137ee565b925050602061383985828601613739565b9150509250929050565b61384c81613718565b82525050565b60006020820190506138676000830184613843565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6138af826136ac565b810181811067ffffffffffffffff821117156138ce576138cd613877565b5b80604052505050565b60006138e1613597565b90506138ed82826138a6565b919050565b600067ffffffffffffffff82111561390d5761390c613877565b5b613916826136ac565b9050602081019050919050565b82818337600083830152505050565b6000613945613940846138f2565b6138d7565b90508281526020810184848401111561396157613960613872565b5b61396c848285613923565b509392505050565b600082601f8301126139895761398861386d565b5b8135613999848260208601613932565b91505092915050565b6000602082840312156139b8576139b76135a1565b5b600082013567ffffffffffffffff8111156139d6576139d56135a6565b5b6139e284828501613974565b91505092915050565b6139f481613630565b81146139ff57600080fd5b50565b600081359050613a11816139eb565b92915050565b600060208284031215613a2d57613a2c6135a1565b5b6000613a3b84828501613a02565b91505092915050565b600080600060608486031215613a5d57613a5c6135a1565b5b6000613a6b868287016137ee565b9350506020613a7c868287016137ee565b9250506040613a8d86828701613739565b9150509250925092565b60008060408385031215613aae57613aad6135a1565b5b6000613abc85828601613739565b9250506020613acd858286016137ee565b9150509250929050565b600060208284031215613aed57613aec6135a1565b5b6000613afb848285016137ee565b91505092915050565b60008060408385031215613b1b57613b1a6135a1565b5b6000613b29858286016137ee565b9250506020613b3a85828601613a02565b9150509250929050565b600067ffffffffffffffff821115613b5f57613b5e613877565b5b613b68826136ac565b9050602081019050919050565b6000613b88613b8384613b44565b6138d7565b905082815260208101848484011115613ba457613ba3613872565b5b613baf848285613923565b509392505050565b600082601f830112613bcc57613bcb61386d565b5b8135613bdc848260208601613b75565b91505092915050565b60008060008060808587031215613bff57613bfe6135a1565b5b6000613c0d878288016137ee565b9450506020613c1e878288016137ee565b9350506040613c2f87828801613739565b925050606085013567ffffffffffffffff811115613c5057613c4f6135a6565b5b613c5c87828801613bb7565b91505092959194509250565b60008060408385031215613c7f57613c7e6135a1565b5b6000613c8d858286016137ee565b9250506020613c9e858286016137ee565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613cef57607f821691505b602082108103613d0257613d01613ca8565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613d3e602083613671565b9150613d4982613d08565b602082019050919050565b60006020820190508181036000830152613d6d81613d31565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302613dd67fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613d99565b613de08683613d99565b95508019841693508086168417925050509392505050565b6000819050919050565b6000613e1d613e18613e1384613718565b613df8565b613718565b9050919050565b6000819050919050565b613e3783613e02565b613e4b613e4382613e24565b848454613da6565b825550505050565b600090565b613e60613e53565b613e6b818484613e2e565b505050565b5b81811015613e8f57613e84600082613e58565b600181019050613e71565b5050565b601f821115613ed457613ea581613d74565b613eae84613d89565b81016020851015613ebd578190505b613ed1613ec985613d89565b830182613e70565b50505b505050565b600082821c905092915050565b6000613ef760001984600802613ed9565b1980831691505092915050565b6000613f108383613ee6565b9150826002028217905092915050565b613f2982613666565b67ffffffffffffffff811115613f4257613f41613877565b5b613f4c8254613cd7565b613f57828285613e93565b600060209050601f831160018114613f8a5760008415613f78578287015190505b613f828582613f04565b865550613fea565b601f198416613f9886613d74565b60005b82811015613fc057848901518255600182019150602085019450602081019050613f9b565b86831015613fdd5784890151613fd9601f891682613ee6565b8355505b6001600288020188555050505b505050505050565b7f54686520636f6e74726163742069732070617573656421000000000000000000600082015250565b6000614028601783613671565b915061403382613ff2565b602082019050919050565b600060208201905081810360008301526140578161401b565b9050919050565b7f496e76616c6964206d696e7420616d6f756e7421000000000000000000000000600082015250565b6000614094601483613671565b915061409f8261405e565b602082019050919050565b600060208201905081810360008301526140c381614087565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061410482613718565b915061410f83613718565b9250828201905080821115614127576141266140ca565b5b92915050565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b6000614163601483613671565b915061416e8261412d565b602082019050919050565b6000602082019050818103600083015261419281614156565b9050919050565b7f45786365656473207265736572766564204e46547320737570706c7900000000600082015250565b60006141cf601c83613671565b91506141da82614199565b602082019050919050565b600060208201905081810360008301526141fe816141c2565b9050919050565b600061421082613718565b915061421b83613718565b9250828203905081811115614233576142326140ca565b5b92915050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b600061426f601f83613671565b915061427a82614239565b602082019050919050565b6000602082019050818103600083015261429e81614262565b9050919050565b60006142b082613718565b91506142bb83613718565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156142f4576142f36140ca565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061433982613718565b915061434483613718565b925082614354576143536142ff565b5b828204905092915050565b600081905092915050565b7f426c6f6371580000000000000000000000000000000000000000000000000000600082015250565b60006143a060068361435f565b91506143ab8261436a565b600682019050919050565b60006143c182614393565b9150819050919050565b7f426c6f637158205472616e73616374696f6e20556e7375636365737366756c00600082015250565b6000614401601f83613671565b915061440c826143cb565b602082019050919050565b60006020820190508181036000830152614430816143f4565b9050919050565b7f4d6f646500000000000000000000000000000000000000000000000000000000600082015250565b600061446d60048361435f565b915061447882614437565b600482019050919050565b600061448e82614460565b9150819050919050565b7f4d6f6465205472616e73616374696f6e20556e7375636365737366756c000000600082015250565b60006144ce601d83613671565b91506144d982614498565b602082019050919050565b600060208201905081810360008301526144fd816144c1565b9050919050565b7f4c7444616e000000000000000000000000000000000000000000000000000000600082015250565b600061453a60058361435f565b915061454582614504565b600582019050919050565b600061455b8261452d565b9150819050919050565b7f44616e205472616e73616374696f6e20556e7375636365737366756c00000000600082015250565b600061459b601c83613671565b91506145a682614565565b602082019050919050565b600060208201905081810360008301526145ca8161458e565b9050919050565b7f44414f0000000000000000000000000000000000000000000000000000000000600082015250565b600061460760038361435f565b9150614612826145d1565b600382019050919050565b6000614628826145fa565b9150819050919050565b7f44414f205472616e73616374696f6e20556e7375636365737366756c00000000600082015250565b6000614668601c83613671565b915061467382614632565b602082019050919050565b600060208201905081810360008301526146978161465b565b9050919050565b50565b60006146ae60008361435f565b91506146b98261469e565b600082019050919050565b60006146cf826146a1565b9150819050919050565b7f44414f2077616c6c657420616c72656164792073657400000000000000000000600082015250565b600061470f601683613671565b915061471a826146d9565b602082019050919050565b6000602082019050818103600083015261473e81614702565b9050919050565b7f496e76616c696420737570706c79000000000000000000000000000000000000600082015250565b600061477b600e83613671565b915061478682614745565b602082019050919050565b600060208201905081810360008301526147aa8161476e565b9050919050565b7f496e73756666696369656e742066756e64732100000000000000000000000000600082015250565b60006147e7601383613671565b91506147f2826147b1565b602082019050919050565b60006020820190508181036000830152614816816147da565b9050919050565b7f5075626c69632073616c65206973206e6f74206163746976652e000000000000600082015250565b6000614853601a83613671565b915061485e8261481d565b602082019050919050565b6000602082019050818103600083015261488281614846565b9050919050565b7f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e00600082015250565b60006148bf601f83613671565b91506148ca82614889565b602082019050919050565b600060208201905081810360008301526148ee816148b2565b9050919050565b600081905092915050565b600061490b82613666565b61491581856148f5565b9350614925818560208601613682565b80840191505092915050565b6000815461493e81613cd7565b61494881866148f5565b945060018216600081146149635760018114614978576149ab565b60ff19831686528115158202860193506149ab565b61498185613d74565b60005b838110156149a357815481890152600182019150602081019050614984565b838801955050505b50505092915050565b60006149c08286614900565b91506149cc8285614900565b91506149d88284614931565b9150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614a41602683613671565b9150614a4c826149e5565b604082019050919050565b60006020820190508181036000830152614a7081614a34565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000614a9e82614a77565b614aa88185614a82565b9350614ab8818560208601613682565b614ac1816136ac565b840191505092915050565b6000608082019050614ae160008301876137ad565b614aee60208301866137ad565b614afb6040830185613843565b8181036060830152614b0d8184614a93565b905095945050505050565b600081519050614b27816135d7565b92915050565b600060208284031215614b4357614b426135a1565b5b6000614b5184828501614b18565b91505092915050565b6000614b6582613718565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614b9757614b966140ca565b5b600182019050919050565b6000614bad82613718565b9150614bb883613718565b925082614bc857614bc76142ff565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea26469706673582212205c9bfd7c83f8b11244cdccf583c0dfd34ac504038aa8ab55731a5f65a13245a064736f6c6343000810003300000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000429d069189e0000000000000000000000000000000000000000000000000000000000000000196300000000000000000000000000000000000000000000000000000000000005e60000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000001c5468652058204e46542047656e6573697320436f6c6c656374696f6e000000000000000000000000000000000000000000000000000000000000000000000004584e465400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004368747470733a2f2f746865786e66742e73332e616d617a6f6e6177732e636f6d2f68696464656e2f6c6567696f6e6e616972655f756e72657665616c65642e6a736f6e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004168747470733a2f2f746865786e66742e73332e616d617a6f6e6177732e636f6d2f68696464656e2f6c6567656e646172795f756e72657665616c65642e6a736f6e00000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102885760003560e01c80636352211e1161015a578063a0712d68116100c1578063dfb6c2e51161007a578063dfb6c2e514610961578063e0a808531461098a578063e985e9c5146109b3578063efbd73f4146109f0578063f2fde38b14610a19578063f375b7c714610a4257610288565b8063a0712d6814610862578063a22cb4651461087e578063a45ba8e7146108a7578063b071401b146108d2578063b88d4fde146108fb578063c87b56dd1461092457610288565b80637ec4a659116101135780637ec4a65914610764578063818668d71461078d5780638b7afe2e146107b65780638da5cb5b146107e157806394354fd01461080c57806395d89b411461083757610288565b80636352211e1461065657806364997e0114610693578063698a5897146106bc57806370a08231146106e7578063715018a614610724578063730220111461073b57610288565b806323b872dd116101fe5780634ad66811116101b75780634ad66811146105565780634fdd43cb1461058157806351830227146105aa5780635503a0e8146105d55780635c975abb1461060057806362b99ad41461062b57610288565b806323b872dd146104705780632c4934dc1461049957806331573421146104c45780633ccfd60b146104ed57806342842e0e1461050457806344a0d68a1461052d57610288565b80630f4161aa116102505780630f4161aa14610372578063104aeef81461039d57806313faede6146103c857806316ba10e0146103f357806316c38b3c1461041c57806318160ddd1461044557610288565b806301ffc9a71461028d57806306fdde03146102ca578063081812fc146102f5578063095ea7b3146103325780630e3925b81461035b575b600080fd5b34801561029957600080fd5b506102b460048036038101906102af9190613603565b610a6d565b6040516102c1919061364b565b60405180910390f35b3480156102d657600080fd5b506102df610aff565b6040516102ec91906136f6565b60405180910390f35b34801561030157600080fd5b5061031c6004803603810190610317919061374e565b610b91565b60405161032991906137bc565b60405180910390f35b34801561033e57600080fd5b5061035960048036038101906103549190613803565b610c10565b005b34801561036757600080fd5b50610370610d54565b005b34801561037e57600080fd5b50610387610ddb565b604051610394919061364b565b60405180910390f35b3480156103a957600080fd5b506103b2610dee565b6040516103bf9190613852565b60405180910390f35b3480156103d457600080fd5b506103dd610df4565b6040516103ea9190613852565b60405180910390f35b3480156103ff57600080fd5b5061041a600480360381019061041591906139a2565b610dfa565b005b34801561042857600080fd5b50610443600480360381019061043e9190613a17565b610e89565b005b34801561045157600080fd5b5061045a610f22565b6040516104679190613852565b60405180910390f35b34801561047c57600080fd5b5061049760048036038101906104929190613a44565b610f39565b005b3480156104a557600080fd5b506104ae61125b565b6040516104bb91906136f6565b60405180910390f35b3480156104d057600080fd5b506104eb60048036038101906104e69190613a97565b6112e9565b005b3480156104f957600080fd5b506105026114cb565b005b34801561051057600080fd5b5061052b60048036038101906105269190613a44565b611993565b005b34801561053957600080fd5b50610554600480360381019061054f919061374e565b6119b3565b005b34801561056257600080fd5b5061056b611a39565b6040516105789190613852565b60405180910390f35b34801561058d57600080fd5b506105a860048036038101906105a391906139a2565b611a3f565b005b3480156105b657600080fd5b506105bf611ace565b6040516105cc919061364b565b60405180910390f35b3480156105e157600080fd5b506105ea611ae1565b6040516105f791906136f6565b60405180910390f35b34801561060c57600080fd5b50610615611b6f565b604051610622919061364b565b60405180910390f35b34801561063757600080fd5b50610640611b82565b60405161064d91906136f6565b60405180910390f35b34801561066257600080fd5b5061067d6004803603810190610678919061374e565b611c10565b60405161068a91906137bc565b60405180910390f35b34801561069f57600080fd5b506106ba60048036038101906106b59190613ad7565b611c22565b005b3480156106c857600080fd5b506106d1611d73565b6040516106de91906137bc565b60405180910390f35b3480156106f357600080fd5b5061070e60048036038101906107099190613ad7565b611d99565b60405161071b9190613852565b60405180910390f35b34801561073057600080fd5b50610739611e51565b005b34801561074757600080fd5b50610762600480360381019061075d919061374e565b611ed9565b005b34801561077057600080fd5b5061078b600480360381019061078691906139a2565b611fb2565b005b34801561079957600080fd5b506107b460048036038101906107af9190613a17565b612041565b005b3480156107c257600080fd5b506107cb6120da565b6040516107d89190613852565b60405180910390f35b3480156107ed57600080fd5b506107f66120e2565b60405161080391906137bc565b60405180910390f35b34801561081857600080fd5b5061082161210c565b60405161082e9190613852565b60405180910390f35b34801561084357600080fd5b5061084c612112565b60405161085991906136f6565b60405180910390f35b61087c6004803603810190610877919061374e565b6121a4565b005b34801561088a57600080fd5b506108a560048036038101906108a09190613b04565b6123b7565b005b3480156108b357600080fd5b506108bc61252e565b6040516108c991906136f6565b60405180910390f35b3480156108de57600080fd5b506108f960048036038101906108f4919061374e565b6125bc565b005b34801561090757600080fd5b50610922600480360381019061091d9190613be5565b612642565b005b34801561093057600080fd5b5061094b6004803603810190610946919061374e565b6126b5565b60405161095891906136f6565b60405180910390f35b34801561096d57600080fd5b50610988600480360381019061098391906139a2565b6128b5565b005b34801561099657600080fd5b506109b160048036038101906109ac9190613a17565b612944565b005b3480156109bf57600080fd5b506109da60048036038101906109d59190613c68565b6129dd565b6040516109e7919061364b565b60405180910390f35b3480156109fc57600080fd5b50610a176004803603810190610a129190613a97565b612a71565b005b348015610a2557600080fd5b50610a406004803603810190610a3b9190613ad7565b612bf5565b005b348015610a4e57600080fd5b50610a57612cec565b604051610a649190613852565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ac857506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610af85750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610b0e90613cd7565b80601f0160208091040260200160405190810160405280929190818152602001828054610b3a90613cd7565b8015610b875780601f10610b5c57610100808354040283529160200191610b87565b820191906000526020600020905b815481529060010190602001808311610b6a57829003601f168201915b5050505050905090565b6000610b9c82612cf2565b610bd2576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c1b82611c10565b90508073ffffffffffffffffffffffffffffffffffffffff16610c3c612d51565b73ffffffffffffffffffffffffffffffffffffffff1614610c9f57610c6881610c63612d51565b6129dd565b610c9e576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b610d5c612d59565b73ffffffffffffffffffffffffffffffffffffffff16610d7a6120e2565b73ffffffffffffffffffffffffffffffffffffffff1614610dd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc790613d54565b60405180910390fd5b601054600f81905550565b601360009054906101000a900460ff1681565b60105481565b600e5481565b610e02612d59565b73ffffffffffffffffffffffffffffffffffffffff16610e206120e2565b73ffffffffffffffffffffffffffffffffffffffff1614610e76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6d90613d54565b60405180910390fd5b80600b9081610e859190613f20565b5050565b610e91612d59565b73ffffffffffffffffffffffffffffffffffffffff16610eaf6120e2565b73ffffffffffffffffffffffffffffffffffffffff1614610f05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610efc90613d54565b60405180910390fd5b80601360016101000a81548160ff02191690831515021790555050565b6000610f2c612d61565b6001546000540303905090565b6000610f4482612d6a565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610fab576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610fb784612e36565b91509150610fcd8187610fc8612d51565b612e5d565b61101957610fe286610fdd612d51565b6129dd565b611018576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff160361107f576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61108c8686866001612ea1565b801561109757600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001019190508190555061116585611141888887612ea7565b7c020000000000000000000000000000000000000000000000000000000017612ecf565b600460008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416036111eb57600060018501905060006004600083815260200190815260200160002054036111e95760005481146111e8578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46112538686866001612efa565b505050505050565b600d805461126890613cd7565b80601f016020809104026020016040519081016040528092919081815260200182805461129490613cd7565b80156112e15780601f106112b6576101008083540402835291602001916112e1565b820191906000526020600020905b8154815290600101906020018083116112c457829003601f168201915b505050505081565b601360019054906101000a900460ff1615611339576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113309061403e565b60405180910390fd5b8160008111801561134c57506011548111155b61138b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611382906140aa565b60405180910390fd5b60105481611397610f22565b6113a191906140f9565b11156113e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d990614179565b60405180910390fd5b6113ea612d59565b73ffffffffffffffffffffffffffffffffffffffff166114086120e2565b73ffffffffffffffffffffffffffffffffffffffff161461145e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145590613d54565b60405180910390fd5b6012548311156114a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149a906141e5565b60405180910390fd5b82601260008282546114b59190614205565b925050819055506114c68284612f00565b505050565b6114d3612d59565b73ffffffffffffffffffffffffffffffffffffffff166114f16120e2565b73ffffffffffffffffffffffffffffffffffffffff1614611547576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153e90613d54565b60405180910390fd5b60026009540361158c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158390614285565b60405180910390fd5b6002600981905550600047905060007344084dff2a31c34c7ea4cfcea80ac9a883c51f7473ffffffffffffffffffffffffffffffffffffffff1660646023846115d591906142a5565b6115df919061432e565b6040516115eb906143b6565b60006040518083038185875af1925050503d8060008114611628576040519150601f19603f3d011682016040523d82523d6000602084013e61162d565b606091505b50508091505080611673576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166a90614417565b60405180910390fd5b73cea28cd43406a8a83d140dd9a4abf8a413735fed73ffffffffffffffffffffffffffffffffffffffff1660646023846116ad91906142a5565b6116b7919061432e565b6040516116c390614483565b60006040518083038185875af1925050503d8060008114611700576040519150601f19603f3d011682016040523d82523d6000602084013e611705565b606091505b5050809150508061174b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611742906144e4565b60405180910390fd5b73c259d6a0623411033f2e69384556f7c0f49dfa3773ffffffffffffffffffffffffffffffffffffffff166064600a8461178591906142a5565b61178f919061432e565b60405161179b90614550565b60006040518083038185875af1925050503d80600081146117d8576040519150601f19603f3d011682016040523d82523d6000602084013e6117dd565b606091505b50508091505080611823576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181a906145b1565b60405180910390fd5b601360039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16606460148461186b91906142a5565b611875919061432e565b6040516118819061461d565b60006040518083038185875af1925050503d80600081146118be576040519150601f19603f3d011682016040523d82523d6000602084013e6118c3565b606091505b50508091505080611909576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119009061467e565b60405180910390fd5b60006119136120e2565b73ffffffffffffffffffffffffffffffffffffffff1647604051611936906146c4565b60006040518083038185875af1925050503d8060008114611973576040519150601f19603f3d011682016040523d82523d6000602084013e611978565b606091505b505090508061198657600080fd5b5050506001600981905550565b6119ae83838360405180602001604052806000815250612642565b505050565b6119bb612d59565b73ffffffffffffffffffffffffffffffffffffffff166119d96120e2565b73ffffffffffffffffffffffffffffffffffffffff1614611a2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2690613d54565b60405180910390fd5b80600e8190555050565b600f5481565b611a47612d59565b73ffffffffffffffffffffffffffffffffffffffff16611a656120e2565b73ffffffffffffffffffffffffffffffffffffffff1614611abb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab290613d54565b60405180910390fd5b80600c9081611aca9190613f20565b5050565b601360029054906101000a900460ff1681565b600b8054611aee90613cd7565b80601f0160208091040260200160405190810160405280929190818152602001828054611b1a90613cd7565b8015611b675780601f10611b3c57610100808354040283529160200191611b67565b820191906000526020600020905b815481529060010190602001808311611b4a57829003601f168201915b505050505081565b601360019054906101000a900460ff1681565b600a8054611b8f90613cd7565b80601f0160208091040260200160405190810160405280929190818152602001828054611bbb90613cd7565b8015611c085780601f10611bdd57610100808354040283529160200191611c08565b820191906000526020600020905b815481529060010190602001808311611beb57829003601f168201915b505050505081565b6000611c1b82612d6a565b9050919050565b611c2a612d59565b73ffffffffffffffffffffffffffffffffffffffff16611c486120e2565b73ffffffffffffffffffffffffffffffffffffffff1614611c9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9590613d54565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16601360039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611d2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2690614725565b60405180910390fd5b80601360036101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b601360039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611e00576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611e59612d59565b73ffffffffffffffffffffffffffffffffffffffff16611e776120e2565b73ffffffffffffffffffffffffffffffffffffffff1614611ecd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec490613d54565b60405180910390fd5b611ed76000612f1e565b565b611ee1612d59565b73ffffffffffffffffffffffffffffffffffffffff16611eff6120e2565b73ffffffffffffffffffffffffffffffffffffffff1614611f55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4c90613d54565b60405180910390fd5b600f548111158015611f6957506010548110155b611fa8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9f90614791565b60405180910390fd5b8060108190555050565b611fba612d59565b73ffffffffffffffffffffffffffffffffffffffff16611fd86120e2565b73ffffffffffffffffffffffffffffffffffffffff161461202e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202590613d54565b60405180910390fd5b80600a908161203d9190613f20565b5050565b612049612d59565b73ffffffffffffffffffffffffffffffffffffffff166120676120e2565b73ffffffffffffffffffffffffffffffffffffffff16146120bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b490613d54565b60405180910390fd5b80601360006101000a81548160ff02191690831515021790555050565b600047905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60115481565b60606003805461212190613cd7565b80601f016020809104026020016040519081016040528092919081815260200182805461214d90613cd7565b801561219a5780601f1061216f5761010080835404028352916020019161219a565b820191906000526020600020905b81548152906001019060200180831161217d57829003601f168201915b5050505050905090565b601360019054906101000a900460ff16156121f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121eb9061403e565b60405180910390fd5b8060008111801561220757506011548111155b612246576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223d906140aa565b60405180910390fd5b60105481612252610f22565b61225c91906140f9565b111561229d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161229490614179565b60405180910390fd5b8180600e546122ac91906142a5565b3410156122ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122e5906147fd565b60405180910390fd5b601360009054906101000a900460ff1661233d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233490614869565b60405180910390fd5b60125460105461234d9190614205565b83612356610f22565b61236091906140f9565b11156123a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161239890614179565b60405180910390fd5b6123b26123ac612d59565b84612f00565b505050565b6123bf612d51565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612423576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000612430612d51565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166124dd612d51565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612522919061364b565b60405180910390a35050565b600c805461253b90613cd7565b80601f016020809104026020016040519081016040528092919081815260200182805461256790613cd7565b80156125b45780601f10612589576101008083540402835291602001916125b4565b820191906000526020600020905b81548152906001019060200180831161259757829003601f168201915b505050505081565b6125c4612d59565b73ffffffffffffffffffffffffffffffffffffffff166125e26120e2565b73ffffffffffffffffffffffffffffffffffffffff1614612638576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262f90613d54565b60405180910390fd5b8060118190555050565b61264d848484610f39565b60008373ffffffffffffffffffffffffffffffffffffffff163b146126af5761267884848484612fe4565b6126ae576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60606126c082612cf2565b6126ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126f6906148d5565b60405180910390fd5b60001515601360029054906101000a900460ff161515036128545760008211801561272b5750600a8211155b156127c257600d805461273d90613cd7565b80601f016020809104026020016040519081016040528092919081815260200182805461276990613cd7565b80156127b65780601f1061278b576101008083540402835291602001916127b6565b820191906000526020600020905b81548152906001019060200180831161279957829003601f168201915b505050505090506128b0565b600c80546127cf90613cd7565b80601f01602080910402602001604051908101604052809291908181526020018280546127fb90613cd7565b80156128485780601f1061281d57610100808354040283529160200191612848565b820191906000526020600020905b81548152906001019060200180831161282b57829003601f168201915b505050505090506128b0565b600061285e613134565b9050600081511161287e57604051806020016040528060008152506128ac565b80612888846131c6565b600b60405160200161289c939291906149b4565b6040516020818303038152906040525b9150505b919050565b6128bd612d59565b73ffffffffffffffffffffffffffffffffffffffff166128db6120e2565b73ffffffffffffffffffffffffffffffffffffffff1614612931576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161292890613d54565b60405180910390fd5b80600d90816129409190613f20565b5050565b61294c612d59565b73ffffffffffffffffffffffffffffffffffffffff1661296a6120e2565b73ffffffffffffffffffffffffffffffffffffffff16146129c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129b790613d54565b60405180910390fd5b80601360026101000a81548160ff02191690831515021790555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b601360019054906101000a900460ff1615612ac1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ab89061403e565b60405180910390fd5b81600081118015612ad457506011548111155b612b13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b0a906140aa565b60405180910390fd5b60105481612b1f610f22565b612b2991906140f9565b1115612b6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b6190614179565b60405180910390fd5b612b72612d59565b73ffffffffffffffffffffffffffffffffffffffff16612b906120e2565b73ffffffffffffffffffffffffffffffffffffffff1614612be6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bdd90613d54565b60405180910390fd5b612bf08284612f00565b505050565b612bfd612d59565b73ffffffffffffffffffffffffffffffffffffffff16612c1b6120e2565b73ffffffffffffffffffffffffffffffffffffffff1614612c71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c6890613d54565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612ce0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cd790614a57565b60405180910390fd5b612ce981612f1e565b50565b60125481565b600081612cfd612d61565b11158015612d0c575060005482105b8015612d4a575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600033905090565b60006001905090565b60008082905080612d79612d61565b11612dff57600054811015612dfe5760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603612dfc575b60008103612df2576004600083600190039350838152602001908152602001600020549050612dc8565b8092505050612e31565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612ebe868684613326565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b612f1a82826040518060200160405280600081525061332f565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261300a612d51565b8786866040518563ffffffff1660e01b815260040161302c9493929190614acc565b6020604051808303816000875af192505050801561306857506040513d601f19601f820116820180604052508101906130659190614b2d565b60015b6130e1573d8060008114613098576040519150601f19603f3d011682016040523d82523d6000602084013e61309d565b606091505b5060008151036130d9576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600a805461314390613cd7565b80601f016020809104026020016040519081016040528092919081815260200182805461316f90613cd7565b80156131bc5780601f10613191576101008083540402835291602001916131bc565b820191906000526020600020905b81548152906001019060200180831161319f57829003601f168201915b5050505050905090565b60606000820361320d576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613321565b600082905060005b6000821461323f57808061322890614b5a565b915050600a82613238919061432e565b9150613215565b60008167ffffffffffffffff81111561325b5761325a613877565b5b6040519080825280601f01601f19166020018201604052801561328d5781602001600182028036833780820191505090505b5090505b6000851461331a576001826132a69190614205565b9150600a856132b59190614ba2565b60306132c191906140f9565b60f81b8183815181106132d7576132d6614bd3565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613313919061432e565b9450613291565b8093505050505b919050565b60009392505050565b61333983836133cc565b60008373ffffffffffffffffffffffffffffffffffffffff163b146133c757600080549050600083820390505b6133796000868380600101945086612fe4565b6133af576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106133665781600054146133c457600080fd5b50505b505050565b6000805490506000820361340c576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6134196000848385612ea1565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550613490836134816000866000612ea7565b61348a85613587565b17612ecf565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b81811461353157808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001810190506134f6565b506000820361356c576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060008190555050506135826000848385612efa565b505050565b60006001821460e11b9050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6135e0816135ab565b81146135eb57600080fd5b50565b6000813590506135fd816135d7565b92915050565b600060208284031215613619576136186135a1565b5b6000613627848285016135ee565b91505092915050565b60008115159050919050565b61364581613630565b82525050565b6000602082019050613660600083018461363c565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156136a0578082015181840152602081019050613685565b60008484015250505050565b6000601f19601f8301169050919050565b60006136c882613666565b6136d28185613671565b93506136e2818560208601613682565b6136eb816136ac565b840191505092915050565b6000602082019050818103600083015261371081846136bd565b905092915050565b6000819050919050565b61372b81613718565b811461373657600080fd5b50565b60008135905061374881613722565b92915050565b600060208284031215613764576137636135a1565b5b600061377284828501613739565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006137a68261377b565b9050919050565b6137b68161379b565b82525050565b60006020820190506137d160008301846137ad565b92915050565b6137e08161379b565b81146137eb57600080fd5b50565b6000813590506137fd816137d7565b92915050565b6000806040838503121561381a576138196135a1565b5b6000613828858286016137ee565b925050602061383985828601613739565b9150509250929050565b61384c81613718565b82525050565b60006020820190506138676000830184613843565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6138af826136ac565b810181811067ffffffffffffffff821117156138ce576138cd613877565b5b80604052505050565b60006138e1613597565b90506138ed82826138a6565b919050565b600067ffffffffffffffff82111561390d5761390c613877565b5b613916826136ac565b9050602081019050919050565b82818337600083830152505050565b6000613945613940846138f2565b6138d7565b90508281526020810184848401111561396157613960613872565b5b61396c848285613923565b509392505050565b600082601f8301126139895761398861386d565b5b8135613999848260208601613932565b91505092915050565b6000602082840312156139b8576139b76135a1565b5b600082013567ffffffffffffffff8111156139d6576139d56135a6565b5b6139e284828501613974565b91505092915050565b6139f481613630565b81146139ff57600080fd5b50565b600081359050613a11816139eb565b92915050565b600060208284031215613a2d57613a2c6135a1565b5b6000613a3b84828501613a02565b91505092915050565b600080600060608486031215613a5d57613a5c6135a1565b5b6000613a6b868287016137ee565b9350506020613a7c868287016137ee565b9250506040613a8d86828701613739565b9150509250925092565b60008060408385031215613aae57613aad6135a1565b5b6000613abc85828601613739565b9250506020613acd858286016137ee565b9150509250929050565b600060208284031215613aed57613aec6135a1565b5b6000613afb848285016137ee565b91505092915050565b60008060408385031215613b1b57613b1a6135a1565b5b6000613b29858286016137ee565b9250506020613b3a85828601613a02565b9150509250929050565b600067ffffffffffffffff821115613b5f57613b5e613877565b5b613b68826136ac565b9050602081019050919050565b6000613b88613b8384613b44565b6138d7565b905082815260208101848484011115613ba457613ba3613872565b5b613baf848285613923565b509392505050565b600082601f830112613bcc57613bcb61386d565b5b8135613bdc848260208601613b75565b91505092915050565b60008060008060808587031215613bff57613bfe6135a1565b5b6000613c0d878288016137ee565b9450506020613c1e878288016137ee565b9350506040613c2f87828801613739565b925050606085013567ffffffffffffffff811115613c5057613c4f6135a6565b5b613c5c87828801613bb7565b91505092959194509250565b60008060408385031215613c7f57613c7e6135a1565b5b6000613c8d858286016137ee565b9250506020613c9e858286016137ee565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613cef57607f821691505b602082108103613d0257613d01613ca8565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613d3e602083613671565b9150613d4982613d08565b602082019050919050565b60006020820190508181036000830152613d6d81613d31565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302613dd67fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613d99565b613de08683613d99565b95508019841693508086168417925050509392505050565b6000819050919050565b6000613e1d613e18613e1384613718565b613df8565b613718565b9050919050565b6000819050919050565b613e3783613e02565b613e4b613e4382613e24565b848454613da6565b825550505050565b600090565b613e60613e53565b613e6b818484613e2e565b505050565b5b81811015613e8f57613e84600082613e58565b600181019050613e71565b5050565b601f821115613ed457613ea581613d74565b613eae84613d89565b81016020851015613ebd578190505b613ed1613ec985613d89565b830182613e70565b50505b505050565b600082821c905092915050565b6000613ef760001984600802613ed9565b1980831691505092915050565b6000613f108383613ee6565b9150826002028217905092915050565b613f2982613666565b67ffffffffffffffff811115613f4257613f41613877565b5b613f4c8254613cd7565b613f57828285613e93565b600060209050601f831160018114613f8a5760008415613f78578287015190505b613f828582613f04565b865550613fea565b601f198416613f9886613d74565b60005b82811015613fc057848901518255600182019150602085019450602081019050613f9b565b86831015613fdd5784890151613fd9601f891682613ee6565b8355505b6001600288020188555050505b505050505050565b7f54686520636f6e74726163742069732070617573656421000000000000000000600082015250565b6000614028601783613671565b915061403382613ff2565b602082019050919050565b600060208201905081810360008301526140578161401b565b9050919050565b7f496e76616c6964206d696e7420616d6f756e7421000000000000000000000000600082015250565b6000614094601483613671565b915061409f8261405e565b602082019050919050565b600060208201905081810360008301526140c381614087565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061410482613718565b915061410f83613718565b9250828201905080821115614127576141266140ca565b5b92915050565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b6000614163601483613671565b915061416e8261412d565b602082019050919050565b6000602082019050818103600083015261419281614156565b9050919050565b7f45786365656473207265736572766564204e46547320737570706c7900000000600082015250565b60006141cf601c83613671565b91506141da82614199565b602082019050919050565b600060208201905081810360008301526141fe816141c2565b9050919050565b600061421082613718565b915061421b83613718565b9250828203905081811115614233576142326140ca565b5b92915050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b600061426f601f83613671565b915061427a82614239565b602082019050919050565b6000602082019050818103600083015261429e81614262565b9050919050565b60006142b082613718565b91506142bb83613718565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156142f4576142f36140ca565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061433982613718565b915061434483613718565b925082614354576143536142ff565b5b828204905092915050565b600081905092915050565b7f426c6f6371580000000000000000000000000000000000000000000000000000600082015250565b60006143a060068361435f565b91506143ab8261436a565b600682019050919050565b60006143c182614393565b9150819050919050565b7f426c6f637158205472616e73616374696f6e20556e7375636365737366756c00600082015250565b6000614401601f83613671565b915061440c826143cb565b602082019050919050565b60006020820190508181036000830152614430816143f4565b9050919050565b7f4d6f646500000000000000000000000000000000000000000000000000000000600082015250565b600061446d60048361435f565b915061447882614437565b600482019050919050565b600061448e82614460565b9150819050919050565b7f4d6f6465205472616e73616374696f6e20556e7375636365737366756c000000600082015250565b60006144ce601d83613671565b91506144d982614498565b602082019050919050565b600060208201905081810360008301526144fd816144c1565b9050919050565b7f4c7444616e000000000000000000000000000000000000000000000000000000600082015250565b600061453a60058361435f565b915061454582614504565b600582019050919050565b600061455b8261452d565b9150819050919050565b7f44616e205472616e73616374696f6e20556e7375636365737366756c00000000600082015250565b600061459b601c83613671565b91506145a682614565565b602082019050919050565b600060208201905081810360008301526145ca8161458e565b9050919050565b7f44414f0000000000000000000000000000000000000000000000000000000000600082015250565b600061460760038361435f565b9150614612826145d1565b600382019050919050565b6000614628826145fa565b9150819050919050565b7f44414f205472616e73616374696f6e20556e7375636365737366756c00000000600082015250565b6000614668601c83613671565b915061467382614632565b602082019050919050565b600060208201905081810360008301526146978161465b565b9050919050565b50565b60006146ae60008361435f565b91506146b98261469e565b600082019050919050565b60006146cf826146a1565b9150819050919050565b7f44414f2077616c6c657420616c72656164792073657400000000000000000000600082015250565b600061470f601683613671565b915061471a826146d9565b602082019050919050565b6000602082019050818103600083015261473e81614702565b9050919050565b7f496e76616c696420737570706c79000000000000000000000000000000000000600082015250565b600061477b600e83613671565b915061478682614745565b602082019050919050565b600060208201905081810360008301526147aa8161476e565b9050919050565b7f496e73756666696369656e742066756e64732100000000000000000000000000600082015250565b60006147e7601383613671565b91506147f2826147b1565b602082019050919050565b60006020820190508181036000830152614816816147da565b9050919050565b7f5075626c69632073616c65206973206e6f74206163746976652e000000000000600082015250565b6000614853601a83613671565b915061485e8261481d565b602082019050919050565b6000602082019050818103600083015261488281614846565b9050919050565b7f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e00600082015250565b60006148bf601f83613671565b91506148ca82614889565b602082019050919050565b600060208201905081810360008301526148ee816148b2565b9050919050565b600081905092915050565b600061490b82613666565b61491581856148f5565b9350614925818560208601613682565b80840191505092915050565b6000815461493e81613cd7565b61494881866148f5565b945060018216600081146149635760018114614978576149ab565b60ff19831686528115158202860193506149ab565b61498185613d74565b60005b838110156149a357815481890152600182019150602081019050614984565b838801955050505b50505092915050565b60006149c08286614900565b91506149cc8285614900565b91506149d88284614931565b9150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614a41602683613671565b9150614a4c826149e5565b604082019050919050565b60006020820190508181036000830152614a7081614a34565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000614a9e82614a77565b614aa88185614a82565b9350614ab8818560208601613682565b614ac1816136ac565b840191505092915050565b6000608082019050614ae160008301876137ad565b614aee60208301866137ad565b614afb6040830185613843565b8181036060830152614b0d8184614a93565b905095945050505050565b600081519050614b27816135d7565b92915050565b600060208284031215614b4357614b426135a1565b5b6000614b5184828501614b18565b91505092915050565b6000614b6582613718565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614b9757614b966140ca565b5b600182019050919050565b6000614bad82613718565b9150614bb883613718565b925082614bc857614bc76142ff565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea26469706673582212205c9bfd7c83f8b11244cdccf583c0dfd34ac504038aa8ab55731a5f65a13245a064736f6c63430008100033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000429d069189e0000000000000000000000000000000000000000000000000000000000000000196300000000000000000000000000000000000000000000000000000000000005e60000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000001c5468652058204e46542047656e6573697320436f6c6c656374696f6e000000000000000000000000000000000000000000000000000000000000000000000004584e465400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004368747470733a2f2f746865786e66742e73332e616d617a6f6e6177732e636f6d2f68696464656e2f6c6567696f6e6e616972655f756e72657665616c65642e6a736f6e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004168747470733a2f2f746865786e66742e73332e616d617a6f6e6177732e636f6d2f68696464656e2f6c6567656e646172795f756e72657665616c65642e6a736f6e00000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _tokenName (string): The X NFT Genesis Collection
Arg [1] : _tokenSymbol (string): XNFT
Arg [2] : _hiddenMetadataUri (string): https://thexnft.s3.amazonaws.com/hidden/legionnaire_unrevealed.json
Arg [3] : _LC_hiddenMetadataUri (string): https://thexnft.s3.amazonaws.com/hidden/legendary_unrevealed.json
Arg [4] : _cost (uint256): 300000000000000000
Arg [5] : _maxSupply (uint256): 6499
Arg [6] : _currentMaxSupply (uint256): 1510
Arg [7] : _maxMintAmountPerTx (uint256): 5
-----Encoded View---------------
20 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000200
Arg [4] : 0000000000000000000000000000000000000000000000000429d069189e0000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000001963
Arg [6] : 00000000000000000000000000000000000000000000000000000000000005e6
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [8] : 000000000000000000000000000000000000000000000000000000000000001c
Arg [9] : 5468652058204e46542047656e6573697320436f6c6c656374696f6e00000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [11] : 584e465400000000000000000000000000000000000000000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000043
Arg [13] : 68747470733a2f2f746865786e66742e73332e616d617a6f6e6177732e636f6d
Arg [14] : 2f68696464656e2f6c6567696f6e6e616972655f756e72657665616c65642e6a
Arg [15] : 736f6e0000000000000000000000000000000000000000000000000000000000
Arg [16] : 0000000000000000000000000000000000000000000000000000000000000041
Arg [17] : 68747470733a2f2f746865786e66742e73332e616d617a6f6e6177732e636f6d
Arg [18] : 2f68696464656e2f6c6567656e646172795f756e72657665616c65642e6a736f
Arg [19] : 6e00000000000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 34 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.