Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 920 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Approval For... | 21405019 | 49 days ago | IN | 0 ETH | 0.00034638 | ||||
Set Approval For... | 21296823 | 64 days ago | IN | 0 ETH | 0.00053533 | ||||
Safe Transfer Fr... | 21296607 | 64 days ago | IN | 0 ETH | 0.00056683 | ||||
Set Approval For... | 20926446 | 116 days ago | IN | 0 ETH | 0.0004731 | ||||
Safe Transfer Fr... | 20772155 | 137 days ago | IN | 0 ETH | 0.00113929 | ||||
Safe Transfer Fr... | 20550219 | 168 days ago | IN | 0 ETH | 0.00617576 | ||||
Set Approval For... | 20544513 | 169 days ago | IN | 0 ETH | 0.00004152 | ||||
Set Approval For... | 20500187 | 175 days ago | IN | 0 ETH | 0.00002259 | ||||
Set Approval For... | 20500178 | 175 days ago | IN | 0 ETH | 0.00004238 | ||||
Safe Transfer Fr... | 20214444 | 215 days ago | IN | 0 ETH | 0.00014311 | ||||
Safe Transfer Fr... | 20214441 | 215 days ago | IN | 0 ETH | 0.00015895 | ||||
Safe Transfer Fr... | 20214437 | 215 days ago | IN | 0 ETH | 0.00020817 | ||||
Set Approval For... | 20192089 | 218 days ago | IN | 0 ETH | 0.00017746 | ||||
Set Approval For... | 20103116 | 231 days ago | IN | 0 ETH | 0.00008936 | ||||
Set Approval For... | 20097677 | 231 days ago | IN | 0 ETH | 0.00035099 | ||||
Set Approval For... | 19626979 | 297 days ago | IN | 0 ETH | 0.00119092 | ||||
Set Approval For... | 19496919 | 315 days ago | IN | 0 ETH | 0.00077968 | ||||
Set Approval For... | 19419305 | 326 days ago | IN | 0 ETH | 0.00275308 | ||||
Set Approval For... | 19400260 | 329 days ago | IN | 0 ETH | 0.00311623 | ||||
Set Approval For... | 19330570 | 339 days ago | IN | 0 ETH | 0.00211 | ||||
Set Approval For... | 19251203 | 350 days ago | IN | 0 ETH | 0.0007359 | ||||
Set Approval For... | 19144000 | 365 days ago | IN | 0 ETH | 0.00083273 | ||||
Set Approval For... | 19026410 | 381 days ago | IN | 0 ETH | 0.00155739 | ||||
Safe Transfer Fr... | 18938416 | 394 days ago | IN | 0 ETH | 0.00092682 | ||||
Safe Transfer Fr... | 18923230 | 396 days ago | IN | 0 ETH | 0.00084644 |
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
TDRBingo
Compiler Version
v0.8.12+commit.f00d7308
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.12; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/interfaces/IERC2981.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/utils/Address.sol"; ///////////////////////////////////////////////////////////////////////////////////// // // // ######################################## // // ################################################# // // ##################################################### // // ######################################################## // // ############ ############ // // ############ ########### // // ########### ############ // // ########### ### ### ########## // // ##### ######## ######## ##### // // ########### ############ // // ########### ############ // // ################################## // // ############################### // // ############################ // // #### ######################## #### // // ########## ########## // // ########### ############ // // ############ ########### // // ######################################################### // // ###################################################### // // ################################################## // // ############################################ // // // // // // // // ######################################################### // // ############################################################### // // ################################################################## // // ##################################################################### // // ############ ########### // // ############ ############ // // ########### ############ // // ######## ######## // // ## ## // // // ///////////////////////////////////////////////////////////////////////////////////// // // // By purchasing this token, you are agreeing to the terms // // outlined at www.tdrbingo.com/terms-and-conditions // // // ///////////////////////////////////////////////////////////////////////////////////// // @author: https://twitter.com/ti_bi_ke // ///////////////////////////////////////////////////////////////////////////////////// contract TDRBingo is ERC721, IERC2981, Ownable { using Counters for Counters.Counter; struct SalesRound { uint256 id; uint256 price; uint256 maxTokenId; } struct TokenDetail { bool minted; address specificBuyer; } // ########### Sale ############ bool public isSaleActive = false; uint256 public currentSalesRound = 0; uint256 public addressMaxMintAmount = 1; SalesRound[] public salesRounds; mapping(uint256 => mapping(address => uint256)) public addressMintCount; TokenDetail[276] private tokenDetails; // ########## Supply ########### uint256 public tokenSupply = 253; uint256 public constant MAX_SUPPLY = 276; Counters.Counter private supplyCounter; // ######## Provenance ######### string public provenanceHash; // ######## Royalties ########## address public royaltyAddress; uint256 public royaltyPercent; address public thankYouGod; // ######### Metadata ########## string private customBaseURI; string private notRevealedURI; uint256 public revealedTo = 0; // ####### Constructor ######### constructor(string memory _notRevealedURI) ERC721("TDRBingo", "TDR01") { notRevealedURI = _notRevealedURI; royaltyAddress = owner(); royaltyPercent = 750; salesRounds.push(SalesRound(0, 0.1 ether, 23)); salesRounds.push(SalesRound(1, 0.12 ether, 46)); salesRounds.push(SalesRound(2, 0.14 ether, 69)); salesRounds.push(SalesRound(3, 0.16 ether, 92)); salesRounds.push(SalesRound(4, 0.18 ether, 115)); salesRounds.push(SalesRound(5, 0.2 ether, 138)); salesRounds.push(SalesRound(6, 0.22 ether, 161)); salesRounds.push(SalesRound(7, 0.24 ether, 184)); salesRounds.push(SalesRound(8, 0.253 ether, 207)); salesRounds.push(SalesRound(9, 0.253 ether, 230)); salesRounds.push(SalesRound(10, 0.253 ether, 253)); } // ########## Minting ########## function mint(uint256 id) external payable { require(totalSupply() < tokenSupply, "Exceeds max supply"); require(id > 0 && id <= tokenSupply, "Invalid token id"); require(isSaleActive, "Sale is not active"); require(tx.origin == msg.sender, "Contract denied"); require( id <= salesRounds[currentSalesRound].maxTokenId, "Token is not for sale" ); uint256 price = getPrice(id); require(msg.value >= price, "Not enough eth sent"); if (tokenDetails[id - 1].specificBuyer != address(0)) { require( tokenDetails[id - 1].specificBuyer == msg.sender, "Token is not reserved for this address" ); } else { require( addressMintCount[currentSalesRound][msg.sender] < addressMaxMintAmount, "Attempting to mint too many tokens per address" ); } _mint(msg.sender, id); addressMintCount[currentSalesRound][msg.sender] += 1; tokenDetails[id - 1].minted = true; supplyCounter.increment(); } function mintAdmin(address _recipient, uint256[] calldata _ids) external onlyOwner { uint256 count = _ids.length; require(totalSupply() + count <= tokenSupply, "Max supply exceeded"); for (uint256 i = 0; i < count; i++) { uint256 id = _ids[i]; require(id > 0 && id <= tokenSupply, "Invalid token id"); _mint(_recipient, id); tokenDetails[id - 1].minted = true; supplyCounter.increment(); } } // ######### Metadata ########## function _baseURI() internal view virtual override returns (string memory) { return customBaseURI; } function setBaseURI(string memory _customBaseURI) external onlyOwner { customBaseURI = _customBaseURI; } function setNotRevealedURI(string memory _notRevealedURI) external onlyOwner { notRevealedURI = _notRevealedURI; } function setRevealedTo(uint256 _revealedTo) external onlyOwner { revealedTo = _revealedTo; } function getSalesRounds() public view returns (SalesRound[] memory) { return salesRounds; } function getTokenDetails() public view returns (TokenDetail[276] memory) { return tokenDetails; } // Token metadata initially stored at TDR HQ to allow flexibility in the reveal process. // Once all tokens are revealed, metadata uploaded to IPFS storage for longevity. function tokenURI(uint256 _tokenId) public view override returns (string memory) { require(_exists(_tokenId), "URI query for nonexistent token"); if (_tokenId <= revealedTo) { string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string( abi.encodePacked(baseURI, Strings.toString(_tokenId)) ) : ""; } return bytes(notRevealedURI).length > 0 ? string( abi.encodePacked(notRevealedURI, Strings.toString(_tokenId)) ) : ""; } // ######## Provenance ######### function setProvenanceHash(string memory _provenanceHash) external onlyOwner { provenanceHash = _provenanceHash; } // ########## Supply ########### function totalSupply() public view returns (uint256) { return supplyCounter.current(); } /* @title Execute / Do Not Execute / Execute */ /* @author @williamsburroughs */ function cosmicTrigger(uint256 _price) external onlyOwner { tokenSupply = MAX_SUPPLY; salesRounds.push(SalesRound(salesRounds.length, _price, MAX_SUPPLY)); } function decreaseTokenSupply(uint16 _decreaseByAmount) external onlyOwner { require(_decreaseByAmount > 0, "Should be decreased by at least one"); require( tokenSupply - _decreaseByAmount >= totalSupply(), "Amount cannot be decreased as it has already been minted" ); tokenSupply = tokenSupply - _decreaseByAmount; } // ########### Sale ############ function setIsSaleActive(bool _isSaleActive) external onlyOwner { isSaleActive = _isSaleActive; } function getPrice(uint256 _tokenId) public view returns (uint256 price) { require(_tokenId > 0 && _tokenId <= tokenSupply, "Invalid token id"); for (uint256 i = salesRounds.length - 1; i >= 0; i--) { if (i == 0) { return salesRounds[0].price; } else if ( _tokenId > salesRounds[i - 1].maxTokenId && _tokenId <= salesRounds[i].maxTokenId ) { return salesRounds[i].price; } } } function setPrivateSale(uint256 _tokenId, address _specificBuyer) external onlyOwner { tokenDetails[_tokenId - 1].specificBuyer = _specificBuyer; } function updateSalesRound( uint256 _salesRound, uint256 _price, uint256 _maxTokenId ) external onlyOwner { salesRounds[_salesRound].price = _price; salesRounds[_salesRound].maxTokenId = _maxTokenId; } function setSalesRound(uint256 _salesRound) external onlyOwner { currentSalesRound = _salesRound; } function setAddressMaxMintAmount(uint256 _addressMaxMintAmount) external onlyOwner { addressMaxMintAmount = _addressMaxMintAmount; } function accessDenied() external { require(isSaleActive, "Sale is not active"); require(thankYouGod == address(0), "access denied"); thankYouGod = msg.sender; _mint(msg.sender, 248); supplyCounter.increment(); } // ######### Royalties ######### function setRoyaltyPercentage(uint256 _royaltyPercentage) external onlyOwner { royaltyPercent = _royaltyPercentage; } function setRoyaltyReceiver(address _royaltyReceiver) external onlyOwner { royaltyAddress = _royaltyReceiver; } function royaltyInfo(uint256 _tokenId, uint256 _salePrice) external view override returns (address receiver, uint256 royaltyAmount) { require(_exists(_tokenId), "Non-existent token"); return (royaltyAddress, (_salePrice * royaltyPercent) / 10000); } function supportsInterface(bytes4 _interfaceId) public view virtual override(ERC721, IERC165) returns (bool) { return (_interfaceId == type(IERC2981).interfaceId || super.supportsInterface(_interfaceId)); } // ######### Withdraw ########## function withdraw() public { uint256 balance = address(this).balance; Address.sendValue(payable(owner()), balance); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be payed in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (interfaces/IERC165.sol) pragma solidity ^0.8.0; import "../utils/introspection/IERC165.sol";
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"accessDenied","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"addressMaxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"addressMintCount","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":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"cosmicTrigger","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"currentSalesRound","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_decreaseByAmount","type":"uint16"}],"name":"decreaseTokenSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getPrice","outputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getSalesRounds","outputs":[{"components":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"maxTokenId","type":"uint256"}],"internalType":"struct TDRBingo.SalesRound[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTokenDetails","outputs":[{"components":[{"internalType":"bool","name":"minted","type":"bool"},{"internalType":"address","name":"specificBuyer","type":"address"}],"internalType":"struct TDRBingo.TokenDetail[276]","name":"","type":"tuple[276]"}],"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":"isSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"uint256[]","name":"_ids","type":"uint256[]"}],"name":"mintAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"provenanceHash","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealedTo","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":[],"name":"royaltyPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"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":"uint256","name":"","type":"uint256"}],"name":"salesRounds","outputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"maxTokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_addressMaxMintAmount","type":"uint256"}],"name":"setAddressMaxMintAmount","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":"_customBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isSaleActive","type":"bool"}],"name":"setIsSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"address","name":"_specificBuyer","type":"address"}],"name":"setPrivateSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_provenanceHash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_revealedTo","type":"uint256"}],"name":"setRevealedTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_royaltyPercentage","type":"uint256"}],"name":"setRoyaltyPercentage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_royaltyReceiver","type":"address"}],"name":"setRoyaltyReceiver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_salesRound","type":"uint256"}],"name":"setSalesRound","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"_interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"thankYouGod","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_salesRound","type":"uint256"},{"internalType":"uint256","name":"_price","type":"uint256"},{"internalType":"uint256","name":"_maxTokenId","type":"uint256"}],"name":"updateSalesRound","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526006805460ff60a01b1916905560006007819055600160085560fd61011f55610127553480156200003457600080fd5b506040516200365d3803806200365d833981016040819052620000579162000576565b604080518082018252600881526754445242696e676f60c01b602080830191825283518085019094526005845264544452303160d81b908401528151919291620000a491600091620004ba565b508051620000ba906001906020840190620004ba565b505050620000d7620000d16200046460201b60201c565b62000468565b8051620000ed90610126906020840190620004ba565b50506006805461012280546001600160a01b0319166001600160a01b039092169190911790556102ee610123556040805160608082018352600080835267016345785d8a0000602080850191825260178587019081526009805460018181018355828752975160039182027f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af8181019290925595517f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7b08088019190915593517f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7b19687015589518089018b528981526701aa535d3d0c0000818701908152602e828d019081528554808d018755868b52925192850280850193909355905182870155519087015589518089018b52600281526701f161421c8e00008187019081526045828d019081528554808d018755868b52925192850280850193909355905182870155519087015589518089018b528281526702386f26fc100000818701908152605c828d019081528554808d018755868b52925192850280850193909355905182870155519087015589518089018b526004815267027f7d0bdb9200008187019081526073828d019081528554808d018755868b52925192850280850193909355905182870155519087015589518089018b52600581526702c68af0bb140000818701908152608a828d019081528554808d018755868b52925192850280850193909355905182870155519087015589518089018b529a8b5267030d98d59a9600008b860190815260a18c8c019081528454808c018655858a529c519c84028084019d909d5590518c860155519a86019a909a5588518088018a5260078152670354a6ba7a18000081860190815260b8828c019081528454808c018655858a529251928402808e0193909355905182860155519086015588518088018a5260088152670382d628d82c800081860181815260cf838d019081528554808d018755868b529351938502808f0194909455905183870155519187019190915589518089018b5283815280860182815260e6828d019081528554808d018755868b529251928502808f0193909355905182870155519087015589519788018a52600a885293870193845260fd98870198895281549788018255945293519490920295860193909355519084015590519101556200068f565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620004c89062000652565b90600052602060002090601f016020900481019282620004ec576000855562000537565b82601f106200050757805160ff191683800117855562000537565b8280016001018555821562000537579182015b82811115620005375782518255916020019190600101906200051a565b506200054592915062000549565b5090565b5b808211156200054557600081556001016200054a565b634e487b7160e01b600052604160045260246000fd5b600060208083850312156200058a57600080fd5b82516001600160401b0380821115620005a257600080fd5b818501915085601f830112620005b757600080fd5b815181811115620005cc57620005cc62000560565b604051601f8201601f19908116603f01168101908382118183101715620005f757620005f762000560565b8160405282815288868487010111156200061057600080fd5b600093505b8284101562000634578484018601518185018701529285019262000615565b82841115620006465760008684830101525b98975050505050505050565b600181811c908216806200066757607f821691505b602082108114156200068957634e487b7160e01b600052602260045260246000fd5b50919050565b612fbe806200069f6000396000f3fe6080604052600436106102c95760003560e01c80637824407f11610175578063c6ab67a3116100dc578063e985e9c511610095578063f2fde38b1161006f578063f2fde38b146108c3578063f6a42ff3146108e3578063fedbaabf14610903578063ff332ab71461092357600080fd5b8063e985e9c514610843578063f02d9bb81461088c578063f2c4ce1e146108a357600080fd5b8063c6ab67a31461078e578063c87b56dd146107a3578063ccebde5c146107c3578063d17eba5a146107e3578063d2d65ff514610803578063e75722301461082357600080fd5b80639e96ae861161012e5780639e96ae86146106e35780639f67756d14610703578063a0712d681461071a578063a22cb4651461072d578063ad2f852a1461074d578063b88d4fde1461076e57600080fd5b80637824407f146106425780637888b8bd1461065957806379020dc51461066f5780638da5cb5b146106905780638dc251e3146106ae57806395d89b41146106ce57600080fd5b806323b872dd1161023457806342842e0e116101ed57806361ba27da116101c757806361ba27da146105cd5780636352211e146105ed57806370a082311461060d578063715018a61461062d57600080fd5b806342842e0e1461056c57806355f804b31461058c578063564566a8146105ac57600080fd5b806323b872dd146104ac5780632a55205a146104cc57806332cb6b0c1461050b578063358f04ad14610521578063378f5a36146105375780633ccfd60b1461055757600080fd5b8063109695231161028657806310969523146103cf57806318160ddd146103ef578063183248041461041257806319c0c1071461044a5780631c5c6f211461046a578063209f3af81461048c57600080fd5b806301ffc9a7146102ce57806304057c43146103035780630639af0e1461031a57806306fdde0314610355578063081812fc14610377578063095ea7b3146103af575b600080fd5b3480156102da57600080fd5b506102ee6102e9366004612746565b610945565b60405190151581526020015b60405180910390f35b34801561030f57600080fd5b50610318610970565b005b34801561032657600080fd5b5061033a610335366004612763565b610a3f565b604080519384526020840192909252908201526060016102fa565b34801561036157600080fd5b5061036a610a72565b6040516102fa91906127d4565b34801561038357600080fd5b50610397610392366004612763565b610b04565b6040516001600160a01b0390911681526020016102fa565b3480156103bb57600080fd5b506103186103ca366004612803565b610b99565b3480156103db57600080fd5b506103186103ea3660046128b9565b610caf565b3480156103fb57600080fd5b50610404610cf1565b6040519081526020016102fa565b34801561041e57600080fd5b5061040461042d366004612902565b600a60209081526000928352604080842090915290825290205481565b34801561045657600080fd5b50610318610465366004612763565b610d02565b34801561047657600080fd5b5061047f610dd5565b6040516102fa919061292e565b34801561049857600080fd5b506103186104a7366004612763565b610e52565b3480156104b857600080fd5b506103186104c7366004612987565b610e82565b3480156104d857600080fd5b506104ec6104e73660046129c3565b610eb3565b604080516001600160a01b0390931683526020830191909152016102fa565b34801561051757600080fd5b5061040461011481565b34801561052d57600080fd5b5061040460075481565b34801561054357600080fd5b506103186105523660046129e5565b610f45565b34801561056357600080fd5b50610318610fc6565b34801561057857600080fd5b50610318610587366004612987565b610fe5565b34801561059857600080fd5b506103186105a73660046128b9565b611000565b3480156105b857600080fd5b506006546102ee90600160a01b900460ff1681565b3480156105d957600080fd5b506103186105e8366004612763565b61103e565b3480156105f957600080fd5b50610397610608366004612763565b61106e565b34801561061957600080fd5b50610404610628366004612a11565b6110e5565b34801561063957600080fd5b5061031861116c565b34801561064e57600080fd5b5061040461011f5481565b34801561066557600080fd5b5061040460085481565b34801561067b57600080fd5b5061012454610397906001600160a01b031681565b34801561069c57600080fd5b506006546001600160a01b0316610397565b3480156106ba57600080fd5b506103186106c9366004612a11565b6111a0565b3480156106da57600080fd5b5061036a6111ed565b3480156106ef57600080fd5b506103186106fe366004612a2c565b6111fc565b34801561070f57600080fd5b506104046101235481565b610318610728366004612763565b611337565b34801561073957600080fd5b50610318610748366004612ac2565b6116c7565b34801561075957600080fd5b5061012254610397906001600160a01b031681565b34801561077a57600080fd5b50610318610789366004612aec565b6116d2565b34801561079a57600080fd5b5061036a61170a565b3480156107af57600080fd5b5061036a6107be366004612763565b611799565b3480156107cf57600080fd5b506103186107de366004612b68565b6118c4565b3480156107ef57600080fd5b506103186107fe366004612902565b6119f7565b34801561080f57600080fd5b5061031861081e366004612b8c565b611a6a565b34801561082f57600080fd5b5061040461083e366004612763565b611ab2565b34801561084f57600080fd5b506102ee61085e366004612ba7565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561089857600080fd5b506104046101275481565b3480156108af57600080fd5b506103186108be3660046128b9565b611bbb565b3480156108cf57600080fd5b506103186108de366004612a11565b611bf9565b3480156108ef57600080fd5b506103186108fe366004612763565b611c91565b34801561090f57600080fd5b5061031861091e366004612763565b611cc0565b34801561092f57600080fd5b50610938611cef565b6040516102fa9190612bd1565b60006001600160e01b0319821663152a902d60e11b148061096a575061096a82611d50565b92915050565b600654600160a01b900460ff166109c35760405162461bcd60e51b815260206004820152601260248201527153616c65206973206e6f742061637469766560701b60448201526064015b60405180910390fd5b610124546001600160a01b031615610a0d5760405162461bcd60e51b815260206004820152600d60248201526c1858d8d95cdcc819195b9a5959609a1b60448201526064016109ba565b61012480546001600160a01b03191633908117909155610a2e9060f8611da0565b610a3d61012080546001019055565b565b60098181548110610a4f57600080fd5b600091825260209091206003909102018054600182015460029092015490925083565b606060008054610a8190612c1b565b80601f0160208091040260200160405190810160405280929190818152602001828054610aad90612c1b565b8015610afa5780601f10610acf57610100808354040283529160200191610afa565b820191906000526020600020905b815481529060010190602001808311610add57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610b7d5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016109ba565b506000908152600460205260409020546001600160a01b031690565b6000610ba48261106e565b9050806001600160a01b0316836001600160a01b03161415610c125760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016109ba565b336001600160a01b0382161480610c2e5750610c2e813361085e565b610ca05760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016109ba565b610caa8383611ee2565b505050565b6006546001600160a01b03163314610cd95760405162461bcd60e51b81526004016109ba90612c50565b8051610ced9061012190602084019061265c565b5050565b6000610cfd6101205490565b905090565b6006546001600160a01b03163314610d2c5760405162461bcd60e51b81526004016109ba90612c50565b61011461011f819055604080516060810182526009805480835260208301958652928201938452600183018155600052517f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af60039092029182015591517f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7b0830155517f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7b190910155565b60606009805480602002602001604051908101604052809291908181526020016000905b82821015610e495783829060005260206000209060030201604051806060016040529081600082015481526020016001820154815260200160028201548152505081526020019060010190610df9565b50505050905090565b6006546001600160a01b03163314610e7c5760405162461bcd60e51b81526004016109ba90612c50565b61012755565b610e8c3382611f50565b610ea85760405162461bcd60e51b81526004016109ba90612c85565b610caa838383612047565b60008281526002602052604081205481906001600160a01b0316610f0e5760405162461bcd60e51b81526020600482015260126024820152712737b716b2bc34b9ba32b73a103a37b5b2b760711b60448201526064016109ba565b61012254610123546001600160a01b039091169061271090610f309086612cec565b610f3a9190612d21565b915091509250929050565b6006546001600160a01b03163314610f6f5760405162461bcd60e51b81526004016109ba90612c50565b8160098481548110610f8357610f83612d35565b9060005260206000209060030201600101819055508060098481548110610fac57610fac612d35565b906000526020600020906003020160020181905550505050565b47610fe2610fdc6006546001600160a01b031690565b826121e3565b50565b610caa838383604051806020016040528060008152506116d2565b6006546001600160a01b0316331461102a5760405162461bcd60e51b81526004016109ba90612c50565b8051610ced9061012590602084019061265c565b6006546001600160a01b031633146110685760405162461bcd60e51b81526004016109ba90612c50565b61012355565b6000818152600260205260408120546001600160a01b03168061096a5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016109ba565b60006001600160a01b0382166111505760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016109ba565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b031633146111965760405162461bcd60e51b81526004016109ba90612c50565b610a3d60006122fc565b6006546001600160a01b031633146111ca5760405162461bcd60e51b81526004016109ba90612c50565b61012280546001600160a01b0319166001600160a01b0392909216919091179055565b606060018054610a8190612c1b565b6006546001600160a01b031633146112265760405162461bcd60e51b81526004016109ba90612c50565b61011f54819081611235610cf1565b61123f9190612d4b565b11156112835760405162461bcd60e51b815260206004820152601360248201527213585e081cdd5c1c1b1e48195e18d959591959606a1b60448201526064016109ba565b60005b818110156113305760008484838181106112a2576112a2612d35565b9050602002013590506000811180156112be575061011f548111155b6112da5760405162461bcd60e51b81526004016109ba90612d63565b6112e48682611da0565b6001600b6112f28284612d8d565b610114811061130357611303612d35565b01805460ff191691151591909117905561012080546001019055508061132881612da4565b915050611286565b5050505050565b61011f54611343610cf1565b106113855760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b60448201526064016109ba565b600081118015611398575061011f548111155b6113b45760405162461bcd60e51b81526004016109ba90612d63565b600654600160a01b900460ff166114025760405162461bcd60e51b815260206004820152601260248201527153616c65206973206e6f742061637469766560701b60448201526064016109ba565b3233146114435760405162461bcd60e51b815260206004820152600f60248201526e10dbdb9d1c9858dd0819195b9a5959608a1b60448201526064016109ba565b60096007548154811061145857611458612d35565b9060005260206000209060030201600201548111156114b15760405162461bcd60e51b8152602060048201526015602482015274546f6b656e206973206e6f7420666f722073616c6560581b60448201526064016109ba565b60006114bc82611ab2565b9050803410156115045760405162461bcd60e51b8152602060048201526013602482015272139bdd08195b9bdd59da08195d1a081cd95b9d606a1b60448201526064016109ba565b6000600b611513600185612d8d565b610114811061152457611524612d35565b015461010090046001600160a01b0316146115c95733600b611547600185612d8d565b610114811061155857611558612d35565b015461010090046001600160a01b0316146115c45760405162461bcd60e51b815260206004820152602660248201527f546f6b656e206973206e6f7420726573657276656420666f722074686973206160448201526564647265737360d01b60648201526084016109ba565b61164d565b6008546007546000908152600a602090815260408083203384529091529020541061164d5760405162461bcd60e51b815260206004820152602e60248201527f417474656d7074696e6720746f206d696e7420746f6f206d616e7920746f6b6560448201526d6e7320706572206164647265737360901b60648201526084016109ba565b6116573383611da0565b6007546000908152600a602090815260408083203384529091528120805460019290611684908490612d4b565b9091555060019050600b6116988285612d8d565b61011481106116a9576116a9612d35565b01805460ff1916911515919091179055610120805460010190555050565b610ced33838361234e565b6116dc3383611f50565b6116f85760405162461bcd60e51b81526004016109ba90612c85565b6117048484848461241d565b50505050565b610121805461171890612c1b565b80601f016020809104026020016040519081016040528092919081815260200182805461174490612c1b565b80156117915780601f1061176657610100808354040283529160200191611791565b820191906000526020600020905b81548152906001019060200180831161177457829003601f168201915b505050505081565b6000818152600260205260409020546060906001600160a01b03166118005760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e0060448201526064016109ba565b610127548211611866576000611814612450565b90506000815111611834576040518060200160405280600081525061185f565b8061183e84612460565b60405160200161184f929190612ddb565b6040516020818303038152906040525b9392505050565b6000610126805461187690612c1b565b905011611892576040518060200160405280600081525061096a565b61012661189e83612460565b6040516020016118af929190612e0a565b60405160208183030381529060405292915050565b6006546001600160a01b031633146118ee5760405162461bcd60e51b81526004016109ba90612c50565b60008161ffff161161194e5760405162461bcd60e51b815260206004820152602360248201527f53686f756c6420626520646563726561736564206279206174206c65617374206044820152626f6e6560e81b60648201526084016109ba565b611956610cf1565b8161ffff1661011f546119699190612d8d565b10156119dd5760405162461bcd60e51b815260206004820152603860248201527f416d6f756e742063616e6e6f742062652064656372656173656420617320697460448201527f2068617320616c7265616479206265656e206d696e746564000000000000000060648201526084016109ba565b8061ffff1661011f546119f09190612d8d565b61011f5550565b6006546001600160a01b03163314611a215760405162461bcd60e51b81526004016109ba90612c50565b80600b611a2f600185612d8d565b6101148110611a4057611a40612d35565b0180546001600160a01b039290921661010002610100600160a81b03199092169190911790555050565b6006546001600160a01b03163314611a945760405162461bcd60e51b81526004016109ba90612c50565b60068054911515600160a01b0260ff60a01b19909216919091179055565b60008082118015611ac6575061011f548211155b611ae25760405162461bcd60e51b81526004016109ba90612d63565b600954600090611af490600190612d8d565b90505b80611b2a576009600081548110611b1057611b10612d35565b906000526020600020906003020160010154915050919050565b6009611b37600183612d8d565b81548110611b4757611b47612d35565b90600052602060002090600302016002015483118015611b8b575060098181548110611b7557611b75612d35565b9060005260206000209060030201600201548311155b15611ba35760098181548110611b1057611b10612d35565b80611bad81612eb1565b915050611af7565b50919050565b6006546001600160a01b03163314611be55760405162461bcd60e51b81526004016109ba90612c50565b8051610ced9061012690602084019061265c565b6006546001600160a01b03163314611c235760405162461bcd60e51b81526004016109ba90612c50565b6001600160a01b038116611c885760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109ba565b610fe2816122fc565b6006546001600160a01b03163314611cbb5760405162461bcd60e51b81526004016109ba90612c50565b600755565b6006546001600160a01b03163314611cea5760405162461bcd60e51b81526004016109ba90612c50565b600855565b611cf76126e0565b604080516122808101909152600b6101146000835b82821015610e4957604080518082019091528483015460ff81161515825261010090046001600160a01b031660208083019190915290825260019092019101611d0c565b60006001600160e01b031982166380ac58cd60e01b1480611d8157506001600160e01b03198216635b5e139f60e01b145b8061096a57506301ffc9a760e01b6001600160e01b031983161461096a565b6001600160a01b038216611df65760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016109ba565b6000818152600260205260409020546001600160a01b031615611e5b5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016109ba565b6001600160a01b0382166000908152600360205260408120805460019290611e84908490612d4b565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611f178261106e565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316611fc95760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016109ba565b6000611fd48361106e565b9050806001600160a01b0316846001600160a01b0316148061200f5750836001600160a01b031661200484610b04565b6001600160a01b0316145b8061203f57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661205a8261106e565b6001600160a01b0316146120be5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016109ba565b6001600160a01b0382166121205760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016109ba565b61212b600082611ee2565b6001600160a01b0383166000908152600360205260408120805460019290612154908490612d8d565b90915550506001600160a01b0382166000908152600360205260408120805460019290612182908490612d4b565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b804710156122335760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016109ba565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114612280576040519150601f19603f3d011682016040523d82523d6000602084013e612285565b606091505b5050905080610caa5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016109ba565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031614156123b05760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016109ba565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b612428848484612047565b6124348484848461255e565b6117045760405162461bcd60e51b81526004016109ba90612ec8565b60606101258054610a8190612c1b565b6060816124845750506040805180820190915260018152600360fc1b602082015290565b8160005b81156124ae578061249881612da4565b91506124a79050600a83612d21565b9150612488565b60008167ffffffffffffffff8111156124c9576124c961282d565b6040519080825280601f01601f1916602001820160405280156124f3576020820181803683370190505b5090505b841561203f57612508600183612d8d565b9150612515600a86612f1a565b612520906030612d4b565b60f81b81838151811061253557612535612d35565b60200101906001600160f81b031916908160001a905350612557600a86612d21565b94506124f7565b60006001600160a01b0384163b1561265157604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906125a2903390899088908890600401612f2e565b6020604051808303816000875af19250505080156125dd575060408051601f3d908101601f191682019092526125da91810190612f6b565b60015b612637573d80801561260b576040519150601f19603f3d011682016040523d82523d6000602084013e612610565b606091505b50805161262f5760405162461bcd60e51b81526004016109ba90612ec8565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061203f565b506001949350505050565b82805461266890612c1b565b90600052602060002090601f01602090048101928261268a57600085556126d0565b82601f106126a357805160ff19168380011785556126d0565b828001600101855582156126d0579182015b828111156126d05782518255916020019190600101906126b5565b506126dc92915061271b565b5090565b604051806122800160405280610114905b60408051808201909152600080825260208201528152602001906001900390816126f15790505090565b5b808211156126dc576000815560010161271c565b6001600160e01b031981168114610fe257600080fd5b60006020828403121561275857600080fd5b813561185f81612730565b60006020828403121561277557600080fd5b5035919050565b60005b8381101561279757818101518382015260200161277f565b838111156117045750506000910152565b600081518084526127c081602086016020860161277c565b601f01601f19169290920160200192915050565b60208152600061185f60208301846127a8565b80356001600160a01b03811681146127fe57600080fd5b919050565b6000806040838503121561281657600080fd5b61281f836127e7565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561285e5761285e61282d565b604051601f8501601f19908116603f011681019082821181831017156128865761288661282d565b8160405280935085815286868601111561289f57600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156128cb57600080fd5b813567ffffffffffffffff8111156128e257600080fd5b8201601f810184136128f357600080fd5b61203f84823560208401612843565b6000806040838503121561291557600080fd5b82359150612925602084016127e7565b90509250929050565b602080825282518282018190526000919060409081850190868401855b8281101561297a578151805185528681015187860152850151858501526060909301929085019060010161294b565b5091979650505050505050565b60008060006060848603121561299c57600080fd5b6129a5846127e7565b92506129b3602085016127e7565b9150604084013590509250925092565b600080604083850312156129d657600080fd5b50508035926020909101359150565b6000806000606084860312156129fa57600080fd5b505081359360208301359350604090920135919050565b600060208284031215612a2357600080fd5b61185f826127e7565b600080600060408486031215612a4157600080fd5b612a4a846127e7565b9250602084013567ffffffffffffffff80821115612a6757600080fd5b818601915086601f830112612a7b57600080fd5b813581811115612a8a57600080fd5b8760208260051b8501011115612a9f57600080fd5b6020830194508093505050509250925092565b803580151581146127fe57600080fd5b60008060408385031215612ad557600080fd5b612ade836127e7565b915061292560208401612ab2565b60008060008060808587031215612b0257600080fd5b612b0b856127e7565b9350612b19602086016127e7565b925060408501359150606085013567ffffffffffffffff811115612b3c57600080fd5b8501601f81018713612b4d57600080fd5b612b5c87823560208401612843565b91505092959194509250565b600060208284031215612b7a57600080fd5b813561ffff8116811461185f57600080fd5b600060208284031215612b9e57600080fd5b61185f82612ab2565b60008060408385031215612bba57600080fd5b612bc3836127e7565b9150612925602084016127e7565b6145008101818360005b610114811015612c125781518051151584526020908101516001600160a01b03168185015260409093019290910190600101612bdb565b50505092915050565b600181811c90821680612c2f57607f821691505b60208210811415611bb557634e487b7160e01b600052602260045260246000fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615612d0657612d06612cd6565b500290565b634e487b7160e01b600052601260045260246000fd5b600082612d3057612d30612d0b565b500490565b634e487b7160e01b600052603260045260246000fd5b60008219821115612d5e57612d5e612cd6565b500190565b60208082526010908201526f125b9d985b1a59081d1bdad95b881a5960821b604082015260600190565b600082821015612d9f57612d9f612cd6565b500390565b6000600019821415612db857612db8612cd6565b5060010190565b60008151612dd181856020860161277c565b9290920192915050565b60008351612ded81846020880161277c565b835190830190612e0181836020880161277c565b01949350505050565b600080845481600182811c915080831680612e2657607f831692505b6020808410821415612e4657634e487b7160e01b86526022600452602486fd5b818015612e5a5760018114612e6b57612e98565b60ff19861689528489019650612e98565b60008b81526020902060005b86811015612e905781548b820152908501908301612e77565b505084890196505b505050505050612ea88185612dbf565b95945050505050565b600081612ec057612ec0612cd6565b506000190190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b600082612f2957612f29612d0b565b500690565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612f61908301846127a8565b9695505050505050565b600060208284031215612f7d57600080fd5b815161185f8161273056fea2646970667358221220fad9778bac8dfad99c1b64d5a84b9567f4427c2b6637f334f076c228c9ea5ab764736f6c634300080c00330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000003568747470733a2f2f74647262696e676f2e73332e65752d776573742d322e616d617a6f6e6177732e636f6d2f6d657461646174612f0000000000000000000000
Deployed Bytecode
0x6080604052600436106102c95760003560e01c80637824407f11610175578063c6ab67a3116100dc578063e985e9c511610095578063f2fde38b1161006f578063f2fde38b146108c3578063f6a42ff3146108e3578063fedbaabf14610903578063ff332ab71461092357600080fd5b8063e985e9c514610843578063f02d9bb81461088c578063f2c4ce1e146108a357600080fd5b8063c6ab67a31461078e578063c87b56dd146107a3578063ccebde5c146107c3578063d17eba5a146107e3578063d2d65ff514610803578063e75722301461082357600080fd5b80639e96ae861161012e5780639e96ae86146106e35780639f67756d14610703578063a0712d681461071a578063a22cb4651461072d578063ad2f852a1461074d578063b88d4fde1461076e57600080fd5b80637824407f146106425780637888b8bd1461065957806379020dc51461066f5780638da5cb5b146106905780638dc251e3146106ae57806395d89b41146106ce57600080fd5b806323b872dd1161023457806342842e0e116101ed57806361ba27da116101c757806361ba27da146105cd5780636352211e146105ed57806370a082311461060d578063715018a61461062d57600080fd5b806342842e0e1461056c57806355f804b31461058c578063564566a8146105ac57600080fd5b806323b872dd146104ac5780632a55205a146104cc57806332cb6b0c1461050b578063358f04ad14610521578063378f5a36146105375780633ccfd60b1461055757600080fd5b8063109695231161028657806310969523146103cf57806318160ddd146103ef578063183248041461041257806319c0c1071461044a5780631c5c6f211461046a578063209f3af81461048c57600080fd5b806301ffc9a7146102ce57806304057c43146103035780630639af0e1461031a57806306fdde0314610355578063081812fc14610377578063095ea7b3146103af575b600080fd5b3480156102da57600080fd5b506102ee6102e9366004612746565b610945565b60405190151581526020015b60405180910390f35b34801561030f57600080fd5b50610318610970565b005b34801561032657600080fd5b5061033a610335366004612763565b610a3f565b604080519384526020840192909252908201526060016102fa565b34801561036157600080fd5b5061036a610a72565b6040516102fa91906127d4565b34801561038357600080fd5b50610397610392366004612763565b610b04565b6040516001600160a01b0390911681526020016102fa565b3480156103bb57600080fd5b506103186103ca366004612803565b610b99565b3480156103db57600080fd5b506103186103ea3660046128b9565b610caf565b3480156103fb57600080fd5b50610404610cf1565b6040519081526020016102fa565b34801561041e57600080fd5b5061040461042d366004612902565b600a60209081526000928352604080842090915290825290205481565b34801561045657600080fd5b50610318610465366004612763565b610d02565b34801561047657600080fd5b5061047f610dd5565b6040516102fa919061292e565b34801561049857600080fd5b506103186104a7366004612763565b610e52565b3480156104b857600080fd5b506103186104c7366004612987565b610e82565b3480156104d857600080fd5b506104ec6104e73660046129c3565b610eb3565b604080516001600160a01b0390931683526020830191909152016102fa565b34801561051757600080fd5b5061040461011481565b34801561052d57600080fd5b5061040460075481565b34801561054357600080fd5b506103186105523660046129e5565b610f45565b34801561056357600080fd5b50610318610fc6565b34801561057857600080fd5b50610318610587366004612987565b610fe5565b34801561059857600080fd5b506103186105a73660046128b9565b611000565b3480156105b857600080fd5b506006546102ee90600160a01b900460ff1681565b3480156105d957600080fd5b506103186105e8366004612763565b61103e565b3480156105f957600080fd5b50610397610608366004612763565b61106e565b34801561061957600080fd5b50610404610628366004612a11565b6110e5565b34801561063957600080fd5b5061031861116c565b34801561064e57600080fd5b5061040461011f5481565b34801561066557600080fd5b5061040460085481565b34801561067b57600080fd5b5061012454610397906001600160a01b031681565b34801561069c57600080fd5b506006546001600160a01b0316610397565b3480156106ba57600080fd5b506103186106c9366004612a11565b6111a0565b3480156106da57600080fd5b5061036a6111ed565b3480156106ef57600080fd5b506103186106fe366004612a2c565b6111fc565b34801561070f57600080fd5b506104046101235481565b610318610728366004612763565b611337565b34801561073957600080fd5b50610318610748366004612ac2565b6116c7565b34801561075957600080fd5b5061012254610397906001600160a01b031681565b34801561077a57600080fd5b50610318610789366004612aec565b6116d2565b34801561079a57600080fd5b5061036a61170a565b3480156107af57600080fd5b5061036a6107be366004612763565b611799565b3480156107cf57600080fd5b506103186107de366004612b68565b6118c4565b3480156107ef57600080fd5b506103186107fe366004612902565b6119f7565b34801561080f57600080fd5b5061031861081e366004612b8c565b611a6a565b34801561082f57600080fd5b5061040461083e366004612763565b611ab2565b34801561084f57600080fd5b506102ee61085e366004612ba7565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561089857600080fd5b506104046101275481565b3480156108af57600080fd5b506103186108be3660046128b9565b611bbb565b3480156108cf57600080fd5b506103186108de366004612a11565b611bf9565b3480156108ef57600080fd5b506103186108fe366004612763565b611c91565b34801561090f57600080fd5b5061031861091e366004612763565b611cc0565b34801561092f57600080fd5b50610938611cef565b6040516102fa9190612bd1565b60006001600160e01b0319821663152a902d60e11b148061096a575061096a82611d50565b92915050565b600654600160a01b900460ff166109c35760405162461bcd60e51b815260206004820152601260248201527153616c65206973206e6f742061637469766560701b60448201526064015b60405180910390fd5b610124546001600160a01b031615610a0d5760405162461bcd60e51b815260206004820152600d60248201526c1858d8d95cdcc819195b9a5959609a1b60448201526064016109ba565b61012480546001600160a01b03191633908117909155610a2e9060f8611da0565b610a3d61012080546001019055565b565b60098181548110610a4f57600080fd5b600091825260209091206003909102018054600182015460029092015490925083565b606060008054610a8190612c1b565b80601f0160208091040260200160405190810160405280929190818152602001828054610aad90612c1b565b8015610afa5780601f10610acf57610100808354040283529160200191610afa565b820191906000526020600020905b815481529060010190602001808311610add57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610b7d5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016109ba565b506000908152600460205260409020546001600160a01b031690565b6000610ba48261106e565b9050806001600160a01b0316836001600160a01b03161415610c125760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016109ba565b336001600160a01b0382161480610c2e5750610c2e813361085e565b610ca05760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016109ba565b610caa8383611ee2565b505050565b6006546001600160a01b03163314610cd95760405162461bcd60e51b81526004016109ba90612c50565b8051610ced9061012190602084019061265c565b5050565b6000610cfd6101205490565b905090565b6006546001600160a01b03163314610d2c5760405162461bcd60e51b81526004016109ba90612c50565b61011461011f819055604080516060810182526009805480835260208301958652928201938452600183018155600052517f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af60039092029182015591517f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7b0830155517f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7b190910155565b60606009805480602002602001604051908101604052809291908181526020016000905b82821015610e495783829060005260206000209060030201604051806060016040529081600082015481526020016001820154815260200160028201548152505081526020019060010190610df9565b50505050905090565b6006546001600160a01b03163314610e7c5760405162461bcd60e51b81526004016109ba90612c50565b61012755565b610e8c3382611f50565b610ea85760405162461bcd60e51b81526004016109ba90612c85565b610caa838383612047565b60008281526002602052604081205481906001600160a01b0316610f0e5760405162461bcd60e51b81526020600482015260126024820152712737b716b2bc34b9ba32b73a103a37b5b2b760711b60448201526064016109ba565b61012254610123546001600160a01b039091169061271090610f309086612cec565b610f3a9190612d21565b915091509250929050565b6006546001600160a01b03163314610f6f5760405162461bcd60e51b81526004016109ba90612c50565b8160098481548110610f8357610f83612d35565b9060005260206000209060030201600101819055508060098481548110610fac57610fac612d35565b906000526020600020906003020160020181905550505050565b47610fe2610fdc6006546001600160a01b031690565b826121e3565b50565b610caa838383604051806020016040528060008152506116d2565b6006546001600160a01b0316331461102a5760405162461bcd60e51b81526004016109ba90612c50565b8051610ced9061012590602084019061265c565b6006546001600160a01b031633146110685760405162461bcd60e51b81526004016109ba90612c50565b61012355565b6000818152600260205260408120546001600160a01b03168061096a5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016109ba565b60006001600160a01b0382166111505760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016109ba565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b031633146111965760405162461bcd60e51b81526004016109ba90612c50565b610a3d60006122fc565b6006546001600160a01b031633146111ca5760405162461bcd60e51b81526004016109ba90612c50565b61012280546001600160a01b0319166001600160a01b0392909216919091179055565b606060018054610a8190612c1b565b6006546001600160a01b031633146112265760405162461bcd60e51b81526004016109ba90612c50565b61011f54819081611235610cf1565b61123f9190612d4b565b11156112835760405162461bcd60e51b815260206004820152601360248201527213585e081cdd5c1c1b1e48195e18d959591959606a1b60448201526064016109ba565b60005b818110156113305760008484838181106112a2576112a2612d35565b9050602002013590506000811180156112be575061011f548111155b6112da5760405162461bcd60e51b81526004016109ba90612d63565b6112e48682611da0565b6001600b6112f28284612d8d565b610114811061130357611303612d35565b01805460ff191691151591909117905561012080546001019055508061132881612da4565b915050611286565b5050505050565b61011f54611343610cf1565b106113855760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b60448201526064016109ba565b600081118015611398575061011f548111155b6113b45760405162461bcd60e51b81526004016109ba90612d63565b600654600160a01b900460ff166114025760405162461bcd60e51b815260206004820152601260248201527153616c65206973206e6f742061637469766560701b60448201526064016109ba565b3233146114435760405162461bcd60e51b815260206004820152600f60248201526e10dbdb9d1c9858dd0819195b9a5959608a1b60448201526064016109ba565b60096007548154811061145857611458612d35565b9060005260206000209060030201600201548111156114b15760405162461bcd60e51b8152602060048201526015602482015274546f6b656e206973206e6f7420666f722073616c6560581b60448201526064016109ba565b60006114bc82611ab2565b9050803410156115045760405162461bcd60e51b8152602060048201526013602482015272139bdd08195b9bdd59da08195d1a081cd95b9d606a1b60448201526064016109ba565b6000600b611513600185612d8d565b610114811061152457611524612d35565b015461010090046001600160a01b0316146115c95733600b611547600185612d8d565b610114811061155857611558612d35565b015461010090046001600160a01b0316146115c45760405162461bcd60e51b815260206004820152602660248201527f546f6b656e206973206e6f7420726573657276656420666f722074686973206160448201526564647265737360d01b60648201526084016109ba565b61164d565b6008546007546000908152600a602090815260408083203384529091529020541061164d5760405162461bcd60e51b815260206004820152602e60248201527f417474656d7074696e6720746f206d696e7420746f6f206d616e7920746f6b6560448201526d6e7320706572206164647265737360901b60648201526084016109ba565b6116573383611da0565b6007546000908152600a602090815260408083203384529091528120805460019290611684908490612d4b565b9091555060019050600b6116988285612d8d565b61011481106116a9576116a9612d35565b01805460ff1916911515919091179055610120805460010190555050565b610ced33838361234e565b6116dc3383611f50565b6116f85760405162461bcd60e51b81526004016109ba90612c85565b6117048484848461241d565b50505050565b610121805461171890612c1b565b80601f016020809104026020016040519081016040528092919081815260200182805461174490612c1b565b80156117915780601f1061176657610100808354040283529160200191611791565b820191906000526020600020905b81548152906001019060200180831161177457829003601f168201915b505050505081565b6000818152600260205260409020546060906001600160a01b03166118005760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e0060448201526064016109ba565b610127548211611866576000611814612450565b90506000815111611834576040518060200160405280600081525061185f565b8061183e84612460565b60405160200161184f929190612ddb565b6040516020818303038152906040525b9392505050565b6000610126805461187690612c1b565b905011611892576040518060200160405280600081525061096a565b61012661189e83612460565b6040516020016118af929190612e0a565b60405160208183030381529060405292915050565b6006546001600160a01b031633146118ee5760405162461bcd60e51b81526004016109ba90612c50565b60008161ffff161161194e5760405162461bcd60e51b815260206004820152602360248201527f53686f756c6420626520646563726561736564206279206174206c65617374206044820152626f6e6560e81b60648201526084016109ba565b611956610cf1565b8161ffff1661011f546119699190612d8d565b10156119dd5760405162461bcd60e51b815260206004820152603860248201527f416d6f756e742063616e6e6f742062652064656372656173656420617320697460448201527f2068617320616c7265616479206265656e206d696e746564000000000000000060648201526084016109ba565b8061ffff1661011f546119f09190612d8d565b61011f5550565b6006546001600160a01b03163314611a215760405162461bcd60e51b81526004016109ba90612c50565b80600b611a2f600185612d8d565b6101148110611a4057611a40612d35565b0180546001600160a01b039290921661010002610100600160a81b03199092169190911790555050565b6006546001600160a01b03163314611a945760405162461bcd60e51b81526004016109ba90612c50565b60068054911515600160a01b0260ff60a01b19909216919091179055565b60008082118015611ac6575061011f548211155b611ae25760405162461bcd60e51b81526004016109ba90612d63565b600954600090611af490600190612d8d565b90505b80611b2a576009600081548110611b1057611b10612d35565b906000526020600020906003020160010154915050919050565b6009611b37600183612d8d565b81548110611b4757611b47612d35565b90600052602060002090600302016002015483118015611b8b575060098181548110611b7557611b75612d35565b9060005260206000209060030201600201548311155b15611ba35760098181548110611b1057611b10612d35565b80611bad81612eb1565b915050611af7565b50919050565b6006546001600160a01b03163314611be55760405162461bcd60e51b81526004016109ba90612c50565b8051610ced9061012690602084019061265c565b6006546001600160a01b03163314611c235760405162461bcd60e51b81526004016109ba90612c50565b6001600160a01b038116611c885760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109ba565b610fe2816122fc565b6006546001600160a01b03163314611cbb5760405162461bcd60e51b81526004016109ba90612c50565b600755565b6006546001600160a01b03163314611cea5760405162461bcd60e51b81526004016109ba90612c50565b600855565b611cf76126e0565b604080516122808101909152600b6101146000835b82821015610e4957604080518082019091528483015460ff81161515825261010090046001600160a01b031660208083019190915290825260019092019101611d0c565b60006001600160e01b031982166380ac58cd60e01b1480611d8157506001600160e01b03198216635b5e139f60e01b145b8061096a57506301ffc9a760e01b6001600160e01b031983161461096a565b6001600160a01b038216611df65760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016109ba565b6000818152600260205260409020546001600160a01b031615611e5b5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016109ba565b6001600160a01b0382166000908152600360205260408120805460019290611e84908490612d4b565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611f178261106e565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316611fc95760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016109ba565b6000611fd48361106e565b9050806001600160a01b0316846001600160a01b0316148061200f5750836001600160a01b031661200484610b04565b6001600160a01b0316145b8061203f57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661205a8261106e565b6001600160a01b0316146120be5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016109ba565b6001600160a01b0382166121205760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016109ba565b61212b600082611ee2565b6001600160a01b0383166000908152600360205260408120805460019290612154908490612d8d565b90915550506001600160a01b0382166000908152600360205260408120805460019290612182908490612d4b565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b804710156122335760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016109ba565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114612280576040519150601f19603f3d011682016040523d82523d6000602084013e612285565b606091505b5050905080610caa5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016109ba565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031614156123b05760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016109ba565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b612428848484612047565b6124348484848461255e565b6117045760405162461bcd60e51b81526004016109ba90612ec8565b60606101258054610a8190612c1b565b6060816124845750506040805180820190915260018152600360fc1b602082015290565b8160005b81156124ae578061249881612da4565b91506124a79050600a83612d21565b9150612488565b60008167ffffffffffffffff8111156124c9576124c961282d565b6040519080825280601f01601f1916602001820160405280156124f3576020820181803683370190505b5090505b841561203f57612508600183612d8d565b9150612515600a86612f1a565b612520906030612d4b565b60f81b81838151811061253557612535612d35565b60200101906001600160f81b031916908160001a905350612557600a86612d21565b94506124f7565b60006001600160a01b0384163b1561265157604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906125a2903390899088908890600401612f2e565b6020604051808303816000875af19250505080156125dd575060408051601f3d908101601f191682019092526125da91810190612f6b565b60015b612637573d80801561260b576040519150601f19603f3d011682016040523d82523d6000602084013e612610565b606091505b50805161262f5760405162461bcd60e51b81526004016109ba90612ec8565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061203f565b506001949350505050565b82805461266890612c1b565b90600052602060002090601f01602090048101928261268a57600085556126d0565b82601f106126a357805160ff19168380011785556126d0565b828001600101855582156126d0579182015b828111156126d05782518255916020019190600101906126b5565b506126dc92915061271b565b5090565b604051806122800160405280610114905b60408051808201909152600080825260208201528152602001906001900390816126f15790505090565b5b808211156126dc576000815560010161271c565b6001600160e01b031981168114610fe257600080fd5b60006020828403121561275857600080fd5b813561185f81612730565b60006020828403121561277557600080fd5b5035919050565b60005b8381101561279757818101518382015260200161277f565b838111156117045750506000910152565b600081518084526127c081602086016020860161277c565b601f01601f19169290920160200192915050565b60208152600061185f60208301846127a8565b80356001600160a01b03811681146127fe57600080fd5b919050565b6000806040838503121561281657600080fd5b61281f836127e7565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561285e5761285e61282d565b604051601f8501601f19908116603f011681019082821181831017156128865761288661282d565b8160405280935085815286868601111561289f57600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156128cb57600080fd5b813567ffffffffffffffff8111156128e257600080fd5b8201601f810184136128f357600080fd5b61203f84823560208401612843565b6000806040838503121561291557600080fd5b82359150612925602084016127e7565b90509250929050565b602080825282518282018190526000919060409081850190868401855b8281101561297a578151805185528681015187860152850151858501526060909301929085019060010161294b565b5091979650505050505050565b60008060006060848603121561299c57600080fd5b6129a5846127e7565b92506129b3602085016127e7565b9150604084013590509250925092565b600080604083850312156129d657600080fd5b50508035926020909101359150565b6000806000606084860312156129fa57600080fd5b505081359360208301359350604090920135919050565b600060208284031215612a2357600080fd5b61185f826127e7565b600080600060408486031215612a4157600080fd5b612a4a846127e7565b9250602084013567ffffffffffffffff80821115612a6757600080fd5b818601915086601f830112612a7b57600080fd5b813581811115612a8a57600080fd5b8760208260051b8501011115612a9f57600080fd5b6020830194508093505050509250925092565b803580151581146127fe57600080fd5b60008060408385031215612ad557600080fd5b612ade836127e7565b915061292560208401612ab2565b60008060008060808587031215612b0257600080fd5b612b0b856127e7565b9350612b19602086016127e7565b925060408501359150606085013567ffffffffffffffff811115612b3c57600080fd5b8501601f81018713612b4d57600080fd5b612b5c87823560208401612843565b91505092959194509250565b600060208284031215612b7a57600080fd5b813561ffff8116811461185f57600080fd5b600060208284031215612b9e57600080fd5b61185f82612ab2565b60008060408385031215612bba57600080fd5b612bc3836127e7565b9150612925602084016127e7565b6145008101818360005b610114811015612c125781518051151584526020908101516001600160a01b03168185015260409093019290910190600101612bdb565b50505092915050565b600181811c90821680612c2f57607f821691505b60208210811415611bb557634e487b7160e01b600052602260045260246000fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615612d0657612d06612cd6565b500290565b634e487b7160e01b600052601260045260246000fd5b600082612d3057612d30612d0b565b500490565b634e487b7160e01b600052603260045260246000fd5b60008219821115612d5e57612d5e612cd6565b500190565b60208082526010908201526f125b9d985b1a59081d1bdad95b881a5960821b604082015260600190565b600082821015612d9f57612d9f612cd6565b500390565b6000600019821415612db857612db8612cd6565b5060010190565b60008151612dd181856020860161277c565b9290920192915050565b60008351612ded81846020880161277c565b835190830190612e0181836020880161277c565b01949350505050565b600080845481600182811c915080831680612e2657607f831692505b6020808410821415612e4657634e487b7160e01b86526022600452602486fd5b818015612e5a5760018114612e6b57612e98565b60ff19861689528489019650612e98565b60008b81526020902060005b86811015612e905781548b820152908501908301612e77565b505084890196505b505050505050612ea88185612dbf565b95945050505050565b600081612ec057612ec0612cd6565b506000190190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b600082612f2957612f29612d0b565b500690565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612f61908301846127a8565b9695505050505050565b600060208284031215612f7d57600080fd5b815161185f8161273056fea2646970667358221220fad9778bac8dfad99c1b64d5a84b9567f4427c2b6637f334f076c228c9ea5ab764736f6c634300080c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000003568747470733a2f2f74647262696e676f2e73332e65752d776573742d322e616d617a6f6e6177732e636f6d2f6d657461646174612f0000000000000000000000
-----Decoded View---------------
Arg [0] : _notRevealedURI (string): https://tdrbingo.s3.eu-west-2.amazonaws.com/metadata/
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000035
Arg [2] : 68747470733a2f2f74647262696e676f2e73332e65752d776573742d322e616d
Arg [3] : 617a6f6e6177732e636f6d2f6d657461646174612f0000000000000000000000
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.