Feature Tip: Add private address tag to any address under My Name Tag !
NFT
Overview
TokenID
696
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Coodles
Compiler Version
v0.8.10+commit.fc410830
Optimization Enabled:
Yes with 1000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9 <0.9.0; import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.4.0/contracts/token/ERC721/ERC721.sol"; import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.4.0/contracts/token/ERC1155/IERC1155.sol"; import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.4.0/contracts/access/Ownable.sol"; import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.4.0/contracts/utils/math/SafeMath.sol"; import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.4.0/contracts/utils/Counters.sol"; /** * @title Coodles contract * @dev Extends ERC721 Non-Fungible Token Standard basic implementation. * Optimized to no longer use ERC721Enumarable , but still provide a totalSupply() implementation. * @author @FrankPoncelet * */ contract Coodles is Ownable, ERC721 { using SafeMath for uint256; using Counters for Counters.Counter; Counters.Counter private _tokenSupply; uint256 public tokenPrice = 0.045 ether; uint256 public budgetFrank = 31.9968 ether; uint256 public budgetSpencer = 9.59904 ether; uint256 public budgetSimStone = 1.5 ether; uint256 public constant MAX_TOKENS=8888; uint public constant MAX_PURCHASE = 26; // set 1 to high to avoid some gas uint public constant MAX_RESERVE = 26; // set 1 to high to avoid some gas bool public saleIsActive; bool public preSaleIsActive; bool public notIncreased=true; // Base URI for Meta data string private _baseTokenURI; address public coolCats = 0x1A92f7381B9F03921564a437210bB9396471050C; address public doodles = 0x8a90CAb2b38dba80c64b7734e58Ee1dB38B8992e; address public mintpass = 0xD6cF1cdceE148E59e8c9d5E19CFEe3881892959e; address public proxyRegistryAddress = 0xa5409ec958C83C3f309868babACA7c86DCB077c1; address private constant FRANK = 0xF40Fd88ac59A206D009A07F8c09828a01e2ACC0d; address private constant SPENCER = 0x9840aECDcE9A75711942922357EB70eC44DF015F; address private constant SIMSTONE = 0x4d33c6485c8cd80E04b46eb5372DeA1D24D88B44; address private constant VAULT = 0xE6232CE1d78500DC9377daaE7DD87A609d2E8259; event priceChange(address _by, uint256 price); event PaymentReleased(address to, uint256 amount); constructor() ERC721("Coodles", "CDL") { _baseTokenURI = "ipfs://QmZpWD9oGzPQRTknJ3XMCpfobEByyq9zufrYSJMZkZtLF5/"; _tokenSupply.increment(); _safeMint( FRANK, 0); } /** * Change the OS proxy if ever needed. */ function setProxyRegistryAddress(address _proxyRegistryAddress) external onlyOwner { proxyRegistryAddress = _proxyRegistryAddress; } /** * Used to mint Tokens to the teamMembers */ function reserveTokens(address to,uint numberOfTokens) public onlyOwner { uint supply = _tokenSupply.current(); require(supply.add(numberOfTokens) <= MAX_TOKENS, "Reserve would exceed max supply of Tokens"); require(numberOfTokens < MAX_RESERVE, "Can only mint 25 tokens at a time"); for (uint i = 0; i < numberOfTokens; i++) { _safeMint(to, supply + i); _tokenSupply.increment(); } } function reserveTokens() external onlyOwner { reserveTokens(owner(),MAX_RESERVE); } /** * @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 override returns (string memory) { return _baseTokenURI; } /** * @dev Set the base token URI */ function setBaseTokenURI(string memory baseURI) public onlyOwner { _baseTokenURI = baseURI; } /** * Pause sale if active, make active if paused */ function flipSaleState() public onlyOwner { saleIsActive = !saleIsActive; } /** * Pause sale if active, make active if paused */ function flipPreSaleState() public onlyOwner { preSaleIsActive = !preSaleIsActive; } /** * Set mintPass contract address */ function setDoodlePass(address newAddress) external onlyOwner { doodles = newAddress; } /** * Set mintPass contract address */ function setMintPass(address newAddress) external onlyOwner { mintpass = newAddress; } /** * Set mintPass contract address */ function setCoolCatPass(address newAddress) external onlyOwner { coolCats = newAddress; } /** * Set price */ function setPrice(uint256 price) public onlyOwner { tokenPrice = price; emit priceChange(msg.sender, tokenPrice); } function mint(uint256 numberOfTokens) external payable { require(saleIsActive, "Sale must be active to mint Tokens"); iternalMint(numberOfTokens); } function preSalemint(uint256 numberOfTokens) external payable { require(preSaleIsActive, "Sale must be active to mint Tokens"); require(hasMintPass(msg.sender), "Must have a mintpass"); iternalMint(numberOfTokens); } function hasMintPass(address sender) public view returns (bool){ if(sender==address(0)){ return false; } else if (IERC1155(mintpass).balanceOf(sender,1)>0){ return true; } else if (IERC721(coolCats).balanceOf(sender)>0){ return true; } else if (IERC721(doodles).balanceOf(sender)>0){ return true; } return false; } function iternalMint(uint256 numberOfTokens) private{ require(numberOfTokens > 0, "numberOfNfts cannot be 0"); require(numberOfTokens < MAX_PURCHASE, "Can only mint 25 tokens at a time"); uint256 supply = _tokenSupply.current(); require(supply.add(numberOfTokens) <= MAX_TOKENS, "Purchase would exceed max supply of Tokens"); require(tokenPrice.mul(numberOfTokens) <= msg.value, "Ether value sent is not correct"); for(uint256 i; i < numberOfTokens; i++){ _safeMint( msg.sender, supply + i ); _tokenSupply.increment(); } } function withdraw() public onlyOwner { uint256 balance = address(this).balance; require(balance > 0, "Insufficent balance"); uint256 witdrawAmount = calculateWithdraw(budgetFrank,(balance * 20) / 100); if (witdrawAmount>0){ budgetFrank -= witdrawAmount; _withdraw(FRANK, witdrawAmount); } witdrawAmount = calculateWithdraw(budgetSpencer,(balance * 6) / 100); if (witdrawAmount>0){ budgetSpencer -= witdrawAmount; _withdraw(SPENCER, witdrawAmount); } if (totalSupply()>3555 && notIncreased){ notIncreased=false; budgetSimStone += 2 ether; } witdrawAmount = calculateWithdraw(budgetSimStone,(balance * 70) / 100); if (witdrawAmount>0){ budgetSimStone -= witdrawAmount; _withdraw(SIMSTONE, witdrawAmount); } witdrawAmount = (balance * 3) / 100; _withdraw(owner(), witdrawAmount); _withdraw(VAULT, address(this).balance); emit PaymentReleased(owner(), balance); } function calculateWithdraw(uint256 budget, uint256 proposal) private pure returns (uint256){ if (proposal>budget){ return budget; } else{ return proposal; } } function _withdraw(address _address, uint256 _amount) private { (bool success, ) = _address.call{ value: _amount }(""); require(success, "Failed to widthdraw Ether"); } /** * @dev Gets the total amount of tokens stored by the contract. * @return uint256 representing the total amount of tokens */ function totalSupply() public view returns (uint256) { return _tokenSupply.current(); } /** * override isApprovedForAll to allow the OS Proxie to list without fees. */ function isApprovedForAll(address _owner, address operator) public view override returns (bool) { if (operator == proxyRegistryAddress) { return true; } return super.isApprovedForAll(_owner, operator); } // contract can recieve Ether fallback() external payable { } receive() external payable { } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (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 v4.4.0 (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC1155/IERC1155.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155 is IERC165 { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch( address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values ); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes calldata data ) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.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); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev 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 {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (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.0 (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.0 (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.0 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (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.0 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `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.0 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, 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.0 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": true, "runs": 1000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"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":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_by","type":"address"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"}],"name":"priceChange","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"MAX_PURCHASE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_RESERVE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TOKENS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"budgetFrank","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"budgetSimStone","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"budgetSpencer","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"coolCats","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"doodles","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipPreSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"hasMintPass","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintpass","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notIncreased","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"preSaleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"preSalemint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"proxyRegistryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserveTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"reserveTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"setCoolCatPass","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"setDoodlePass","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"setMintPass","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_proxyRegistryAddress","type":"address"}],"name":"setProxyRegistryAddress","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":"tokenPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6080604052669fdf42f6e480006008556801bc0b7812dd380000600955678536a405a8c40000600a556714d1120d7b160000600b55600c805462ff0000191662010000179055600e80546001600160a01b0319908116731a92f7381b9f03921564a437210bb9396471050c17909155600f80548216738a90cab2b38dba80c64b7734e58ee1db38b8992e17905560108054821673d6cf1cdcee148e59e8c9d5e19cfee3881892959e1790556011805490911673a5409ec958c83c3f309868babaca7c86dcb077c1179055348015620000d657600080fd5b5060405180604001604052806007815260200166436f6f646c657360c81b8152506040518060400160405280600381526020016210d11360ea1b8152506200012d62000127620001ca60201b60201c565b620001ce565b81516200014290600190602085019062000570565b5080516200015890600290602084019062000570565b505050604051806060016040528060368152602001620033146036913980516200018b91600d9160209091019062000570565b50620001a360076200021e60201b62001a471760201c565b620001c473f40fd88ac59a206d009a07f8c09828a01e2acc0d600062000227565b62000728565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80546001019055565b620002498282604051806020016040528060008152506200024d60201b60201c565b5050565b620002598383620002c9565b62000268600084848462000411565b620002c45760405162461bcd60e51b81526020600482015260326024820152600080516020620032f483398151915260448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084015b60405180910390fd5b505050565b6001600160a01b038216620003215760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401620002bb565b6000818152600360205260409020546001600160a01b031615620003885760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401620002bb565b6001600160a01b0382166000908152600460205260408120805460019290620003b390849062000616565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600062000432846001600160a01b03166200056a60201b62001a501760201c565b156200055e57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906200046c9033908990889088906004016200063d565b6020604051808303816000875af1925050508015620004aa575060408051601f3d908101601f19168201909252620004a791810190620006b8565b60015b62000543573d808015620004db576040519150601f19603f3d011682016040523d82523d6000602084013e620004e0565b606091505b5080516200053b5760405162461bcd60e51b81526020600482015260326024820152600080516020620032f483398151915260448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401620002bb565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905062000562565b5060015b949350505050565b3b151590565b8280546200057e90620006eb565b90600052602060002090601f016020900481019282620005a25760008555620005ed565b82601f10620005bd57805160ff1916838001178555620005ed565b82800160010185558215620005ed579182015b82811115620005ed578251825591602001919060010190620005d0565b50620005fb929150620005ff565b5090565b5b80821115620005fb576000815560010162000600565b600082198211156200063857634e487b7160e01b600052601160045260246000fd5b500190565b600060018060a01b038087168352602081871681850152856040850152608060608501528451915081608085015260005b828110156200068c5785810182015185820160a0015281016200066e565b828111156200069f57600060a084870101525b5050601f01601f19169190910160a00195945050505050565b600060208284031215620006cb57600080fd5b81516001600160e01b031981168114620006e457600080fd5b9392505050565b600181811c908216806200070057607f821691505b602082108114156200072257634e487b7160e01b600052602260045260246000fd5b50919050565b612bbc80620007386000396000f3fe6080604052600436106102c65760003560e01c80637ff9b59611610177578063b8e5dd88116100d5578063eb8d244411610084578063f2fde38b11610061578063f2fde38b14610789578063f47c84c5146107a9578063f936eed8146107bf57005b8063eb8d24441461075a578063eff31e9e14610528578063f03255491461077457005b8063cd7c0326116100b2578063cd7c0326146106fa578063d26ea6c01461071a578063e985e9c51461073a57005b8063b8e5dd88146106ae578063bbcb8096146106c4578063c87b56dd146106da57005b806395d89b4111610131578063a22cb4651161010e578063a22cb4651461064e578063b2a9cfa61461066e578063b88d4fde1461068e57005b806395d89b41146106065780639f7496e81461061b578063a0712d681461063b57005b80638da5cb5b1161015f5780638da5cb5b146105a857806390515e24146105c657806391b7f5ed146105e657005b80637ff9b596146105725780638c43247b1461058857005b80633ccfd60b1161022457806360ef15c1116101de5780637146bd08116101bb5780637146bd0814610528578063715018a61461053d57806378cf19e91461055257005b806360ef15c1146104c85780636352211e146104e857806370a082311461050857005b806342842e0e1161020c57806342842e0e146104725780634b2647d2146104925780635ae7632e146104b257005b80633ccfd60b1461044a5780633e3438651461045f57005b80631f0234d81161028057806327ac36c41161025d57806327ac36c41461040057806330176e131461041557806334918dfd1461043557005b80631f0234d8146103a157806323b872dd146103c05780632448b27e146103e057005b8063081812fc116102ae578063081812fc14610326578063095ea7b31461035e57806318160ddd1461037e57005b806301ffc9a7146102cf57806306fdde031461030457005b366102cd57005b005b3480156102db57600080fd5b506102ef6102ea3660046126b9565b6107df565b60405190151581526020015b60405180910390f35b34801561031057600080fd5b5061031961087c565b6040516102fb919061272e565b34801561033257600080fd5b50610346610341366004612741565b61090e565b6040516001600160a01b0390911681526020016102fb565b34801561036a57600080fd5b506102cd610379366004612776565b6109a8565b34801561038a57600080fd5b50610393610ada565b6040519081526020016102fb565b3480156103ad57600080fd5b50600c546102ef90610100900460ff1681565b3480156103cc57600080fd5b506102cd6103db3660046127a0565b610aea565b3480156103ec57600080fd5b50600c546102ef9062010000900460ff1681565b34801561040c57600080fd5b506102cd610b71565b34801561042157600080fd5b506102cd610430366004612868565b610bd7565b34801561044157600080fd5b506102cd610c36565b34801561045657600080fd5b506102cd610c92565b6102cd61046d366004612741565b610f2e565b34801561047e57600080fd5b506102cd61048d3660046127a0565b610ff1565b34801561049e57600080fd5b506102ef6104ad3660046128b1565b61100c565b3480156104be57600080fd5b5061039360095481565b3480156104d457600080fd5b506102cd6104e33660046128b1565b6111c1565b3480156104f457600080fd5b50610346610503366004612741565b61122b565b34801561051457600080fd5b506103936105233660046128b1565b6112b6565b34801561053457600080fd5b50610393601a81565b34801561054957600080fd5b506102cd611350565b34801561055e57600080fd5b506102cd61056d366004612776565b6113a2565b34801561057e57600080fd5b5061039360085481565b34801561059457600080fd5b50601054610346906001600160a01b031681565b3480156105b457600080fd5b506000546001600160a01b0316610346565b3480156105d257600080fd5b50600f54610346906001600160a01b031681565b3480156105f257600080fd5b506102cd610601366004612741565b611516565b34801561061257600080fd5b5061031961159f565b34801561062757600080fd5b50600e54610346906001600160a01b031681565b6102cd610649366004612741565b6115ae565b34801561065a57600080fd5b506102cd6106693660046128cc565b61160b565b34801561067a57600080fd5b506102cd6106893660046128b1565b611616565b34801561069a57600080fd5b506102cd6106a9366004612908565b611680565b3480156106ba57600080fd5b50610393600b5481565b3480156106d057600080fd5b50610393600a5481565b3480156106e657600080fd5b506103196106f5366004612741565b611708565b34801561070657600080fd5b50601154610346906001600160a01b031681565b34801561072657600080fd5b506102cd6107353660046128b1565b6117f1565b34801561074657600080fd5b506102ef610755366004612984565b61185b565b34801561076657600080fd5b50600c546102ef9060ff1681565b34801561078057600080fd5b506102cd6118ab565b34801561079557600080fd5b506102cd6107a43660046128b1565b611910565b3480156107b557600080fd5b506103936122b881565b3480156107cb57600080fd5b506102cd6107da3660046128b1565b6119dd565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061084257506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061087657507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b60606001805461088b906129b7565b80601f01602080910402602001604051908101604052809291908181526020018280546108b7906129b7565b80156109045780601f106108d957610100808354040283529160200191610904565b820191906000526020600020905b8154815290600101906020018083116108e757829003601f168201915b5050505050905090565b6000818152600360205260408120546001600160a01b031661098c5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b60006109b38261122b565b9050806001600160a01b0316836001600160a01b03161415610a3d5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610983565b336001600160a01b0382161480610a595750610a59813361185b565b610acb5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610983565b610ad58383611a56565b505050565b6000610ae560075490565b905090565b610af43382611ac4565b610b665760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610983565b610ad5838383611b9b565b6000546001600160a01b03163314610bb95760405162461bcd60e51b81526020600482018190526024820152600080516020612b678339815191526044820152606401610983565b610bd5610bce6000546001600160a01b031690565b601a6113a2565b565b6000546001600160a01b03163314610c1f5760405162461bcd60e51b81526020600482018190526024820152600080516020612b678339815191526044820152606401610983565b8051610c3290600d90602084019061260a565b5050565b6000546001600160a01b03163314610c7e5760405162461bcd60e51b81526020600482018190526024820152600080516020612b678339815191526044820152606401610983565b600c805460ff19811660ff90911615179055565b6000546001600160a01b03163314610cda5760405162461bcd60e51b81526020600482018190526024820152600080516020612b678339815191526044820152606401610983565b4780610d285760405162461bcd60e51b815260206004820152601360248201527f496e737566666963656e742062616c616e6365000000000000000000000000006044820152606401610983565b6000610d4e6009546064846014610d3f9190612a08565b610d499190612a3d565b611d68565b90508015610d8c578060096000828254610d689190612a51565b90915550610d8c905073f40fd88ac59a206d009a07f8c09828a01e2acc0d82611d80565b600a54610da0906064610d3f856006612a08565b90508015610dde5780600a6000828254610dba9190612a51565b90915550610dde9050739840aecdce9a75711942922357eb70ec44df015f82611d80565b610de3610de9610ada565b118015610dfe5750600c5462010000900460ff165b15610e3257600c805462ff000019169055600b8054671bc16d674ec800009190600090610e2c908490612a68565b90915550505b600b54610e46906064610d3f856046612a08565b90508015610e845780600b6000828254610e609190612a51565b90915550610e849050734d33c6485c8cd80e04b46eb5372dea1d24d88b4482611d80565b6064610e91836003612a08565b610e9b9190612a3d565b9050610eb8610eb26000546001600160a01b031690565b82611d80565b610ed673e6232ce1d78500dc9377daae7dd87a609d2e825947611d80565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056610f096000546001600160a01b031690565b604080516001600160a01b039092168252602082018590520160405180910390a15050565b600c54610100900460ff16610f905760405162461bcd60e51b815260206004820152602260248201527f53616c65206d7573742062652061637469766520746f206d696e7420546f6b656044820152616e7360f01b6064820152608401610983565b610f993361100c565b610fe55760405162461bcd60e51b815260206004820152601460248201527f4d75737420686176652061206d696e74706173730000000000000000000000006044820152606401610983565b610fee81611e23565b50565b610ad583838360405180602001604052806000815250611680565b60006001600160a01b03821661102457506000919050565b6010546040517efdd58e0000000000000000000000000000000000000000000000000000000081526001600160a01b03848116600483015260016024830152600092169062fdd58e90604401602060405180830381865afa15801561108d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110b19190612a80565b11156110bf57506001919050565b600e546040516370a0823160e01b81526001600160a01b03848116600483015260009216906370a0823190602401602060405180830381865afa15801561110a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061112e9190612a80565b111561113c57506001919050565b600f546040516370a0823160e01b81526001600160a01b03848116600483015260009216906370a0823190602401602060405180830381865afa158015611187573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111ab9190612a80565b11156111b957506001919050565b506000919050565b6000546001600160a01b031633146112095760405162461bcd60e51b81526020600482018190526024820152600080516020612b678339815191526044820152606401610983565b600f80546001600160a01b0319166001600160a01b0392909216919091179055565b6000818152600360205260408120546001600160a01b0316806108765760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610983565b60006001600160a01b0382166113345760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610983565b506001600160a01b031660009081526004602052604090205490565b6000546001600160a01b031633146113985760405162461bcd60e51b81526020600482018190526024820152600080516020612b678339815191526044820152606401610983565b610bd56000611ff1565b6000546001600160a01b031633146113ea5760405162461bcd60e51b81526020600482018190526024820152600080516020612b678339815191526044820152606401610983565b60006113f560075490565b90506122b86114048284612041565b11156114785760405162461bcd60e51b815260206004820152602960248201527f5265736572766520776f756c6420657863656564206d617820737570706c792060448201527f6f6620546f6b656e7300000000000000000000000000000000000000000000006064820152608401610983565b601a82106114d25760405162461bcd60e51b815260206004820152602160248201527f43616e206f6e6c79206d696e7420323520746f6b656e7320617420612074696d6044820152606560f81b6064820152608401610983565b60005b82811015611510576114f0846114eb8385612a68565b61204d565b6114fe600780546001019055565b8061150881612a99565b9150506114d5565b50505050565b6000546001600160a01b0316331461155e5760405162461bcd60e51b81526020600482018190526024820152600080516020612b678339815191526044820152606401610983565b600881905560408051338152602081018390527f2a270679203ad5c6be2af882c755f81ff060752614a378c1804df57dd7d2add0910160405180910390a150565b60606002805461088b906129b7565b600c5460ff16610fe55760405162461bcd60e51b815260206004820152602260248201527f53616c65206d7573742062652061637469766520746f206d696e7420546f6b656044820152616e7360f01b6064820152608401610983565b610c32338383612067565b6000546001600160a01b0316331461165e5760405162461bcd60e51b81526020600482018190526024820152600080516020612b678339815191526044820152606401610983565b601080546001600160a01b0319166001600160a01b0392909216919091179055565b61168a3383611ac4565b6116fc5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610983565b61151084848484612136565b6000818152600360205260409020546060906001600160a01b03166117955760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610983565b600061179f6121b4565b905060008151116117bf57604051806020016040528060008152506117ea565b806117c9846121c3565b6040516020016117da929190612ab4565b6040516020818303038152906040525b9392505050565b6000546001600160a01b031633146118395760405162461bcd60e51b81526020600482018190526024820152600080516020612b678339815191526044820152606401610983565b601180546001600160a01b0319166001600160a01b0392909216919091179055565b6011546000906001600160a01b038381169116141561187c57506001610876565b506001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b6000546001600160a01b031633146118f35760405162461bcd60e51b81526020600482018190526024820152600080516020612b678339815191526044820152606401610983565b600c805461ff001981166101009182900460ff1615909102179055565b6000546001600160a01b031633146119585760405162461bcd60e51b81526020600482018190526024820152600080516020612b678339815191526044820152606401610983565b6001600160a01b0381166119d45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610983565b610fee81611ff1565b6000546001600160a01b03163314611a255760405162461bcd60e51b81526020600482018190526024820152600080516020612b678339815191526044820152606401610983565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b80546001019055565b3b151590565b600081815260056020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611a8b8261122b565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600360205260408120546001600160a01b0316611b3d5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610983565b6000611b488361122b565b9050806001600160a01b0316846001600160a01b03161480611b835750836001600160a01b0316611b788461090e565b6001600160a01b0316145b80611b935750611b93818561185b565b949350505050565b826001600160a01b0316611bae8261122b565b6001600160a01b031614611c2a5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610983565b6001600160a01b038216611ca55760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610983565b611cb0600082611a56565b6001600160a01b0383166000908152600460205260408120805460019290611cd9908490612a51565b90915550506001600160a01b0382166000908152600460205260408120805460019290611d07908490612a68565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600082821115611d79575081610876565b5080610876565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611dcd576040519150601f19603f3d011682016040523d82523d6000602084013e611dd2565b606091505b5050905080610ad55760405162461bcd60e51b815260206004820152601960248201527f4661696c656420746f20776964746864726177204574686572000000000000006044820152606401610983565b60008111611e735760405162461bcd60e51b815260206004820152601860248201527f6e756d6265724f664e6674732063616e6e6f74206265203000000000000000006044820152606401610983565b601a8110611ecd5760405162461bcd60e51b815260206004820152602160248201527f43616e206f6e6c79206d696e7420323520746f6b656e7320617420612074696d6044820152606560f81b6064820152608401610983565b6000611ed860075490565b90506122b8611ee78284612041565b1115611f5b5760405162461bcd60e51b815260206004820152602a60248201527f507572636861736520776f756c6420657863656564206d617820737570706c7960448201527f206f6620546f6b656e73000000000000000000000000000000000000000000006064820152608401610983565b6008543490611f6a90846122f5565b1115611fb85760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f7272656374006044820152606401610983565b60005b82811015610ad557611fd1336114eb8385612a68565b611fdf600780546001019055565b80611fe981612a99565b915050611fbb565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006117ea8284612a68565b610c32828260405180602001604052806000815250612301565b816001600160a01b0316836001600160a01b031614156120c95760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610983565b6001600160a01b03838116600081815260066020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b612141848484611b9b565b61214d8484848461237f565b6115105760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610983565b6060600d805461088b906129b7565b60608161220357505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b811561222d578061221781612a99565b91506122269050600a83612a3d565b9150612207565b60008167ffffffffffffffff811115612248576122486127dc565b6040519080825280601f01601f191660200182016040528015612272576020820181803683370190505b5090505b8415611b9357612287600183612a51565b9150612294600a86612ae3565b61229f906030612a68565b60f81b8183815181106122b4576122b4612af7565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506122ee600a86612a3d565b9450612276565b60006117ea8284612a08565b61230b83836124c8565b612318600084848461237f565b610ad55760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610983565b60006001600160a01b0384163b156124bd57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906123c3903390899088908890600401612b0d565b6020604051808303816000875af19250505080156123fe575060408051601f3d908101601f191682019092526123fb91810190612b49565b60015b6124a3573d80801561242c576040519150601f19603f3d011682016040523d82523d6000602084013e612431565b606091505b50805161249b5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610983565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611b93565b506001949350505050565b6001600160a01b03821661251e5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610983565b6000818152600360205260409020546001600160a01b0316156125835760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610983565b6001600160a01b03821660009081526004602052604081208054600192906125ac908490612a68565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054612616906129b7565b90600052602060002090601f016020900481019282612638576000855561267e565b82601f1061265157805160ff191683800117855561267e565b8280016001018555821561267e579182015b8281111561267e578251825591602001919060010190612663565b5061268a92915061268e565b5090565b5b8082111561268a576000815560010161268f565b6001600160e01b031981168114610fee57600080fd5b6000602082840312156126cb57600080fd5b81356117ea816126a3565b60005b838110156126f15781810151838201526020016126d9565b838111156115105750506000910152565b6000815180845261271a8160208601602086016126d6565b601f01601f19169290920160200192915050565b6020815260006117ea6020830184612702565b60006020828403121561275357600080fd5b5035919050565b80356001600160a01b038116811461277157600080fd5b919050565b6000806040838503121561278957600080fd5b6127928361275a565b946020939093013593505050565b6000806000606084860312156127b557600080fd5b6127be8461275a565b92506127cc6020850161275a565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561280d5761280d6127dc565b604051601f8501601f19908116603f01168101908282118183101715612835576128356127dc565b8160405280935085815286868601111561284e57600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561287a57600080fd5b813567ffffffffffffffff81111561289157600080fd5b8201601f810184136128a257600080fd5b611b93848235602084016127f2565b6000602082840312156128c357600080fd5b6117ea8261275a565b600080604083850312156128df57600080fd5b6128e88361275a565b9150602083013580151581146128fd57600080fd5b809150509250929050565b6000806000806080858703121561291e57600080fd5b6129278561275a565b93506129356020860161275a565b925060408501359150606085013567ffffffffffffffff81111561295857600080fd5b8501601f8101871361296957600080fd5b612978878235602084016127f2565b91505092959194509250565b6000806040838503121561299757600080fd5b6129a08361275a565b91506129ae6020840161275a565b90509250929050565b600181811c908216806129cb57607f821691505b602082108114156129ec57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615612a2257612a226129f2565b500290565b634e487b7160e01b600052601260045260246000fd5b600082612a4c57612a4c612a27565b500490565b600082821015612a6357612a636129f2565b500390565b60008219821115612a7b57612a7b6129f2565b500190565b600060208284031215612a9257600080fd5b5051919050565b6000600019821415612aad57612aad6129f2565b5060010190565b60008351612ac68184602088016126d6565b835190830190612ada8183602088016126d6565b01949350505050565b600082612af257612af2612a27565b500690565b634e487b7160e01b600052603260045260246000fd5b60006001600160a01b03808716835280861660208401525083604083015260806060830152612b3f6080830184612702565b9695505050505050565b600060208284031215612b5b57600080fd5b81516117ea816126a356fe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220f68f84926ab1017a0757e5a2a0fbefe110c3f2a7f88d50b5b7c9e5a18870396364736f6c634300080a00334552433732313a207472616e7366657220746f206e6f6e204552433732315265697066733a2f2f516d5a705744396f477a505152546b6e4a33584d4370666f624542797971397a75667259534a4d5a6b5a744c46352f
Deployed Bytecode
0x6080604052600436106102c65760003560e01c80637ff9b59611610177578063b8e5dd88116100d5578063eb8d244411610084578063f2fde38b11610061578063f2fde38b14610789578063f47c84c5146107a9578063f936eed8146107bf57005b8063eb8d24441461075a578063eff31e9e14610528578063f03255491461077457005b8063cd7c0326116100b2578063cd7c0326146106fa578063d26ea6c01461071a578063e985e9c51461073a57005b8063b8e5dd88146106ae578063bbcb8096146106c4578063c87b56dd146106da57005b806395d89b4111610131578063a22cb4651161010e578063a22cb4651461064e578063b2a9cfa61461066e578063b88d4fde1461068e57005b806395d89b41146106065780639f7496e81461061b578063a0712d681461063b57005b80638da5cb5b1161015f5780638da5cb5b146105a857806390515e24146105c657806391b7f5ed146105e657005b80637ff9b596146105725780638c43247b1461058857005b80633ccfd60b1161022457806360ef15c1116101de5780637146bd08116101bb5780637146bd0814610528578063715018a61461053d57806378cf19e91461055257005b806360ef15c1146104c85780636352211e146104e857806370a082311461050857005b806342842e0e1161020c57806342842e0e146104725780634b2647d2146104925780635ae7632e146104b257005b80633ccfd60b1461044a5780633e3438651461045f57005b80631f0234d81161028057806327ac36c41161025d57806327ac36c41461040057806330176e131461041557806334918dfd1461043557005b80631f0234d8146103a157806323b872dd146103c05780632448b27e146103e057005b8063081812fc116102ae578063081812fc14610326578063095ea7b31461035e57806318160ddd1461037e57005b806301ffc9a7146102cf57806306fdde031461030457005b366102cd57005b005b3480156102db57600080fd5b506102ef6102ea3660046126b9565b6107df565b60405190151581526020015b60405180910390f35b34801561031057600080fd5b5061031961087c565b6040516102fb919061272e565b34801561033257600080fd5b50610346610341366004612741565b61090e565b6040516001600160a01b0390911681526020016102fb565b34801561036a57600080fd5b506102cd610379366004612776565b6109a8565b34801561038a57600080fd5b50610393610ada565b6040519081526020016102fb565b3480156103ad57600080fd5b50600c546102ef90610100900460ff1681565b3480156103cc57600080fd5b506102cd6103db3660046127a0565b610aea565b3480156103ec57600080fd5b50600c546102ef9062010000900460ff1681565b34801561040c57600080fd5b506102cd610b71565b34801561042157600080fd5b506102cd610430366004612868565b610bd7565b34801561044157600080fd5b506102cd610c36565b34801561045657600080fd5b506102cd610c92565b6102cd61046d366004612741565b610f2e565b34801561047e57600080fd5b506102cd61048d3660046127a0565b610ff1565b34801561049e57600080fd5b506102ef6104ad3660046128b1565b61100c565b3480156104be57600080fd5b5061039360095481565b3480156104d457600080fd5b506102cd6104e33660046128b1565b6111c1565b3480156104f457600080fd5b50610346610503366004612741565b61122b565b34801561051457600080fd5b506103936105233660046128b1565b6112b6565b34801561053457600080fd5b50610393601a81565b34801561054957600080fd5b506102cd611350565b34801561055e57600080fd5b506102cd61056d366004612776565b6113a2565b34801561057e57600080fd5b5061039360085481565b34801561059457600080fd5b50601054610346906001600160a01b031681565b3480156105b457600080fd5b506000546001600160a01b0316610346565b3480156105d257600080fd5b50600f54610346906001600160a01b031681565b3480156105f257600080fd5b506102cd610601366004612741565b611516565b34801561061257600080fd5b5061031961159f565b34801561062757600080fd5b50600e54610346906001600160a01b031681565b6102cd610649366004612741565b6115ae565b34801561065a57600080fd5b506102cd6106693660046128cc565b61160b565b34801561067a57600080fd5b506102cd6106893660046128b1565b611616565b34801561069a57600080fd5b506102cd6106a9366004612908565b611680565b3480156106ba57600080fd5b50610393600b5481565b3480156106d057600080fd5b50610393600a5481565b3480156106e657600080fd5b506103196106f5366004612741565b611708565b34801561070657600080fd5b50601154610346906001600160a01b031681565b34801561072657600080fd5b506102cd6107353660046128b1565b6117f1565b34801561074657600080fd5b506102ef610755366004612984565b61185b565b34801561076657600080fd5b50600c546102ef9060ff1681565b34801561078057600080fd5b506102cd6118ab565b34801561079557600080fd5b506102cd6107a43660046128b1565b611910565b3480156107b557600080fd5b506103936122b881565b3480156107cb57600080fd5b506102cd6107da3660046128b1565b6119dd565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061084257506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061087657507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b60606001805461088b906129b7565b80601f01602080910402602001604051908101604052809291908181526020018280546108b7906129b7565b80156109045780601f106108d957610100808354040283529160200191610904565b820191906000526020600020905b8154815290600101906020018083116108e757829003601f168201915b5050505050905090565b6000818152600360205260408120546001600160a01b031661098c5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b60006109b38261122b565b9050806001600160a01b0316836001600160a01b03161415610a3d5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610983565b336001600160a01b0382161480610a595750610a59813361185b565b610acb5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610983565b610ad58383611a56565b505050565b6000610ae560075490565b905090565b610af43382611ac4565b610b665760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610983565b610ad5838383611b9b565b6000546001600160a01b03163314610bb95760405162461bcd60e51b81526020600482018190526024820152600080516020612b678339815191526044820152606401610983565b610bd5610bce6000546001600160a01b031690565b601a6113a2565b565b6000546001600160a01b03163314610c1f5760405162461bcd60e51b81526020600482018190526024820152600080516020612b678339815191526044820152606401610983565b8051610c3290600d90602084019061260a565b5050565b6000546001600160a01b03163314610c7e5760405162461bcd60e51b81526020600482018190526024820152600080516020612b678339815191526044820152606401610983565b600c805460ff19811660ff90911615179055565b6000546001600160a01b03163314610cda5760405162461bcd60e51b81526020600482018190526024820152600080516020612b678339815191526044820152606401610983565b4780610d285760405162461bcd60e51b815260206004820152601360248201527f496e737566666963656e742062616c616e6365000000000000000000000000006044820152606401610983565b6000610d4e6009546064846014610d3f9190612a08565b610d499190612a3d565b611d68565b90508015610d8c578060096000828254610d689190612a51565b90915550610d8c905073f40fd88ac59a206d009a07f8c09828a01e2acc0d82611d80565b600a54610da0906064610d3f856006612a08565b90508015610dde5780600a6000828254610dba9190612a51565b90915550610dde9050739840aecdce9a75711942922357eb70ec44df015f82611d80565b610de3610de9610ada565b118015610dfe5750600c5462010000900460ff165b15610e3257600c805462ff000019169055600b8054671bc16d674ec800009190600090610e2c908490612a68565b90915550505b600b54610e46906064610d3f856046612a08565b90508015610e845780600b6000828254610e609190612a51565b90915550610e849050734d33c6485c8cd80e04b46eb5372dea1d24d88b4482611d80565b6064610e91836003612a08565b610e9b9190612a3d565b9050610eb8610eb26000546001600160a01b031690565b82611d80565b610ed673e6232ce1d78500dc9377daae7dd87a609d2e825947611d80565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056610f096000546001600160a01b031690565b604080516001600160a01b039092168252602082018590520160405180910390a15050565b600c54610100900460ff16610f905760405162461bcd60e51b815260206004820152602260248201527f53616c65206d7573742062652061637469766520746f206d696e7420546f6b656044820152616e7360f01b6064820152608401610983565b610f993361100c565b610fe55760405162461bcd60e51b815260206004820152601460248201527f4d75737420686176652061206d696e74706173730000000000000000000000006044820152606401610983565b610fee81611e23565b50565b610ad583838360405180602001604052806000815250611680565b60006001600160a01b03821661102457506000919050565b6010546040517efdd58e0000000000000000000000000000000000000000000000000000000081526001600160a01b03848116600483015260016024830152600092169062fdd58e90604401602060405180830381865afa15801561108d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110b19190612a80565b11156110bf57506001919050565b600e546040516370a0823160e01b81526001600160a01b03848116600483015260009216906370a0823190602401602060405180830381865afa15801561110a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061112e9190612a80565b111561113c57506001919050565b600f546040516370a0823160e01b81526001600160a01b03848116600483015260009216906370a0823190602401602060405180830381865afa158015611187573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111ab9190612a80565b11156111b957506001919050565b506000919050565b6000546001600160a01b031633146112095760405162461bcd60e51b81526020600482018190526024820152600080516020612b678339815191526044820152606401610983565b600f80546001600160a01b0319166001600160a01b0392909216919091179055565b6000818152600360205260408120546001600160a01b0316806108765760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610983565b60006001600160a01b0382166113345760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610983565b506001600160a01b031660009081526004602052604090205490565b6000546001600160a01b031633146113985760405162461bcd60e51b81526020600482018190526024820152600080516020612b678339815191526044820152606401610983565b610bd56000611ff1565b6000546001600160a01b031633146113ea5760405162461bcd60e51b81526020600482018190526024820152600080516020612b678339815191526044820152606401610983565b60006113f560075490565b90506122b86114048284612041565b11156114785760405162461bcd60e51b815260206004820152602960248201527f5265736572766520776f756c6420657863656564206d617820737570706c792060448201527f6f6620546f6b656e7300000000000000000000000000000000000000000000006064820152608401610983565b601a82106114d25760405162461bcd60e51b815260206004820152602160248201527f43616e206f6e6c79206d696e7420323520746f6b656e7320617420612074696d6044820152606560f81b6064820152608401610983565b60005b82811015611510576114f0846114eb8385612a68565b61204d565b6114fe600780546001019055565b8061150881612a99565b9150506114d5565b50505050565b6000546001600160a01b0316331461155e5760405162461bcd60e51b81526020600482018190526024820152600080516020612b678339815191526044820152606401610983565b600881905560408051338152602081018390527f2a270679203ad5c6be2af882c755f81ff060752614a378c1804df57dd7d2add0910160405180910390a150565b60606002805461088b906129b7565b600c5460ff16610fe55760405162461bcd60e51b815260206004820152602260248201527f53616c65206d7573742062652061637469766520746f206d696e7420546f6b656044820152616e7360f01b6064820152608401610983565b610c32338383612067565b6000546001600160a01b0316331461165e5760405162461bcd60e51b81526020600482018190526024820152600080516020612b678339815191526044820152606401610983565b601080546001600160a01b0319166001600160a01b0392909216919091179055565b61168a3383611ac4565b6116fc5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610983565b61151084848484612136565b6000818152600360205260409020546060906001600160a01b03166117955760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610983565b600061179f6121b4565b905060008151116117bf57604051806020016040528060008152506117ea565b806117c9846121c3565b6040516020016117da929190612ab4565b6040516020818303038152906040525b9392505050565b6000546001600160a01b031633146118395760405162461bcd60e51b81526020600482018190526024820152600080516020612b678339815191526044820152606401610983565b601180546001600160a01b0319166001600160a01b0392909216919091179055565b6011546000906001600160a01b038381169116141561187c57506001610876565b506001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b6000546001600160a01b031633146118f35760405162461bcd60e51b81526020600482018190526024820152600080516020612b678339815191526044820152606401610983565b600c805461ff001981166101009182900460ff1615909102179055565b6000546001600160a01b031633146119585760405162461bcd60e51b81526020600482018190526024820152600080516020612b678339815191526044820152606401610983565b6001600160a01b0381166119d45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610983565b610fee81611ff1565b6000546001600160a01b03163314611a255760405162461bcd60e51b81526020600482018190526024820152600080516020612b678339815191526044820152606401610983565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b80546001019055565b3b151590565b600081815260056020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611a8b8261122b565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600360205260408120546001600160a01b0316611b3d5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610983565b6000611b488361122b565b9050806001600160a01b0316846001600160a01b03161480611b835750836001600160a01b0316611b788461090e565b6001600160a01b0316145b80611b935750611b93818561185b565b949350505050565b826001600160a01b0316611bae8261122b565b6001600160a01b031614611c2a5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610983565b6001600160a01b038216611ca55760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610983565b611cb0600082611a56565b6001600160a01b0383166000908152600460205260408120805460019290611cd9908490612a51565b90915550506001600160a01b0382166000908152600460205260408120805460019290611d07908490612a68565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600082821115611d79575081610876565b5080610876565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611dcd576040519150601f19603f3d011682016040523d82523d6000602084013e611dd2565b606091505b5050905080610ad55760405162461bcd60e51b815260206004820152601960248201527f4661696c656420746f20776964746864726177204574686572000000000000006044820152606401610983565b60008111611e735760405162461bcd60e51b815260206004820152601860248201527f6e756d6265724f664e6674732063616e6e6f74206265203000000000000000006044820152606401610983565b601a8110611ecd5760405162461bcd60e51b815260206004820152602160248201527f43616e206f6e6c79206d696e7420323520746f6b656e7320617420612074696d6044820152606560f81b6064820152608401610983565b6000611ed860075490565b90506122b8611ee78284612041565b1115611f5b5760405162461bcd60e51b815260206004820152602a60248201527f507572636861736520776f756c6420657863656564206d617820737570706c7960448201527f206f6620546f6b656e73000000000000000000000000000000000000000000006064820152608401610983565b6008543490611f6a90846122f5565b1115611fb85760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f7272656374006044820152606401610983565b60005b82811015610ad557611fd1336114eb8385612a68565b611fdf600780546001019055565b80611fe981612a99565b915050611fbb565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006117ea8284612a68565b610c32828260405180602001604052806000815250612301565b816001600160a01b0316836001600160a01b031614156120c95760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610983565b6001600160a01b03838116600081815260066020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b612141848484611b9b565b61214d8484848461237f565b6115105760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610983565b6060600d805461088b906129b7565b60608161220357505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b811561222d578061221781612a99565b91506122269050600a83612a3d565b9150612207565b60008167ffffffffffffffff811115612248576122486127dc565b6040519080825280601f01601f191660200182016040528015612272576020820181803683370190505b5090505b8415611b9357612287600183612a51565b9150612294600a86612ae3565b61229f906030612a68565b60f81b8183815181106122b4576122b4612af7565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506122ee600a86612a3d565b9450612276565b60006117ea8284612a08565b61230b83836124c8565b612318600084848461237f565b610ad55760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610983565b60006001600160a01b0384163b156124bd57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906123c3903390899088908890600401612b0d565b6020604051808303816000875af19250505080156123fe575060408051601f3d908101601f191682019092526123fb91810190612b49565b60015b6124a3573d80801561242c576040519150601f19603f3d011682016040523d82523d6000602084013e612431565b606091505b50805161249b5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610983565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611b93565b506001949350505050565b6001600160a01b03821661251e5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610983565b6000818152600360205260409020546001600160a01b0316156125835760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610983565b6001600160a01b03821660009081526004602052604081208054600192906125ac908490612a68565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054612616906129b7565b90600052602060002090601f016020900481019282612638576000855561267e565b82601f1061265157805160ff191683800117855561267e565b8280016001018555821561267e579182015b8281111561267e578251825591602001919060010190612663565b5061268a92915061268e565b5090565b5b8082111561268a576000815560010161268f565b6001600160e01b031981168114610fee57600080fd5b6000602082840312156126cb57600080fd5b81356117ea816126a3565b60005b838110156126f15781810151838201526020016126d9565b838111156115105750506000910152565b6000815180845261271a8160208601602086016126d6565b601f01601f19169290920160200192915050565b6020815260006117ea6020830184612702565b60006020828403121561275357600080fd5b5035919050565b80356001600160a01b038116811461277157600080fd5b919050565b6000806040838503121561278957600080fd5b6127928361275a565b946020939093013593505050565b6000806000606084860312156127b557600080fd5b6127be8461275a565b92506127cc6020850161275a565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561280d5761280d6127dc565b604051601f8501601f19908116603f01168101908282118183101715612835576128356127dc565b8160405280935085815286868601111561284e57600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561287a57600080fd5b813567ffffffffffffffff81111561289157600080fd5b8201601f810184136128a257600080fd5b611b93848235602084016127f2565b6000602082840312156128c357600080fd5b6117ea8261275a565b600080604083850312156128df57600080fd5b6128e88361275a565b9150602083013580151581146128fd57600080fd5b809150509250929050565b6000806000806080858703121561291e57600080fd5b6129278561275a565b93506129356020860161275a565b925060408501359150606085013567ffffffffffffffff81111561295857600080fd5b8501601f8101871361296957600080fd5b612978878235602084016127f2565b91505092959194509250565b6000806040838503121561299757600080fd5b6129a08361275a565b91506129ae6020840161275a565b90509250929050565b600181811c908216806129cb57607f821691505b602082108114156129ec57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615612a2257612a226129f2565b500290565b634e487b7160e01b600052601260045260246000fd5b600082612a4c57612a4c612a27565b500490565b600082821015612a6357612a636129f2565b500390565b60008219821115612a7b57612a7b6129f2565b500190565b600060208284031215612a9257600080fd5b5051919050565b6000600019821415612aad57612aad6129f2565b5060010190565b60008351612ac68184602088016126d6565b835190830190612ada8183602088016126d6565b01949350505050565b600082612af257612af2612a27565b500690565b634e487b7160e01b600052603260045260246000fd5b60006001600160a01b03808716835280861660208401525083604083015260806060830152612b3f6080830184612702565b9695505050505050565b600060208284031215612b5b57600080fd5b81516117ea816126a356fe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220f68f84926ab1017a0757e5a2a0fbefe110c3f2a7f88d50b5b7c9e5a18870396364736f6c634300080a0033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.