Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
545 GUSHIES
Holders
246
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 GUSHIESLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
GUSHIES
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.10; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Royalty.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/utils/Address.sol"; contract GUSHIES is ERC721, ERC721Royalty, ERC721Burnable, Pausable, Ownable { uint256 public constant MAX_TOKENS = 545; uint256 public unitPrice = 80000000000000000; //0.08 ether string public defaultBaseURI; bytes32 private presaleRoot; using Counters for Counters.Counter; Counters.Counter private tokenIdCounter; // Switches bool private publicSaleActive; bool private preSaleActive; bool private whiteListOn; constructor(string memory _newBaseURI) ERC721("GUSHIES", "GUSHIES") { setBaseURI(_newBaseURI); tokenIdCounter.increment(); } function _baseURI() internal view override returns (string memory) { return defaultBaseURI; } function setBaseURI(string memory _newBaseURI) public onlyOwner { defaultBaseURI = _newBaseURI; } function setPresaleMintHash(bytes32 _root) external onlyOwner { presaleRoot = _root; } function startPreSale(uint256 _unitPrice, bool _whitelistOn) external onlyOwner { require(!preSaleActive, "Private Sale Started already"); unitPrice = _unitPrice; whiteListOn = _whitelistOn; preSaleActive = true; } function pausePreSale() external onlyOwner { require(preSaleActive, "Private Sale not active"); preSaleActive = false; } function startSale(uint256 _unitPrice) external onlyOwner { require(!publicSaleActive, "Started already"); unitPrice = _unitPrice; publicSaleActive = true; } function pauseSale() external onlyOwner { require(publicSaleActive, "Sale not active"); publicSaleActive = false; } function safeMint(address to) private { _safeMint(to, tokenIdCounter.current()); tokenIdCounter.increment(); } function _leaf(address account) internal pure returns (bytes32) { return keccak256(abi.encodePacked(account)); } function _verify(bytes32 leaf, bytes32 root, bytes32[] memory proof) internal pure returns (bool) { return MerkleProof.verify(proof, root, leaf); } function presaleMint(uint256 numTokens, bytes32[] calldata proof) external payable { require(preSaleActive, "Presale not active"); require(numTokens > 0 && numTokens <= 5, "Invalid Number of Tokens"); require(unitPrice * numTokens <= msg.value, "Not Enough Ether"); require((totalSupply() + numTokens) <= MAX_TOKENS, "Exceed Max Supply"); require(!whiteListOn || _verify(_leaf(msg.sender), presaleRoot, proof), "Invalid address for presale mint"); for (uint256 i = 0; i < numTokens; i++) { safeMint(msg.sender); } } function mintInternal(address [] memory to, uint256 [] memory numTokens) external onlyOwner { for (uint256 i = 0; i < to.length; i++) { require((totalSupply() + numTokens[i]) <= MAX_TOKENS, "Exceed Max Supply"); for (uint256 j = 0; j < numTokens[i]; j++) { safeMint(to[i]); } } } function mint(uint256 numTokens) external payable { require(publicSaleActive, "Sale not active"); require(numTokens > 0 && numTokens <= 5, "Invalid Number of Tokens"); require(unitPrice * numTokens <= msg.value, "Not Enough Ether"); require((totalSupply() + numTokens) <= MAX_TOKENS, "Exceed Max Supply"); for (uint256 i = 0; i < numTokens; i++) { safeMint(msg.sender); } } function setRoyalties(address recipient, uint96 fraction) external onlyOwner { _setDefaultRoyalty(recipient, fraction); } function totalSupply() public view returns (uint) { return tokenIdCounter.current() - 1; } function withdraw() external onlyOwner { uint256 balance = address(this).balance; Address.sendValue(payable(owner()), balance); } function pause() public onlyOwner { _pause(); } function unpause() public onlyOwner { _unpause(); } function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal whenNotPaused override(ERC721) { super._beforeTokenTransfer(from, to, tokenId); } // The following functions are overrides required by Solidity. function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Royalty) returns (bool) { return super.supportsInterface(interfaceId); } function _burn(uint256 tokenId) internal override(ERC721, ERC721Royalty) { super._burn(tokenId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Burnable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "../../../utils/Context.sol"; /** * @title ERC721 Burnable Token * @dev ERC721 Token that can be irreversibly burned (destroyed). */ abstract contract ERC721Burnable is Context, ERC721 { /** * @dev Burns `tokenId`. See {ERC721-_burn}. * * Requirements: * * - The caller must own `tokenId` or be an approved operator. */ function burn(uint256 tokenId) public virtual { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved"); _burn(tokenId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/ERC721Royalty.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "../../common/ERC2981.sol"; import "../../../utils/introspection/ERC165.sol"; /** * @dev Extension of ERC721 with the ERC2981 NFT Royalty Standard, a standardized way to retrieve royalty payment * information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC721Royalty is ERC2981, ERC721 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721, ERC2981) returns (bool) { return super.supportsInterface(interfaceId); } /** * @dev See {ERC721-_burn}. This override additionally clears the royalty information for the token. */ function _burn(uint256 tokenId) internal virtual override { super._burn(tokenId); _resetTokenRoyalty(tokenId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = _efficientHash(computedHash, proofElement); } else { // Hash(current element of the proof + current computed hash) computedHash = _efficientHash(proofElement, computedHash); } } return computedHash; } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/common/ERC2981.sol) pragma solidity ^0.8.0; import "../../interfaces/IERC2981.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC2981 is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo(uint256 _tokenId, uint256 _salePrice) external view virtual override returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: invalid receiver"); _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `tokenId` must be already minted. * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty( uint256 tokenId, address receiver, uint96 feeNumerator ) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: Invalid parameters"); _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be payed in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (interfaces/IERC165.sol) pragma solidity ^0.8.0; import "../utils/introspection/IERC165.sol";
{ "optimizer": { "enabled": true, "runs": 1000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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":"account","type":"address"}],"name":"Unpaused","type":"event"},{"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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"defaultBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"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":"numTokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address[]","name":"to","type":"address[]"},{"internalType":"uint256[]","name":"numTokens","type":"uint256[]"}],"name":"mintInternal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pausePreSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pauseSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numTokens","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"presaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setPresaleMintHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint96","name":"fraction","type":"uint96"}],"name":"setRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_unitPrice","type":"uint256"},{"internalType":"bool","name":"_whitelistOn","type":"bool"}],"name":"startPreSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_unitPrice","type":"uint256"}],"name":"startSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"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":"unitPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405267011c37937e0800006009553480156200001d57600080fd5b506040516200353738038062003537833981016040819052620000409162000276565b6040805180820182526007808252664755534849455360c81b6020808401828152855180870190965292855284015281519192916200008291600291620001ba565b50805162000098906003906020840190620001ba565b50506008805460ff1916905550620000b033620000d9565b620000bb8162000133565b620000d2600c620001b160201b620019dc1760201c565b506200038f565b600880546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6008546001600160a01b03610100909104163314620001985760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b8051620001ad90600a906020840190620001ba565b5050565b80546001019055565b828054620001c89062000352565b90600052602060002090601f016020900481019282620001ec576000855562000237565b82601f106200020757805160ff191683800117855562000237565b8280016001018555821562000237579182015b82811115620002375782518255916020019190600101906200021a565b506200024592915062000249565b5090565b5b808211156200024557600081556001016200024a565b634e487b7160e01b600052604160045260246000fd5b600060208083850312156200028a57600080fd5b82516001600160401b0380821115620002a257600080fd5b818501915085601f830112620002b757600080fd5b815181811115620002cc57620002cc62000260565b604051601f8201601f19908116603f01168101908382118183101715620002f757620002f762000260565b8160405282815288868487010111156200031057600080fd5b600093505b8284101562000334578484018601518185018701529285019262000315565b82841115620003465760008684830101525b98975050505050505050565b600181811c908216806200036757607f821691505b602082108114156200038957634e487b7160e01b600052602260045260246000fd5b50919050565b613198806200039f6000396000f3fe60806040526004361061024f5760003560e01c806370a0823111610138578063b88d4fde116100b0578063e73faa2d1161007f578063f2fde38b11610064578063f2fde38b1461066f578063f47c84c51461068f578063f6409d47146106a557600080fd5b8063e73faa2d14610610578063e985e9c51461062657600080fd5b8063b88d4fde1461059d578063c21b471b146105bd578063c87b56dd146105dd578063e3e1e8ef146105fd57600080fd5b80638da5cb5b11610107578063a0712d68116100ec578063a0712d6814610555578063a22cb46514610568578063abcbb7b41461058857600080fd5b80638da5cb5b1461051d57806395d89b411461054057600080fd5b806370a08231146104b3578063715018a6146104d35780637f16d6d3146104e85780638456cb591461050857600080fd5b80633f4ba83a116101cb57806355367ba91161019a5780635c975abb1161017f5780635c975abb1461045b5780636352211e146104735780636358f9b61461049357600080fd5b806355367ba91461042657806355f804b31461043b57600080fd5b80633f4ba83a146103bc57806342842e0e146103d157806342966c68146103f15780634357da581461041157600080fd5b80630e3ab61d1161022257806323b872dd1161020757806323b872dd146103485780632a55205a146103685780633ccfd60b146103a757600080fd5b80630e3ab61d1461030557806318160ddd1461032557600080fd5b806301ffc9a71461025457806306fdde0314610289578063081812fc146102ab578063095ea7b3146102e3575b600080fd5b34801561026057600080fd5b5061027461026f366004612a42565b6106c5565b60405190151581526020015b60405180910390f35b34801561029557600080fd5b5061029e6106d6565b6040516102809190612ab7565b3480156102b757600080fd5b506102cb6102c6366004612aca565b610768565b6040516001600160a01b039091168152602001610280565b3480156102ef57600080fd5b506103036102fe366004612aff565b610802565b005b34801561031157600080fd5b50610303610320366004612aca565b610934565b34801561033157600080fd5b5061033a6109e7565b604051908152602001610280565b34801561035457600080fd5b50610303610363366004612b29565b610a03565b34801561037457600080fd5b50610388610383366004612b65565b610a8b565b604080516001600160a01b039093168352602083019190915201610280565b3480156103b357600080fd5b50610303610b46565b3480156103c857600080fd5b50610303610bb9565b3480156103dd57600080fd5b506103036103ec366004612b29565b610c11565b3480156103fd57600080fd5b5061030361040c366004612aca565b610c2c565b34801561041d57600080fd5b50610303610cb0565b34801561043257600080fd5b50610303610d62565b34801561044757600080fd5b50610303610456366004612c26565b610e0e565b34801561046757600080fd5b5060085460ff16610274565b34801561047f57600080fd5b506102cb61048e366004612aca565b610e73565b34801561049f57600080fd5b506103036104ae366004612c7f565b610efe565b3480156104bf57600080fd5b5061033a6104ce366004612cab565b610fd2565b3480156104df57600080fd5b5061030361106c565b3480156104f457600080fd5b50610303610503366004612aca565b6110c4565b34801561051457600080fd5b50610303611117565b34801561052957600080fd5b5060085461010090046001600160a01b03166102cb565b34801561054c57600080fd5b5061029e61116d565b610303610563366004612aca565b61117c565b34801561057457600080fd5b50610303610583366004612cc6565b611306565b34801561059457600080fd5b5061029e611311565b3480156105a957600080fd5b506103036105b8366004612cf0565b61139f565b3480156105c957600080fd5b506103036105d8366004612d6c565b61142d565b3480156105e957600080fd5b5061029e6105f8366004612aca565b611485565b61030361060b366004612db4565b61156e565b34801561061c57600080fd5b5061033a60095481565b34801561063257600080fd5b50610274610641366004612e33565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561067b57600080fd5b5061030361068a366004612cab565b6117d3565b34801561069b57600080fd5b5061033a61022181565b3480156106b157600080fd5b506103036106c0366004612eec565b6118a6565b60006106d0826119e5565b92915050565b6060600280546106e590612fac565b80601f016020809104026020016040519081016040528092919081815260200182805461071190612fac565b801561075e5780601f106107335761010080835404028352916020019161075e565b820191906000526020600020905b81548152906001019060200180831161074157829003601f168201915b5050505050905090565b6000818152600460205260408120546001600160a01b03166107e65760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061080d82610e73565b9050806001600160a01b0316836001600160a01b031614156108975760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084016107dd565b336001600160a01b03821614806108b357506108b38133610641565b6109255760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016107dd565b61092f83836119f0565b505050565b6008546001600160a01b036101009091041633146109825760405162461bcd60e51b8152602060048201819052602482015260008051602061314383398151915260448201526064016107dd565b600d5460ff16156109d55760405162461bcd60e51b815260206004820152600f60248201527f5374617274656420616c7265616479000000000000000000000000000000000060448201526064016107dd565b600955600d805460ff19166001179055565b600060016109f4600c5490565b6109fe9190612ffd565b905090565b610a0e335b82611a6b565b610a805760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016107dd565b61092f838383611b62565b60008281526001602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046bffffffffffffffffffffffff16928201929092528291610b0a5750604080518082019091526000546001600160a01b0381168252600160a01b90046bffffffffffffffffffffffff1660208201525b602081015160009061271090610b2e906bffffffffffffffffffffffff1687613014565b610b389190613049565b915196919550909350505050565b6008546001600160a01b03610100909104163314610b945760405162461bcd60e51b8152602060048201819052602482015260008051602061314383398151915260448201526064016107dd565b47610bb6610bb06008546001600160a01b036101009091041690565b82611d47565b50565b6008546001600160a01b03610100909104163314610c075760405162461bcd60e51b8152602060048201819052602482015260008051602061314383398151915260448201526064016107dd565b610c0f611e60565b565b61092f8383836040518060200160405280600081525061139f565b610c3533610a08565b610ca75760405162461bcd60e51b815260206004820152603060248201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f7665640000000000000000000000000000000060648201526084016107dd565b610bb681611efc565b6008546001600160a01b03610100909104163314610cfe5760405162461bcd60e51b8152602060048201819052602482015260008051602061314383398151915260448201526064016107dd565b600d54610100900460ff16610d555760405162461bcd60e51b815260206004820152601760248201527f507269766174652053616c65206e6f742061637469766500000000000000000060448201526064016107dd565b600d805461ff0019169055565b6008546001600160a01b03610100909104163314610db05760405162461bcd60e51b8152602060048201819052602482015260008051602061314383398151915260448201526064016107dd565b600d5460ff16610e025760405162461bcd60e51b815260206004820152600f60248201527f53616c65206e6f7420616374697665000000000000000000000000000000000060448201526064016107dd565b600d805460ff19169055565b6008546001600160a01b03610100909104163314610e5c5760405162461bcd60e51b8152602060048201819052602482015260008051602061314383398151915260448201526064016107dd565b8051610e6f90600a906020840190612993565b5050565b6000818152600460205260408120546001600160a01b0316806106d05760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e000000000000000000000000000000000000000000000060648201526084016107dd565b6008546001600160a01b03610100909104163314610f4c5760405162461bcd60e51b8152602060048201819052602482015260008051602061314383398151915260448201526064016107dd565b600d54610100900460ff1615610fa45760405162461bcd60e51b815260206004820152601c60248201527f507269766174652053616c65205374617274656420616c72656164790000000060448201526064016107dd565b600991909155600d805461ff001992151562010000029290921662ffff001990921691909117610100179055565b60006001600160a01b0382166110505760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f20616464726573730000000000000000000000000000000000000000000060648201526084016107dd565b506001600160a01b031660009081526005602052604090205490565b6008546001600160a01b036101009091041633146110ba5760405162461bcd60e51b8152602060048201819052602482015260008051602061314383398151915260448201526064016107dd565b610c0f6000611f05565b6008546001600160a01b036101009091041633146111125760405162461bcd60e51b8152602060048201819052602482015260008051602061314383398151915260448201526064016107dd565b600b55565b6008546001600160a01b036101009091041633146111655760405162461bcd60e51b8152602060048201819052602482015260008051602061314383398151915260448201526064016107dd565b610c0f611f76565b6060600380546106e590612fac565b600d5460ff166111ce5760405162461bcd60e51b815260206004820152600f60248201527f53616c65206e6f7420616374697665000000000000000000000000000000000060448201526064016107dd565b6000811180156111df575060058111155b61122b5760405162461bcd60e51b815260206004820152601860248201527f496e76616c6964204e756d626572206f6620546f6b656e73000000000000000060448201526064016107dd565b348160095461123a9190613014565b11156112885760405162461bcd60e51b815260206004820152601060248201527f4e6f7420456e6f7567682045746865720000000000000000000000000000000060448201526064016107dd565b610221816112946109e7565b61129e919061305d565b11156112e05760405162461bcd60e51b8152602060048201526011602482015270457863656564204d617820537570706c7960781b60448201526064016107dd565b60005b81811015610e6f576112f433611ffe565b806112fe81613075565b9150506112e3565b610e6f33838361201e565b600a805461131e90612fac565b80601f016020809104026020016040519081016040528092919081815260200182805461134a90612fac565b80156113975780601f1061136c57610100808354040283529160200191611397565b820191906000526020600020905b81548152906001019060200180831161137a57829003601f168201915b505050505081565b6113a93383611a6b565b61141b5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016107dd565b611427848484846120ed565b50505050565b6008546001600160a01b0361010090910416331461147b5760405162461bcd60e51b8152602060048201819052602482015260008051602061314383398151915260448201526064016107dd565b610e6f828261216b565b6000818152600460205260409020546060906001600160a01b03166115125760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e000000000000000000000000000000000060648201526084016107dd565b600061151c612285565b9050600081511161153c5760405180602001604052806000815250611567565b8061154684612294565b604051602001611557929190613090565b6040516020818303038152906040525b9392505050565b600d54610100900460ff166115c55760405162461bcd60e51b815260206004820152601260248201527f50726573616c65206e6f7420616374697665000000000000000000000000000060448201526064016107dd565b6000831180156115d6575060058311155b6116225760405162461bcd60e51b815260206004820152601860248201527f496e76616c6964204e756d626572206f6620546f6b656e73000000000000000060448201526064016107dd565b34836009546116319190613014565b111561167f5760405162461bcd60e51b815260206004820152601060248201527f4e6f7420456e6f7567682045746865720000000000000000000000000000000060448201526064016107dd565b6102218361168b6109e7565b611695919061305d565b11156116d75760405162461bcd60e51b8152602060048201526011602482015270457863656564204d617820537570706c7960781b60448201526064016107dd565b600d5462010000900460ff1615806117615750604080513360601b6bffffffffffffffffffffffff1916602080830191909152825160148184030181526034909201909252805191012061176190600b548484808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506123c692505050565b6117ad5760405162461bcd60e51b815260206004820181905260248201527f496e76616c6964206164647265737320666f722070726573616c65206d696e7460448201526064016107dd565b60005b83811015611427576117c133611ffe565b806117cb81613075565b9150506117b0565b6008546001600160a01b036101009091041633146118215760405162461bcd60e51b8152602060048201819052602482015260008051602061314383398151915260448201526064016107dd565b6001600160a01b03811661189d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016107dd565b610bb681611f05565b6008546001600160a01b036101009091041633146118f45760405162461bcd60e51b8152602060048201819052602482015260008051602061314383398151915260448201526064016107dd565b60005b825181101561092f57610221828281518110611915576119156130bf565b60200260200101516119256109e7565b61192f919061305d565b11156119715760405162461bcd60e51b8152602060048201526011602482015270457863656564204d617820537570706c7960781b60448201526064016107dd565b60005b828281518110611986576119866130bf565b60200260200101518110156119c9576119b78483815181106119aa576119aa6130bf565b6020026020010151611ffe565b806119c181613075565b915050611974565b50806119d481613075565b9150506118f7565b80546001019055565b60006106d0826123d3565b6000818152600660205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0384169081179091558190611a3282610e73565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600460205260408120546001600160a01b0316611ae45760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107dd565b6000611aef83610e73565b9050806001600160a01b0316846001600160a01b03161480611b2a5750836001600160a01b0316611b1f84610768565b6001600160a01b0316145b80611b5a57506001600160a01b0380821660009081526007602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611b7582610e73565b6001600160a01b031614611bf15760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e657200000000000000000000000000000000000000000000000000000060648201526084016107dd565b6001600160a01b038216611c6c5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016107dd565b611c77838383612445565b611c826000826119f0565b6001600160a01b0383166000908152600560205260408120805460019290611cab908490612ffd565b90915550506001600160a01b0382166000908152600560205260408120805460019290611cd990849061305d565b9091555050600081815260046020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b80471015611d975760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016107dd565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611de4576040519150601f19603f3d011682016040523d82523d6000602084013e611de9565b606091505b505090508061092f5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016107dd565b60085460ff16611eb25760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f742070617573656400000000000000000000000060448201526064016107dd565b6008805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b610bb681612498565b600880546001600160a01b038381166101008181027fffffffffffffffffffffff0000000000000000000000000000000000000000ff85161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60085460ff1615611fc95760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a207061757365640000000000000000000000000000000060448201526064016107dd565b6008805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611edf3390565b6120108161200b600c5490565b6124b2565b610bb6600c80546001019055565b816001600160a01b0316836001600160a01b031614156120805760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016107dd565b6001600160a01b03838116600081815260076020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6120f8848484611b62565b612104848484846124cc565b6114275760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016107dd565b6127106bffffffffffffffffffffffff821611156121f15760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c2065786365656460448201527f2073616c6550726963650000000000000000000000000000000000000000000060648201526084016107dd565b6001600160a01b0382166122475760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c69642072656365697665720000000000000060448201526064016107dd565b604080518082019091526001600160a01b039092168083526bffffffffffffffffffffffff9091166020909201829052600160a01b90910217600055565b6060600a80546106e590612fac565b6060816122d457505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156122fe57806122e881613075565b91506122f79050600a83613049565b91506122d8565b60008167ffffffffffffffff81111561231957612319612b87565b6040519080825280601f01601f191660200182016040528015612343576020820181803683370190505b5090505b8415611b5a57612358600183612ffd565b9150612365600a866130d5565b61237090603061305d565b60f81b818381518110612385576123856130bf565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506123bf600a86613049565b9450612347565b6000611b5a828486612615565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061243657506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806106d057506106d08261262b565b60085460ff161561092f5760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a207061757365640000000000000000000000000000000060448201526064016107dd565b6124a181612692565b600090815260016020526040812055565b610e6f828260405180602001604052806000815250612746565b60006001600160a01b0384163b1561260a57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906125109033908990889088906004016130e9565b6020604051808303816000875af192505050801561254b575060408051601f3d908101601f1916820190925261254891810190613125565b60015b6125f0573d808015612579576040519150601f19603f3d011682016040523d82523d6000602084013e61257e565b606091505b5080516125e85760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016107dd565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611b5a565b506001949350505050565b60008261262285846127c4565b14949350505050565b60006001600160e01b031982167f2a55205a0000000000000000000000000000000000000000000000000000000014806106d057507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316146106d0565b600061269d82610e73565b90506126ab81600084612445565b6126b66000836119f0565b6001600160a01b03811660009081526005602052604081208054600192906126df908490612ffd565b9091555050600082815260046020526040808220805473ffffffffffffffffffffffffffffffffffffffff19169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6127508383612838565b61275d60008484846124cc565b61092f5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016107dd565b600081815b84518110156128305760008582815181106127e6576127e66130bf565b6020026020010151905080831161280c576000838152602082905260409020925061281d565b600081815260208490526040902092505b508061282881613075565b9150506127c9565b509392505050565b6001600160a01b03821661288e5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107dd565b6000818152600460205260409020546001600160a01b0316156128f35760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107dd565b6128ff60008383612445565b6001600160a01b038216600090815260056020526040812080546001929061292890849061305d565b9091555050600081815260046020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461299f90612fac565b90600052602060002090601f0160209004810192826129c15760008555612a07565b82601f106129da57805160ff1916838001178555612a07565b82800160010185558215612a07579182015b82811115612a075782518255916020019190600101906129ec565b50612a13929150612a17565b5090565b5b80821115612a135760008155600101612a18565b6001600160e01b031981168114610bb657600080fd5b600060208284031215612a5457600080fd5b813561156781612a2c565b60005b83811015612a7a578181015183820152602001612a62565b838111156114275750506000910152565b60008151808452612aa3816020860160208601612a5f565b601f01601f19169290920160200192915050565b6020815260006115676020830184612a8b565b600060208284031215612adc57600080fd5b5035919050565b80356001600160a01b0381168114612afa57600080fd5b919050565b60008060408385031215612b1257600080fd5b612b1b83612ae3565b946020939093013593505050565b600080600060608486031215612b3e57600080fd5b612b4784612ae3565b9250612b5560208501612ae3565b9150604084013590509250925092565b60008060408385031215612b7857600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612bc657612bc6612b87565b604052919050565b600067ffffffffffffffff831115612be857612be8612b87565b612bfb601f8401601f1916602001612b9d565b9050828152838383011115612c0f57600080fd5b828260208301376000602084830101529392505050565b600060208284031215612c3857600080fd5b813567ffffffffffffffff811115612c4f57600080fd5b8201601f81018413612c6057600080fd5b611b5a84823560208401612bce565b80358015158114612afa57600080fd5b60008060408385031215612c9257600080fd5b82359150612ca260208401612c6f565b90509250929050565b600060208284031215612cbd57600080fd5b61156782612ae3565b60008060408385031215612cd957600080fd5b612ce283612ae3565b9150612ca260208401612c6f565b60008060008060808587031215612d0657600080fd5b612d0f85612ae3565b9350612d1d60208601612ae3565b925060408501359150606085013567ffffffffffffffff811115612d4057600080fd5b8501601f81018713612d5157600080fd5b612d6087823560208401612bce565b91505092959194509250565b60008060408385031215612d7f57600080fd5b612d8883612ae3565b915060208301356bffffffffffffffffffffffff81168114612da957600080fd5b809150509250929050565b600080600060408486031215612dc957600080fd5b83359250602084013567ffffffffffffffff80821115612de857600080fd5b818601915086601f830112612dfc57600080fd5b813581811115612e0b57600080fd5b8760208260051b8501011115612e2057600080fd5b6020830194508093505050509250925092565b60008060408385031215612e4657600080fd5b612e4f83612ae3565b9150612ca260208401612ae3565b600067ffffffffffffffff821115612e7757612e77612b87565b5060051b60200190565b600082601f830112612e9257600080fd5b81356020612ea7612ea283612e5d565b612b9d565b82815260059290921b84018101918181019086841115612ec657600080fd5b8286015b84811015612ee15780358352918301918301612eca565b509695505050505050565b60008060408385031215612eff57600080fd5b823567ffffffffffffffff80821115612f1757600080fd5b818501915085601f830112612f2b57600080fd5b81356020612f3b612ea283612e5d565b82815260059290921b84018101918181019089841115612f5a57600080fd5b948201945b83861015612f7f57612f7086612ae3565b82529482019490820190612f5f565b96505086013592505080821115612f9557600080fd5b50612fa285828601612e81565b9150509250929050565b600181811c90821680612fc057607f821691505b60208210811415612fe157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008282101561300f5761300f612fe7565b500390565b600081600019048311821515161561302e5761302e612fe7565b500290565b634e487b7160e01b600052601260045260246000fd5b60008261305857613058613033565b500490565b6000821982111561307057613070612fe7565b500190565b600060001982141561308957613089612fe7565b5060010190565b600083516130a2818460208801612a5f565b8351908301906130b6818360208801612a5f565b01949350505050565b634e487b7160e01b600052603260045260246000fd5b6000826130e4576130e4613033565b500690565b60006001600160a01b0380871683528086166020840152508360408301526080606083015261311b6080830184612a8b565b9695505050505050565b60006020828403121561313757600080fd5b815161156781612a2c56fe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220d4cfd2b4806419ad513f1b758fe1ce7bccfc8797e70adda6250ea5991d870fb364736f6c634300080a00330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002468747470733a2f2f61652d6261636b656e642e6c6f6275732e696f2f677573686965732f00000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061024f5760003560e01c806370a0823111610138578063b88d4fde116100b0578063e73faa2d1161007f578063f2fde38b11610064578063f2fde38b1461066f578063f47c84c51461068f578063f6409d47146106a557600080fd5b8063e73faa2d14610610578063e985e9c51461062657600080fd5b8063b88d4fde1461059d578063c21b471b146105bd578063c87b56dd146105dd578063e3e1e8ef146105fd57600080fd5b80638da5cb5b11610107578063a0712d68116100ec578063a0712d6814610555578063a22cb46514610568578063abcbb7b41461058857600080fd5b80638da5cb5b1461051d57806395d89b411461054057600080fd5b806370a08231146104b3578063715018a6146104d35780637f16d6d3146104e85780638456cb591461050857600080fd5b80633f4ba83a116101cb57806355367ba91161019a5780635c975abb1161017f5780635c975abb1461045b5780636352211e146104735780636358f9b61461049357600080fd5b806355367ba91461042657806355f804b31461043b57600080fd5b80633f4ba83a146103bc57806342842e0e146103d157806342966c68146103f15780634357da581461041157600080fd5b80630e3ab61d1161022257806323b872dd1161020757806323b872dd146103485780632a55205a146103685780633ccfd60b146103a757600080fd5b80630e3ab61d1461030557806318160ddd1461032557600080fd5b806301ffc9a71461025457806306fdde0314610289578063081812fc146102ab578063095ea7b3146102e3575b600080fd5b34801561026057600080fd5b5061027461026f366004612a42565b6106c5565b60405190151581526020015b60405180910390f35b34801561029557600080fd5b5061029e6106d6565b6040516102809190612ab7565b3480156102b757600080fd5b506102cb6102c6366004612aca565b610768565b6040516001600160a01b039091168152602001610280565b3480156102ef57600080fd5b506103036102fe366004612aff565b610802565b005b34801561031157600080fd5b50610303610320366004612aca565b610934565b34801561033157600080fd5b5061033a6109e7565b604051908152602001610280565b34801561035457600080fd5b50610303610363366004612b29565b610a03565b34801561037457600080fd5b50610388610383366004612b65565b610a8b565b604080516001600160a01b039093168352602083019190915201610280565b3480156103b357600080fd5b50610303610b46565b3480156103c857600080fd5b50610303610bb9565b3480156103dd57600080fd5b506103036103ec366004612b29565b610c11565b3480156103fd57600080fd5b5061030361040c366004612aca565b610c2c565b34801561041d57600080fd5b50610303610cb0565b34801561043257600080fd5b50610303610d62565b34801561044757600080fd5b50610303610456366004612c26565b610e0e565b34801561046757600080fd5b5060085460ff16610274565b34801561047f57600080fd5b506102cb61048e366004612aca565b610e73565b34801561049f57600080fd5b506103036104ae366004612c7f565b610efe565b3480156104bf57600080fd5b5061033a6104ce366004612cab565b610fd2565b3480156104df57600080fd5b5061030361106c565b3480156104f457600080fd5b50610303610503366004612aca565b6110c4565b34801561051457600080fd5b50610303611117565b34801561052957600080fd5b5060085461010090046001600160a01b03166102cb565b34801561054c57600080fd5b5061029e61116d565b610303610563366004612aca565b61117c565b34801561057457600080fd5b50610303610583366004612cc6565b611306565b34801561059457600080fd5b5061029e611311565b3480156105a957600080fd5b506103036105b8366004612cf0565b61139f565b3480156105c957600080fd5b506103036105d8366004612d6c565b61142d565b3480156105e957600080fd5b5061029e6105f8366004612aca565b611485565b61030361060b366004612db4565b61156e565b34801561061c57600080fd5b5061033a60095481565b34801561063257600080fd5b50610274610641366004612e33565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561067b57600080fd5b5061030361068a366004612cab565b6117d3565b34801561069b57600080fd5b5061033a61022181565b3480156106b157600080fd5b506103036106c0366004612eec565b6118a6565b60006106d0826119e5565b92915050565b6060600280546106e590612fac565b80601f016020809104026020016040519081016040528092919081815260200182805461071190612fac565b801561075e5780601f106107335761010080835404028352916020019161075e565b820191906000526020600020905b81548152906001019060200180831161074157829003601f168201915b5050505050905090565b6000818152600460205260408120546001600160a01b03166107e65760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061080d82610e73565b9050806001600160a01b0316836001600160a01b031614156108975760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084016107dd565b336001600160a01b03821614806108b357506108b38133610641565b6109255760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016107dd565b61092f83836119f0565b505050565b6008546001600160a01b036101009091041633146109825760405162461bcd60e51b8152602060048201819052602482015260008051602061314383398151915260448201526064016107dd565b600d5460ff16156109d55760405162461bcd60e51b815260206004820152600f60248201527f5374617274656420616c7265616479000000000000000000000000000000000060448201526064016107dd565b600955600d805460ff19166001179055565b600060016109f4600c5490565b6109fe9190612ffd565b905090565b610a0e335b82611a6b565b610a805760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016107dd565b61092f838383611b62565b60008281526001602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046bffffffffffffffffffffffff16928201929092528291610b0a5750604080518082019091526000546001600160a01b0381168252600160a01b90046bffffffffffffffffffffffff1660208201525b602081015160009061271090610b2e906bffffffffffffffffffffffff1687613014565b610b389190613049565b915196919550909350505050565b6008546001600160a01b03610100909104163314610b945760405162461bcd60e51b8152602060048201819052602482015260008051602061314383398151915260448201526064016107dd565b47610bb6610bb06008546001600160a01b036101009091041690565b82611d47565b50565b6008546001600160a01b03610100909104163314610c075760405162461bcd60e51b8152602060048201819052602482015260008051602061314383398151915260448201526064016107dd565b610c0f611e60565b565b61092f8383836040518060200160405280600081525061139f565b610c3533610a08565b610ca75760405162461bcd60e51b815260206004820152603060248201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f7665640000000000000000000000000000000060648201526084016107dd565b610bb681611efc565b6008546001600160a01b03610100909104163314610cfe5760405162461bcd60e51b8152602060048201819052602482015260008051602061314383398151915260448201526064016107dd565b600d54610100900460ff16610d555760405162461bcd60e51b815260206004820152601760248201527f507269766174652053616c65206e6f742061637469766500000000000000000060448201526064016107dd565b600d805461ff0019169055565b6008546001600160a01b03610100909104163314610db05760405162461bcd60e51b8152602060048201819052602482015260008051602061314383398151915260448201526064016107dd565b600d5460ff16610e025760405162461bcd60e51b815260206004820152600f60248201527f53616c65206e6f7420616374697665000000000000000000000000000000000060448201526064016107dd565b600d805460ff19169055565b6008546001600160a01b03610100909104163314610e5c5760405162461bcd60e51b8152602060048201819052602482015260008051602061314383398151915260448201526064016107dd565b8051610e6f90600a906020840190612993565b5050565b6000818152600460205260408120546001600160a01b0316806106d05760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e000000000000000000000000000000000000000000000060648201526084016107dd565b6008546001600160a01b03610100909104163314610f4c5760405162461bcd60e51b8152602060048201819052602482015260008051602061314383398151915260448201526064016107dd565b600d54610100900460ff1615610fa45760405162461bcd60e51b815260206004820152601c60248201527f507269766174652053616c65205374617274656420616c72656164790000000060448201526064016107dd565b600991909155600d805461ff001992151562010000029290921662ffff001990921691909117610100179055565b60006001600160a01b0382166110505760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f20616464726573730000000000000000000000000000000000000000000060648201526084016107dd565b506001600160a01b031660009081526005602052604090205490565b6008546001600160a01b036101009091041633146110ba5760405162461bcd60e51b8152602060048201819052602482015260008051602061314383398151915260448201526064016107dd565b610c0f6000611f05565b6008546001600160a01b036101009091041633146111125760405162461bcd60e51b8152602060048201819052602482015260008051602061314383398151915260448201526064016107dd565b600b55565b6008546001600160a01b036101009091041633146111655760405162461bcd60e51b8152602060048201819052602482015260008051602061314383398151915260448201526064016107dd565b610c0f611f76565b6060600380546106e590612fac565b600d5460ff166111ce5760405162461bcd60e51b815260206004820152600f60248201527f53616c65206e6f7420616374697665000000000000000000000000000000000060448201526064016107dd565b6000811180156111df575060058111155b61122b5760405162461bcd60e51b815260206004820152601860248201527f496e76616c6964204e756d626572206f6620546f6b656e73000000000000000060448201526064016107dd565b348160095461123a9190613014565b11156112885760405162461bcd60e51b815260206004820152601060248201527f4e6f7420456e6f7567682045746865720000000000000000000000000000000060448201526064016107dd565b610221816112946109e7565b61129e919061305d565b11156112e05760405162461bcd60e51b8152602060048201526011602482015270457863656564204d617820537570706c7960781b60448201526064016107dd565b60005b81811015610e6f576112f433611ffe565b806112fe81613075565b9150506112e3565b610e6f33838361201e565b600a805461131e90612fac565b80601f016020809104026020016040519081016040528092919081815260200182805461134a90612fac565b80156113975780601f1061136c57610100808354040283529160200191611397565b820191906000526020600020905b81548152906001019060200180831161137a57829003601f168201915b505050505081565b6113a93383611a6b565b61141b5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016107dd565b611427848484846120ed565b50505050565b6008546001600160a01b0361010090910416331461147b5760405162461bcd60e51b8152602060048201819052602482015260008051602061314383398151915260448201526064016107dd565b610e6f828261216b565b6000818152600460205260409020546060906001600160a01b03166115125760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e000000000000000000000000000000000060648201526084016107dd565b600061151c612285565b9050600081511161153c5760405180602001604052806000815250611567565b8061154684612294565b604051602001611557929190613090565b6040516020818303038152906040525b9392505050565b600d54610100900460ff166115c55760405162461bcd60e51b815260206004820152601260248201527f50726573616c65206e6f7420616374697665000000000000000000000000000060448201526064016107dd565b6000831180156115d6575060058311155b6116225760405162461bcd60e51b815260206004820152601860248201527f496e76616c6964204e756d626572206f6620546f6b656e73000000000000000060448201526064016107dd565b34836009546116319190613014565b111561167f5760405162461bcd60e51b815260206004820152601060248201527f4e6f7420456e6f7567682045746865720000000000000000000000000000000060448201526064016107dd565b6102218361168b6109e7565b611695919061305d565b11156116d75760405162461bcd60e51b8152602060048201526011602482015270457863656564204d617820537570706c7960781b60448201526064016107dd565b600d5462010000900460ff1615806117615750604080513360601b6bffffffffffffffffffffffff1916602080830191909152825160148184030181526034909201909252805191012061176190600b548484808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506123c692505050565b6117ad5760405162461bcd60e51b815260206004820181905260248201527f496e76616c6964206164647265737320666f722070726573616c65206d696e7460448201526064016107dd565b60005b83811015611427576117c133611ffe565b806117cb81613075565b9150506117b0565b6008546001600160a01b036101009091041633146118215760405162461bcd60e51b8152602060048201819052602482015260008051602061314383398151915260448201526064016107dd565b6001600160a01b03811661189d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016107dd565b610bb681611f05565b6008546001600160a01b036101009091041633146118f45760405162461bcd60e51b8152602060048201819052602482015260008051602061314383398151915260448201526064016107dd565b60005b825181101561092f57610221828281518110611915576119156130bf565b60200260200101516119256109e7565b61192f919061305d565b11156119715760405162461bcd60e51b8152602060048201526011602482015270457863656564204d617820537570706c7960781b60448201526064016107dd565b60005b828281518110611986576119866130bf565b60200260200101518110156119c9576119b78483815181106119aa576119aa6130bf565b6020026020010151611ffe565b806119c181613075565b915050611974565b50806119d481613075565b9150506118f7565b80546001019055565b60006106d0826123d3565b6000818152600660205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0384169081179091558190611a3282610e73565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600460205260408120546001600160a01b0316611ae45760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107dd565b6000611aef83610e73565b9050806001600160a01b0316846001600160a01b03161480611b2a5750836001600160a01b0316611b1f84610768565b6001600160a01b0316145b80611b5a57506001600160a01b0380821660009081526007602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611b7582610e73565b6001600160a01b031614611bf15760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e657200000000000000000000000000000000000000000000000000000060648201526084016107dd565b6001600160a01b038216611c6c5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016107dd565b611c77838383612445565b611c826000826119f0565b6001600160a01b0383166000908152600560205260408120805460019290611cab908490612ffd565b90915550506001600160a01b0382166000908152600560205260408120805460019290611cd990849061305d565b9091555050600081815260046020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b80471015611d975760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016107dd565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611de4576040519150601f19603f3d011682016040523d82523d6000602084013e611de9565b606091505b505090508061092f5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016107dd565b60085460ff16611eb25760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f742070617573656400000000000000000000000060448201526064016107dd565b6008805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b610bb681612498565b600880546001600160a01b038381166101008181027fffffffffffffffffffffff0000000000000000000000000000000000000000ff85161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60085460ff1615611fc95760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a207061757365640000000000000000000000000000000060448201526064016107dd565b6008805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611edf3390565b6120108161200b600c5490565b6124b2565b610bb6600c80546001019055565b816001600160a01b0316836001600160a01b031614156120805760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016107dd565b6001600160a01b03838116600081815260076020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6120f8848484611b62565b612104848484846124cc565b6114275760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016107dd565b6127106bffffffffffffffffffffffff821611156121f15760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c2065786365656460448201527f2073616c6550726963650000000000000000000000000000000000000000000060648201526084016107dd565b6001600160a01b0382166122475760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c69642072656365697665720000000000000060448201526064016107dd565b604080518082019091526001600160a01b039092168083526bffffffffffffffffffffffff9091166020909201829052600160a01b90910217600055565b6060600a80546106e590612fac565b6060816122d457505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156122fe57806122e881613075565b91506122f79050600a83613049565b91506122d8565b60008167ffffffffffffffff81111561231957612319612b87565b6040519080825280601f01601f191660200182016040528015612343576020820181803683370190505b5090505b8415611b5a57612358600183612ffd565b9150612365600a866130d5565b61237090603061305d565b60f81b818381518110612385576123856130bf565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506123bf600a86613049565b9450612347565b6000611b5a828486612615565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061243657506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806106d057506106d08261262b565b60085460ff161561092f5760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a207061757365640000000000000000000000000000000060448201526064016107dd565b6124a181612692565b600090815260016020526040812055565b610e6f828260405180602001604052806000815250612746565b60006001600160a01b0384163b1561260a57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906125109033908990889088906004016130e9565b6020604051808303816000875af192505050801561254b575060408051601f3d908101601f1916820190925261254891810190613125565b60015b6125f0573d808015612579576040519150601f19603f3d011682016040523d82523d6000602084013e61257e565b606091505b5080516125e85760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016107dd565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611b5a565b506001949350505050565b60008261262285846127c4565b14949350505050565b60006001600160e01b031982167f2a55205a0000000000000000000000000000000000000000000000000000000014806106d057507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316146106d0565b600061269d82610e73565b90506126ab81600084612445565b6126b66000836119f0565b6001600160a01b03811660009081526005602052604081208054600192906126df908490612ffd565b9091555050600082815260046020526040808220805473ffffffffffffffffffffffffffffffffffffffff19169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6127508383612838565b61275d60008484846124cc565b61092f5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016107dd565b600081815b84518110156128305760008582815181106127e6576127e66130bf565b6020026020010151905080831161280c576000838152602082905260409020925061281d565b600081815260208490526040902092505b508061282881613075565b9150506127c9565b509392505050565b6001600160a01b03821661288e5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107dd565b6000818152600460205260409020546001600160a01b0316156128f35760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107dd565b6128ff60008383612445565b6001600160a01b038216600090815260056020526040812080546001929061292890849061305d565b9091555050600081815260046020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461299f90612fac565b90600052602060002090601f0160209004810192826129c15760008555612a07565b82601f106129da57805160ff1916838001178555612a07565b82800160010185558215612a07579182015b82811115612a075782518255916020019190600101906129ec565b50612a13929150612a17565b5090565b5b80821115612a135760008155600101612a18565b6001600160e01b031981168114610bb657600080fd5b600060208284031215612a5457600080fd5b813561156781612a2c565b60005b83811015612a7a578181015183820152602001612a62565b838111156114275750506000910152565b60008151808452612aa3816020860160208601612a5f565b601f01601f19169290920160200192915050565b6020815260006115676020830184612a8b565b600060208284031215612adc57600080fd5b5035919050565b80356001600160a01b0381168114612afa57600080fd5b919050565b60008060408385031215612b1257600080fd5b612b1b83612ae3565b946020939093013593505050565b600080600060608486031215612b3e57600080fd5b612b4784612ae3565b9250612b5560208501612ae3565b9150604084013590509250925092565b60008060408385031215612b7857600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612bc657612bc6612b87565b604052919050565b600067ffffffffffffffff831115612be857612be8612b87565b612bfb601f8401601f1916602001612b9d565b9050828152838383011115612c0f57600080fd5b828260208301376000602084830101529392505050565b600060208284031215612c3857600080fd5b813567ffffffffffffffff811115612c4f57600080fd5b8201601f81018413612c6057600080fd5b611b5a84823560208401612bce565b80358015158114612afa57600080fd5b60008060408385031215612c9257600080fd5b82359150612ca260208401612c6f565b90509250929050565b600060208284031215612cbd57600080fd5b61156782612ae3565b60008060408385031215612cd957600080fd5b612ce283612ae3565b9150612ca260208401612c6f565b60008060008060808587031215612d0657600080fd5b612d0f85612ae3565b9350612d1d60208601612ae3565b925060408501359150606085013567ffffffffffffffff811115612d4057600080fd5b8501601f81018713612d5157600080fd5b612d6087823560208401612bce565b91505092959194509250565b60008060408385031215612d7f57600080fd5b612d8883612ae3565b915060208301356bffffffffffffffffffffffff81168114612da957600080fd5b809150509250929050565b600080600060408486031215612dc957600080fd5b83359250602084013567ffffffffffffffff80821115612de857600080fd5b818601915086601f830112612dfc57600080fd5b813581811115612e0b57600080fd5b8760208260051b8501011115612e2057600080fd5b6020830194508093505050509250925092565b60008060408385031215612e4657600080fd5b612e4f83612ae3565b9150612ca260208401612ae3565b600067ffffffffffffffff821115612e7757612e77612b87565b5060051b60200190565b600082601f830112612e9257600080fd5b81356020612ea7612ea283612e5d565b612b9d565b82815260059290921b84018101918181019086841115612ec657600080fd5b8286015b84811015612ee15780358352918301918301612eca565b509695505050505050565b60008060408385031215612eff57600080fd5b823567ffffffffffffffff80821115612f1757600080fd5b818501915085601f830112612f2b57600080fd5b81356020612f3b612ea283612e5d565b82815260059290921b84018101918181019089841115612f5a57600080fd5b948201945b83861015612f7f57612f7086612ae3565b82529482019490820190612f5f565b96505086013592505080821115612f9557600080fd5b50612fa285828601612e81565b9150509250929050565b600181811c90821680612fc057607f821691505b60208210811415612fe157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008282101561300f5761300f612fe7565b500390565b600081600019048311821515161561302e5761302e612fe7565b500290565b634e487b7160e01b600052601260045260246000fd5b60008261305857613058613033565b500490565b6000821982111561307057613070612fe7565b500190565b600060001982141561308957613089612fe7565b5060010190565b600083516130a2818460208801612a5f565b8351908301906130b6818360208801612a5f565b01949350505050565b634e487b7160e01b600052603260045260246000fd5b6000826130e4576130e4613033565b500690565b60006001600160a01b0380871683528086166020840152508360408301526080606083015261311b6080830184612a8b565b9695505050505050565b60006020828403121561313757600080fd5b815161156781612a2c56fe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220d4cfd2b4806419ad513f1b758fe1ce7bccfc8797e70adda6250ea5991d870fb364736f6c634300080a0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002468747470733a2f2f61652d6261636b656e642e6c6f6275732e696f2f677573686965732f00000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _newBaseURI (string): https://ae-backend.lobus.io/gushies/
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000024
Arg [2] : 68747470733a2f2f61652d6261636b656e642e6c6f6275732e696f2f67757368
Arg [3] : 6965732f00000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.