ERC-721
NFT
Overview
Max Total Supply
0 PA
Holders
3,822
Market
Volume (24H)
0.1473 ETH
Min Price (24H)
$57.58 @ 0.017250 ETH
Max Price (24H)
$144.86 @ 0.043399 ETH
Other Info
Token Contract
Balance
2 PALoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
GenesisNFT
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
Yes with 2000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// contracts/NFT.sol // SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity ^0.8.4; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/interfaces/IERC2981.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; contract MintNFTAbi { function mint(address _to, uint256 _amount) public returns (bool) {} } // These contract definitions are used to create a reference to the OpenSea // ProxyRegistry contract by using the registry's address (see isApprovedForAll). contract OwnableDelegateProxy { } contract ProxyRegistry { mapping(address => OwnableDelegateProxy) public proxies; } contract GenesisNFT is Ownable, ERC721, IERC2981, ReentrancyGuard { using Address for address payable; using Strings for uint256; enum MintStatus { CLOSED, PRESALE, PUBLIC } uint256 public constant PRE_SALE_LIMIT = 1; uint256 public constant PRICE = 0.088 ether; uint256 public constant MERCH_PASS_PRICE = 0.06 ether; uint256 public constant META_PASS_PRICE = 0.06 ether; uint256 public constant UTILITY_PASS_PRICE = 0.045 ether; MintStatus public mintStatus = MintStatus.CLOSED; string public baseTokenURI = "ipfs://QmTJNTc243Nw9cQKNKndcDtvaJsH51BmNw48agsVDLePiz/"; uint256 public tokenCount = 0; mapping(address => uint256) private _tokensMintedByAddressAtPresale; address public withdrawDest1 = 0x2102AE12dED4A8cc8321e656Ca213d3Eaf6151C4; address public withdrawDest2 = 0x218B622bbe4404c01f972F243952E3a1D2132Dec; // TODO: change bytes32 public merkleRoot = 0x71eb2b2e3c82409bb024f8b681245d3eea25dcfd0dc7bbe701ee18cf1e8ecbb1; address public merchPassAddress; address public metaPassAddress; address public utilityPassAddress; MintNFTAbi private merchPassContract; MintNFTAbi private metaPassContract; MintNFTAbi private utilityPassContract; address private openSeaProxyRegistryAddress; bool private isOpenSeaProxyActive = true; uint256 private royaltyDivisor = 20; uint256 public giveawaySupply = 250; uint256 public supply = 9595; uint256 public mintableSupply = supply - giveawaySupply; event MintFailure(address indexed to, string failure); constructor( address _openSeaProxyRegistryAddress, uint256 _supply, uint256 _giveawaySupply ) ERC721("Psychedelics Anonymous Genesis", "PA") { openSeaProxyRegistryAddress = _openSeaProxyRegistryAddress; supply = _supply; giveawaySupply = _giveawaySupply; mintableSupply = _supply - _giveawaySupply; } // Override so the openzeppelin tokenURI() method will use this method to // create the full tokenURI instead function _baseURI() internal view virtual override returns (string memory) { return baseTokenURI; } /// /// Mint // // Private mint function, does not check for payment function _mintPrivate(address _to, uint256 _amount) private { for (uint256 i; i < _amount; i++) { _safeMint(_to, ++tokenCount); } } function _mintPresale(bytes32[] memory proof) private { require(mintStatus == MintStatus.PRESALE, "Wrong mint status"); if ( MerkleProof.verify( proof, merkleRoot, keccak256(abi.encodePacked(msg.sender)) ) ) { require( _tokensMintedByAddressAtPresale[msg.sender] < PRE_SALE_LIMIT, "You can only mint 1 genesis NFT during the presale" ); _mintPrivate(msg.sender, 1); } else { revert("Not on the presale list"); } _tokensMintedByAddressAtPresale[msg.sender] += 1; } function _mintPublic(uint256 _amount) private { require(mintStatus == MintStatus.PUBLIC, "Wrong mint status"); _mintPrivate(msg.sender, _amount); } function mint( bytes32[] memory _proof, uint256 _genesisAmount, uint256 _merchAmount, uint256 _metaAmount, uint256 _utilityAmount ) public payable onlyIfAvailable( _genesisAmount, _merchAmount, _metaAmount, _utilityAmount ) onlyExternal nonReentrant { if (mintStatus == MintStatus.PRESALE) { require(_genesisAmount == 1, "Must mint exactly 1 genesis NFT"); require(_merchAmount < 2, "Minting limits exceeded"); require(_metaAmount < 2, "Minting limits exceeded"); require(_utilityAmount < 2, "Minting limits exceeded"); _mintPresale(_proof); } else if (mintStatus == MintStatus.PUBLIC) { require(_genesisAmount > 0, "Must mint at least 1 genesis NFT"); require(_genesisAmount < 3, "Minting limits exceeded"); require(_merchAmount < 3, "Minting limits exceeded"); require(_metaAmount < 3, "Minting limits exceeded"); require(_utilityAmount < 3, "Minting limits exceeded"); _mintPublic(_genesisAmount); } if (_merchAmount > 0) { bool _result = merchPassContract.mint(msg.sender, _merchAmount); if (!_result) { // Refund sender payable(msg.sender).sendValue(MERCH_PASS_PRICE * _merchAmount); // Can listen on frontend emit MintFailure(msg.sender, "Merch failure"); } } if (_metaAmount > 0) { bool _result = metaPassContract.mint(msg.sender, _metaAmount); if (!_result) { // Refund sender payable(msg.sender).sendValue(META_PASS_PRICE * _metaAmount); // Can listen on frontend emit MintFailure(msg.sender, "Meta failure"); } } if (_utilityAmount > 0) { bool _result = utilityPassContract.mint(msg.sender, _utilityAmount); if (!_result) { // Refund sender payable(msg.sender).sendValue( UTILITY_PASS_PRICE * _utilityAmount ); // Can listen on frontend emit MintFailure(msg.sender, "Utility failure"); } } } /// /// Setters /// function setBaseURI(string memory _uri) public onlyOwner { baseTokenURI = _uri; } // function to disable gasless listings for security in case // opensea ever shuts down or is compromised function setIsOpenSeaProxyActive(bool _isOpenSeaProxyActive) external onlyOwner { isOpenSeaProxyActive = _isOpenSeaProxyActive; } function setMerchPassAddress(address _merchPassAddress) public onlyOwner { merchPassAddress = _merchPassAddress; merchPassContract = MintNFTAbi(payable(_merchPassAddress)); } function setMetaPassAddress(address _metaPassAddress) public onlyOwner { metaPassAddress = _metaPassAddress; metaPassContract = MintNFTAbi(payable(_metaPassAddress)); } function setMerkleRoot(bytes32 _merkleRoot) external onlyOwner { merkleRoot = _merkleRoot; } function setOpenSeaProxyRegistryAddress( address _openSeaProxyRegistryAddress ) external onlyOwner { openSeaProxyRegistryAddress = _openSeaProxyRegistryAddress; } function setRoyaltyDivisor(uint256 _divisor) external onlyOwner { royaltyDivisor = _divisor; } function setStatus(uint8 _status) external onlyOwner { mintStatus = MintStatus(_status); } function setUtilityPassAddress(address _utilityPassAddress) public onlyOwner { utilityPassAddress = _utilityPassAddress; utilityPassContract = MintNFTAbi(payable(_utilityPassAddress)); } function setWithdrawDests(address _dest1, address _dest2) public onlyOwner { withdrawDest1 = _dest1; withdrawDest2 = _dest2; } /// /// Giveaway /// function giveaway(address _to, uint256 _amount) external onlyOwner { require(tokenCount + _amount <= supply, "Not enough supply"); require(_amount < giveawaySupply, "Giving away too many NFTs"); require(_amount > 0, "Amount must be greater than zero"); _mintPrivate(_to, _amount); } /// /// Modifiers /// modifier onlyExternal() { require(msg.sender == tx.origin, "Contracts not allowed to mint"); _; } modifier onlyIfAvailable( uint256 _genesisAmount, uint256 _merchAmount, uint256 _metaAmount, uint256 _utilityAmount ) { require(mintStatus != MintStatus.CLOSED, "Minting is closed"); // Assumes giveaways are done AFTER minting require( tokenCount + _genesisAmount <= mintableSupply, "Not enough supply" ); uint256 expectedValue = PRICE * _genesisAmount + MERCH_PASS_PRICE * _merchAmount + META_PASS_PRICE * _metaAmount + UTILITY_PASS_PRICE * _utilityAmount; require(msg.value == expectedValue, "Ether sent is not correct"); _; } /// /// Withdrawal /// function withdraw() public onlyOwner { require(address(this).balance != 0, "Balance is zero"); payable(withdrawDest1).sendValue(address(this).balance / 20); payable(withdrawDest2).sendValue(address(this).balance); } /// /// Misc /// /** * @dev Override isApprovedForAll to allowlist user's OpenSea proxy accounts to enable gas-less listings. */ function isApprovedForAll(address owner, address operator) public view override returns (bool) { // Get a reference to OpenSea's proxy registry contract by instantiating // the contract using the already existing address. ProxyRegistry proxyRegistry = ProxyRegistry( openSeaProxyRegistryAddress ); if ( isOpenSeaProxyActive && address(proxyRegistry.proxies(owner)) == operator ) { return true; } return super.isApprovedForAll(owner, operator); } function isSoldOut() external view returns (bool) { return tokenCount >= mintableSupply; } /** * @dev See {IERC2981-royaltyInfo}. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view override returns (address receiver, uint256 royaltyAmount) { require(_exists(tokenId), "Nonexistent token"); return (address(this), salePrice / royaltyDivisor); } }
// SPDX-License-Identifier: MIT 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() { _setOwner(_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 { _setOwner(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"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Interface for the NFT Royalty Standard */ interface IERC2981 is IERC165 { /** * @dev Called with the sale price to determine how much royalty is owed and to whom. * @param tokenId - the NFT asset queried for royalty information * @param salePrice - the sale price of the NFT asset specified by `tokenId` * @return receiver - address of who should be sent the royalty payment * @return royaltyAmount - the royalty payment amount for `salePrice` */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); }
// SPDX-License-Identifier: MIT 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 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 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) { 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)); } } // Check if the computed hash (root) is equal to the provided root return computedHash == root; } }
// SPDX-License-Identifier: MIT 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 make 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 pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../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 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 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 pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @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); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/introspection/IERC165.sol";
{ "optimizer": { "enabled": true, "runs": 2000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_openSeaProxyRegistryAddress","type":"address"},{"internalType":"uint256","name":"_supply","type":"uint256"},{"internalType":"uint256","name":"_giveawaySupply","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"string","name":"failure","type":"string"}],"name":"MintFailure","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MERCH_PASS_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"META_PASS_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRE_SALE_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UTILITY_PASS_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"giveaway","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"giveawaySupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"isSoldOut","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merchPassAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"metaPassAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"},{"internalType":"uint256","name":"_genesisAmount","type":"uint256"},{"internalType":"uint256","name":"_merchAmount","type":"uint256"},{"internalType":"uint256","name":"_metaAmount","type":"uint256"},{"internalType":"uint256","name":"_utilityAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintStatus","outputs":[{"internalType":"enum GenesisNFT.MintStatus","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintableSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isOpenSeaProxyActive","type":"bool"}],"name":"setIsOpenSeaProxyActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_merchPassAddress","type":"address"}],"name":"setMerchPassAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_metaPassAddress","type":"address"}],"name":"setMetaPassAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_openSeaProxyRegistryAddress","type":"address"}],"name":"setOpenSeaProxyRegistryAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_divisor","type":"uint256"}],"name":"setRoyaltyDivisor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_status","type":"uint8"}],"name":"setStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_utilityPassAddress","type":"address"}],"name":"setUtilityPassAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_dest1","type":"address"},{"internalType":"address","name":"_dest2","type":"address"}],"name":"setWithdrawDests","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"supply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[],"name":"tokenCount","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":[{"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":"utilityPassAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawDest1","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawDest2","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
6008805460ff1916905560e0604052603660808181529062003c3760a039805162000033916009916020909101906200023b565b506000600a55600c80546001600160a01b0319908116732102ae12ded4a8cc8321e656ca213d3eaf6151c417909155600d805490911673218b622bbe4404c01f972f243952e3a1d2132dec1790557f71eb2b2e3c82409bb024f8b681245d3eea25dcfd0dc7bbe701ee18cf1e8ecbb1600e556015805460ff60a01b1916600160a01b179055601460165560fa601781905561257b6018819055620000d8919062000324565b601955348015620000e857600080fd5b5060405162003c6d38038062003c6d8339810160408190526200010b91620002e1565b6040518060400160405280601e81526020017f50737963686564656c69637320416e6f6e796d6f75732047656e65736973000081525060405180604001604052806002815260200161504160f01b8152506200017662000170620001e760201b60201c565b620001eb565b81516200018b9060019060208501906200023b565b508051620001a19060029060208401906200023b565b5050600160075550601580546001600160a01b0319166001600160a01b03851617905560188290556017819055620001da818362000324565b6019555062000385915050565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b828054620002499062000348565b90600052602060002090601f0160209004810192826200026d5760008555620002b8565b82601f106200028857805160ff1916838001178555620002b8565b82800160010185558215620002b8579182015b82811115620002b85782518255916020019190600101906200029b565b50620002c6929150620002ca565b5090565b5b80821115620002c65760008155600101620002cb565b600080600060608486031215620002f6578283fd5b83516001600160a01b03811681146200030d578384fd5b602085015160409095015190969495509392505050565b6000828210156200034357634e487b7160e01b81526011600452602481fd5b500390565b600181811c908216806200035d57607f821691505b602082108114156200037f57634e487b7160e01b600052602260045260246000fd5b50919050565b6138a280620003956000396000f3fe6080604052600436106103135760003560e01c80637d843ba11161019a578063cbc21b08116100e1578063e288e7331161008a578063f2fde38b11610064578063f2fde38b14610876578063f431f19914610896578063fec29cf1146108b157600080fd5b8063e288e73314610820578063e43082f714610836578063e985e9c51461085657600080fd5b8063dccb8aaf116100bb578063dccb8aaf146107c0578063de4f0c34146107e0578063dfde74051461080057600080fd5b8063cbc21b0814610775578063cc5c095c14610795578063d547cfb7146107ab57600080fd5b80639f181b5e11610143578063b465ffe91161011d578063b465ffe914610722578063b88d4fde14610735578063c87b56dd1461075557600080fd5b80639f181b5e146106cc578063a22cb465146106e2578063b12143921461070257600080fd5b806395d89b411161017457806395d89b41146106705780639ce5fee3146106855780639da3f8fd146106a557600080fd5b80637d843ba1146106165780638d859f3e146106365780638da5cb5b1461065257600080fd5b80632da5ea171161025e5780635b073f3b1161020757806370a08231116101e157806370a08231146105c1578063715018a6146105e15780637cb64759146105f657600080fd5b80635b073f3b1461042d57806361869a93146105815780636352211e146105a157600080fd5b80633ccfd60b116102385780633ccfd60b1461052c57806342842e0e1461054157806355f804b31461056157600080fd5b80632da5ea17146104dc5780632e49d78b146104f65780632eb4a7ab1461051657600080fd5b8063095ea7b3116102c05780631783830d1161029a5780631783830d1461045d57806323b872dd1461047d5780632a55205a1461049d57600080fd5b8063095ea7b31461040d578063125c02251461042d57806313f6536a1461044857600080fd5b806306fdde03116102f157806306fdde0314610393578063081812fc146103b557806308abf026146103ed57600080fd5b806301ffc9a714610318578063047fc9aa1461034d578063050225ea14610371575b600080fd5b34801561032457600080fd5b50610338610333366004613502565b6108d1565b60405190151581526020015b60405180910390f35b34801561035957600080fd5b5061036360185481565b604051908152602001610344565b34801561037d57600080fd5b5061039161038c3660046133c0565b6109b6565b005b34801561039f57600080fd5b506103a8610b23565b604051610344919061369d565b3480156103c157600080fd5b506103d56103d03660046134ea565b610bb5565b6040516001600160a01b039091168152602001610344565b3480156103f957600080fd5b50610391610408366004613282565b610c5b565b34801561041957600080fd5b506103916104283660046133c0565b610ce4565b34801561043957600080fd5b5061036366d529ae9e86000081565b34801561045457600080fd5b50610363600181565b34801561046957600080fd5b506010546103d5906001600160a01b031681565b34801561048957600080fd5b506103916104983660046132d6565b610e16565b3480156104a957600080fd5b506104bd6104b836600461359c565b610e9d565b604080516001600160a01b039093168352602083019190915201610344565b3480156104e857600080fd5b50601954600a541015610338565b34801561050257600080fd5b506103916105113660046135bd565b610f1d565b34801561052257600080fd5b50610363600e5481565b34801561053857600080fd5b50610391610fcc565b34801561054d57600080fd5b5061039161055c3660046132d6565b6110ab565b34801561056d57600080fd5b5061039161057c366004613556565b6110c6565b34801561058d57600080fd5b50600c546103d5906001600160a01b031681565b3480156105ad57600080fd5b506103d56105bc3660046134ea565b611133565b3480156105cd57600080fd5b506103636105dc366004613282565b6111be565b3480156105ed57600080fd5b50610391611258565b34801561060257600080fd5b506103916106113660046134ea565b6112bc565b34801561062257600080fd5b50610391610631366004613282565b61131b565b34801561064257600080fd5b50610363670138a388a43c000081565b34801561065e57600080fd5b506000546001600160a01b03166103d5565b34801561067c57600080fd5b506103a86113ae565b34801561069157600080fd5b50600f546103d5906001600160a01b031681565b3480156106b157600080fd5b506008546106bf9060ff1681565b6040516103449190613675565b3480156106d857600080fd5b50610363600a5481565b3480156106ee57600080fd5b506103916106fd366004613393565b6113bd565b34801561070e57600080fd5b50600d546103d5906001600160a01b031681565b6103916107303660046133eb565b611482565b34801561074157600080fd5b50610391610750366004613316565b611d5e565b34801561076157600080fd5b506103a86107703660046134ea565b611dec565b34801561078157600080fd5b506103916107903660046134ea565b611ed5565b3480156107a157600080fd5b5061036360195481565b3480156107b757600080fd5b506103a8611f34565b3480156107cc57600080fd5b506103916107db366004613282565b611fc2565b3480156107ec57600080fd5b506103916107fb366004613282565b612055565b34801561080c57600080fd5b5061039161081b36600461329e565b6120e8565b34801561082c57600080fd5b5061036360175481565b34801561084257600080fd5b506103916108513660046134b2565b61217d565b34801561086257600080fd5b5061033861087136600461329e565b612221565b34801561088257600080fd5b50610391610891366004613282565b612337565b3480156108a257600080fd5b50610363669fdf42f6e4800081565b3480156108bd57600080fd5b506011546103d5906001600160a01b031681565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061096457507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806109b057507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b6000546001600160a01b03163314610a155760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b60185481600a54610a2691906136e1565b1115610a745760405162461bcd60e51b815260206004820152601160248201527f4e6f7420656e6f75676820737570706c790000000000000000000000000000006044820152606401610a0c565b6017548110610ac55760405162461bcd60e51b815260206004820152601960248201527f476976696e67206177617920746f6f206d616e79204e465473000000000000006044820152606401610a0c565b60008111610b155760405162461bcd60e51b815260206004820181905260248201527f416d6f756e74206d7573742062652067726561746572207468616e207a65726f6044820152606401610a0c565b610b1f8282612419565b5050565b606060018054610b329061376f565b80601f0160208091040260200160405190810160405280929190818152602001828054610b5e9061376f565b8015610bab5780601f10610b8057610100808354040283529160200191610bab565b820191906000526020600020905b815481529060010190602001808311610b8e57829003601f168201915b5050505050905090565b6000818152600360205260408120546001600160a01b0316610c3f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610a0c565b506000908152600560205260409020546001600160a01b031690565b6000546001600160a01b03163314610cb55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a0c565b6015805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6000610cef82611133565b9050806001600160a01b0316836001600160a01b03161415610d795760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610a0c565b336001600160a01b0382161480610d955750610d958133612221565b610e075760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610a0c565b610e118383612453565b505050565b610e2033826124ce565b610e925760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610a0c565b610e118383836125ae565b60008281526003602052604081205481906001600160a01b0316610f035760405162461bcd60e51b815260206004820152601160248201527f4e6f6e6578697374656e7420746f6b656e0000000000000000000000000000006044820152606401610a0c565b3060165484610f1291906136f9565b915091509250929050565b6000546001600160a01b03163314610f775760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a0c565b8060ff166002811115610f9a57634e487b7160e01b600052602160045260246000fd5b6008805460ff19166001836002811115610fc457634e487b7160e01b600052602160045260246000fd5b021790555050565b6000546001600160a01b031633146110265760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a0c565b476110735760405162461bcd60e51b815260206004820152600f60248201527f42616c616e6365206973207a65726f00000000000000000000000000000000006044820152606401610a0c565b6110936110816014476136f9565b600c546001600160a01b031690612788565b600d546110a9906001600160a01b031647612788565b565b610e1183838360405180602001604052806000815250611d5e565b6000546001600160a01b031633146111205760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a0c565b8051610b1f906009906020840190613191565b6000818152600360205260408120546001600160a01b0316806109b05760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610a0c565b60006001600160a01b03821661123c5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610a0c565b506001600160a01b031660009081526004602052604090205490565b6000546001600160a01b031633146112b25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a0c565b6110a960006128a1565b6000546001600160a01b031633146113165760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a0c565b600e55565b6000546001600160a01b031633146113755760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a0c565b600f80546001600160a01b0390921673ffffffffffffffffffffffffffffffffffffffff19928316811790915560128054909216179055565b606060028054610b329061376f565b6001600160a01b0382163314156114165760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610a0c565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b83838383600060085460ff1660028111156114ad57634e487b7160e01b600052602160045260246000fd5b14156114fb5760405162461bcd60e51b815260206004820152601160248201527f4d696e74696e6720697320636c6f7365640000000000000000000000000000006044820152606401610a0c565b60195484600a5461150c91906136e1565b111561155a5760405162461bcd60e51b815260206004820152601160248201527f4e6f7420656e6f75676820737570706c790000000000000000000000000000006044820152606401610a0c565b600061156d82669fdf42f6e4800061370d565b61157e8466d529ae9e86000061370d565b61158f8666d529ae9e86000061370d565b6115a188670138a388a43c000061370d565b6115ab91906136e1565b6115b591906136e1565b6115bf91906136e1565b90508034146116105760405162461bcd60e51b815260206004820152601960248201527f45746865722073656e74206973206e6f7420636f7272656374000000000000006044820152606401610a0c565b33321461165f5760405162461bcd60e51b815260206004820152601d60248201527f436f6e747261637473206e6f7420616c6c6f77656420746f206d696e740000006044820152606401610a0c565b600260075414156116b25760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a0c565b6002600755600160085460ff1660028111156116de57634e487b7160e01b600052602160045260246000fd5b141561183257886001146117345760405162461bcd60e51b815260206004820152601f60248201527f4d757374206d696e742065786163746c7920312067656e65736973204e4654006044820152606401610a0c565b600288106117845760405162461bcd60e51b815260206004820152601760248201527f4d696e74696e67206c696d6974732065786365656465640000000000000000006044820152606401610a0c565b600287106117d45760405162461bcd60e51b815260206004820152601760248201527f4d696e74696e67206c696d6974732065786365656465640000000000000000006044820152606401610a0c565b600286106118245760405162461bcd60e51b815260206004820152601760248201527f4d696e74696e67206c696d6974732065786365656465640000000000000000006044820152606401610a0c565b61182d8a6128fe565b6119f8565b600260085460ff16600281111561185957634e487b7160e01b600052602160045260246000fd5b14156119f857600089116118af5760405162461bcd60e51b815260206004820181905260248201527f4d757374206d696e74206174206c6561737420312067656e65736973204e46546044820152606401610a0c565b600389106118ff5760405162461bcd60e51b815260206004820152601760248201527f4d696e74696e67206c696d6974732065786365656465640000000000000000006044820152606401610a0c565b6003881061194f5760405162461bcd60e51b815260206004820152601760248201527f4d696e74696e67206c696d6974732065786365656465640000000000000000006044820152606401610a0c565b6003871061199f5760405162461bcd60e51b815260206004820152601760248201527f4d696e74696e67206c696d6974732065786365656465640000000000000000006044820152606401610a0c565b600386106119ef5760405162461bcd60e51b815260206004820152601760248201527f4d696e74696e67206c696d6974732065786365656465640000000000000000006044820152606401610a0c565b6119f889612ad1565b8715611b19576012546040516340c10f1960e01b8152336004820152602481018a90526000916001600160a01b0316906340c10f1990604401602060405180830381600087803b158015611a4b57600080fd5b505af1158015611a5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a8391906134ce565b905080611b1757611aa5611a9e8a66d529ae9e86000061370d565b3390612788565b336001600160a01b03167f8fcdd250616ab6a8736f51b0370059d65265dfd1c97002f2bfd4f5d15e8f7bc7604051611b0e906020808252600d908201527f4d65726368206661696c75726500000000000000000000000000000000000000604082015260600190565b60405180910390a25b505b8615611c33576013546040516340c10f1960e01b8152336004820152602481018990526000916001600160a01b0316906340c10f1990604401602060405180830381600087803b158015611b6c57600080fd5b505af1158015611b80573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ba491906134ce565b905080611c3157611bbf611a9e8966d529ae9e86000061370d565b336001600160a01b03167f8fcdd250616ab6a8736f51b0370059d65265dfd1c97002f2bfd4f5d15e8f7bc7604051611c28906020808252600c908201527f4d657461206661696c7572650000000000000000000000000000000000000000604082015260600190565b60405180910390a25b505b8515611d4d576014546040516340c10f1960e01b8152336004820152602481018890526000916001600160a01b0316906340c10f1990604401602060405180830381600087803b158015611c8657600080fd5b505af1158015611c9a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cbe91906134ce565b905080611d4b57611cd9611a9e88669fdf42f6e4800061370d565b336001600160a01b03167f8fcdd250616ab6a8736f51b0370059d65265dfd1c97002f2bfd4f5d15e8f7bc7604051611d42906020808252600f908201527f5574696c697479206661696c7572650000000000000000000000000000000000604082015260600190565b60405180910390a25b505b505060016007555050505050505050565b611d6833836124ce565b611dda5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610a0c565b611de684848484612b4f565b50505050565b6000818152600360205260409020546060906001600160a01b0316611e795760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610a0c565b6000611e83612bd8565b90506000815111611ea35760405180602001604052806000815250611ece565b80611ead84612be7565b604051602001611ebe92919061360a565b6040516020818303038152906040525b9392505050565b6000546001600160a01b03163314611f2f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a0c565b601655565b60098054611f419061376f565b80601f0160208091040260200160405190810160405280929190818152602001828054611f6d9061376f565b8015611fba5780601f10611f8f57610100808354040283529160200191611fba565b820191906000526020600020905b815481529060010190602001808311611f9d57829003601f168201915b505050505081565b6000546001600160a01b0316331461201c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a0c565b601080546001600160a01b0390921673ffffffffffffffffffffffffffffffffffffffff19928316811790915560138054909216179055565b6000546001600160a01b031633146120af5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a0c565b601180546001600160a01b0390921673ffffffffffffffffffffffffffffffffffffffff19928316811790915560148054909216179055565b6000546001600160a01b031633146121425760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a0c565b600c80546001600160a01b0393841673ffffffffffffffffffffffffffffffffffffffff1991821617909155600d8054929093169116179055565b6000546001600160a01b031633146121d75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a0c565b6015805491151574010000000000000000000000000000000000000000027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff909216919091179055565b6015546000906001600160a01b0381169074010000000000000000000000000000000000000000900460ff1680156122f657506040517fc45527910000000000000000000000000000000000000000000000000000000081526001600160a01b038581166004830152808516919083169063c45527919060240160206040518083038186803b1580156122b357600080fd5b505afa1580156122c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122eb919061353a565b6001600160a01b0316145b156123055760019150506109b0565b6001600160a01b0380851660009081526006602090815260408083209387168352929052205460ff165b949350505050565b6000546001600160a01b031633146123915760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a0c565b6001600160a01b03811661240d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610a0c565b612416816128a1565b50565b60005b81811015610e115761244183600a60008154612437906137aa565b9182905550612d35565b8061244b816137aa565b91505061241c565b6000818152600560205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b038416908117909155819061249582611133565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600360205260408120546001600160a01b03166125585760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610a0c565b600061256383611133565b9050806001600160a01b0316846001600160a01b0316148061259e5750836001600160a01b031661259384610bb5565b6001600160a01b0316145b8061232f575061232f8185612221565b826001600160a01b03166125c182611133565b6001600160a01b03161461263d5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610a0c565b6001600160a01b0382166126b85760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610a0c565b6126c3600082612453565b6001600160a01b03831660009081526004602052604081208054600192906126ec90849061372c565b90915550506001600160a01b038216600090815260046020526040812080546001929061271a9084906136e1565b9091555050600081815260036020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b804710156127d85760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610a0c565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114612825576040519150601f19603f3d011682016040523d82523d6000602084013e61282a565b606091505b5050905080610e115760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610a0c565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600160085460ff16600281111561292557634e487b7160e01b600052602160045260246000fd5b146129725760405162461bcd60e51b815260206004820152601160248201527f57726f6e67206d696e74207374617475730000000000000000000000000000006044820152606401610a0c565b600e546040517fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b1660208201526129c791839160340160405160208183030381529060405280519060200120612d4f565b15612a6157336000908152600b6020526040902054600111612a515760405162461bcd60e51b815260206004820152603260248201527f596f752063616e206f6e6c79206d696e7420312067656e65736973204e46542060448201527f647572696e67207468652070726573616c6500000000000000000000000000006064820152608401610a0c565b612a5c336001612419565b612aa9565b60405162461bcd60e51b815260206004820152601760248201527f4e6f74206f6e207468652070726573616c65206c6973740000000000000000006044820152606401610a0c565b336000908152600b60205260408120805460019290612ac99084906136e1565b909155505050565b600260085460ff166002811115612af857634e487b7160e01b600052602160045260246000fd5b14612b455760405162461bcd60e51b815260206004820152601160248201527f57726f6e67206d696e74207374617475730000000000000000000000000000006044820152606401610a0c565b6124163382612419565b612b5a8484846125ae565b612b6684848484612e0c565b611de65760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610a0c565b606060098054610b329061376f565b606081612c2757505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115612c515780612c3b816137aa565b9150612c4a9050600a836136f9565b9150612c2b565b60008167ffffffffffffffff811115612c7a57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612ca4576020820181803683370190505b5090505b841561232f57612cb960018361372c565b9150612cc6600a866137c5565b612cd19060306136e1565b60f81b818381518110612cf457634e487b7160e01b600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612d2e600a866136f9565b9450612ca8565b610b1f828260405180602001604052806000815250612fb9565b600081815b8551811015612e01576000868281518110612d7f57634e487b7160e01b600052603260045260246000fd5b60200260200101519050808311612dc1576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250612dee565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b5080612df9816137aa565b915050612d54565b509092149392505050565b60006001600160a01b0384163b15612fae576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a0290612e69903390899088908890600401613639565b602060405180830381600087803b158015612e8357600080fd5b505af1925050508015612eb3575060408051601f3d908101601f19168201909252612eb09181019061351e565b60015b612f63573d808015612ee1576040519150601f19603f3d011682016040523d82523d6000602084013e612ee6565b606091505b508051612f5b5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610a0c565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a020000000000000000000000000000000000000000000000000000000014905061232f565b506001949350505050565b612fc38383613042565b612fd06000848484612e0c565b610e115760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610a0c565b6001600160a01b0382166130985760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610a0c565b6000818152600360205260409020546001600160a01b0316156130fd5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a0c565b6001600160a01b03821660009081526004602052604081208054600192906131269084906136e1565b9091555050600081815260036020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461319d9061376f565b90600052602060002090601f0160209004810192826131bf5760008555613205565b82601f106131d857805160ff1916838001178555613205565b82800160010185558215613205579182015b828111156132055782518255916020019190600101906131ea565b50613211929150613215565b5090565b5b808211156132115760008155600101613216565b600067ffffffffffffffff83111561324457613244613805565b6132576020601f19601f860116016136b0565b905082815283838301111561326b57600080fd5b828260208301376000602084830101529392505050565b600060208284031215613293578081fd5b8135611ece8161381b565b600080604083850312156132b0578081fd5b82356132bb8161381b565b915060208301356132cb8161381b565b809150509250929050565b6000806000606084860312156132ea578081fd5b83356132f58161381b565b925060208401356133058161381b565b929592945050506040919091013590565b6000806000806080858703121561332b578081fd5b84356133368161381b565b935060208501356133468161381b565b925060408501359150606085013567ffffffffffffffff811115613368578182fd5b8501601f81018713613378578182fd5b6133878782356020840161322a565b91505092959194509250565b600080604083850312156133a5578182fd5b82356133b08161381b565b915060208301356132cb81613830565b600080604083850312156133d2578182fd5b82356133dd8161381b565b946020939093013593505050565b600080600080600060a08688031215613402578081fd5b853567ffffffffffffffff80821115613419578283fd5b818801915088601f83011261342c578283fd5b813560208282111561344057613440613805565b8160051b92506134518184016136b0565b8281528181019085830185870184018e101561346b578788fd5b8796505b8487101561348d57803583526001969096019591830191830161346f565b509c918b01359b505060408a0135996060810135995060800135975095505050505050565b6000602082840312156134c3578081fd5b8135611ece81613830565b6000602082840312156134df578081fd5b8151611ece81613830565b6000602082840312156134fb578081fd5b5035919050565b600060208284031215613513578081fd5b8135611ece8161383e565b60006020828403121561352f578081fd5b8151611ece8161383e565b60006020828403121561354b578081fd5b8151611ece8161381b565b600060208284031215613567578081fd5b813567ffffffffffffffff81111561357d578182fd5b8201601f8101841361358d578182fd5b61232f8482356020840161322a565b600080604083850312156135ae578182fd5b50508035926020909101359150565b6000602082840312156135ce578081fd5b813560ff81168114611ece578182fd5b600081518084526135f6816020860160208601613743565b601f01601f19169290920160200192915050565b6000835161361c818460208801613743565b835190830190613630818360208801613743565b01949350505050565b60006001600160a01b0380871683528086166020840152508360408301526080606083015261366b60808301846135de565b9695505050505050565b602081016003831061369757634e487b7160e01b600052602160045260246000fd5b91905290565b602081526000611ece60208301846135de565b604051601f8201601f1916810167ffffffffffffffff811182821017156136d9576136d9613805565b604052919050565b600082198211156136f4576136f46137d9565b500190565b600082613708576137086137ef565b500490565b6000816000190483118215151615613727576137276137d9565b500290565b60008282101561373e5761373e6137d9565b500390565b60005b8381101561375e578181015183820152602001613746565b83811115611de65750506000910152565b600181811c9082168061378357607f821691505b602082108114156137a457634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156137be576137be6137d9565b5060010190565b6000826137d4576137d46137ef565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461241657600080fd5b801515811461241657600080fd5b7fffffffff000000000000000000000000000000000000000000000000000000008116811461241657600080fdfea2646970667358221220004bdb6ec066d3545e065c97fc8c4f7942130533102c64487e1d1792a6975e9564736f6c63430008040033697066733a2f2f516d544a4e54633234334e773963514b4e4b6e6463447476614a73483531426d4e77343861677356444c6550697a2f000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1000000000000000000000000000000000000000000000000000000000000257b00000000000000000000000000000000000000000000000000000000000000fa
Deployed Bytecode
0x6080604052600436106103135760003560e01c80637d843ba11161019a578063cbc21b08116100e1578063e288e7331161008a578063f2fde38b11610064578063f2fde38b14610876578063f431f19914610896578063fec29cf1146108b157600080fd5b8063e288e73314610820578063e43082f714610836578063e985e9c51461085657600080fd5b8063dccb8aaf116100bb578063dccb8aaf146107c0578063de4f0c34146107e0578063dfde74051461080057600080fd5b8063cbc21b0814610775578063cc5c095c14610795578063d547cfb7146107ab57600080fd5b80639f181b5e11610143578063b465ffe91161011d578063b465ffe914610722578063b88d4fde14610735578063c87b56dd1461075557600080fd5b80639f181b5e146106cc578063a22cb465146106e2578063b12143921461070257600080fd5b806395d89b411161017457806395d89b41146106705780639ce5fee3146106855780639da3f8fd146106a557600080fd5b80637d843ba1146106165780638d859f3e146106365780638da5cb5b1461065257600080fd5b80632da5ea171161025e5780635b073f3b1161020757806370a08231116101e157806370a08231146105c1578063715018a6146105e15780637cb64759146105f657600080fd5b80635b073f3b1461042d57806361869a93146105815780636352211e146105a157600080fd5b80633ccfd60b116102385780633ccfd60b1461052c57806342842e0e1461054157806355f804b31461056157600080fd5b80632da5ea17146104dc5780632e49d78b146104f65780632eb4a7ab1461051657600080fd5b8063095ea7b3116102c05780631783830d1161029a5780631783830d1461045d57806323b872dd1461047d5780632a55205a1461049d57600080fd5b8063095ea7b31461040d578063125c02251461042d57806313f6536a1461044857600080fd5b806306fdde03116102f157806306fdde0314610393578063081812fc146103b557806308abf026146103ed57600080fd5b806301ffc9a714610318578063047fc9aa1461034d578063050225ea14610371575b600080fd5b34801561032457600080fd5b50610338610333366004613502565b6108d1565b60405190151581526020015b60405180910390f35b34801561035957600080fd5b5061036360185481565b604051908152602001610344565b34801561037d57600080fd5b5061039161038c3660046133c0565b6109b6565b005b34801561039f57600080fd5b506103a8610b23565b604051610344919061369d565b3480156103c157600080fd5b506103d56103d03660046134ea565b610bb5565b6040516001600160a01b039091168152602001610344565b3480156103f957600080fd5b50610391610408366004613282565b610c5b565b34801561041957600080fd5b506103916104283660046133c0565b610ce4565b34801561043957600080fd5b5061036366d529ae9e86000081565b34801561045457600080fd5b50610363600181565b34801561046957600080fd5b506010546103d5906001600160a01b031681565b34801561048957600080fd5b506103916104983660046132d6565b610e16565b3480156104a957600080fd5b506104bd6104b836600461359c565b610e9d565b604080516001600160a01b039093168352602083019190915201610344565b3480156104e857600080fd5b50601954600a541015610338565b34801561050257600080fd5b506103916105113660046135bd565b610f1d565b34801561052257600080fd5b50610363600e5481565b34801561053857600080fd5b50610391610fcc565b34801561054d57600080fd5b5061039161055c3660046132d6565b6110ab565b34801561056d57600080fd5b5061039161057c366004613556565b6110c6565b34801561058d57600080fd5b50600c546103d5906001600160a01b031681565b3480156105ad57600080fd5b506103d56105bc3660046134ea565b611133565b3480156105cd57600080fd5b506103636105dc366004613282565b6111be565b3480156105ed57600080fd5b50610391611258565b34801561060257600080fd5b506103916106113660046134ea565b6112bc565b34801561062257600080fd5b50610391610631366004613282565b61131b565b34801561064257600080fd5b50610363670138a388a43c000081565b34801561065e57600080fd5b506000546001600160a01b03166103d5565b34801561067c57600080fd5b506103a86113ae565b34801561069157600080fd5b50600f546103d5906001600160a01b031681565b3480156106b157600080fd5b506008546106bf9060ff1681565b6040516103449190613675565b3480156106d857600080fd5b50610363600a5481565b3480156106ee57600080fd5b506103916106fd366004613393565b6113bd565b34801561070e57600080fd5b50600d546103d5906001600160a01b031681565b6103916107303660046133eb565b611482565b34801561074157600080fd5b50610391610750366004613316565b611d5e565b34801561076157600080fd5b506103a86107703660046134ea565b611dec565b34801561078157600080fd5b506103916107903660046134ea565b611ed5565b3480156107a157600080fd5b5061036360195481565b3480156107b757600080fd5b506103a8611f34565b3480156107cc57600080fd5b506103916107db366004613282565b611fc2565b3480156107ec57600080fd5b506103916107fb366004613282565b612055565b34801561080c57600080fd5b5061039161081b36600461329e565b6120e8565b34801561082c57600080fd5b5061036360175481565b34801561084257600080fd5b506103916108513660046134b2565b61217d565b34801561086257600080fd5b5061033861087136600461329e565b612221565b34801561088257600080fd5b50610391610891366004613282565b612337565b3480156108a257600080fd5b50610363669fdf42f6e4800081565b3480156108bd57600080fd5b506011546103d5906001600160a01b031681565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061096457507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806109b057507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b6000546001600160a01b03163314610a155760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b60185481600a54610a2691906136e1565b1115610a745760405162461bcd60e51b815260206004820152601160248201527f4e6f7420656e6f75676820737570706c790000000000000000000000000000006044820152606401610a0c565b6017548110610ac55760405162461bcd60e51b815260206004820152601960248201527f476976696e67206177617920746f6f206d616e79204e465473000000000000006044820152606401610a0c565b60008111610b155760405162461bcd60e51b815260206004820181905260248201527f416d6f756e74206d7573742062652067726561746572207468616e207a65726f6044820152606401610a0c565b610b1f8282612419565b5050565b606060018054610b329061376f565b80601f0160208091040260200160405190810160405280929190818152602001828054610b5e9061376f565b8015610bab5780601f10610b8057610100808354040283529160200191610bab565b820191906000526020600020905b815481529060010190602001808311610b8e57829003601f168201915b5050505050905090565b6000818152600360205260408120546001600160a01b0316610c3f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610a0c565b506000908152600560205260409020546001600160a01b031690565b6000546001600160a01b03163314610cb55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a0c565b6015805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6000610cef82611133565b9050806001600160a01b0316836001600160a01b03161415610d795760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610a0c565b336001600160a01b0382161480610d955750610d958133612221565b610e075760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610a0c565b610e118383612453565b505050565b610e2033826124ce565b610e925760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610a0c565b610e118383836125ae565b60008281526003602052604081205481906001600160a01b0316610f035760405162461bcd60e51b815260206004820152601160248201527f4e6f6e6578697374656e7420746f6b656e0000000000000000000000000000006044820152606401610a0c565b3060165484610f1291906136f9565b915091509250929050565b6000546001600160a01b03163314610f775760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a0c565b8060ff166002811115610f9a57634e487b7160e01b600052602160045260246000fd5b6008805460ff19166001836002811115610fc457634e487b7160e01b600052602160045260246000fd5b021790555050565b6000546001600160a01b031633146110265760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a0c565b476110735760405162461bcd60e51b815260206004820152600f60248201527f42616c616e6365206973207a65726f00000000000000000000000000000000006044820152606401610a0c565b6110936110816014476136f9565b600c546001600160a01b031690612788565b600d546110a9906001600160a01b031647612788565b565b610e1183838360405180602001604052806000815250611d5e565b6000546001600160a01b031633146111205760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a0c565b8051610b1f906009906020840190613191565b6000818152600360205260408120546001600160a01b0316806109b05760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610a0c565b60006001600160a01b03821661123c5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610a0c565b506001600160a01b031660009081526004602052604090205490565b6000546001600160a01b031633146112b25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a0c565b6110a960006128a1565b6000546001600160a01b031633146113165760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a0c565b600e55565b6000546001600160a01b031633146113755760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a0c565b600f80546001600160a01b0390921673ffffffffffffffffffffffffffffffffffffffff19928316811790915560128054909216179055565b606060028054610b329061376f565b6001600160a01b0382163314156114165760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610a0c565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b83838383600060085460ff1660028111156114ad57634e487b7160e01b600052602160045260246000fd5b14156114fb5760405162461bcd60e51b815260206004820152601160248201527f4d696e74696e6720697320636c6f7365640000000000000000000000000000006044820152606401610a0c565b60195484600a5461150c91906136e1565b111561155a5760405162461bcd60e51b815260206004820152601160248201527f4e6f7420656e6f75676820737570706c790000000000000000000000000000006044820152606401610a0c565b600061156d82669fdf42f6e4800061370d565b61157e8466d529ae9e86000061370d565b61158f8666d529ae9e86000061370d565b6115a188670138a388a43c000061370d565b6115ab91906136e1565b6115b591906136e1565b6115bf91906136e1565b90508034146116105760405162461bcd60e51b815260206004820152601960248201527f45746865722073656e74206973206e6f7420636f7272656374000000000000006044820152606401610a0c565b33321461165f5760405162461bcd60e51b815260206004820152601d60248201527f436f6e747261637473206e6f7420616c6c6f77656420746f206d696e740000006044820152606401610a0c565b600260075414156116b25760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a0c565b6002600755600160085460ff1660028111156116de57634e487b7160e01b600052602160045260246000fd5b141561183257886001146117345760405162461bcd60e51b815260206004820152601f60248201527f4d757374206d696e742065786163746c7920312067656e65736973204e4654006044820152606401610a0c565b600288106117845760405162461bcd60e51b815260206004820152601760248201527f4d696e74696e67206c696d6974732065786365656465640000000000000000006044820152606401610a0c565b600287106117d45760405162461bcd60e51b815260206004820152601760248201527f4d696e74696e67206c696d6974732065786365656465640000000000000000006044820152606401610a0c565b600286106118245760405162461bcd60e51b815260206004820152601760248201527f4d696e74696e67206c696d6974732065786365656465640000000000000000006044820152606401610a0c565b61182d8a6128fe565b6119f8565b600260085460ff16600281111561185957634e487b7160e01b600052602160045260246000fd5b14156119f857600089116118af5760405162461bcd60e51b815260206004820181905260248201527f4d757374206d696e74206174206c6561737420312067656e65736973204e46546044820152606401610a0c565b600389106118ff5760405162461bcd60e51b815260206004820152601760248201527f4d696e74696e67206c696d6974732065786365656465640000000000000000006044820152606401610a0c565b6003881061194f5760405162461bcd60e51b815260206004820152601760248201527f4d696e74696e67206c696d6974732065786365656465640000000000000000006044820152606401610a0c565b6003871061199f5760405162461bcd60e51b815260206004820152601760248201527f4d696e74696e67206c696d6974732065786365656465640000000000000000006044820152606401610a0c565b600386106119ef5760405162461bcd60e51b815260206004820152601760248201527f4d696e74696e67206c696d6974732065786365656465640000000000000000006044820152606401610a0c565b6119f889612ad1565b8715611b19576012546040516340c10f1960e01b8152336004820152602481018a90526000916001600160a01b0316906340c10f1990604401602060405180830381600087803b158015611a4b57600080fd5b505af1158015611a5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a8391906134ce565b905080611b1757611aa5611a9e8a66d529ae9e86000061370d565b3390612788565b336001600160a01b03167f8fcdd250616ab6a8736f51b0370059d65265dfd1c97002f2bfd4f5d15e8f7bc7604051611b0e906020808252600d908201527f4d65726368206661696c75726500000000000000000000000000000000000000604082015260600190565b60405180910390a25b505b8615611c33576013546040516340c10f1960e01b8152336004820152602481018990526000916001600160a01b0316906340c10f1990604401602060405180830381600087803b158015611b6c57600080fd5b505af1158015611b80573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ba491906134ce565b905080611c3157611bbf611a9e8966d529ae9e86000061370d565b336001600160a01b03167f8fcdd250616ab6a8736f51b0370059d65265dfd1c97002f2bfd4f5d15e8f7bc7604051611c28906020808252600c908201527f4d657461206661696c7572650000000000000000000000000000000000000000604082015260600190565b60405180910390a25b505b8515611d4d576014546040516340c10f1960e01b8152336004820152602481018890526000916001600160a01b0316906340c10f1990604401602060405180830381600087803b158015611c8657600080fd5b505af1158015611c9a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cbe91906134ce565b905080611d4b57611cd9611a9e88669fdf42f6e4800061370d565b336001600160a01b03167f8fcdd250616ab6a8736f51b0370059d65265dfd1c97002f2bfd4f5d15e8f7bc7604051611d42906020808252600f908201527f5574696c697479206661696c7572650000000000000000000000000000000000604082015260600190565b60405180910390a25b505b505060016007555050505050505050565b611d6833836124ce565b611dda5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610a0c565b611de684848484612b4f565b50505050565b6000818152600360205260409020546060906001600160a01b0316611e795760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610a0c565b6000611e83612bd8565b90506000815111611ea35760405180602001604052806000815250611ece565b80611ead84612be7565b604051602001611ebe92919061360a565b6040516020818303038152906040525b9392505050565b6000546001600160a01b03163314611f2f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a0c565b601655565b60098054611f419061376f565b80601f0160208091040260200160405190810160405280929190818152602001828054611f6d9061376f565b8015611fba5780601f10611f8f57610100808354040283529160200191611fba565b820191906000526020600020905b815481529060010190602001808311611f9d57829003601f168201915b505050505081565b6000546001600160a01b0316331461201c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a0c565b601080546001600160a01b0390921673ffffffffffffffffffffffffffffffffffffffff19928316811790915560138054909216179055565b6000546001600160a01b031633146120af5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a0c565b601180546001600160a01b0390921673ffffffffffffffffffffffffffffffffffffffff19928316811790915560148054909216179055565b6000546001600160a01b031633146121425760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a0c565b600c80546001600160a01b0393841673ffffffffffffffffffffffffffffffffffffffff1991821617909155600d8054929093169116179055565b6000546001600160a01b031633146121d75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a0c565b6015805491151574010000000000000000000000000000000000000000027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff909216919091179055565b6015546000906001600160a01b0381169074010000000000000000000000000000000000000000900460ff1680156122f657506040517fc45527910000000000000000000000000000000000000000000000000000000081526001600160a01b038581166004830152808516919083169063c45527919060240160206040518083038186803b1580156122b357600080fd5b505afa1580156122c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122eb919061353a565b6001600160a01b0316145b156123055760019150506109b0565b6001600160a01b0380851660009081526006602090815260408083209387168352929052205460ff165b949350505050565b6000546001600160a01b031633146123915760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a0c565b6001600160a01b03811661240d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610a0c565b612416816128a1565b50565b60005b81811015610e115761244183600a60008154612437906137aa565b9182905550612d35565b8061244b816137aa565b91505061241c565b6000818152600560205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b038416908117909155819061249582611133565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600360205260408120546001600160a01b03166125585760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610a0c565b600061256383611133565b9050806001600160a01b0316846001600160a01b0316148061259e5750836001600160a01b031661259384610bb5565b6001600160a01b0316145b8061232f575061232f8185612221565b826001600160a01b03166125c182611133565b6001600160a01b03161461263d5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610a0c565b6001600160a01b0382166126b85760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610a0c565b6126c3600082612453565b6001600160a01b03831660009081526004602052604081208054600192906126ec90849061372c565b90915550506001600160a01b038216600090815260046020526040812080546001929061271a9084906136e1565b9091555050600081815260036020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b804710156127d85760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610a0c565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114612825576040519150601f19603f3d011682016040523d82523d6000602084013e61282a565b606091505b5050905080610e115760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610a0c565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600160085460ff16600281111561292557634e487b7160e01b600052602160045260246000fd5b146129725760405162461bcd60e51b815260206004820152601160248201527f57726f6e67206d696e74207374617475730000000000000000000000000000006044820152606401610a0c565b600e546040517fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b1660208201526129c791839160340160405160208183030381529060405280519060200120612d4f565b15612a6157336000908152600b6020526040902054600111612a515760405162461bcd60e51b815260206004820152603260248201527f596f752063616e206f6e6c79206d696e7420312067656e65736973204e46542060448201527f647572696e67207468652070726573616c6500000000000000000000000000006064820152608401610a0c565b612a5c336001612419565b612aa9565b60405162461bcd60e51b815260206004820152601760248201527f4e6f74206f6e207468652070726573616c65206c6973740000000000000000006044820152606401610a0c565b336000908152600b60205260408120805460019290612ac99084906136e1565b909155505050565b600260085460ff166002811115612af857634e487b7160e01b600052602160045260246000fd5b14612b455760405162461bcd60e51b815260206004820152601160248201527f57726f6e67206d696e74207374617475730000000000000000000000000000006044820152606401610a0c565b6124163382612419565b612b5a8484846125ae565b612b6684848484612e0c565b611de65760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610a0c565b606060098054610b329061376f565b606081612c2757505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115612c515780612c3b816137aa565b9150612c4a9050600a836136f9565b9150612c2b565b60008167ffffffffffffffff811115612c7a57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612ca4576020820181803683370190505b5090505b841561232f57612cb960018361372c565b9150612cc6600a866137c5565b612cd19060306136e1565b60f81b818381518110612cf457634e487b7160e01b600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612d2e600a866136f9565b9450612ca8565b610b1f828260405180602001604052806000815250612fb9565b600081815b8551811015612e01576000868281518110612d7f57634e487b7160e01b600052603260045260246000fd5b60200260200101519050808311612dc1576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250612dee565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b5080612df9816137aa565b915050612d54565b509092149392505050565b60006001600160a01b0384163b15612fae576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a0290612e69903390899088908890600401613639565b602060405180830381600087803b158015612e8357600080fd5b505af1925050508015612eb3575060408051601f3d908101601f19168201909252612eb09181019061351e565b60015b612f63573d808015612ee1576040519150601f19603f3d011682016040523d82523d6000602084013e612ee6565b606091505b508051612f5b5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610a0c565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a020000000000000000000000000000000000000000000000000000000014905061232f565b506001949350505050565b612fc38383613042565b612fd06000848484612e0c565b610e115760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610a0c565b6001600160a01b0382166130985760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610a0c565b6000818152600360205260409020546001600160a01b0316156130fd5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a0c565b6001600160a01b03821660009081526004602052604081208054600192906131269084906136e1565b9091555050600081815260036020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461319d9061376f565b90600052602060002090601f0160209004810192826131bf5760008555613205565b82601f106131d857805160ff1916838001178555613205565b82800160010185558215613205579182015b828111156132055782518255916020019190600101906131ea565b50613211929150613215565b5090565b5b808211156132115760008155600101613216565b600067ffffffffffffffff83111561324457613244613805565b6132576020601f19601f860116016136b0565b905082815283838301111561326b57600080fd5b828260208301376000602084830101529392505050565b600060208284031215613293578081fd5b8135611ece8161381b565b600080604083850312156132b0578081fd5b82356132bb8161381b565b915060208301356132cb8161381b565b809150509250929050565b6000806000606084860312156132ea578081fd5b83356132f58161381b565b925060208401356133058161381b565b929592945050506040919091013590565b6000806000806080858703121561332b578081fd5b84356133368161381b565b935060208501356133468161381b565b925060408501359150606085013567ffffffffffffffff811115613368578182fd5b8501601f81018713613378578182fd5b6133878782356020840161322a565b91505092959194509250565b600080604083850312156133a5578182fd5b82356133b08161381b565b915060208301356132cb81613830565b600080604083850312156133d2578182fd5b82356133dd8161381b565b946020939093013593505050565b600080600080600060a08688031215613402578081fd5b853567ffffffffffffffff80821115613419578283fd5b818801915088601f83011261342c578283fd5b813560208282111561344057613440613805565b8160051b92506134518184016136b0565b8281528181019085830185870184018e101561346b578788fd5b8796505b8487101561348d57803583526001969096019591830191830161346f565b509c918b01359b505060408a0135996060810135995060800135975095505050505050565b6000602082840312156134c3578081fd5b8135611ece81613830565b6000602082840312156134df578081fd5b8151611ece81613830565b6000602082840312156134fb578081fd5b5035919050565b600060208284031215613513578081fd5b8135611ece8161383e565b60006020828403121561352f578081fd5b8151611ece8161383e565b60006020828403121561354b578081fd5b8151611ece8161381b565b600060208284031215613567578081fd5b813567ffffffffffffffff81111561357d578182fd5b8201601f8101841361358d578182fd5b61232f8482356020840161322a565b600080604083850312156135ae578182fd5b50508035926020909101359150565b6000602082840312156135ce578081fd5b813560ff81168114611ece578182fd5b600081518084526135f6816020860160208601613743565b601f01601f19169290920160200192915050565b6000835161361c818460208801613743565b835190830190613630818360208801613743565b01949350505050565b60006001600160a01b0380871683528086166020840152508360408301526080606083015261366b60808301846135de565b9695505050505050565b602081016003831061369757634e487b7160e01b600052602160045260246000fd5b91905290565b602081526000611ece60208301846135de565b604051601f8201601f1916810167ffffffffffffffff811182821017156136d9576136d9613805565b604052919050565b600082198211156136f4576136f46137d9565b500190565b600082613708576137086137ef565b500490565b6000816000190483118215151615613727576137276137d9565b500290565b60008282101561373e5761373e6137d9565b500390565b60005b8381101561375e578181015183820152602001613746565b83811115611de65750506000910152565b600181811c9082168061378357607f821691505b602082108114156137a457634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156137be576137be6137d9565b5060010190565b6000826137d4576137d46137ef565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461241657600080fd5b801515811461241657600080fd5b7fffffffff000000000000000000000000000000000000000000000000000000008116811461241657600080fdfea2646970667358221220004bdb6ec066d3545e065c97fc8c4f7942130533102c64487e1d1792a6975e9564736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1000000000000000000000000000000000000000000000000000000000000257b00000000000000000000000000000000000000000000000000000000000000fa
-----Decoded View---------------
Arg [0] : _openSeaProxyRegistryAddress (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1
Arg [1] : _supply (uint256): 9595
Arg [2] : _giveawaySupply (uint256): 250
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Arg [1] : 000000000000000000000000000000000000000000000000000000000000257b
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000fa
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.