Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 627 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Approval For... | 17021672 | 508 days ago | IN | 0 ETH | 0.00062632 | ||||
Transfer From | 15931903 | 661 days ago | IN | 0 ETH | 0.00492809 | ||||
Set Approval For... | 15764213 | 684 days ago | IN | 0 ETH | 0.00056563 | ||||
Withdrawl | 15699107 | 693 days ago | IN | 0 ETH | 0.00101531 | ||||
Transfer | 15692650 | 694 days ago | IN | 0 ETH | 0.00008497 | ||||
Mint | 15570967 | 711 days ago | IN | 0 ETH | 0.00019161 | ||||
Close Sale | 15542640 | 715 days ago | IN | 0 ETH | 0.00028864 | ||||
Transfer | 15542636 | 715 days ago | IN | 0 ETH | 0.00017751 | ||||
Start Public Sal... | 15542631 | 715 days ago | IN | 0 ETH | 0.00025462 | ||||
Transfer | 15542599 | 715 days ago | IN | 0 ETH | 0.00019889 | ||||
Transfer | 15517854 | 719 days ago | IN | 0 ETH | 0.00019379 | ||||
Transfer | 15517825 | 719 days ago | IN | 0 ETH | 0.00016229 | ||||
Set Approval For... | 15509580 | 720 days ago | IN | 0 ETH | 0.00043837 | ||||
Transfer | 15493299 | 723 days ago | IN | 0 ETH | 0.00026706 | ||||
Transfer | 15477386 | 726 days ago | IN | 0 ETH | 0.00009008 | ||||
Transfer | 15477378 | 726 days ago | IN | 0 ETH | 0.00009781 | ||||
Transfer | 15477370 | 726 days ago | IN | 0 ETH | 0.00010948 | ||||
Set Approval For... | 15471332 | 726 days ago | IN | 0 ETH | 0.00020196 | ||||
Set Approval For... | 15471047 | 727 days ago | IN | 0 ETH | 0.00053332 | ||||
Set Approval For... | 15470130 | 727 days ago | IN | 0 ETH | 0.00018965 | ||||
Set Approval For... | 15466359 | 727 days ago | IN | 0 ETH | 0.00043474 | ||||
Set Approval For... | 15465322 | 727 days ago | IN | 0 ETH | 0.00025809 | ||||
Set Approval For... | 15464159 | 728 days ago | IN | 0 ETH | 0.00031843 | ||||
Set Approval For... | 15464152 | 728 days ago | IN | 0 ETH | 0.00030939 | ||||
Set Approval For... | 15464106 | 728 days ago | IN | 0 ETH | 0.00028826 |
Loading...
Loading
Contract Name:
BsbNFT
Compiler Version
v0.8.13+commit.abaa5c0e
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/* SPDX-License-Identifier: MIT [] [][][][][]] [][][][][][][] [][][][][]] [][][][][][] [][][][][][][] [][][][][][] [][] [][] [][] [] [][] [][] [][] [][] [][] [][] [] [][] [][] [][][][][][] [][][][][][][] [][][][][][] [][][][][][] [][][][][][][] [][][][][][] [][] [][] [] [][] [][] [][] [][] [][] [][] [] [][] [][] [][] [][][][][][] [][][][][][][] [][][][][][] [][][][][]] [][][][][][][] [][][][][]] [] * Generated by Cyberscape Labs * Email [email protected] for your NFT launch needs */ pragma solidity ^0.8.13; import "@openzeppelin/contracts/access/Ownable.sol"; import '@openzeppelin/contracts/utils/Strings.sol'; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "erc721a/contracts/ERC721A.sol"; /*////////////////////////////////////// ERRORS //////////////////////////////////////*/ /// @notice Thrown when completing transaction will exceed collection supply error ExceededMintSupply(); /// @notice Thrown when transaction sender is not on whitelist error NotOnMintList(); /// @notice Thrown when the attempted sale is not actve error SaleNotActive(); /// @notice Thrown when the message value is less than the required amount error ValueTooLow(); /// @notice Thrown when the amount minted exceeds max allowed per txn error MintingTooMany(); /// @notice Thrown when the input address is 0 error ZeroAddress(); /// @notice Thrown when input does not match what's provided from the website error InvalidData(); /** @title Billionaire Space Babies @author @0x_digitalnommad with Cyberscape Labs */ contract BsbNFT is ERC721A, Ownable, ReentrancyGuard { using Strings for uint256; /*////////////////////////////////////// STATE VARIABLES //////////////////////////////////////*/ enum MintStatus { CLOSED, PRESALE, PUBLIC, SOLDOUT } MintStatus public mintStatus = MintStatus.CLOSED; uint256 public collectionSize; uint256 public maxPerTxn; uint256 public presalePrice = 0.17 ether; uint256 public salePrice = 0.2 ether; uint256 private mintData; string private baseURI; string private unrevealedURI; bool public wlEnabled = false; bool public revealed = false; mapping(address => bool) private mintList; bytes32 public merkleRoot = 0xabdfb9ba2690ab68ec73f7a8567586413293817709a77d893cf14d357aee0e8a; address private devWallet; address private uiWallet; address private mlWallet; /*////////////////////////////////////// EVENTS //////////////////////////////////////*/ event ChangeBaseURI(string _baseURI); event UpdateSaleState(string _sale); event Mint(address _minter, uint256 _amount, string _type); /*////////////////////////////////////// CONSTRUCTOR //////////////////////////////////////*/ constructor( uint collectionSize_, uint maxTxn_, uint mintData_, address devWallet_, address mlWallet_, address uiWallet_ ) ERC721A("Billionaire Space Babies", "BSB") { // "Billionaire Space Babies", "BSB" collectionSize = collectionSize_; maxPerTxn = maxTxn_; mintData = mintData_; devWallet = devWallet_; mlWallet = mlWallet_; uiWallet = uiWallet_; } /*////////////////////////////////////// MODIFIERS //////////////////////////////////////*/ modifier callerIsUser() { require(tx.origin == msg.sender, "Caller is another contract"); _; } /*////////////////////////////////////// MINTING FUNCTIONS //////////////////////////////////////*/ /** Dev mint function to reserve a supply for giveaways, collaborations, and marketing @param _address The address to mint to @param _amount The amount to mint */ function devMint(address _address, uint256 _amount) external onlyOwner { if (_address == address(0)) revert ZeroAddress(); if (_amount + totalSupply() > collectionSize) revert ExceededMintSupply(); _safeMint(_address, _amount); emit Mint(_address, _amount, "Dev"); } /** Presale mint function using merkle proofs @param _proof An array of bytes representing the merkle proof for the sender's address @param _amount The amount to mint */ function mintPresale(bytes32[] memory _proof, uint256 _amount) external payable callerIsUser nonReentrant { if (mintStatus != MintStatus.PRESALE) revert SaleNotActive(); if (_amount > maxPerTxn) revert MintingTooMany(); if (_amount + totalSupply() > collectionSize) revert ExceededMintSupply(); if (!MerkleProof.verify(_proof, merkleRoot, keccak256(abi.encodePacked(msg.sender)))) revert NotOnMintList(); if (msg.value != presalePrice * _amount) revert ValueTooLow(); _safeMint(msg.sender, _amount); emit Mint(msg.sender, _amount, "Presale"); } /** Public and presale minting function @param _amount The amount to mint @param _data Private data required to mint */ function mint(uint256 _amount, uint256 _data) external payable callerIsUser nonReentrant { if (mintStatus != MintStatus.PRESALE && mintStatus != MintStatus.PUBLIC) revert SaleNotActive(); if (_data != mintData) revert InvalidData(); if (_amount > maxPerTxn) revert MintingTooMany(); if (_amount + totalSupply() > collectionSize) revert ExceededMintSupply(); if (mintStatus == MintStatus.PRESALE) { if (wlEnabled && !mintList[msg.sender]) revert NotOnMintList(); if (msg.value != presalePrice * _amount) revert ValueTooLow(); _safeMint(msg.sender, _amount); emit Mint(msg.sender, _amount, "Presale"); } else /* if (mintStatus == MintStatus.PUBLIC) */ { if (msg.value != salePrice * _amount) revert ValueTooLow(); _safeMint(msg.sender, _amount); emit Mint(msg.sender, _amount, "Public"); } } /*////////////////////////////////////// SETTERS //////////////////////////////////////*/ /** Set the URI for preview image prior to reveal */ function setUnrevealedURI(string calldata _unrevealedURI) external onlyOwner { unrevealedURI = _unrevealedURI; } /** Set the base URI for all tokens post reveal */ function setBaseURI(string calldata _tokenBaseURI) external onlyOwner { baseURI = _tokenBaseURI; emit ChangeBaseURI(_tokenBaseURI); } /** Update the price for the public sale or presale. @param _saleType Either "presale" for presalePrice or "public" for salePrice @param _price The new price in gwei */ function setPrice(string calldata _saleType, uint256 _price) external onlyOwner { if (keccak256(abi.encodePacked(_saleType)) == keccak256(abi.encodePacked("presale"))) { presalePrice = _price; } else if (keccak256(abi.encodePacked(_saleType)) == keccak256(abi.encodePacked("public"))) { salePrice = _price; } else { revert InvalidData(); } } function setMaxTxn(uint256 _max) external onlyOwner { maxPerTxn = _max; } function setMintData(uint256 _data) external onlyOwner { mintData = _data; } function setMerkleRoot(bytes32 _merkleRoot) external onlyOwner { merkleRoot = _merkleRoot; } /*////////////////////////////////////// GETTERS //////////////////////////////////////*/ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "URI query for nonexistent token"); if (revealed == false) { return unrevealedURI; } else { return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString(), '.json')) : ''; } } function getMintStatus() external view returns(string memory) { if (mintStatus == MintStatus.CLOSED) { return "Closed"; } else if (mintStatus == MintStatus.PRESALE){ return "Presale"; } else if (mintStatus == MintStatus.PUBLIC) { return "Public Sale"; } else /* if (mintStatus == MintStatus.SOLDOUT) */ { return "Sold Out"; } } function getMintList(address _addr) external view returns(bool) { return mintList[_addr]; } /*////////////////////////////////////// MISC //////////////////////////////////////*/ function addToMintList(address[] calldata _addresses) external onlyOwner { for (uint i = 0; i < _addresses.length; i++) { if (_addresses[i] == address(0)) revert ZeroAddress(); mintList[_addresses[i]] = true; } } function removeFromMintList(address[] calldata _addresses) external onlyOwner { for (uint i = 0; i < _addresses.length; i++) { if (_addresses[i] == address(0)) revert ZeroAddress(); mintList[_addresses[i]] = false; } } function reveal() external onlyOwner { revealed = !revealed; } function closeSale() external onlyOwner { if (totalSupply() == collectionSize) { mintStatus = MintStatus.SOLDOUT; emit UpdateSaleState("Sold Out"); } else { mintStatus = MintStatus.CLOSED; emit UpdateSaleState("Closed"); } } function startPresale() external onlyOwner { mintStatus = MintStatus.PRESALE; emit UpdateSaleState("Presale"); } function startPublicSale() external onlyOwner { mintStatus = MintStatus.PUBLIC; emit UpdateSaleState("Public"); } function enableWhitelist() external onlyOwner { wlEnabled = !wlEnabled; } function withdrawl() external onlyOwner { uint totalBalance = address(this).balance; payable(devWallet).transfer(totalBalance * 60 / 1000); payable(mlWallet).transfer(totalBalance * 30 / 1000); payable(uiWallet).transfer(totalBalance * 10 / 1000); uint remainingBalance = totalBalance * 900 / 1000; payable(msg.sender).transfer(remainingBalance); } }
// 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 (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 (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 v4.4.1 (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 = keccak256(abi.encodePacked(computedHash, proofElement)); } else { // Hash(current element of the proof + current computed hash) computedHash = keccak256(abi.encodePacked(proofElement, computedHash)); } } return computedHash; } }
// SPDX-License-Identifier: MIT // Creator: Chiru Labs pragma solidity ^0.8.0; import '@openzeppelin/contracts/token/ERC721/IERC721.sol'; import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol'; import '@openzeppelin/contracts/utils/Address.sol'; import '@openzeppelin/contracts/utils/Context.sol'; import '@openzeppelin/contracts/utils/Strings.sol'; import '@openzeppelin/contracts/utils/introspection/ERC165.sol'; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..). * * Does not support burning tokens to address(0). * * Assumes that an owner cannot have more than the 2**128 (max value of uint128) of supply */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable { using Address for address; using Strings for uint256; struct TokenOwnership { address addr; uint64 startTimestamp; } struct AddressData { uint128 balance; uint128 numberMinted; } uint256 internal currentIndex = 0; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // 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; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view override returns (uint256) { return currentIndex; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view override returns (uint256) { require(index < totalSupply(), 'ERC721A: global index out of bounds'); return index; } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first. * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) { require(index < balanceOf(owner), 'ERC721A: owner index out of bounds'); uint256 numMintedSoFar = totalSupply(); uint256 tokenIdsIdx = 0; address currOwnershipAddr = address(0); for (uint256 i = 0; i < numMintedSoFar; i++) { TokenOwnership memory ownership = _ownerships[i]; if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { if (tokenIdsIdx == index) { return i; } tokenIdsIdx++; } } revert('ERC721A: unable to get token of owner by index'); } /** * @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 || interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { require(owner != address(0), 'ERC721A: balance query for the zero address'); return uint256(_addressData[owner].balance); } function _numberMinted(address owner) internal view returns (uint256) { require(owner != address(0), 'ERC721A: number minted query for the zero address'); return uint256(_addressData[owner].numberMinted); } function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { require(_exists(tokenId), 'ERC721A: owner query for nonexistent token'); for (uint256 curr = tokenId; ; curr--) { TokenOwnership memory ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } revert('ERC721A: unable to determine the owner of token'); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return ownershipOf(tokenId).addr; } /** * @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 override { address owner = ERC721A.ownerOf(tokenId); require(to != owner, 'ERC721A: approval to current owner'); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), 'ERC721A: approve caller is not owner nor approved for all' ); _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { require(_exists(tokenId), 'ERC721A: approved query for nonexistent token'); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public override { require(operator != _msgSender(), 'ERC721A: approve to caller'); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public override { _transfer(from, to, tokenId); require( _checkOnERC721Received(from, to, tokenId, _data), 'ERC721A: 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`), */ function _exists(uint256 tokenId) internal view returns (bool) { return tokenId < currentIndex; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` cannot be larger than the max batch size. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { uint256 startTokenId = currentIndex; require(to != address(0), 'ERC721A: mint to the zero address'); // We know if the first token in the batch doesn't exist, the other ones don't as well, because of serial ordering. require(!_exists(startTokenId), 'ERC721A: token already minted'); require(quantity > 0, 'ERC721A: quantity must be greater 0'); _beforeTokenTransfers(address(0), to, startTokenId, quantity); AddressData memory addressData = _addressData[to]; _addressData[to] = AddressData( addressData.balance + uint128(quantity), addressData.numberMinted + uint128(quantity) ); _ownerships[startTokenId] = TokenOwnership(to, uint64(block.timestamp)); uint256 updatedIndex = startTokenId; for (uint256 i = 0; i < quantity; i++) { emit Transfer(address(0), to, updatedIndex); require( _checkOnERC721Received(address(0), to, updatedIndex, _data), 'ERC721A: transfer to non ERC721Receiver implementer' ); updatedIndex++; } currentIndex = updatedIndex; _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * 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 ) private { TokenOwnership memory prevOwnership = ownershipOf(tokenId); bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr || getApproved(tokenId) == _msgSender() || isApprovedForAll(prevOwnership.addr, _msgSender())); require(isApprovedOrOwner, 'ERC721A: transfer caller is not owner nor approved'); require(prevOwnership.addr == from, 'ERC721A: transfer from incorrect owner'); require(to != address(0), 'ERC721A: transfer to the zero address'); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. unchecked { _addressData[from].balance -= 1; _addressData[to].balance += 1; } _ownerships[tokenId] = TokenOwnership(to, uint64(block.timestamp)); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { if (_exists(nextTokenId)) { _ownerships[nextTokenId] = TokenOwnership(prevOwnership.addr, prevOwnership.startTimestamp); } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert('ERC721A: transfer to non ERC721Receiver implementer'); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} }
// 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 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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 * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 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/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": true, "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":"uint256","name":"collectionSize_","type":"uint256"},{"internalType":"uint256","name":"maxTxn_","type":"uint256"},{"internalType":"uint256","name":"mintData_","type":"uint256"},{"internalType":"address","name":"devWallet_","type":"address"},{"internalType":"address","name":"mlWallet_","type":"address"},{"internalType":"address","name":"uiWallet_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ExceededMintSupply","type":"error"},{"inputs":[],"name":"InvalidData","type":"error"},{"inputs":[],"name":"MintingTooMany","type":"error"},{"inputs":[],"name":"NotOnMintList","type":"error"},{"inputs":[],"name":"SaleNotActive","type":"error"},{"inputs":[],"name":"ValueTooLow","type":"error"},{"inputs":[],"name":"ZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"_baseURI","type":"string"}],"name":"ChangeBaseURI","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_minter","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"},{"indexed":false,"internalType":"string","name":"_type","type":"string"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"_sale","type":"string"}],"name":"UpdateSaleState","type":"event"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"}],"name":"addToMintList","outputs":[],"stateMutability":"nonpayable","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":"closeSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"collectionSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"devMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"getMintList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMintStatus","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerTxn","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_data","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mintPresale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintStatus","outputs":[{"internalType":"enum BsbNFT.MintStatus","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"}],"name":"removeFromMintList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"salePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"_tokenBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_max","type":"uint256"}],"name":"setMaxTxn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_data","type":"uint256"}],"name":"setMintData","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_saleType","type":"string"},{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_unrevealedURI","type":"string"}],"name":"setUnrevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startPublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawl","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wlEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
6080604052600080556009805460ff1916905567025bf6196bd10000600c556702c68af0bb140000600d556011805461ffff191690557fabdfb9ba2690ab68ec73f7a8567586413293817709a77d893cf14d357aee0e8a6013553480156200006657600080fd5b506040516200360e3803806200360e83398101604081905262000089916200028f565b604080518082018252601881527f42696c6c696f6e616972652053706163652042616269657300000000000000006020808301918252835180850190945260038452622129a160e91b908401528151919291620000e991600191620001cc565b508051620000ff906002906020840190620001cc565b5050506200011c620001166200017660201b60201c565b6200017a565b6001600855600a95909555600b93909355600e91909155601480546001600160a01b039283166001600160a01b03199182161790915560168054938316938216939093179092556015805491909316911617905562000331565b3390565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001da90620002f5565b90600052602060002090601f016020900481019282620001fe576000855562000249565b82601f106200021957805160ff191683800117855562000249565b8280016001018555821562000249579182015b82811115620002495782518255916020019190600101906200022c565b50620002579291506200025b565b5090565b5b808211156200025757600081556001016200025c565b80516001600160a01b03811681146200028a57600080fd5b919050565b60008060008060008060c08789031215620002a957600080fd5b865195506020870151945060408701519350620002c96060880162000272565b9250620002d96080880162000272565b9150620002e960a0880162000272565b90509295509295509295565b600181811c908216806200030a57607f821691505b6020821081036200032b57634e487b7160e01b600052602260045260246000fd5b50919050565b6132cd80620003416000396000f3fe60806040526004361061027c5760003560e01c806370a082311161014f578063b88d4fde116100c1578063ee55efee1161007a578063ee55efee1461075b578063f2fde38b14610770578063f4d4f2e814610790578063f51f96dd146107b0578063fc588c04146107c6578063fe2c7fee146107e657600080fd5b8063b88d4fde14610683578063c495cdfa146106a3578063c87b56dd146106c3578063cdfb2b4e146106e3578063d13e6ca2146106f8578063e985e9c51461071257600080fd5b806395d89b411161011357806395d89b41146105c65780639da3f8fd146105db578063a22cb46514610602578063a475b5dd14610622578063ad7f1ea114610637578063b55177dc1461064a57600080fd5b806370a082311461053e578063715018a61461055e5780637cb64759146105735780638da5cb5b14610593578063941ada0e146105b157600080fd5b80632b070324116101f357806345c0f533116101ac57806345c0f533146104895780634f6ccce71461049f57806351830227146104bf57806355f804b3146104de578063627804af146104fe5780636352211e1461051e57600080fd5b80632b070324146103e85780632eb4a7ab146104085780632f745c591461041e5780633aedfb8b1461043e5780633cb519941461045357806342842e0e1461046957600080fd5b8063095ea7b311610245578063095ea7b31461034b5780630c1c972a1461036b57806318160ddd146103805780631b2ef1ca1461039557806322e01192146103a857806323b872dd146103c857600080fd5b80620e7fa81461028157806301ffc9a7146102aa57806304c98b2b146102da57806306fdde03146102f1578063081812fc14610313575b600080fd5b34801561028d57600080fd5b50610297600c5481565b6040519081526020015b60405180910390f35b3480156102b657600080fd5b506102ca6102c5366004612946565b610806565b60405190151581526020016102a1565b3480156102e657600080fd5b506102ef610873565b005b3480156102fd57600080fd5b506103066108d9565b6040516102a191906129c2565b34801561031f57600080fd5b5061033361032e3660046129d5565b61096b565b6040516001600160a01b0390911681526020016102a1565b34801561035757600080fd5b506102ef610366366004612a05565b6109f6565b34801561037757600080fd5b506102ef610b0d565b34801561038c57600080fd5b50600054610297565b6102ef6103a3366004612a2f565b610b60565b3480156103b457600080fd5b506102ef6103c3366004612a99565b610dff565b3480156103d457600080fd5b506102ef6103e3366004612ae4565b610f03565b3480156103f457600080fd5b506102ef610403366004612b20565b610f0e565b34801561041457600080fd5b5061029760135481565b34801561042a57600080fd5b50610297610439366004612a05565b610ffa565b34801561044a57600080fd5b506102ef611165565b34801561045f57600080fd5b50610297600b5481565b34801561047557600080fd5b506102ef610484366004612ae4565b6112cc565b34801561049557600080fd5b50610297600a5481565b3480156104ab57600080fd5b506102976104ba3660046129d5565b6112e7565b3480156104cb57600080fd5b506011546102ca90610100900460ff1681565b3480156104ea57600080fd5b506102ef6104f9366004612b94565b611349565b34801561050a57600080fd5b506102ef610519366004612a05565b6113bd565b34801561052a57600080fd5b506103336105393660046129d5565b611493565b34801561054a57600080fd5b50610297610559366004612bd5565b6114a5565b34801561056a57600080fd5b506102ef611536565b34801561057f57600080fd5b506102ef61058e3660046129d5565b61156c565b34801561059f57600080fd5b506007546001600160a01b0316610333565b3480156105bd57600080fd5b5061030661159b565b3480156105d257600080fd5b50610306611683565b3480156105e757600080fd5b506009546105f59060ff1681565b6040516102a19190612c06565b34801561060e57600080fd5b506102ef61061d366004612c2e565b611692565b34801561062e57600080fd5b506102ef611756565b6102ef610645366004612cb0565b61179d565b34801561065657600080fd5b506102ca610665366004612bd5565b6001600160a01b031660009081526012602052604090205460ff1690565b34801561068f57600080fd5b506102ef61069e366004612d5b565b611981565b3480156106af57600080fd5b506102ef6106be3660046129d5565b6119ba565b3480156106cf57600080fd5b506103066106de3660046129d5565b6119e9565b3480156106ef57600080fd5b506102ef611b49565b34801561070457600080fd5b506011546102ca9060ff1681565b34801561071e57600080fd5b506102ca61072d366004612e1a565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561076757600080fd5b506102ef611b87565b34801561077c57600080fd5b506102ef61078b366004612bd5565b611c45565b34801561079c57600080fd5b506102ef6107ab366004612b20565b611ce0565b3480156107bc57600080fd5b50610297600d5481565b3480156107d257600080fd5b506102ef6107e13660046129d5565b611dcc565b3480156107f257600080fd5b506102ef610801366004612b94565b611dfb565b60006001600160e01b031982166380ac58cd60e01b148061083757506001600160e01b03198216635b5e139f60e01b145b8061085257506001600160e01b0319821663780e9d6360e01b145b8061086d57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6007546001600160a01b031633146108a65760405162461bcd60e51b815260040161089d90612e4d565b60405180910390fd5b6009805460ff19166001179055604051600080516020613278833981519152906108cf90612e82565b60405180910390a1565b6060600180546108e890612ea9565b80601f016020809104026020016040519081016040528092919081815260200182805461091490612ea9565b80156109615780601f1061093657610100808354040283529160200191610961565b820191906000526020600020905b81548152906001019060200180831161094457829003601f168201915b5050505050905090565b6000610978826000541190565b6109da5760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b606482015260840161089d565b506000908152600560205260409020546001600160a01b031690565b6000610a0182611493565b9050806001600160a01b0316836001600160a01b031603610a6f5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b606482015260840161089d565b336001600160a01b0382161480610a8b5750610a8b813361072d565b610afd5760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000606482015260840161089d565b610b08838383611e31565b505050565b6007546001600160a01b03163314610b375760405162461bcd60e51b815260040161089d90612e4d565b6009805460ff19166002179055604051600080516020613278833981519152906108cf90612ee3565b323314610baf5760405162461bcd60e51b815260206004820152601a60248201527f43616c6c657220697320616e6f7468657220636f6e7472616374000000000000604482015260640161089d565b600260085403610c015760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161089d565b6002600855600160095460ff166003811115610c1f57610c1f612bf0565b14158015610c445750600260095460ff166003811115610c4157610c41612bf0565b14155b15610c625760405163b7b2409760e01b815260040160405180910390fd5b600e548114610c8457604051635cb045db60e01b815260040160405180910390fd5b600b54821115610ca757604051633e29b4fb60e11b815260040160405180910390fd5b600a54600054610cb79084612f1f565b1115610cd65760405163192d175560e01b815260040160405180910390fd5b600160095460ff166003811115610cef57610cef612bf0565b03610d975760115460ff168015610d1657503360009081526012602052604090205460ff16155b15610d3457604051631aa679f960e21b815260040160405180910390fd5b81600c54610d429190612f37565b3414610d6157604051635321e1df60e01b815260040160405180910390fd5b610d6b3383611e8d565b6000805160206132588339815191523383604051610d8a929190612f56565b60405180910390a1610df6565b81600d54610da59190612f37565b3414610dc457604051635321e1df60e01b815260040160405180910390fd5b610dce3383611e8d565b6000805160206132588339815191523383604051610ded929190612f93565b60405180910390a15b50506001600855565b6007546001600160a01b03163314610e295760405162461bcd60e51b815260040161089d90612e4d565b6040516670726573616c6560c81b6020820152602701604051602081830303815290604052805190602001208383604051602001610e68929190612fcf565b6040516020818303038152906040528051906020012003610e8a57600c555050565b604051657075626c696360d01b6020820152602601604051602081830303815290604052805190602001208383604051602001610ec8929190612fcf565b6040516020818303038152906040528051906020012003610eea57600d555050565b604051635cb045db60e01b815260040160405180910390fd5b610b08838383611eab565b6007546001600160a01b03163314610f385760405162461bcd60e51b815260040161089d90612e4d565b60005b81811015610b08576000838383818110610f5757610f57612fdf565b9050602002016020810190610f6c9190612bd5565b6001600160a01b031603610f935760405163d92e233d60e01b815260040160405180910390fd5b600160126000858585818110610fab57610fab612fdf565b9050602002016020810190610fc09190612bd5565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610ff281612ff5565b915050610f3b565b6000611005836114a5565b821061105e5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b606482015260840161089d565b600080549080805b83811015611105576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b031691830191909152156110b857805192505b876001600160a01b0316836001600160a01b0316036110f2578684036110e45750935061086d92505050565b836110ee81612ff5565b9450505b50806110fd81612ff5565b915050611066565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b606482015260840161089d565b6007546001600160a01b0316331461118f5760405162461bcd60e51b815260040161089d90612e4d565b60145447906001600160a01b03166108fc6103e86111ae84603c612f37565b6111b89190613024565b6040518115909202916000818181858888f193505050501580156111e0573d6000803e3d6000fd5b506016546001600160a01b03166108fc6103e86111fe84601e612f37565b6112089190613024565b6040518115909202916000818181858888f19350505050158015611230573d6000803e3d6000fd5b506015546001600160a01b03166108fc6103e861124e84600a612f37565b6112589190613024565b6040518115909202916000818181858888f19350505050158015611280573d6000803e3d6000fd5b5060006103e861129283610384612f37565b61129c9190613024565b604051909150339082156108fc029083906000818181858888f19350505050158015610b08573d6000803e3d6000fd5b610b0883838360405180602001604052806000815250611981565b6000805482106113455760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b606482015260840161089d565b5090565b6007546001600160a01b031633146113735760405162461bcd60e51b815260040161089d90612e4d565b61137f600f83836128a0565b507f8a274cdd629b9aae599b13d8bfee3ee4a15350b0386a9b64087a393db009376782826040516113b1929190613038565b60405180910390a15050565b6007546001600160a01b031633146113e75760405162461bcd60e51b815260040161089d90612e4d565b6001600160a01b03821661140e5760405163d92e233d60e01b815260040160405180910390fd5b600a5460005461141e9083612f1f565b111561143d5760405163192d175560e01b815260040160405180910390fd5b6114478282611e8d565b604080516001600160a01b0384168152602081018390526060918101829052600391810191909152622232bb60e91b60808201526000805160206132588339815191529060a0016113b1565b600061149e826121f0565b5192915050565b60006001600160a01b0382166115115760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b606482015260840161089d565b506001600160a01b03166000908152600460205260409020546001600160801b031690565b6007546001600160a01b031633146115605760405162461bcd60e51b815260040161089d90612e4d565b61156a60006122cf565b565b6007546001600160a01b031633146115965760405162461bcd60e51b815260040161089d90612e4d565b601355565b6060600060095460ff1660038111156115b6576115b6612bf0565b036115dc575060408051808201909152600681526510db1bdcd95960d21b602082015290565b600160095460ff1660038111156115f5576115f5612bf0565b0361161c575060408051808201909152600781526650726573616c6560c81b602082015290565b600260095460ff16600381111561163557611635612bf0565b03611660575060408051808201909152600b81526a5075626c69632053616c6560a81b602082015290565b5060408051808201909152600881526714dbdb190813dd5d60c21b602082015290565b6060600280546108e890612ea9565b336001600160a01b038316036116ea5760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c6572000000000000604482015260640161089d565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6007546001600160a01b031633146117805760405162461bcd60e51b815260040161089d90612e4d565b6011805461ff001981166101009182900460ff1615909102179055565b3233146117ec5760405162461bcd60e51b815260206004820152601a60248201527f43616c6c657220697320616e6f7468657220636f6e7472616374000000000000604482015260640161089d565b60026008540361183e5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161089d565b6002600855600160095460ff16600381111561185c5761185c612bf0565b1461187a5760405163b7b2409760e01b815260040160405180910390fd5b600b5481111561189d57604051633e29b4fb60e11b815260040160405180910390fd5b600a546000546118ad9083612f1f565b11156118cc5760405163192d175560e01b815260040160405180910390fd5b6013546040516bffffffffffffffffffffffff193360601b16602082015261190e91849160340160405160208183030381529060405280519060200120612321565b61192b57604051631aa679f960e21b815260040160405180910390fd5b80600c546119399190612f37565b341461195857604051635321e1df60e01b815260040160405180910390fd5b6119623382611e8d565b6000805160206132588339815191523382604051610ded929190612f56565b61198c848484611eab565b61199884848484612337565b6119b45760405162461bcd60e51b815260040161089d90613067565b50505050565b6007546001600160a01b031633146119e45760405162461bcd60e51b815260040161089d90612e4d565b600e55565b60606119f6826000541190565b611a425760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e00604482015260640161089d565b601154610100900460ff161515600003611ae85760108054611a6390612ea9565b80601f0160208091040260200160405190810160405280929190818152602001828054611a8f90612ea9565b8015611adc5780601f10611ab157610100808354040283529160200191611adc565b820191906000526020600020905b815481529060010190602001808311611abf57829003601f168201915b50505050509050919050565b6000600f8054611af790612ea9565b905011611b13576040518060200160405280600081525061086d565b600f611b1e83612439565b604051602001611b2f9291906130d6565b60405160208183030381529060405292915050565b919050565b6007546001600160a01b03163314611b735760405162461bcd60e51b815260040161089d90612e4d565b6011805460ff19811660ff90911615179055565b6007546001600160a01b03163314611bb15760405162461bcd60e51b815260040161089d90612e4d565b600a5460005403611c03576009805460ff191660031790556040805160208082526008908201526714dbdb190813dd5d60c21b91810191909152600080516020613278833981519152906060016108cf565b6009805460ff191690556040805160208082526006908201526510db1bdcd95960d21b91810191909152600080516020613278833981519152906060016108cf565b6007546001600160a01b03163314611c6f5760405162461bcd60e51b815260040161089d90612e4d565b6001600160a01b038116611cd45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161089d565b611cdd816122cf565b50565b6007546001600160a01b03163314611d0a5760405162461bcd60e51b815260040161089d90612e4d565b60005b81811015610b08576000838383818110611d2957611d29612fdf565b9050602002016020810190611d3e9190612bd5565b6001600160a01b031603611d655760405163d92e233d60e01b815260040160405180910390fd5b600060126000858585818110611d7d57611d7d612fdf565b9050602002016020810190611d929190612bd5565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580611dc481612ff5565b915050611d0d565b6007546001600160a01b03163314611df65760405162461bcd60e51b815260040161089d90612e4d565b600b55565b6007546001600160a01b03163314611e255760405162461bcd60e51b815260040161089d90612e4d565b610b08601083836128a0565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b611ea7828260405180602001604052806000815250612539565b5050565b6000611eb6826121f0565b80519091506000906001600160a01b0316336001600160a01b03161480611eed575033611ee28461096b565b6001600160a01b0316145b80611eff57508151611eff903361072d565b905080611f695760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b606482015260840161089d565b846001600160a01b031682600001516001600160a01b031614611fdd5760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b606482015260840161089d565b6001600160a01b0384166120415760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b606482015260840161089d565b6120516000848460000151611e31565b6001600160a01b03858116600090815260046020908152604080832080546fffffffffffffffffffffffffffffffff198082166001600160801b0392831660001901831617909255898616808652838620805493841693831660019081019093169390931790925582518084018452918252426001600160401b039081168386019081528a8752600390955292852091518254945196166001600160e01b031990941693909317600160a01b95909216949094021790925590612115908590612f1f565b6000818152600360205260409020549091506001600160a01b03166121a65761213f816000541190565b156121a65760408051808201825284516001600160a01b0390811682526020808701516001600160401b039081168285019081526000878152600390935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b604080518082019091526000808252602082015261220f826000541190565b61226e5760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b606482015260840161089d565b815b6000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b031691830191909152156122bc579392505050565b50806122c781613190565b915050612270565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60008261232e85846127f4565b14949350505050565b60006001600160a01b0384163b1561242d57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061237b9033908990889088906004016131a7565b6020604051808303816000875af19250505080156123b6575060408051601f3d908101601f191682019092526123b3918101906131e4565b60015b612413573d8080156123e4576040519150601f19603f3d011682016040523d82523d6000602084013e6123e9565b606091505b50805160000361240b5760405162461bcd60e51b815260040161089d90613067565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612431565b5060015b949350505050565b6060816000036124605750506040805180820190915260018152600360fc1b602082015290565b8160005b811561248a578061247481612ff5565b91506124839050600a83613024565b9150612464565b6000816001600160401b038111156124a4576124a4612c6a565b6040519080825280601f01601f1916602001820160405280156124ce576020820181803683370190505b5090505b8415612431576124e3600183613201565b91506124f0600a86613218565b6124fb906030612f1f565b60f81b81838151811061251057612510612fdf565b60200101906001600160f81b031916908160001a905350612532600a86613024565b94506124d2565b6000546001600160a01b03841661259c5760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b606482015260840161089d565b6125a7816000541190565b156125f45760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e746564000000604482015260640161089d565b600083116126505760405162461bcd60e51b815260206004820152602360248201527f455243373231413a207175616e74697479206d7573742062652067726561746560448201526207220360ec1b606482015260840161089d565b6001600160a01b0384166000908152600460209081526040918290208251808401845290546001600160801b038082168352600160801b90910416918101919091528151808301909252805190919081906126ac90879061322c565b6001600160801b031681526020018583602001516126ca919061322c565b6001600160801b039081169091526001600160a01b0380881660008181526004602090815260408083208751978301518716600160801b029790961696909617909455845180860186529182526001600160401b034281168386019081528883526003909552948120915182549451909516600160a01b026001600160e01b031990941694909216939093179190911790915582905b858110156127e95760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46127ad6000888488612337565b6127c95760405162461bcd60e51b815260040161089d90613067565b816127d381612ff5565b92505080806127e190612ff5565b915050612760565b5060008190556121e8565b600081815b845181101561289857600085828151811061281657612816612fdf565b60200260200101519050808311612858576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250612885565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b508061289081612ff5565b9150506127f9565b509392505050565b8280546128ac90612ea9565b90600052602060002090601f0160209004810192826128ce5760008555612914565b82601f106128e75782800160ff19823516178555612914565b82800160010185558215612914579182015b828111156129145782358255916020019190600101906128f9565b506113459291505b80821115611345576000815560010161291c565b6001600160e01b031981168114611cdd57600080fd5b60006020828403121561295857600080fd5b813561296381612930565b9392505050565b60005b8381101561298557818101518382015260200161296d565b838111156119b45750506000910152565b600081518084526129ae81602086016020860161296a565b601f01601f19169290920160200192915050565b6020815260006129636020830184612996565b6000602082840312156129e757600080fd5b5035919050565b80356001600160a01b0381168114611b4457600080fd5b60008060408385031215612a1857600080fd5b612a21836129ee565b946020939093013593505050565b60008060408385031215612a4257600080fd5b50508035926020909101359150565b60008083601f840112612a6357600080fd5b5081356001600160401b03811115612a7a57600080fd5b602083019150836020828501011115612a9257600080fd5b9250929050565b600080600060408486031215612aae57600080fd5b83356001600160401b03811115612ac457600080fd5b612ad086828701612a51565b909790965060209590950135949350505050565b600080600060608486031215612af957600080fd5b612b02846129ee565b9250612b10602085016129ee565b9150604084013590509250925092565b60008060208385031215612b3357600080fd5b82356001600160401b0380821115612b4a57600080fd5b818501915085601f830112612b5e57600080fd5b813581811115612b6d57600080fd5b8660208260051b8501011115612b8257600080fd5b60209290920196919550909350505050565b60008060208385031215612ba757600080fd5b82356001600160401b03811115612bbd57600080fd5b612bc985828601612a51565b90969095509350505050565b600060208284031215612be757600080fd5b612963826129ee565b634e487b7160e01b600052602160045260246000fd5b6020810160048310612c2857634e487b7160e01b600052602160045260246000fd5b91905290565b60008060408385031215612c4157600080fd5b612c4a836129ee565b915060208301358015158114612c5f57600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715612ca857612ca8612c6a565b604052919050565b60008060408385031215612cc357600080fd5b82356001600160401b0380821115612cda57600080fd5b818501915085601f830112612cee57600080fd5b8135602082821115612d0257612d02612c6a565b8160051b9250612d13818401612c80565b8281529284018101928181019089851115612d2d57600080fd5b948201945b84861015612d4b57853582529482019490820190612d32565b9997909101359750505050505050565b60008060008060808587031215612d7157600080fd5b612d7a856129ee565b93506020612d898187016129ee565b93506040860135925060608601356001600160401b0380821115612dac57600080fd5b818801915088601f830112612dc057600080fd5b813581811115612dd257612dd2612c6a565b612de4601f8201601f19168501612c80565b91508082528984828501011115612dfa57600080fd5b808484018584013760008482840101525080935050505092959194509250565b60008060408385031215612e2d57600080fd5b612e36836129ee565b9150612e44602084016129ee565b90509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208152600061086d60208301600781526650726573616c6560c81b602082015260400190565b600181811c90821680612ebd57607f821691505b602082108103612edd57634e487b7160e01b600052602260045260246000fd5b50919050565b60208152600061086d6020830160068152655075626c696360d01b602082015260400190565b634e487b7160e01b600052601160045260246000fd5b60008219821115612f3257612f32612f09565b500190565b6000816000190483118215151615612f5157612f51612f09565b500290565b6001600160a01b0383168152602081018290526060604082018190526007908201526650726573616c6560c81b6080820152600060a08201612431565b6001600160a01b038316815260208101829052606060408201819052600690820152655075626c696360d01b6080820152600060a08201612431565b8183823760009101908152919050565b634e487b7160e01b600052603260045260246000fd5b60006001820161300757613007612f09565b5060010190565b634e487b7160e01b600052601260045260246000fd5b6000826130335761303361300e565b500490565b60208152816020820152818360408301376000818301604090810191909152601f909201601f19160101919050565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b600081516130cc81856020860161296a565b9290920192915050565b600080845481600182811c9150808316806130f257607f831692505b6020808410820361311157634e487b7160e01b86526022600452602486fd5b818015613125576001811461313657613163565b60ff19861689528489019650613163565b60008b81526020902060005b8681101561315b5781548b820152908501908301613142565b505084890196505b50505050505061318761317682866130ba565b64173539b7b760d91b815260050190565b95945050505050565b60008161319f5761319f612f09565b506000190190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906131da90830184612996565b9695505050505050565b6000602082840312156131f657600080fd5b815161296381612930565b60008282101561321357613213612f09565b500390565b6000826132275761322761300e565b500690565b60006001600160801b0380831681851680830382111561324e5761324e612f09565b0194935050505056fe85a66b9141978db9980f7e0ce3b468cebf4f7999f32b23091c5c03e798b1ba7a8ec7990a32a33474d410288c3000e8ea0b63c9f104ef2e5249d0c32964fc6523a26469706673582212208869f8dfbf6e875e1aaf53ede8769fb678a0b9a4581e540a255c630acee95dae64736f6c634300080d00330000000000000000000000000000000000000000000000000000000000001e610000000000000000000000000000000000000000000000000000000000001e6100000000000000000000000000000000000000000000000000000000000d6004000000000000000000000000054fbfa35dd3128a1eec9d65a4684e96a9410990000000000000000000000000bf66579948b783c2883a60d06b342181f08625900000000000000000000000005998d413b9c2be91b9db4da7764009083410bc77
Deployed Bytecode
0x60806040526004361061027c5760003560e01c806370a082311161014f578063b88d4fde116100c1578063ee55efee1161007a578063ee55efee1461075b578063f2fde38b14610770578063f4d4f2e814610790578063f51f96dd146107b0578063fc588c04146107c6578063fe2c7fee146107e657600080fd5b8063b88d4fde14610683578063c495cdfa146106a3578063c87b56dd146106c3578063cdfb2b4e146106e3578063d13e6ca2146106f8578063e985e9c51461071257600080fd5b806395d89b411161011357806395d89b41146105c65780639da3f8fd146105db578063a22cb46514610602578063a475b5dd14610622578063ad7f1ea114610637578063b55177dc1461064a57600080fd5b806370a082311461053e578063715018a61461055e5780637cb64759146105735780638da5cb5b14610593578063941ada0e146105b157600080fd5b80632b070324116101f357806345c0f533116101ac57806345c0f533146104895780634f6ccce71461049f57806351830227146104bf57806355f804b3146104de578063627804af146104fe5780636352211e1461051e57600080fd5b80632b070324146103e85780632eb4a7ab146104085780632f745c591461041e5780633aedfb8b1461043e5780633cb519941461045357806342842e0e1461046957600080fd5b8063095ea7b311610245578063095ea7b31461034b5780630c1c972a1461036b57806318160ddd146103805780631b2ef1ca1461039557806322e01192146103a857806323b872dd146103c857600080fd5b80620e7fa81461028157806301ffc9a7146102aa57806304c98b2b146102da57806306fdde03146102f1578063081812fc14610313575b600080fd5b34801561028d57600080fd5b50610297600c5481565b6040519081526020015b60405180910390f35b3480156102b657600080fd5b506102ca6102c5366004612946565b610806565b60405190151581526020016102a1565b3480156102e657600080fd5b506102ef610873565b005b3480156102fd57600080fd5b506103066108d9565b6040516102a191906129c2565b34801561031f57600080fd5b5061033361032e3660046129d5565b61096b565b6040516001600160a01b0390911681526020016102a1565b34801561035757600080fd5b506102ef610366366004612a05565b6109f6565b34801561037757600080fd5b506102ef610b0d565b34801561038c57600080fd5b50600054610297565b6102ef6103a3366004612a2f565b610b60565b3480156103b457600080fd5b506102ef6103c3366004612a99565b610dff565b3480156103d457600080fd5b506102ef6103e3366004612ae4565b610f03565b3480156103f457600080fd5b506102ef610403366004612b20565b610f0e565b34801561041457600080fd5b5061029760135481565b34801561042a57600080fd5b50610297610439366004612a05565b610ffa565b34801561044a57600080fd5b506102ef611165565b34801561045f57600080fd5b50610297600b5481565b34801561047557600080fd5b506102ef610484366004612ae4565b6112cc565b34801561049557600080fd5b50610297600a5481565b3480156104ab57600080fd5b506102976104ba3660046129d5565b6112e7565b3480156104cb57600080fd5b506011546102ca90610100900460ff1681565b3480156104ea57600080fd5b506102ef6104f9366004612b94565b611349565b34801561050a57600080fd5b506102ef610519366004612a05565b6113bd565b34801561052a57600080fd5b506103336105393660046129d5565b611493565b34801561054a57600080fd5b50610297610559366004612bd5565b6114a5565b34801561056a57600080fd5b506102ef611536565b34801561057f57600080fd5b506102ef61058e3660046129d5565b61156c565b34801561059f57600080fd5b506007546001600160a01b0316610333565b3480156105bd57600080fd5b5061030661159b565b3480156105d257600080fd5b50610306611683565b3480156105e757600080fd5b506009546105f59060ff1681565b6040516102a19190612c06565b34801561060e57600080fd5b506102ef61061d366004612c2e565b611692565b34801561062e57600080fd5b506102ef611756565b6102ef610645366004612cb0565b61179d565b34801561065657600080fd5b506102ca610665366004612bd5565b6001600160a01b031660009081526012602052604090205460ff1690565b34801561068f57600080fd5b506102ef61069e366004612d5b565b611981565b3480156106af57600080fd5b506102ef6106be3660046129d5565b6119ba565b3480156106cf57600080fd5b506103066106de3660046129d5565b6119e9565b3480156106ef57600080fd5b506102ef611b49565b34801561070457600080fd5b506011546102ca9060ff1681565b34801561071e57600080fd5b506102ca61072d366004612e1a565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561076757600080fd5b506102ef611b87565b34801561077c57600080fd5b506102ef61078b366004612bd5565b611c45565b34801561079c57600080fd5b506102ef6107ab366004612b20565b611ce0565b3480156107bc57600080fd5b50610297600d5481565b3480156107d257600080fd5b506102ef6107e13660046129d5565b611dcc565b3480156107f257600080fd5b506102ef610801366004612b94565b611dfb565b60006001600160e01b031982166380ac58cd60e01b148061083757506001600160e01b03198216635b5e139f60e01b145b8061085257506001600160e01b0319821663780e9d6360e01b145b8061086d57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6007546001600160a01b031633146108a65760405162461bcd60e51b815260040161089d90612e4d565b60405180910390fd5b6009805460ff19166001179055604051600080516020613278833981519152906108cf90612e82565b60405180910390a1565b6060600180546108e890612ea9565b80601f016020809104026020016040519081016040528092919081815260200182805461091490612ea9565b80156109615780601f1061093657610100808354040283529160200191610961565b820191906000526020600020905b81548152906001019060200180831161094457829003601f168201915b5050505050905090565b6000610978826000541190565b6109da5760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b606482015260840161089d565b506000908152600560205260409020546001600160a01b031690565b6000610a0182611493565b9050806001600160a01b0316836001600160a01b031603610a6f5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b606482015260840161089d565b336001600160a01b0382161480610a8b5750610a8b813361072d565b610afd5760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000606482015260840161089d565b610b08838383611e31565b505050565b6007546001600160a01b03163314610b375760405162461bcd60e51b815260040161089d90612e4d565b6009805460ff19166002179055604051600080516020613278833981519152906108cf90612ee3565b323314610baf5760405162461bcd60e51b815260206004820152601a60248201527f43616c6c657220697320616e6f7468657220636f6e7472616374000000000000604482015260640161089d565b600260085403610c015760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161089d565b6002600855600160095460ff166003811115610c1f57610c1f612bf0565b14158015610c445750600260095460ff166003811115610c4157610c41612bf0565b14155b15610c625760405163b7b2409760e01b815260040160405180910390fd5b600e548114610c8457604051635cb045db60e01b815260040160405180910390fd5b600b54821115610ca757604051633e29b4fb60e11b815260040160405180910390fd5b600a54600054610cb79084612f1f565b1115610cd65760405163192d175560e01b815260040160405180910390fd5b600160095460ff166003811115610cef57610cef612bf0565b03610d975760115460ff168015610d1657503360009081526012602052604090205460ff16155b15610d3457604051631aa679f960e21b815260040160405180910390fd5b81600c54610d429190612f37565b3414610d6157604051635321e1df60e01b815260040160405180910390fd5b610d6b3383611e8d565b6000805160206132588339815191523383604051610d8a929190612f56565b60405180910390a1610df6565b81600d54610da59190612f37565b3414610dc457604051635321e1df60e01b815260040160405180910390fd5b610dce3383611e8d565b6000805160206132588339815191523383604051610ded929190612f93565b60405180910390a15b50506001600855565b6007546001600160a01b03163314610e295760405162461bcd60e51b815260040161089d90612e4d565b6040516670726573616c6560c81b6020820152602701604051602081830303815290604052805190602001208383604051602001610e68929190612fcf565b6040516020818303038152906040528051906020012003610e8a57600c555050565b604051657075626c696360d01b6020820152602601604051602081830303815290604052805190602001208383604051602001610ec8929190612fcf565b6040516020818303038152906040528051906020012003610eea57600d555050565b604051635cb045db60e01b815260040160405180910390fd5b610b08838383611eab565b6007546001600160a01b03163314610f385760405162461bcd60e51b815260040161089d90612e4d565b60005b81811015610b08576000838383818110610f5757610f57612fdf565b9050602002016020810190610f6c9190612bd5565b6001600160a01b031603610f935760405163d92e233d60e01b815260040160405180910390fd5b600160126000858585818110610fab57610fab612fdf565b9050602002016020810190610fc09190612bd5565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610ff281612ff5565b915050610f3b565b6000611005836114a5565b821061105e5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b606482015260840161089d565b600080549080805b83811015611105576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b031691830191909152156110b857805192505b876001600160a01b0316836001600160a01b0316036110f2578684036110e45750935061086d92505050565b836110ee81612ff5565b9450505b50806110fd81612ff5565b915050611066565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b606482015260840161089d565b6007546001600160a01b0316331461118f5760405162461bcd60e51b815260040161089d90612e4d565b60145447906001600160a01b03166108fc6103e86111ae84603c612f37565b6111b89190613024565b6040518115909202916000818181858888f193505050501580156111e0573d6000803e3d6000fd5b506016546001600160a01b03166108fc6103e86111fe84601e612f37565b6112089190613024565b6040518115909202916000818181858888f19350505050158015611230573d6000803e3d6000fd5b506015546001600160a01b03166108fc6103e861124e84600a612f37565b6112589190613024565b6040518115909202916000818181858888f19350505050158015611280573d6000803e3d6000fd5b5060006103e861129283610384612f37565b61129c9190613024565b604051909150339082156108fc029083906000818181858888f19350505050158015610b08573d6000803e3d6000fd5b610b0883838360405180602001604052806000815250611981565b6000805482106113455760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b606482015260840161089d565b5090565b6007546001600160a01b031633146113735760405162461bcd60e51b815260040161089d90612e4d565b61137f600f83836128a0565b507f8a274cdd629b9aae599b13d8bfee3ee4a15350b0386a9b64087a393db009376782826040516113b1929190613038565b60405180910390a15050565b6007546001600160a01b031633146113e75760405162461bcd60e51b815260040161089d90612e4d565b6001600160a01b03821661140e5760405163d92e233d60e01b815260040160405180910390fd5b600a5460005461141e9083612f1f565b111561143d5760405163192d175560e01b815260040160405180910390fd5b6114478282611e8d565b604080516001600160a01b0384168152602081018390526060918101829052600391810191909152622232bb60e91b60808201526000805160206132588339815191529060a0016113b1565b600061149e826121f0565b5192915050565b60006001600160a01b0382166115115760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b606482015260840161089d565b506001600160a01b03166000908152600460205260409020546001600160801b031690565b6007546001600160a01b031633146115605760405162461bcd60e51b815260040161089d90612e4d565b61156a60006122cf565b565b6007546001600160a01b031633146115965760405162461bcd60e51b815260040161089d90612e4d565b601355565b6060600060095460ff1660038111156115b6576115b6612bf0565b036115dc575060408051808201909152600681526510db1bdcd95960d21b602082015290565b600160095460ff1660038111156115f5576115f5612bf0565b0361161c575060408051808201909152600781526650726573616c6560c81b602082015290565b600260095460ff16600381111561163557611635612bf0565b03611660575060408051808201909152600b81526a5075626c69632053616c6560a81b602082015290565b5060408051808201909152600881526714dbdb190813dd5d60c21b602082015290565b6060600280546108e890612ea9565b336001600160a01b038316036116ea5760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c6572000000000000604482015260640161089d565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6007546001600160a01b031633146117805760405162461bcd60e51b815260040161089d90612e4d565b6011805461ff001981166101009182900460ff1615909102179055565b3233146117ec5760405162461bcd60e51b815260206004820152601a60248201527f43616c6c657220697320616e6f7468657220636f6e7472616374000000000000604482015260640161089d565b60026008540361183e5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161089d565b6002600855600160095460ff16600381111561185c5761185c612bf0565b1461187a5760405163b7b2409760e01b815260040160405180910390fd5b600b5481111561189d57604051633e29b4fb60e11b815260040160405180910390fd5b600a546000546118ad9083612f1f565b11156118cc5760405163192d175560e01b815260040160405180910390fd5b6013546040516bffffffffffffffffffffffff193360601b16602082015261190e91849160340160405160208183030381529060405280519060200120612321565b61192b57604051631aa679f960e21b815260040160405180910390fd5b80600c546119399190612f37565b341461195857604051635321e1df60e01b815260040160405180910390fd5b6119623382611e8d565b6000805160206132588339815191523382604051610ded929190612f56565b61198c848484611eab565b61199884848484612337565b6119b45760405162461bcd60e51b815260040161089d90613067565b50505050565b6007546001600160a01b031633146119e45760405162461bcd60e51b815260040161089d90612e4d565b600e55565b60606119f6826000541190565b611a425760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e00604482015260640161089d565b601154610100900460ff161515600003611ae85760108054611a6390612ea9565b80601f0160208091040260200160405190810160405280929190818152602001828054611a8f90612ea9565b8015611adc5780601f10611ab157610100808354040283529160200191611adc565b820191906000526020600020905b815481529060010190602001808311611abf57829003601f168201915b50505050509050919050565b6000600f8054611af790612ea9565b905011611b13576040518060200160405280600081525061086d565b600f611b1e83612439565b604051602001611b2f9291906130d6565b60405160208183030381529060405292915050565b919050565b6007546001600160a01b03163314611b735760405162461bcd60e51b815260040161089d90612e4d565b6011805460ff19811660ff90911615179055565b6007546001600160a01b03163314611bb15760405162461bcd60e51b815260040161089d90612e4d565b600a5460005403611c03576009805460ff191660031790556040805160208082526008908201526714dbdb190813dd5d60c21b91810191909152600080516020613278833981519152906060016108cf565b6009805460ff191690556040805160208082526006908201526510db1bdcd95960d21b91810191909152600080516020613278833981519152906060016108cf565b6007546001600160a01b03163314611c6f5760405162461bcd60e51b815260040161089d90612e4d565b6001600160a01b038116611cd45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161089d565b611cdd816122cf565b50565b6007546001600160a01b03163314611d0a5760405162461bcd60e51b815260040161089d90612e4d565b60005b81811015610b08576000838383818110611d2957611d29612fdf565b9050602002016020810190611d3e9190612bd5565b6001600160a01b031603611d655760405163d92e233d60e01b815260040160405180910390fd5b600060126000858585818110611d7d57611d7d612fdf565b9050602002016020810190611d929190612bd5565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580611dc481612ff5565b915050611d0d565b6007546001600160a01b03163314611df65760405162461bcd60e51b815260040161089d90612e4d565b600b55565b6007546001600160a01b03163314611e255760405162461bcd60e51b815260040161089d90612e4d565b610b08601083836128a0565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b611ea7828260405180602001604052806000815250612539565b5050565b6000611eb6826121f0565b80519091506000906001600160a01b0316336001600160a01b03161480611eed575033611ee28461096b565b6001600160a01b0316145b80611eff57508151611eff903361072d565b905080611f695760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b606482015260840161089d565b846001600160a01b031682600001516001600160a01b031614611fdd5760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b606482015260840161089d565b6001600160a01b0384166120415760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b606482015260840161089d565b6120516000848460000151611e31565b6001600160a01b03858116600090815260046020908152604080832080546fffffffffffffffffffffffffffffffff198082166001600160801b0392831660001901831617909255898616808652838620805493841693831660019081019093169390931790925582518084018452918252426001600160401b039081168386019081528a8752600390955292852091518254945196166001600160e01b031990941693909317600160a01b95909216949094021790925590612115908590612f1f565b6000818152600360205260409020549091506001600160a01b03166121a65761213f816000541190565b156121a65760408051808201825284516001600160a01b0390811682526020808701516001600160401b039081168285019081526000878152600390935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b604080518082019091526000808252602082015261220f826000541190565b61226e5760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b606482015260840161089d565b815b6000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b031691830191909152156122bc579392505050565b50806122c781613190565b915050612270565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60008261232e85846127f4565b14949350505050565b60006001600160a01b0384163b1561242d57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061237b9033908990889088906004016131a7565b6020604051808303816000875af19250505080156123b6575060408051601f3d908101601f191682019092526123b3918101906131e4565b60015b612413573d8080156123e4576040519150601f19603f3d011682016040523d82523d6000602084013e6123e9565b606091505b50805160000361240b5760405162461bcd60e51b815260040161089d90613067565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612431565b5060015b949350505050565b6060816000036124605750506040805180820190915260018152600360fc1b602082015290565b8160005b811561248a578061247481612ff5565b91506124839050600a83613024565b9150612464565b6000816001600160401b038111156124a4576124a4612c6a565b6040519080825280601f01601f1916602001820160405280156124ce576020820181803683370190505b5090505b8415612431576124e3600183613201565b91506124f0600a86613218565b6124fb906030612f1f565b60f81b81838151811061251057612510612fdf565b60200101906001600160f81b031916908160001a905350612532600a86613024565b94506124d2565b6000546001600160a01b03841661259c5760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b606482015260840161089d565b6125a7816000541190565b156125f45760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e746564000000604482015260640161089d565b600083116126505760405162461bcd60e51b815260206004820152602360248201527f455243373231413a207175616e74697479206d7573742062652067726561746560448201526207220360ec1b606482015260840161089d565b6001600160a01b0384166000908152600460209081526040918290208251808401845290546001600160801b038082168352600160801b90910416918101919091528151808301909252805190919081906126ac90879061322c565b6001600160801b031681526020018583602001516126ca919061322c565b6001600160801b039081169091526001600160a01b0380881660008181526004602090815260408083208751978301518716600160801b029790961696909617909455845180860186529182526001600160401b034281168386019081528883526003909552948120915182549451909516600160a01b026001600160e01b031990941694909216939093179190911790915582905b858110156127e95760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46127ad6000888488612337565b6127c95760405162461bcd60e51b815260040161089d90613067565b816127d381612ff5565b92505080806127e190612ff5565b915050612760565b5060008190556121e8565b600081815b845181101561289857600085828151811061281657612816612fdf565b60200260200101519050808311612858576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250612885565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b508061289081612ff5565b9150506127f9565b509392505050565b8280546128ac90612ea9565b90600052602060002090601f0160209004810192826128ce5760008555612914565b82601f106128e75782800160ff19823516178555612914565b82800160010185558215612914579182015b828111156129145782358255916020019190600101906128f9565b506113459291505b80821115611345576000815560010161291c565b6001600160e01b031981168114611cdd57600080fd5b60006020828403121561295857600080fd5b813561296381612930565b9392505050565b60005b8381101561298557818101518382015260200161296d565b838111156119b45750506000910152565b600081518084526129ae81602086016020860161296a565b601f01601f19169290920160200192915050565b6020815260006129636020830184612996565b6000602082840312156129e757600080fd5b5035919050565b80356001600160a01b0381168114611b4457600080fd5b60008060408385031215612a1857600080fd5b612a21836129ee565b946020939093013593505050565b60008060408385031215612a4257600080fd5b50508035926020909101359150565b60008083601f840112612a6357600080fd5b5081356001600160401b03811115612a7a57600080fd5b602083019150836020828501011115612a9257600080fd5b9250929050565b600080600060408486031215612aae57600080fd5b83356001600160401b03811115612ac457600080fd5b612ad086828701612a51565b909790965060209590950135949350505050565b600080600060608486031215612af957600080fd5b612b02846129ee565b9250612b10602085016129ee565b9150604084013590509250925092565b60008060208385031215612b3357600080fd5b82356001600160401b0380821115612b4a57600080fd5b818501915085601f830112612b5e57600080fd5b813581811115612b6d57600080fd5b8660208260051b8501011115612b8257600080fd5b60209290920196919550909350505050565b60008060208385031215612ba757600080fd5b82356001600160401b03811115612bbd57600080fd5b612bc985828601612a51565b90969095509350505050565b600060208284031215612be757600080fd5b612963826129ee565b634e487b7160e01b600052602160045260246000fd5b6020810160048310612c2857634e487b7160e01b600052602160045260246000fd5b91905290565b60008060408385031215612c4157600080fd5b612c4a836129ee565b915060208301358015158114612c5f57600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715612ca857612ca8612c6a565b604052919050565b60008060408385031215612cc357600080fd5b82356001600160401b0380821115612cda57600080fd5b818501915085601f830112612cee57600080fd5b8135602082821115612d0257612d02612c6a565b8160051b9250612d13818401612c80565b8281529284018101928181019089851115612d2d57600080fd5b948201945b84861015612d4b57853582529482019490820190612d32565b9997909101359750505050505050565b60008060008060808587031215612d7157600080fd5b612d7a856129ee565b93506020612d898187016129ee565b93506040860135925060608601356001600160401b0380821115612dac57600080fd5b818801915088601f830112612dc057600080fd5b813581811115612dd257612dd2612c6a565b612de4601f8201601f19168501612c80565b91508082528984828501011115612dfa57600080fd5b808484018584013760008482840101525080935050505092959194509250565b60008060408385031215612e2d57600080fd5b612e36836129ee565b9150612e44602084016129ee565b90509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208152600061086d60208301600781526650726573616c6560c81b602082015260400190565b600181811c90821680612ebd57607f821691505b602082108103612edd57634e487b7160e01b600052602260045260246000fd5b50919050565b60208152600061086d6020830160068152655075626c696360d01b602082015260400190565b634e487b7160e01b600052601160045260246000fd5b60008219821115612f3257612f32612f09565b500190565b6000816000190483118215151615612f5157612f51612f09565b500290565b6001600160a01b0383168152602081018290526060604082018190526007908201526650726573616c6560c81b6080820152600060a08201612431565b6001600160a01b038316815260208101829052606060408201819052600690820152655075626c696360d01b6080820152600060a08201612431565b8183823760009101908152919050565b634e487b7160e01b600052603260045260246000fd5b60006001820161300757613007612f09565b5060010190565b634e487b7160e01b600052601260045260246000fd5b6000826130335761303361300e565b500490565b60208152816020820152818360408301376000818301604090810191909152601f909201601f19160101919050565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b600081516130cc81856020860161296a565b9290920192915050565b600080845481600182811c9150808316806130f257607f831692505b6020808410820361311157634e487b7160e01b86526022600452602486fd5b818015613125576001811461313657613163565b60ff19861689528489019650613163565b60008b81526020902060005b8681101561315b5781548b820152908501908301613142565b505084890196505b50505050505061318761317682866130ba565b64173539b7b760d91b815260050190565b95945050505050565b60008161319f5761319f612f09565b506000190190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906131da90830184612996565b9695505050505050565b6000602082840312156131f657600080fd5b815161296381612930565b60008282101561321357613213612f09565b500390565b6000826132275761322761300e565b500690565b60006001600160801b0380831681851680830382111561324e5761324e612f09565b0194935050505056fe85a66b9141978db9980f7e0ce3b468cebf4f7999f32b23091c5c03e798b1ba7a8ec7990a32a33474d410288c3000e8ea0b63c9f104ef2e5249d0c32964fc6523a26469706673582212208869f8dfbf6e875e1aaf53ede8769fb678a0b9a4581e540a255c630acee95dae64736f6c634300080d0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000001e610000000000000000000000000000000000000000000000000000000000001e6100000000000000000000000000000000000000000000000000000000000d6004000000000000000000000000054fbfa35dd3128a1eec9d65a4684e96a9410990000000000000000000000000bf66579948b783c2883a60d06b342181f08625900000000000000000000000005998d413b9c2be91b9db4da7764009083410bc77
-----Decoded View---------------
Arg [0] : collectionSize_ (uint256): 7777
Arg [1] : maxTxn_ (uint256): 7777
Arg [2] : mintData_ (uint256): 876548
Arg [3] : devWallet_ (address): 0x054FBFa35dD3128A1eEC9d65A4684e96a9410990
Arg [4] : mlWallet_ (address): 0xBF66579948B783C2883A60d06B342181F0862590
Arg [5] : uiWallet_ (address): 0x5998d413B9c2be91B9DB4dA7764009083410Bc77
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000001e61
Arg [1] : 0000000000000000000000000000000000000000000000000000000000001e61
Arg [2] : 00000000000000000000000000000000000000000000000000000000000d6004
Arg [3] : 000000000000000000000000054fbfa35dd3128a1eec9d65a4684e96a9410990
Arg [4] : 000000000000000000000000bf66579948b783c2883a60d06b342181f0862590
Arg [5] : 0000000000000000000000005998d413b9c2be91b9db4da7764009083410bc77
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.