Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
0 BATNFT
Holders
348
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 BATNFTLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
BattleAngelsNFT
Compiler Version
v0.8.0+commit.c7dfd78e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/* .S sSSs .S S. sdSS_SSSSSSbs .S_SSSs .S_sSSs .SS d%%SP .SS SS. YSSS~S%SSSSSP .SS~SSSSS .SS~YS%%b S%S d%S' S%S S%S S%S S%S SSSS S%S `S%b S%S S%| S%S S%S S%S S%S S%S S%S S%S S&S S&S S%S SSSS%S S&S S%S SSSS%S S%S d*S S&S Y&Ss S&S SSS&S S&S S&S SSS%S S&S .S*S S&S `S&&S S&S S&S S&S S&S S&S S&S_sdSSS S&S `S*S S&S S&S S&S S&S S&S S&S~YSY%b S*S l*S S*S S*S S*S S*S S&S S*S `S%b S*S .S*P S*S S*S S*S S*S S*S S*S S%S S*S sSS*S S*S S*S S*S S*S S*S S*S S&S S*S YSS' SSS S*S S*S SSS S*S S*S SSS SP SP SP SP SP Y Y Y Y Y S. .S_SSSs .S_SSSs sSSs SS. .SS~SSSSS .SS~SSSSS d%%SP S%S S%S SSSS S%S SSSS d%S' S%S S%S S%S S%S S%S S%| S&S S%S SSSS%S S%S SSSS%P S&S S&S S&S SSS%S S&S SSSY Y&Ss S&S S&S S&S S&S S&S `S&&S S&S S&S S&S S&S S&S `S*S S*b S*S S&S S*S S&S l*S S*S. S*S S*S S*S S*S .S*P SSSbs S*S S*S S*S SSSSP sSS*S YSSP SSS S*S S*S SSY YSS' SP SP Y Y */ // SPDX-License-Identifier: MIT // Contract based on https://docs.openzeppelin.com/contracts/3.x/erc721 pragma solidity ^0.8.0; import "@openzeppelin/contracts/interfaces/IERC20.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; contract BattleAngelsNFT is ERC721URIStorage, Ownable, ReentrancyGuard{ string private _collectionURI; string public baseURI; bool public pausedwl = true; bool public pausedgift = true; bool public pausedpublic = true; uint256 public maxGiftMintId = 381; uint256 public giftMintId = 1; uint256 public maxWhitelistId = 3333; uint256 public whitelistId = 382; uint256 public constant WHITELIST_SALE_PRICE = 0.2 ether; uint256 public maxPublicMint = 3333; uint256 public publicMintId = 1909; uint256 public constant PUBLIC_SALE_PRICE = 0.2 ether; // used to validate whitelists bytes32 public giftMerkleRoot; bytes32 public whitelistMerkleRoot; // keep track of those on whitelist who have claimed their NFT mapping(address => bool) public giftclaimed; mapping(address => bool) public wlclaimed; constructor(string memory _baseURI, string memory collectionURI) ERC721("BattleAngels NFT", "BATNFT") { setBaseURI(_baseURI); setCollectionURI(collectionURI); } /** * @dev validates merkleProof */ modifier isValidMerkleProof(bytes32[] calldata merkleProof, bytes32 root) { require( MerkleProof.verify( merkleProof, root, keccak256(abi.encodePacked(msg.sender)) ), "Address does not exist in list" ); _; } modifier isCorrectPayment(uint256 price, uint256 numberOfTokens) { require( price * numberOfTokens == msg.value, "Incorrect ETH value sent" ); _; } modifier canMint(uint256 numberOfTokens) { require( publicMintId + numberOfTokens <= maxPublicMint, "Not enough tokens remaining to mint" ); _; } // ============ PUBLIC FUNCTIONS FOR MINTING ============ /** * @dev */ function mintGift( bytes32[] calldata merkleProof ) public isValidMerkleProof(merkleProof, giftMerkleRoot) nonReentrant { require(!pausedgift); require(giftMintId <= maxGiftMintId); require(!giftclaimed[msg.sender], "NFT is already claimed by this wallet"); _mint(msg.sender, giftMintId); giftMintId++; giftclaimed[msg.sender] = true; } /** * @dev */ function mintWhitelist( bytes32[] calldata merkleProof, uint256 numberOfTokens ) public payable isValidMerkleProof(merkleProof, whitelistMerkleRoot) isCorrectPayment(WHITELIST_SALE_PRICE, numberOfTokens) nonReentrant { require(!pausedwl); require(numberOfTokens <= 3); require(whitelistId <= maxWhitelistId, "minted the maximum # of whitelist tokens"); require(!wlclaimed[msg.sender], "NFT is already claimed by this wallet"); for (uint256 i = 0; i < numberOfTokens; i++) { _mint(msg.sender, whitelistId); whitelistId++; } wlclaimed[msg.sender] = true; } /** * @dev */ function publicMint( uint256 numberOfTokens ) public payable isCorrectPayment(PUBLIC_SALE_PRICE, numberOfTokens) canMint(numberOfTokens) nonReentrant { require(!pausedpublic); for (uint256 i = 0; i < numberOfTokens; i++) { _mint(msg.sender, publicMintId); publicMintId++; } } // ============ PUBLIC READ-ONLY FUNCTIONS ============ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: query for nonexistent token"); return string(abi.encodePacked(baseURI, Strings.toString(tokenId), ".json")); } /** * @dev collection URI for marketplace display */ function contractURI() public view returns (string memory) { return _collectionURI; } // ============ OWNER-ONLY ADMIN FUNCTIONS ============ function setBaseURI(string memory _baseURI) public onlyOwner { baseURI = _baseURI; } /** * @dev set collection URI for marketplace display */ function setCollectionURI(string memory collectionURI) public onlyOwner { _collectionURI = collectionURI; } function setGiftMerkleRoot(bytes32 merkleRoot) external onlyOwner { giftMerkleRoot = merkleRoot; } function setWhitelistMerkleRoot(bytes32 merkleRoot) external onlyOwner { whitelistMerkleRoot = merkleRoot; } /** * @dev withdraw funds for to specified account */ function withdraw() public onlyOwner { uint256 balance = address(this).balance; payable(msg.sender).transfer(balance); } function withdrawTokens(IERC20 token) public onlyOwner { uint256 balance = token.balanceOf(address(this)); token.transfer(msg.sender, balance); } function pausepublic(bool _state) public onlyOwner { pausedpublic = _state; } function pausewl(bool _state) public onlyOwner { pausedwl = _state; } function pausegift(bool _state) public onlyOwner { pausedgift = _state; } function setwlId(uint256 _newmaxMintAmount) public onlyOwner { whitelistId = _newmaxMintAmount; } function setMaxWlId(uint256 _newmaxMintAmount) public onlyOwner { maxWhitelistId = _newmaxMintAmount; } function setpublicId(uint256 _newmaxMintAmount) public onlyOwner { publicMintId = _newmaxMintAmount; } function setMaxPublicId(uint256 _newmaxMintAmount) public onlyOwner { maxPublicMint = _newmaxMintAmount; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (interfaces/IERC20.sol) pragma solidity ^0.8.0; import "../token/ERC20/IERC20.sol";
// 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 (token/ERC721/extensions/ERC721URIStorage.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; /** * @dev ERC721 token with storage based token URI management. */ abstract contract ERC721URIStorage is ERC721 { using Strings for uint256; // Optional mapping for token URIs mapping(uint256 => string) private _tokenURIs; /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721URIStorage: URI query for nonexistent token"); string memory _tokenURI = _tokenURIs[tokenId]; string memory base = _baseURI(); // If there is no base URI, return the token URI. if (bytes(base).length == 0) { return _tokenURI; } // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked). if (bytes(_tokenURI).length > 0) { return string(abi.encodePacked(base, _tokenURI)); } return super.tokenURI(tokenId); } /** * @dev Sets `_tokenURI` as the tokenURI of `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual { require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token"); _tokenURIs[tokenId] = _tokenURI; } /** * @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 override { super._burn(tokenId); if (bytes(_tokenURIs[tokenId]).length != 0) { delete _tokenURIs[tokenId]; } } }
// 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 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.5.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = _efficientHash(computedHash, proofElement); } else { // Hash(current element of the proof + current computed hash) computedHash = _efficientHash(proofElement, computedHash); } } return computedHash; } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.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 overriden 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 || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _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 // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.0; /** * @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 (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 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/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" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"},{"internalType":"string","name":"collectionURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":"PUBLIC_SALE_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WHITELIST_SALE_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"giftMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"giftMintId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"giftclaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxGiftMintId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPublicMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWhitelistId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"mintGift","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintWhitelist","outputs":[],"stateMutability":"payable","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":"pausedgift","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pausedpublic","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pausedwl","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"pausegift","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"pausepublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"pausewl","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicMintId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_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":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"collectionURI","type":"string"}],"name":"setCollectionURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"setGiftMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newmaxMintAmount","type":"uint256"}],"name":"setMaxPublicId","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newmaxMintAmount","type":"uint256"}],"name":"setMaxWlId","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"setWhitelistMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newmaxMintAmount","type":"uint256"}],"name":"setpublicId","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newmaxMintAmount","type":"uint256"}],"name":"setwlId","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":[{"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":"whitelistId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"wlclaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040526001600b60006101000a81548160ff0219169083151502179055506001600b60016101000a81548160ff0219169083151502179055506001600b60026101000a81548160ff02191690831515021790555061017d600c556001600d55610d05600e5561017e600f55610d056010556107756011553480156200008557600080fd5b50604051620052af380380620052af8339818101604052810190620000ab91906200050d565b6040518060400160405280601081526020017f426174746c65416e67656c73204e4654000000000000000000000000000000008152506040518060400160405280600681526020017f4241544e4654000000000000000000000000000000000000000000000000000081525081600090805190602001906200012f929190620003eb565b50806001908051906020019062000148929190620003eb565b5050506200016b6200015f6200019d60201b60201c565b620001a560201b60201c565b600160088190555062000184826200026b60201b60201c565b62000195816200031660201b60201c565b505062000726565b600033905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6200027b6200019d60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620002a1620003c160201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620002fa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002f190620005c2565b60405180910390fd5b80600a908051906020019062000312929190620003eb565b5050565b620003266200019d60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff166200034c620003c160201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620003a5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200039c90620005c2565b60405180910390fd5b8060099080519060200190620003bd929190620003eb565b5050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b828054620003f99062000692565b90600052602060002090601f0160209004810192826200041d576000855562000469565b82601f106200043857805160ff191683800117855562000469565b8280016001018555821562000469579182015b82811115620004685782518255916020019190600101906200044b565b5b5090506200047891906200047c565b5090565b5b80821115620004975760008160009055506001016200047d565b5090565b6000620004b2620004ac8462000618565b620005e4565b905082815260208101848484011115620004cb57600080fd5b620004d88482856200065c565b509392505050565b600082601f830112620004f257600080fd5b8151620005048482602086016200049b565b91505092915050565b600080604083850312156200052157600080fd5b600083015167ffffffffffffffff8111156200053c57600080fd5b6200054a85828601620004e0565b925050602083015167ffffffffffffffff8111156200056857600080fd5b6200057685828601620004e0565b9150509250929050565b60006200058f6020836200064b565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b60006020820190508181036000830152620005dd8162000580565b9050919050565b6000604051905081810181811067ffffffffffffffff821117156200060e576200060d620006f7565b5b8060405250919050565b600067ffffffffffffffff821115620006365762000635620006f7565b5b601f19601f8301169050602081019050919050565b600082825260208201905092915050565b60005b838110156200067c5780820151818401526020810190506200065f565b838111156200068c576000848401525b50505050565b60006002820490506001821680620006ab57607f821691505b60208210811415620006c257620006c1620006c8565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b614b7980620007366000396000f3fe6080604052600436106102ae5760003560e01c80638da5cb5b11610175578063bd32fb66116100dc578063db69425611610095578063e8a3d4851161006f578063e8a3d48514610a58578063e985e9c514610a83578063f2875f0914610ac0578063f2fde38b14610ae9576102ae565b8063db694256146109d7578063e68be24a14610a02578063e7ddc5ad14610a2d576102ae565b8063bd32fb66146108b5578063bddb20c7146108de578063c5b2e1591461091b578063c87b56dd14610944578063cabadaa014610981578063d30068a4146109ac576102ae565b8063aa98e0c61161012e578063aa98e0c6146107a7578063b5da14b0146107d2578063b77807eb146107fb578063b88d4fde14610838578063b967f51b14610861578063bc912e1a1461088a576102ae565b80638da5cb5b146106b857806395d89b41146106e3578063a19829c01461070e578063a22cb46514610739578063a6d612f914610762578063a772be781461077e576102ae565b80633ccfd60b116102195780636c0360eb116101d25780636c0360eb146105bc57806370a08231146105e7578063715018a6146106245780637b6d1f541461063b57806380e95ae114610664578063811dab351461068f576102ae565b80633ccfd60b146104c457806342842e0e146104db57806349df728c1461050457806355f804b31461052d5780635610f3c5146105565780636352211e1461057f576102ae565b806323b872dd1161026b57806323b872dd146103d75780632639f460146104005780632db115441461042957806330478b6714610445578063385443f9146104705780633ba46d461461049b576102ae565b806301ffc9a7146102b357806306fdde03146102f057806307e89ec01461031b578063081812fc14610346578063095ea7b3146103835780630fab6197146103ac575b600080fd5b3480156102bf57600080fd5b506102da60048036038101906102d591906137b5565b610b12565b6040516102e7919061430c565b60405180910390f35b3480156102fc57600080fd5b50610305610bf4565b6040516103129190614342565b60405180910390f35b34801561032757600080fd5b50610330610c86565b60405161033d9190614624565b60405180910390f35b34801561035257600080fd5b5061036d60048036038101906103689190613871565b610c92565b60405161037a919061427c565b60405180910390f35b34801561038f57600080fd5b506103aa60048036038101906103a59190613661565b610d17565b005b3480156103b857600080fd5b506103c1610e2f565b6040516103ce9190614624565b60405180910390f35b3480156103e357600080fd5b506103fe60048036038101906103f9919061355b565b610e35565b005b34801561040c57600080fd5b5061042760048036038101906104229190613830565b610e95565b005b610443600480360381019061043e9190613871565b610f2b565b005b34801561045157600080fd5b5061045a61108e565b6040516104679190614624565b60405180910390f35b34801561047c57600080fd5b50610485611094565b604051610492919061430c565b60405180910390f35b3480156104a757600080fd5b506104c260048036038101906104bd919061378c565b6110a7565b005b3480156104d057600080fd5b506104d961112d565b005b3480156104e757600080fd5b5061050260048036038101906104fd919061355b565b6111f8565b005b34801561051057600080fd5b5061052b60048036038101906105269190613807565b611218565b005b34801561053957600080fd5b50610554600480360381019061054f9190613830565b6113b3565b005b34801561056257600080fd5b5061057d60048036038101906105789190613871565b611449565b005b34801561058b57600080fd5b506105a660048036038101906105a19190613871565b6114cf565b6040516105b3919061427c565b60405180910390f35b3480156105c857600080fd5b506105d1611581565b6040516105de9190614342565b60405180910390f35b3480156105f357600080fd5b5061060e600480360381019061060991906134f6565b61160f565b60405161061b9190614624565b60405180910390f35b34801561063057600080fd5b506106396116c7565b005b34801561064757600080fd5b50610662600480360381019061065d919061373a565b61174f565b005b34801561067057600080fd5b506106796117e8565b6040516106869190614624565b60405180910390f35b34801561069b57600080fd5b506106b660048036038101906106b1919061369d565b6117ee565b005b3480156106c457600080fd5b506106cd611a35565b6040516106da919061427c565b60405180910390f35b3480156106ef57600080fd5b506106f8611a5f565b6040516107059190614342565b60405180910390f35b34801561071a57600080fd5b50610723611af1565b6040516107309190614327565b60405180910390f35b34801561074557600080fd5b50610760600480360381019061075b9190613625565b611af7565b005b61077c600480360381019061077791906136e2565b611b0d565b005b34801561078a57600080fd5b506107a560048036038101906107a0919061373a565b611e11565b005b3480156107b357600080fd5b506107bc611eaa565b6040516107c99190614327565b60405180910390f35b3480156107de57600080fd5b506107f960048036038101906107f49190613871565b611eb0565b005b34801561080757600080fd5b50610822600480360381019061081d91906134f6565b611f36565b60405161082f919061430c565b60405180910390f35b34801561084457600080fd5b5061085f600480360381019061085a91906135aa565b611f56565b005b34801561086d57600080fd5b5061088860048036038101906108839190613871565b611fb8565b005b34801561089657600080fd5b5061089f61203e565b6040516108ac9190614624565b60405180910390f35b3480156108c157600080fd5b506108dc60048036038101906108d7919061378c565b61204a565b005b3480156108ea57600080fd5b50610905600480360381019061090091906134f6565b6120d0565b604051610912919061430c565b60405180910390f35b34801561092757600080fd5b50610942600480360381019061093d919061373a565b6120f0565b005b34801561095057600080fd5b5061096b60048036038101906109669190613871565b612189565b6040516109789190614342565b60405180910390f35b34801561098d57600080fd5b50610996612205565b6040516109a39190614624565b60405180910390f35b3480156109b857600080fd5b506109c161220b565b6040516109ce9190614624565b60405180910390f35b3480156109e357600080fd5b506109ec612211565b6040516109f9919061430c565b60405180910390f35b348015610a0e57600080fd5b50610a17612224565b604051610a249190614624565b60405180910390f35b348015610a3957600080fd5b50610a4261222a565b604051610a4f919061430c565b60405180910390f35b348015610a6457600080fd5b50610a6d61223d565b604051610a7a9190614342565b60405180910390f35b348015610a8f57600080fd5b50610aaa6004803603810190610aa5919061351f565b6122cf565b604051610ab7919061430c565b60405180910390f35b348015610acc57600080fd5b50610ae76004803603810190610ae29190613871565b612363565b005b348015610af557600080fd5b50610b106004803603810190610b0b91906134f6565b6123e9565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610bdd57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610bed5750610bec826124e1565b5b9050919050565b606060008054610c039061490f565b80601f0160208091040260200160405190810160405280929190818152602001828054610c2f9061490f565b8015610c7c5780601f10610c5157610100808354040283529160200191610c7c565b820191906000526020600020905b815481529060010190602001808311610c5f57829003601f168201915b5050505050905090565b6702c68af0bb14000081565b6000610c9d8261254b565b610cdc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd390614564565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d22826114cf565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8a906145a4565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610db26125b7565b73ffffffffffffffffffffffffffffffffffffffff161480610de15750610de081610ddb6125b7565b6122cf565b5b610e20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e17906144c4565b60405180910390fd5b610e2a83836125bf565b505050565b60115481565b610e46610e406125b7565b82612678565b610e85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7c906145c4565b60405180910390fd5b610e90838383612756565b505050565b610e9d6125b7565b73ffffffffffffffffffffffffffffffffffffffff16610ebb611a35565b73ffffffffffffffffffffffffffffffffffffffff1614610f11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0890614584565b60405180910390fd5b8060099080519060200190610f2792919061327c565b5050565b6702c68af0bb14000081348183610f4291906147af565b14610f82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f79906145e4565b60405180910390fd5b8260105481601154610f949190614728565b1115610fd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fcc90614424565b60405180910390fd5b6002600854141561101b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101290614604565b60405180910390fd5b6002600881905550600b60029054906101000a900460ff161561103d57600080fd5b60005b8481101561107f57611054336011546129bd565b6011600081548092919061106790614941565b9190505550808061107790614941565b915050611040565b50600160088190555050505050565b600d5481565b600b60029054906101000a900460ff1681565b6110af6125b7565b73ffffffffffffffffffffffffffffffffffffffff166110cd611a35565b73ffffffffffffffffffffffffffffffffffffffff1614611123576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111a90614584565b60405180910390fd5b8060128190555050565b6111356125b7565b73ffffffffffffffffffffffffffffffffffffffff16611153611a35565b73ffffffffffffffffffffffffffffffffffffffff16146111a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a090614584565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156111f4573d6000803e3d6000fd5b5050565b61121383838360405180602001604052806000815250611f56565b505050565b6112206125b7565b73ffffffffffffffffffffffffffffffffffffffff1661123e611a35565b73ffffffffffffffffffffffffffffffffffffffff1614611294576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128b90614584565b60405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016112cf919061427c565b60206040518083038186803b1580156112e757600080fd5b505afa1580156112fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061131f919061389a565b90508173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b815260040161135c9291906142e3565b602060405180830381600087803b15801561137657600080fd5b505af115801561138a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113ae9190613763565b505050565b6113bb6125b7565b73ffffffffffffffffffffffffffffffffffffffff166113d9611a35565b73ffffffffffffffffffffffffffffffffffffffff161461142f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142690614584565b60405180910390fd5b80600a908051906020019061144592919061327c565b5050565b6114516125b7565b73ffffffffffffffffffffffffffffffffffffffff1661146f611a35565b73ffffffffffffffffffffffffffffffffffffffff16146114c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114bc90614584565b60405180910390fd5b80600f8190555050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611578576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156f90614504565b60405180910390fd5b80915050919050565b600a805461158e9061490f565b80601f01602080910402602001604051908101604052809291908181526020018280546115ba9061490f565b80156116075780601f106115dc57610100808354040283529160200191611607565b820191906000526020600020905b8154815290600101906020018083116115ea57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611680576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611677906144e4565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6116cf6125b7565b73ffffffffffffffffffffffffffffffffffffffff166116ed611a35565b73ffffffffffffffffffffffffffffffffffffffff1614611743576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173a90614584565b60405180910390fd5b61174d6000612b97565b565b6117576125b7565b73ffffffffffffffffffffffffffffffffffffffff16611775611a35565b73ffffffffffffffffffffffffffffffffffffffff16146117cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c290614584565b60405180910390fd5b80600b60026101000a81548160ff02191690831515021790555050565b600c5481565b8181601254611865838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050823360405160200161184a9190614232565b60405160208183030381529060405280519060200120612c5d565b6118a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189b90614464565b60405180910390fd5b600260085414156118ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e190614604565b60405180910390fd5b6002600881905550600b60019054906101000a900460ff161561190c57600080fd5b600c54600d54111561191d57600080fd5b601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156119aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a1906144a4565b60405180910390fd5b6119b633600d546129bd565b600d60008154809291906119c990614941565b91905055506001601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060016008819055505050505050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611a6e9061490f565b80601f0160208091040260200160405190810160405280929190818152602001828054611a9a9061490f565b8015611ae75780601f10611abc57610100808354040283529160200191611ae7565b820191906000526020600020905b815481529060010190602001808311611aca57829003601f168201915b5050505050905090565b60125481565b611b09611b026125b7565b8383612c74565b5050565b8282601354611b84838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050508233604051602001611b699190614232565b60405160208183030381529060405280519060200120612c5d565b611bc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bba90614464565b60405180910390fd5b6702c68af0bb14000084348183611bda91906147af565b14611c1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c11906145e4565b60405180910390fd5b60026008541415611c60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5790614604565b60405180910390fd5b6002600881905550600b60009054906101000a900460ff1615611c8257600080fd5b6003861115611c9057600080fd5b600e54600f541115611cd7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cce90614484565b60405180910390fd5b601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611d64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5b906144a4565b60405180910390fd5b60005b86811015611da657611d7b33600f546129bd565b600f6000815480929190611d8e90614941565b91905055508080611d9e90614941565b915050611d67565b506001601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060016008819055505050505050505050565b611e196125b7565b73ffffffffffffffffffffffffffffffffffffffff16611e37611a35565b73ffffffffffffffffffffffffffffffffffffffff1614611e8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8490614584565b60405180910390fd5b80600b60016101000a81548160ff02191690831515021790555050565b60135481565b611eb86125b7565b73ffffffffffffffffffffffffffffffffffffffff16611ed6611a35565b73ffffffffffffffffffffffffffffffffffffffff1614611f2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2390614584565b60405180910390fd5b8060108190555050565b60146020528060005260406000206000915054906101000a900460ff1681565b611f67611f616125b7565b83612678565b611fa6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9d906145c4565b60405180910390fd5b611fb284848484612de1565b50505050565b611fc06125b7565b73ffffffffffffffffffffffffffffffffffffffff16611fde611a35565b73ffffffffffffffffffffffffffffffffffffffff1614612034576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202b90614584565b60405180910390fd5b80600e8190555050565b6702c68af0bb14000081565b6120526125b7565b73ffffffffffffffffffffffffffffffffffffffff16612070611a35565b73ffffffffffffffffffffffffffffffffffffffff16146120c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120bd90614584565b60405180910390fd5b8060138190555050565b60156020528060005260406000206000915054906101000a900460ff1681565b6120f86125b7565b73ffffffffffffffffffffffffffffffffffffffff16612116611a35565b73ffffffffffffffffffffffffffffffffffffffff161461216c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216390614584565b60405180910390fd5b80600b60006101000a81548160ff02191690831515021790555050565b60606121948261254b565b6121d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ca90614544565b60405180910390fd5b600a6121de83612e3d565b6040516020016121ef92919061424d565b6040516020818303038152906040529050919050565b60105481565b600e5481565b600b60019054906101000a900460ff1681565b600f5481565b600b60009054906101000a900460ff1681565b60606009805461224c9061490f565b80601f01602080910402602001604051908101604052809291908181526020018280546122789061490f565b80156122c55780601f1061229a576101008083540402835291602001916122c5565b820191906000526020600020905b8154815290600101906020018083116122a857829003601f168201915b5050505050905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61236b6125b7565b73ffffffffffffffffffffffffffffffffffffffff16612389611a35565b73ffffffffffffffffffffffffffffffffffffffff16146123df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123d690614584565b60405180910390fd5b8060118190555050565b6123f16125b7565b73ffffffffffffffffffffffffffffffffffffffff1661240f611a35565b73ffffffffffffffffffffffffffffffffffffffff1614612465576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161245c90614584565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156124d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124cc90614384565b60405180910390fd5b6124de81612b97565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612632836114cf565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006126838261254b565b6126c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126b990614444565b60405180910390fd5b60006126cd836114cf565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061273c57508373ffffffffffffffffffffffffffffffffffffffff1661272484610c92565b73ffffffffffffffffffffffffffffffffffffffff16145b8061274d575061274c81856122cf565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612776826114cf565b73ffffffffffffffffffffffffffffffffffffffff16146127cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127c3906143a4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561283c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612833906143e4565b60405180910390fd5b612847838383612fea565b6128526000826125bf565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128a29190614809565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128f99190614728565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46129b8838383612fef565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a2490614524565b60405180910390fd5b612a368161254b565b15612a76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a6d906143c4565b60405180910390fd5b612a8260008383612fea565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ad29190614728565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612b9360008383612fef565b5050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600082612c6a8584612ff4565b1490509392505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612ce3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cda90614404565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612dd4919061430c565b60405180910390a3505050565b612dec848484612756565b612df88484848461308f565b612e37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e2e90614364565b60405180910390fd5b50505050565b60606000821415612e85576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612fe5565b600082905060005b60008214612eb7578080612ea090614941565b915050600a82612eb0919061477e565b9150612e8d565b60008167ffffffffffffffff811115612ef9577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612f2b5781602001600182028036833780820191505090505b5090505b60008514612fde57600182612f449190614809565b9150600a85612f5391906149ae565b6030612f5f9190614728565b60f81b818381518110612f9b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612fd7919061477e565b9450612f2f565b8093505050505b919050565b505050565b505050565b60008082905060005b8451811015613084576000858281518110613041577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190508083116130635761305c8382613226565b9250613070565b61306d8184613226565b92505b50808061307c90614941565b915050612ffd565b508091505092915050565b60006130b08473ffffffffffffffffffffffffffffffffffffffff1661323d565b15613219578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026130d96125b7565b8786866040518563ffffffff1660e01b81526004016130fb9493929190614297565b602060405180830381600087803b15801561311557600080fd5b505af192505050801561314657506040513d601f19601f8201168201806040525081019061314391906137de565b60015b6131c9573d8060008114613176576040519150601f19603f3d011682016040523d82523d6000602084013e61317b565b606091505b506000815114156131c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131b890614364565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061321e565b600190505b949350505050565b600082600052816020526040600020905092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff16803b806020016040519081016040528181526000908060200190933c51119050919050565b8280546132889061490f565b90600052602060002090601f0160209004810192826132aa57600085556132f1565b82601f106132c357805160ff19168380011785556132f1565b828001600101855582156132f1579182015b828111156132f05782518255916020019190600101906132d5565b5b5090506132fe9190613302565b5090565b5b8082111561331b576000816000905550600101613303565b5090565b600061333261332d84614670565b61463f565b90508281526020810184848401111561334a57600080fd5b6133558482856148cd565b509392505050565b600061337061336b846146a0565b61463f565b90508281526020810184848401111561338857600080fd5b6133938482856148cd565b509392505050565b6000813590506133aa81614ab9565b92915050565b60008083601f8401126133c257600080fd5b8235905067ffffffffffffffff8111156133db57600080fd5b6020830191508360208202830111156133f357600080fd5b9250929050565b60008135905061340981614ad0565b92915050565b60008151905061341e81614ad0565b92915050565b60008135905061343381614ae7565b92915050565b60008135905061344881614afe565b92915050565b60008151905061345d81614afe565b92915050565b600082601f83011261347457600080fd5b813561348484826020860161331f565b91505092915050565b60008135905061349c81614b15565b92915050565b600082601f8301126134b357600080fd5b81356134c384826020860161335d565b91505092915050565b6000813590506134db81614b2c565b92915050565b6000815190506134f081614b2c565b92915050565b60006020828403121561350857600080fd5b60006135168482850161339b565b91505092915050565b6000806040838503121561353257600080fd5b60006135408582860161339b565b92505060206135518582860161339b565b9150509250929050565b60008060006060848603121561357057600080fd5b600061357e8682870161339b565b935050602061358f8682870161339b565b92505060406135a0868287016134cc565b9150509250925092565b600080600080608085870312156135c057600080fd5b60006135ce8782880161339b565b94505060206135df8782880161339b565b93505060406135f0878288016134cc565b925050606085013567ffffffffffffffff81111561360d57600080fd5b61361987828801613463565b91505092959194509250565b6000806040838503121561363857600080fd5b60006136468582860161339b565b9250506020613657858286016133fa565b9150509250929050565b6000806040838503121561367457600080fd5b60006136828582860161339b565b9250506020613693858286016134cc565b9150509250929050565b600080602083850312156136b057600080fd5b600083013567ffffffffffffffff8111156136ca57600080fd5b6136d6858286016133b0565b92509250509250929050565b6000806000604084860312156136f757600080fd5b600084013567ffffffffffffffff81111561371157600080fd5b61371d868287016133b0565b93509350506020613730868287016134cc565b9150509250925092565b60006020828403121561374c57600080fd5b600061375a848285016133fa565b91505092915050565b60006020828403121561377557600080fd5b60006137838482850161340f565b91505092915050565b60006020828403121561379e57600080fd5b60006137ac84828501613424565b91505092915050565b6000602082840312156137c757600080fd5b60006137d584828501613439565b91505092915050565b6000602082840312156137f057600080fd5b60006137fe8482850161344e565b91505092915050565b60006020828403121561381957600080fd5b60006138278482850161348d565b91505092915050565b60006020828403121561384257600080fd5b600082013567ffffffffffffffff81111561385c57600080fd5b613868848285016134a2565b91505092915050565b60006020828403121561388357600080fd5b6000613891848285016134cc565b91505092915050565b6000602082840312156138ac57600080fd5b60006138ba848285016134e1565b91505092915050565b6138cc8161483d565b82525050565b6138e36138de8261483d565b61498a565b82525050565b6138f28161484f565b82525050565b6139018161485b565b82525050565b6000613912826146e5565b61391c81856146fb565b935061392c8185602086016148dc565b61393581614a9b565b840191505092915050565b600061394b826146f0565b613955818561470c565b93506139658185602086016148dc565b61396e81614a9b565b840191505092915050565b6000613984826146f0565b61398e818561471d565b935061399e8185602086016148dc565b80840191505092915050565b600081546139b78161490f565b6139c1818661471d565b945060018216600081146139dc57600181146139ed57613a20565b60ff19831686528186019350613a20565b6139f6856146d0565b60005b83811015613a18578154818901526001820191506020810190506139f9565b838801955050505b50505092915050565b6000613a3660328361470c565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000613a9c60268361470c565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613b0260258361470c565b91507f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008301527f6f776e65720000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613b68601c8361470c565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b6000613ba860248361470c565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613c0e60198361470c565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000613c4e60238361470c565b91507f4e6f7420656e6f75676820746f6b656e732072656d61696e696e6720746f206d60008301527f696e7400000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613cb4602c8361470c565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613d1a601e8361470c565b91507f4164647265737320646f6573206e6f7420657869737420696e206c69737400006000830152602082019050919050565b6000613d5a60288361470c565b91507f6d696e74656420746865206d6178696d756d2023206f662077686974656c697360008301527f7420746f6b656e730000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613dc060258361470c565b91507f4e465420697320616c726561647920636c61696d65642062792074686973207760008301527f616c6c65740000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613e2660388361470c565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000613e8c602a8361470c565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000613ef260298361470c565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613f5860208361470c565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000613f98602b8361470c565b91507f4552433732314d657461646174613a20717565727920666f72206e6f6e65786960008301527f7374656e7420746f6b656e0000000000000000000000000000000000000000006020830152604082019050919050565b6000613ffe602c8361470c565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b600061406460058361471d565b91507f2e6a736f6e0000000000000000000000000000000000000000000000000000006000830152600582019050919050565b60006140a460208361470c565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b60006140e460218361470c565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061414a60318361470c565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b60006141b060188361470c565b91507f496e636f7272656374204554482076616c75652073656e7400000000000000006000830152602082019050919050565b60006141f0601f8361470c565b91507f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006000830152602082019050919050565b61422c816148c3565b82525050565b600061423e82846138d2565b60148201915081905092915050565b600061425982856139aa565b91506142658284613979565b915061427082614057565b91508190509392505050565b600060208201905061429160008301846138c3565b92915050565b60006080820190506142ac60008301876138c3565b6142b960208301866138c3565b6142c66040830185614223565b81810360608301526142d88184613907565b905095945050505050565b60006040820190506142f860008301856138c3565b6143056020830184614223565b9392505050565b600060208201905061432160008301846138e9565b92915050565b600060208201905061433c60008301846138f8565b92915050565b6000602082019050818103600083015261435c8184613940565b905092915050565b6000602082019050818103600083015261437d81613a29565b9050919050565b6000602082019050818103600083015261439d81613a8f565b9050919050565b600060208201905081810360008301526143bd81613af5565b9050919050565b600060208201905081810360008301526143dd81613b5b565b9050919050565b600060208201905081810360008301526143fd81613b9b565b9050919050565b6000602082019050818103600083015261441d81613c01565b9050919050565b6000602082019050818103600083015261443d81613c41565b9050919050565b6000602082019050818103600083015261445d81613ca7565b9050919050565b6000602082019050818103600083015261447d81613d0d565b9050919050565b6000602082019050818103600083015261449d81613d4d565b9050919050565b600060208201905081810360008301526144bd81613db3565b9050919050565b600060208201905081810360008301526144dd81613e19565b9050919050565b600060208201905081810360008301526144fd81613e7f565b9050919050565b6000602082019050818103600083015261451d81613ee5565b9050919050565b6000602082019050818103600083015261453d81613f4b565b9050919050565b6000602082019050818103600083015261455d81613f8b565b9050919050565b6000602082019050818103600083015261457d81613ff1565b9050919050565b6000602082019050818103600083015261459d81614097565b9050919050565b600060208201905081810360008301526145bd816140d7565b9050919050565b600060208201905081810360008301526145dd8161413d565b9050919050565b600060208201905081810360008301526145fd816141a3565b9050919050565b6000602082019050818103600083015261461d816141e3565b9050919050565b60006020820190506146396000830184614223565b92915050565b6000604051905081810181811067ffffffffffffffff8211171561466657614665614a6c565b5b8060405250919050565b600067ffffffffffffffff82111561468b5761468a614a6c565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff8211156146bb576146ba614a6c565b5b601f19601f8301169050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614733826148c3565b915061473e836148c3565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614773576147726149df565b5b828201905092915050565b6000614789826148c3565b9150614794836148c3565b9250826147a4576147a3614a0e565b5b828204905092915050565b60006147ba826148c3565b91506147c5836148c3565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156147fe576147fd6149df565b5b828202905092915050565b6000614814826148c3565b915061481f836148c3565b925082821015614832576148316149df565b5b828203905092915050565b6000614848826148a3565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061489c8261483d565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156148fa5780820151818401526020810190506148df565b83811115614909576000848401525b50505050565b6000600282049050600182168061492757607f821691505b6020821081141561493b5761493a614a3d565b5b50919050565b600061494c826148c3565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561497f5761497e6149df565b5b600182019050919050565b60006149958261499c565b9050919050565b60006149a782614aac565b9050919050565b60006149b9826148c3565b91506149c4836148c3565b9250826149d4576149d3614a0e565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b614ac28161483d565b8114614acd57600080fd5b50565b614ad98161484f565b8114614ae457600080fd5b50565b614af08161485b565b8114614afb57600080fd5b50565b614b0781614865565b8114614b1257600080fd5b50565b614b1e81614891565b8114614b2957600080fd5b50565b614b35816148c3565b8114614b4057600080fd5b5056fea26469706673582212203afff331750e516b7fd609256e4e6499f561d7956de5ff9b6b64f21e5f9c317464736f6c63430008000033000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d58527242755435766e774c5955616567667847487078436972573539396b5578637346356771794c683136382f000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d62317058344755657967434b6d724d4538744c555a593254624d58516b5368586454656d455978565a626e4d2f00000000000000000000
Deployed Bytecode
0x6080604052600436106102ae5760003560e01c80638da5cb5b11610175578063bd32fb66116100dc578063db69425611610095578063e8a3d4851161006f578063e8a3d48514610a58578063e985e9c514610a83578063f2875f0914610ac0578063f2fde38b14610ae9576102ae565b8063db694256146109d7578063e68be24a14610a02578063e7ddc5ad14610a2d576102ae565b8063bd32fb66146108b5578063bddb20c7146108de578063c5b2e1591461091b578063c87b56dd14610944578063cabadaa014610981578063d30068a4146109ac576102ae565b8063aa98e0c61161012e578063aa98e0c6146107a7578063b5da14b0146107d2578063b77807eb146107fb578063b88d4fde14610838578063b967f51b14610861578063bc912e1a1461088a576102ae565b80638da5cb5b146106b857806395d89b41146106e3578063a19829c01461070e578063a22cb46514610739578063a6d612f914610762578063a772be781461077e576102ae565b80633ccfd60b116102195780636c0360eb116101d25780636c0360eb146105bc57806370a08231146105e7578063715018a6146106245780637b6d1f541461063b57806380e95ae114610664578063811dab351461068f576102ae565b80633ccfd60b146104c457806342842e0e146104db57806349df728c1461050457806355f804b31461052d5780635610f3c5146105565780636352211e1461057f576102ae565b806323b872dd1161026b57806323b872dd146103d75780632639f460146104005780632db115441461042957806330478b6714610445578063385443f9146104705780633ba46d461461049b576102ae565b806301ffc9a7146102b357806306fdde03146102f057806307e89ec01461031b578063081812fc14610346578063095ea7b3146103835780630fab6197146103ac575b600080fd5b3480156102bf57600080fd5b506102da60048036038101906102d591906137b5565b610b12565b6040516102e7919061430c565b60405180910390f35b3480156102fc57600080fd5b50610305610bf4565b6040516103129190614342565b60405180910390f35b34801561032757600080fd5b50610330610c86565b60405161033d9190614624565b60405180910390f35b34801561035257600080fd5b5061036d60048036038101906103689190613871565b610c92565b60405161037a919061427c565b60405180910390f35b34801561038f57600080fd5b506103aa60048036038101906103a59190613661565b610d17565b005b3480156103b857600080fd5b506103c1610e2f565b6040516103ce9190614624565b60405180910390f35b3480156103e357600080fd5b506103fe60048036038101906103f9919061355b565b610e35565b005b34801561040c57600080fd5b5061042760048036038101906104229190613830565b610e95565b005b610443600480360381019061043e9190613871565b610f2b565b005b34801561045157600080fd5b5061045a61108e565b6040516104679190614624565b60405180910390f35b34801561047c57600080fd5b50610485611094565b604051610492919061430c565b60405180910390f35b3480156104a757600080fd5b506104c260048036038101906104bd919061378c565b6110a7565b005b3480156104d057600080fd5b506104d961112d565b005b3480156104e757600080fd5b5061050260048036038101906104fd919061355b565b6111f8565b005b34801561051057600080fd5b5061052b60048036038101906105269190613807565b611218565b005b34801561053957600080fd5b50610554600480360381019061054f9190613830565b6113b3565b005b34801561056257600080fd5b5061057d60048036038101906105789190613871565b611449565b005b34801561058b57600080fd5b506105a660048036038101906105a19190613871565b6114cf565b6040516105b3919061427c565b60405180910390f35b3480156105c857600080fd5b506105d1611581565b6040516105de9190614342565b60405180910390f35b3480156105f357600080fd5b5061060e600480360381019061060991906134f6565b61160f565b60405161061b9190614624565b60405180910390f35b34801561063057600080fd5b506106396116c7565b005b34801561064757600080fd5b50610662600480360381019061065d919061373a565b61174f565b005b34801561067057600080fd5b506106796117e8565b6040516106869190614624565b60405180910390f35b34801561069b57600080fd5b506106b660048036038101906106b1919061369d565b6117ee565b005b3480156106c457600080fd5b506106cd611a35565b6040516106da919061427c565b60405180910390f35b3480156106ef57600080fd5b506106f8611a5f565b6040516107059190614342565b60405180910390f35b34801561071a57600080fd5b50610723611af1565b6040516107309190614327565b60405180910390f35b34801561074557600080fd5b50610760600480360381019061075b9190613625565b611af7565b005b61077c600480360381019061077791906136e2565b611b0d565b005b34801561078a57600080fd5b506107a560048036038101906107a0919061373a565b611e11565b005b3480156107b357600080fd5b506107bc611eaa565b6040516107c99190614327565b60405180910390f35b3480156107de57600080fd5b506107f960048036038101906107f49190613871565b611eb0565b005b34801561080757600080fd5b50610822600480360381019061081d91906134f6565b611f36565b60405161082f919061430c565b60405180910390f35b34801561084457600080fd5b5061085f600480360381019061085a91906135aa565b611f56565b005b34801561086d57600080fd5b5061088860048036038101906108839190613871565b611fb8565b005b34801561089657600080fd5b5061089f61203e565b6040516108ac9190614624565b60405180910390f35b3480156108c157600080fd5b506108dc60048036038101906108d7919061378c565b61204a565b005b3480156108ea57600080fd5b50610905600480360381019061090091906134f6565b6120d0565b604051610912919061430c565b60405180910390f35b34801561092757600080fd5b50610942600480360381019061093d919061373a565b6120f0565b005b34801561095057600080fd5b5061096b60048036038101906109669190613871565b612189565b6040516109789190614342565b60405180910390f35b34801561098d57600080fd5b50610996612205565b6040516109a39190614624565b60405180910390f35b3480156109b857600080fd5b506109c161220b565b6040516109ce9190614624565b60405180910390f35b3480156109e357600080fd5b506109ec612211565b6040516109f9919061430c565b60405180910390f35b348015610a0e57600080fd5b50610a17612224565b604051610a249190614624565b60405180910390f35b348015610a3957600080fd5b50610a4261222a565b604051610a4f919061430c565b60405180910390f35b348015610a6457600080fd5b50610a6d61223d565b604051610a7a9190614342565b60405180910390f35b348015610a8f57600080fd5b50610aaa6004803603810190610aa5919061351f565b6122cf565b604051610ab7919061430c565b60405180910390f35b348015610acc57600080fd5b50610ae76004803603810190610ae29190613871565b612363565b005b348015610af557600080fd5b50610b106004803603810190610b0b91906134f6565b6123e9565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610bdd57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610bed5750610bec826124e1565b5b9050919050565b606060008054610c039061490f565b80601f0160208091040260200160405190810160405280929190818152602001828054610c2f9061490f565b8015610c7c5780601f10610c5157610100808354040283529160200191610c7c565b820191906000526020600020905b815481529060010190602001808311610c5f57829003601f168201915b5050505050905090565b6702c68af0bb14000081565b6000610c9d8261254b565b610cdc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd390614564565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d22826114cf565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8a906145a4565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610db26125b7565b73ffffffffffffffffffffffffffffffffffffffff161480610de15750610de081610ddb6125b7565b6122cf565b5b610e20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e17906144c4565b60405180910390fd5b610e2a83836125bf565b505050565b60115481565b610e46610e406125b7565b82612678565b610e85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7c906145c4565b60405180910390fd5b610e90838383612756565b505050565b610e9d6125b7565b73ffffffffffffffffffffffffffffffffffffffff16610ebb611a35565b73ffffffffffffffffffffffffffffffffffffffff1614610f11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0890614584565b60405180910390fd5b8060099080519060200190610f2792919061327c565b5050565b6702c68af0bb14000081348183610f4291906147af565b14610f82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f79906145e4565b60405180910390fd5b8260105481601154610f949190614728565b1115610fd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fcc90614424565b60405180910390fd5b6002600854141561101b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101290614604565b60405180910390fd5b6002600881905550600b60029054906101000a900460ff161561103d57600080fd5b60005b8481101561107f57611054336011546129bd565b6011600081548092919061106790614941565b9190505550808061107790614941565b915050611040565b50600160088190555050505050565b600d5481565b600b60029054906101000a900460ff1681565b6110af6125b7565b73ffffffffffffffffffffffffffffffffffffffff166110cd611a35565b73ffffffffffffffffffffffffffffffffffffffff1614611123576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111a90614584565b60405180910390fd5b8060128190555050565b6111356125b7565b73ffffffffffffffffffffffffffffffffffffffff16611153611a35565b73ffffffffffffffffffffffffffffffffffffffff16146111a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a090614584565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156111f4573d6000803e3d6000fd5b5050565b61121383838360405180602001604052806000815250611f56565b505050565b6112206125b7565b73ffffffffffffffffffffffffffffffffffffffff1661123e611a35565b73ffffffffffffffffffffffffffffffffffffffff1614611294576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128b90614584565b60405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016112cf919061427c565b60206040518083038186803b1580156112e757600080fd5b505afa1580156112fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061131f919061389a565b90508173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b815260040161135c9291906142e3565b602060405180830381600087803b15801561137657600080fd5b505af115801561138a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113ae9190613763565b505050565b6113bb6125b7565b73ffffffffffffffffffffffffffffffffffffffff166113d9611a35565b73ffffffffffffffffffffffffffffffffffffffff161461142f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142690614584565b60405180910390fd5b80600a908051906020019061144592919061327c565b5050565b6114516125b7565b73ffffffffffffffffffffffffffffffffffffffff1661146f611a35565b73ffffffffffffffffffffffffffffffffffffffff16146114c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114bc90614584565b60405180910390fd5b80600f8190555050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611578576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156f90614504565b60405180910390fd5b80915050919050565b600a805461158e9061490f565b80601f01602080910402602001604051908101604052809291908181526020018280546115ba9061490f565b80156116075780601f106115dc57610100808354040283529160200191611607565b820191906000526020600020905b8154815290600101906020018083116115ea57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611680576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611677906144e4565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6116cf6125b7565b73ffffffffffffffffffffffffffffffffffffffff166116ed611a35565b73ffffffffffffffffffffffffffffffffffffffff1614611743576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173a90614584565b60405180910390fd5b61174d6000612b97565b565b6117576125b7565b73ffffffffffffffffffffffffffffffffffffffff16611775611a35565b73ffffffffffffffffffffffffffffffffffffffff16146117cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c290614584565b60405180910390fd5b80600b60026101000a81548160ff02191690831515021790555050565b600c5481565b8181601254611865838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050823360405160200161184a9190614232565b60405160208183030381529060405280519060200120612c5d565b6118a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189b90614464565b60405180910390fd5b600260085414156118ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e190614604565b60405180910390fd5b6002600881905550600b60019054906101000a900460ff161561190c57600080fd5b600c54600d54111561191d57600080fd5b601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156119aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a1906144a4565b60405180910390fd5b6119b633600d546129bd565b600d60008154809291906119c990614941565b91905055506001601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060016008819055505050505050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611a6e9061490f565b80601f0160208091040260200160405190810160405280929190818152602001828054611a9a9061490f565b8015611ae75780601f10611abc57610100808354040283529160200191611ae7565b820191906000526020600020905b815481529060010190602001808311611aca57829003601f168201915b5050505050905090565b60125481565b611b09611b026125b7565b8383612c74565b5050565b8282601354611b84838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050508233604051602001611b699190614232565b60405160208183030381529060405280519060200120612c5d565b611bc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bba90614464565b60405180910390fd5b6702c68af0bb14000084348183611bda91906147af565b14611c1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c11906145e4565b60405180910390fd5b60026008541415611c60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5790614604565b60405180910390fd5b6002600881905550600b60009054906101000a900460ff1615611c8257600080fd5b6003861115611c9057600080fd5b600e54600f541115611cd7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cce90614484565b60405180910390fd5b601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611d64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5b906144a4565b60405180910390fd5b60005b86811015611da657611d7b33600f546129bd565b600f6000815480929190611d8e90614941565b91905055508080611d9e90614941565b915050611d67565b506001601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060016008819055505050505050505050565b611e196125b7565b73ffffffffffffffffffffffffffffffffffffffff16611e37611a35565b73ffffffffffffffffffffffffffffffffffffffff1614611e8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8490614584565b60405180910390fd5b80600b60016101000a81548160ff02191690831515021790555050565b60135481565b611eb86125b7565b73ffffffffffffffffffffffffffffffffffffffff16611ed6611a35565b73ffffffffffffffffffffffffffffffffffffffff1614611f2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2390614584565b60405180910390fd5b8060108190555050565b60146020528060005260406000206000915054906101000a900460ff1681565b611f67611f616125b7565b83612678565b611fa6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9d906145c4565b60405180910390fd5b611fb284848484612de1565b50505050565b611fc06125b7565b73ffffffffffffffffffffffffffffffffffffffff16611fde611a35565b73ffffffffffffffffffffffffffffffffffffffff1614612034576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202b90614584565b60405180910390fd5b80600e8190555050565b6702c68af0bb14000081565b6120526125b7565b73ffffffffffffffffffffffffffffffffffffffff16612070611a35565b73ffffffffffffffffffffffffffffffffffffffff16146120c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120bd90614584565b60405180910390fd5b8060138190555050565b60156020528060005260406000206000915054906101000a900460ff1681565b6120f86125b7565b73ffffffffffffffffffffffffffffffffffffffff16612116611a35565b73ffffffffffffffffffffffffffffffffffffffff161461216c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216390614584565b60405180910390fd5b80600b60006101000a81548160ff02191690831515021790555050565b60606121948261254b565b6121d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ca90614544565b60405180910390fd5b600a6121de83612e3d565b6040516020016121ef92919061424d565b6040516020818303038152906040529050919050565b60105481565b600e5481565b600b60019054906101000a900460ff1681565b600f5481565b600b60009054906101000a900460ff1681565b60606009805461224c9061490f565b80601f01602080910402602001604051908101604052809291908181526020018280546122789061490f565b80156122c55780601f1061229a576101008083540402835291602001916122c5565b820191906000526020600020905b8154815290600101906020018083116122a857829003601f168201915b5050505050905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61236b6125b7565b73ffffffffffffffffffffffffffffffffffffffff16612389611a35565b73ffffffffffffffffffffffffffffffffffffffff16146123df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123d690614584565b60405180910390fd5b8060118190555050565b6123f16125b7565b73ffffffffffffffffffffffffffffffffffffffff1661240f611a35565b73ffffffffffffffffffffffffffffffffffffffff1614612465576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161245c90614584565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156124d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124cc90614384565b60405180910390fd5b6124de81612b97565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612632836114cf565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006126838261254b565b6126c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126b990614444565b60405180910390fd5b60006126cd836114cf565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061273c57508373ffffffffffffffffffffffffffffffffffffffff1661272484610c92565b73ffffffffffffffffffffffffffffffffffffffff16145b8061274d575061274c81856122cf565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612776826114cf565b73ffffffffffffffffffffffffffffffffffffffff16146127cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127c3906143a4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561283c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612833906143e4565b60405180910390fd5b612847838383612fea565b6128526000826125bf565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128a29190614809565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128f99190614728565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46129b8838383612fef565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a2490614524565b60405180910390fd5b612a368161254b565b15612a76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a6d906143c4565b60405180910390fd5b612a8260008383612fea565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ad29190614728565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612b9360008383612fef565b5050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600082612c6a8584612ff4565b1490509392505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612ce3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cda90614404565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612dd4919061430c565b60405180910390a3505050565b612dec848484612756565b612df88484848461308f565b612e37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e2e90614364565b60405180910390fd5b50505050565b60606000821415612e85576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612fe5565b600082905060005b60008214612eb7578080612ea090614941565b915050600a82612eb0919061477e565b9150612e8d565b60008167ffffffffffffffff811115612ef9577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612f2b5781602001600182028036833780820191505090505b5090505b60008514612fde57600182612f449190614809565b9150600a85612f5391906149ae565b6030612f5f9190614728565b60f81b818381518110612f9b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612fd7919061477e565b9450612f2f565b8093505050505b919050565b505050565b505050565b60008082905060005b8451811015613084576000858281518110613041577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190508083116130635761305c8382613226565b9250613070565b61306d8184613226565b92505b50808061307c90614941565b915050612ffd565b508091505092915050565b60006130b08473ffffffffffffffffffffffffffffffffffffffff1661323d565b15613219578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026130d96125b7565b8786866040518563ffffffff1660e01b81526004016130fb9493929190614297565b602060405180830381600087803b15801561311557600080fd5b505af192505050801561314657506040513d601f19601f8201168201806040525081019061314391906137de565b60015b6131c9573d8060008114613176576040519150601f19603f3d011682016040523d82523d6000602084013e61317b565b606091505b506000815114156131c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131b890614364565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061321e565b600190505b949350505050565b600082600052816020526040600020905092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff16803b806020016040519081016040528181526000908060200190933c51119050919050565b8280546132889061490f565b90600052602060002090601f0160209004810192826132aa57600085556132f1565b82601f106132c357805160ff19168380011785556132f1565b828001600101855582156132f1579182015b828111156132f05782518255916020019190600101906132d5565b5b5090506132fe9190613302565b5090565b5b8082111561331b576000816000905550600101613303565b5090565b600061333261332d84614670565b61463f565b90508281526020810184848401111561334a57600080fd5b6133558482856148cd565b509392505050565b600061337061336b846146a0565b61463f565b90508281526020810184848401111561338857600080fd5b6133938482856148cd565b509392505050565b6000813590506133aa81614ab9565b92915050565b60008083601f8401126133c257600080fd5b8235905067ffffffffffffffff8111156133db57600080fd5b6020830191508360208202830111156133f357600080fd5b9250929050565b60008135905061340981614ad0565b92915050565b60008151905061341e81614ad0565b92915050565b60008135905061343381614ae7565b92915050565b60008135905061344881614afe565b92915050565b60008151905061345d81614afe565b92915050565b600082601f83011261347457600080fd5b813561348484826020860161331f565b91505092915050565b60008135905061349c81614b15565b92915050565b600082601f8301126134b357600080fd5b81356134c384826020860161335d565b91505092915050565b6000813590506134db81614b2c565b92915050565b6000815190506134f081614b2c565b92915050565b60006020828403121561350857600080fd5b60006135168482850161339b565b91505092915050565b6000806040838503121561353257600080fd5b60006135408582860161339b565b92505060206135518582860161339b565b9150509250929050565b60008060006060848603121561357057600080fd5b600061357e8682870161339b565b935050602061358f8682870161339b565b92505060406135a0868287016134cc565b9150509250925092565b600080600080608085870312156135c057600080fd5b60006135ce8782880161339b565b94505060206135df8782880161339b565b93505060406135f0878288016134cc565b925050606085013567ffffffffffffffff81111561360d57600080fd5b61361987828801613463565b91505092959194509250565b6000806040838503121561363857600080fd5b60006136468582860161339b565b9250506020613657858286016133fa565b9150509250929050565b6000806040838503121561367457600080fd5b60006136828582860161339b565b9250506020613693858286016134cc565b9150509250929050565b600080602083850312156136b057600080fd5b600083013567ffffffffffffffff8111156136ca57600080fd5b6136d6858286016133b0565b92509250509250929050565b6000806000604084860312156136f757600080fd5b600084013567ffffffffffffffff81111561371157600080fd5b61371d868287016133b0565b93509350506020613730868287016134cc565b9150509250925092565b60006020828403121561374c57600080fd5b600061375a848285016133fa565b91505092915050565b60006020828403121561377557600080fd5b60006137838482850161340f565b91505092915050565b60006020828403121561379e57600080fd5b60006137ac84828501613424565b91505092915050565b6000602082840312156137c757600080fd5b60006137d584828501613439565b91505092915050565b6000602082840312156137f057600080fd5b60006137fe8482850161344e565b91505092915050565b60006020828403121561381957600080fd5b60006138278482850161348d565b91505092915050565b60006020828403121561384257600080fd5b600082013567ffffffffffffffff81111561385c57600080fd5b613868848285016134a2565b91505092915050565b60006020828403121561388357600080fd5b6000613891848285016134cc565b91505092915050565b6000602082840312156138ac57600080fd5b60006138ba848285016134e1565b91505092915050565b6138cc8161483d565b82525050565b6138e36138de8261483d565b61498a565b82525050565b6138f28161484f565b82525050565b6139018161485b565b82525050565b6000613912826146e5565b61391c81856146fb565b935061392c8185602086016148dc565b61393581614a9b565b840191505092915050565b600061394b826146f0565b613955818561470c565b93506139658185602086016148dc565b61396e81614a9b565b840191505092915050565b6000613984826146f0565b61398e818561471d565b935061399e8185602086016148dc565b80840191505092915050565b600081546139b78161490f565b6139c1818661471d565b945060018216600081146139dc57600181146139ed57613a20565b60ff19831686528186019350613a20565b6139f6856146d0565b60005b83811015613a18578154818901526001820191506020810190506139f9565b838801955050505b50505092915050565b6000613a3660328361470c565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000613a9c60268361470c565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613b0260258361470c565b91507f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008301527f6f776e65720000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613b68601c8361470c565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b6000613ba860248361470c565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613c0e60198361470c565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000613c4e60238361470c565b91507f4e6f7420656e6f75676820746f6b656e732072656d61696e696e6720746f206d60008301527f696e7400000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613cb4602c8361470c565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613d1a601e8361470c565b91507f4164647265737320646f6573206e6f7420657869737420696e206c69737400006000830152602082019050919050565b6000613d5a60288361470c565b91507f6d696e74656420746865206d6178696d756d2023206f662077686974656c697360008301527f7420746f6b656e730000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613dc060258361470c565b91507f4e465420697320616c726561647920636c61696d65642062792074686973207760008301527f616c6c65740000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613e2660388361470c565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000613e8c602a8361470c565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000613ef260298361470c565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613f5860208361470c565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000613f98602b8361470c565b91507f4552433732314d657461646174613a20717565727920666f72206e6f6e65786960008301527f7374656e7420746f6b656e0000000000000000000000000000000000000000006020830152604082019050919050565b6000613ffe602c8361470c565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b600061406460058361471d565b91507f2e6a736f6e0000000000000000000000000000000000000000000000000000006000830152600582019050919050565b60006140a460208361470c565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b60006140e460218361470c565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061414a60318361470c565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b60006141b060188361470c565b91507f496e636f7272656374204554482076616c75652073656e7400000000000000006000830152602082019050919050565b60006141f0601f8361470c565b91507f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006000830152602082019050919050565b61422c816148c3565b82525050565b600061423e82846138d2565b60148201915081905092915050565b600061425982856139aa565b91506142658284613979565b915061427082614057565b91508190509392505050565b600060208201905061429160008301846138c3565b92915050565b60006080820190506142ac60008301876138c3565b6142b960208301866138c3565b6142c66040830185614223565b81810360608301526142d88184613907565b905095945050505050565b60006040820190506142f860008301856138c3565b6143056020830184614223565b9392505050565b600060208201905061432160008301846138e9565b92915050565b600060208201905061433c60008301846138f8565b92915050565b6000602082019050818103600083015261435c8184613940565b905092915050565b6000602082019050818103600083015261437d81613a29565b9050919050565b6000602082019050818103600083015261439d81613a8f565b9050919050565b600060208201905081810360008301526143bd81613af5565b9050919050565b600060208201905081810360008301526143dd81613b5b565b9050919050565b600060208201905081810360008301526143fd81613b9b565b9050919050565b6000602082019050818103600083015261441d81613c01565b9050919050565b6000602082019050818103600083015261443d81613c41565b9050919050565b6000602082019050818103600083015261445d81613ca7565b9050919050565b6000602082019050818103600083015261447d81613d0d565b9050919050565b6000602082019050818103600083015261449d81613d4d565b9050919050565b600060208201905081810360008301526144bd81613db3565b9050919050565b600060208201905081810360008301526144dd81613e19565b9050919050565b600060208201905081810360008301526144fd81613e7f565b9050919050565b6000602082019050818103600083015261451d81613ee5565b9050919050565b6000602082019050818103600083015261453d81613f4b565b9050919050565b6000602082019050818103600083015261455d81613f8b565b9050919050565b6000602082019050818103600083015261457d81613ff1565b9050919050565b6000602082019050818103600083015261459d81614097565b9050919050565b600060208201905081810360008301526145bd816140d7565b9050919050565b600060208201905081810360008301526145dd8161413d565b9050919050565b600060208201905081810360008301526145fd816141a3565b9050919050565b6000602082019050818103600083015261461d816141e3565b9050919050565b60006020820190506146396000830184614223565b92915050565b6000604051905081810181811067ffffffffffffffff8211171561466657614665614a6c565b5b8060405250919050565b600067ffffffffffffffff82111561468b5761468a614a6c565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff8211156146bb576146ba614a6c565b5b601f19601f8301169050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614733826148c3565b915061473e836148c3565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614773576147726149df565b5b828201905092915050565b6000614789826148c3565b9150614794836148c3565b9250826147a4576147a3614a0e565b5b828204905092915050565b60006147ba826148c3565b91506147c5836148c3565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156147fe576147fd6149df565b5b828202905092915050565b6000614814826148c3565b915061481f836148c3565b925082821015614832576148316149df565b5b828203905092915050565b6000614848826148a3565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061489c8261483d565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156148fa5780820151818401526020810190506148df565b83811115614909576000848401525b50505050565b6000600282049050600182168061492757607f821691505b6020821081141561493b5761493a614a3d565b5b50919050565b600061494c826148c3565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561497f5761497e6149df565b5b600182019050919050565b60006149958261499c565b9050919050565b60006149a782614aac565b9050919050565b60006149b9826148c3565b91506149c4836148c3565b9250826149d4576149d3614a0e565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b614ac28161483d565b8114614acd57600080fd5b50565b614ad98161484f565b8114614ae457600080fd5b50565b614af08161485b565b8114614afb57600080fd5b50565b614b0781614865565b8114614b1257600080fd5b50565b614b1e81614891565b8114614b2957600080fd5b50565b614b35816148c3565b8114614b4057600080fd5b5056fea26469706673582212203afff331750e516b7fd609256e4e6499f561d7956de5ff9b6b64f21e5f9c317464736f6c63430008000033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d58527242755435766e774c5955616567667847487078436972573539396b5578637346356771794c683136382f000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d62317058344755657967434b6d724d4538744c555a593254624d58516b5368586454656d455978565a626e4d2f00000000000000000000
-----Decoded View---------------
Arg [0] : _baseURI (string): ipfs://QmXRrBuT5vnwLYUaegfxGHpxCirW599kUxcsF5gqyLh168/
Arg [1] : collectionURI (string): ipfs://Qmb1pX4GUeygCKmrME8tLUZY2TbMXQkShXdTemEYxVZbnM/
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [3] : 697066733a2f2f516d58527242755435766e774c595561656766784748707843
Arg [4] : 6972573539396b5578637346356771794c683136382f00000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [6] : 697066733a2f2f516d62317058344755657967434b6d724d4538744c555a5932
Arg [7] : 54624d58516b5368586454656d455978565a626e4d2f00000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.