ERC-721
Overview
Max Total Supply
0 ABSOUL
Holders
16,635
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Balance
1 ABSOULLoading...
Loading
Loading...
Loading
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x873C69e4...ED4c7451b The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
SoulboundNFT
Compiler Version
v0.8.27+commit.40a35a09
Optimization Enabled:
Yes with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
1234567891011121314151617181920212223242526// contracts/SoulboundNFT.sol// SPDX-License-Identifier: Apache-2.0pragma solidity ^0.8.27;import "@openzeppelin/contracts/access/Ownable2Step.sol";import "@openzeppelin/contracts/token/ERC721/ERC721.sol";import "@openzeppelin/contracts/utils/Pausable.sol";import "./interfaces/IERC4671.sol";contract SoulboundNFT is ERC721, Ownable2Step, Pausable, IERC4671 {uint256 private _tokenIdsCount;string private _baseTokenURI;event BaseURIUpdated(string newBaseURI);error Unauthorized();error AlreadyOwnsSoulboundToken();error SoulboundTokenNonTransferable();/*** @param name_ The name of the NFT collection.* @param symbol_ The symbol of the NFT collection.* @param owner The address of the contract owner.* @param baseURI The base URI for metadata.*/
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (access/AccessControl.sol)pragma solidity ^0.8.20;import {IAccessControl} from "@openzeppelin/contracts/access/IAccessControl.sol";import {ContextUpgradeable} from "../utils/ContextUpgradeable.sol";import {ERC165Upgradeable} from "../utils/introspection/ERC165Upgradeable.sol";import {Initializable} from "../proxy/utils/Initializable.sol";/*** @dev Contract module that allows children to implement role-based access* control mechanisms. This is a lightweight version that doesn't allow enumerating role* members except through off-chain means by accessing the contract event logs. Some* applications may benefit from on-chain enumerability, for those cases see* {AccessControlEnumerable}.** Roles are referred to by their `bytes32` identifier. These should be exposed* in the external API and be unique. The best way to achieve this is by* using `public constant` hash digests:** ```solidity* bytes32 public constant MY_ROLE = keccak256("MY_ROLE");* ```** Roles can be used to represent a set of permissions. To restrict access to a
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.1.0) (access/Ownable2Step.sol)pragma solidity ^0.8.20;import {OwnableUpgradeable} from "./OwnableUpgradeable.sol";import {Initializable} from "../proxy/utils/Initializable.sol";/*** @dev Contract module which provides access control mechanism, where* there is an account (an owner) that can be granted exclusive access to* specific functions.** This extension of the {Ownable} contract includes a two-step mechanism to transfer* ownership, where the new owner must call {acceptOwnership} in order to replace the* old one. This can help prevent common mistakes, such as transfers of ownership to* incorrect accounts, or to contracts that are unable to interact with the* permission system.** The initial owner is specified at deployment time in the constructor for `Ownable`. This* can later be changed with {transferOwnership} and {acceptOwnership}.** This module is used through inheritance. It will make available all functions* from parent (Ownable).*/abstract contract Ownable2StepUpgradeable is Initializable, OwnableUpgradeable {
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)pragma solidity ^0.8.20;import {ContextUpgradeable} from "../utils/ContextUpgradeable.sol";import {Initializable} from "../proxy/utils/Initializable.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.** The initial owner is set to the address provided by the deployer. 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 OwnableUpgradeable is Initializable, ContextUpgradeable {/// @custom:storage-location erc7201:openzeppelin.storage.Ownablestruct OwnableStorage {address _owner;}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (proxy/utils/Initializable.sol)pragma solidity ^0.8.20;/*** @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed* behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an* external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer* function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.** The initialization functions use a version number. Once a version number is used, it is consumed and cannot be* reused. This mechanism prevents re-execution of each "step" but allows the creation of new initialization steps in* case an upgrade adds a module that needs to be initialized.** For example:** [.hljs-theme-light.nopadding]* ```solidity* contract MyToken is ERC20Upgradeable {* function initialize() initializer public {* __ERC20_init("MyToken", "MTK");* }* }** contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.1.0) (token/common/ERC2981.sol)pragma solidity ^0.8.20;import {IERC2981} from "@openzeppelin/contracts/interfaces/IERC2981.sol";import {IERC165} from "@openzeppelin/contracts/utils/introspection/IERC165.sol";import {ERC165Upgradeable} from "../../utils/introspection/ERC165Upgradeable.sol";import {Initializable} from "../../proxy/utils/Initializable.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 ERC. Marketplaces are expected to* voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.*/abstract contract ERC2981Upgradeable is Initializable, IERC2981, ERC165Upgradeable {struct RoyaltyInfo {address receiver;
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC721/ERC721.sol)pragma solidity ^0.8.20;import {IERC721} from "@openzeppelin/contracts/token/ERC721/IERC721.sol";import {IERC721Metadata} from "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";import {ERC721Utils} from "@openzeppelin/contracts/token/ERC721/utils/ERC721Utils.sol";import {ContextUpgradeable} from "../../utils/ContextUpgradeable.sol";import {Strings} from "@openzeppelin/contracts/utils/Strings.sol";import {IERC165} from "@openzeppelin/contracts/utils/introspection/IERC165.sol";import {ERC165Upgradeable} from "../../utils/introspection/ERC165Upgradeable.sol";import {IERC721Errors} from "@openzeppelin/contracts/interfaces/draft-IERC6093.sol";import {Initializable} from "../../proxy/utils/Initializable.sol";/*** @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC-721] Non-Fungible Token Standard, including* the Metadata extension, but not including the Enumerable extension, which is available separately as* {ERC721Enumerable}.*/abstract contract ERC721Upgradeable is Initializable, ContextUpgradeable, ERC165Upgradeable, IERC721, IERC721Metadata, IERC721Errors {using Strings for uint256;/// @custom:storage-location erc7201:openzeppelin.storage.ERC721struct ERC721Storage {// Token name
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC721/extensions/ERC721Enumerable.sol)pragma solidity ^0.8.20;import {ERC721Upgradeable} from "../ERC721Upgradeable.sol";import {IERC721Enumerable} from "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";import {IERC165} from "@openzeppelin/contracts/utils/introspection/IERC165.sol";import {Initializable} from "../../../proxy/utils/Initializable.sol";/*** @dev This implements an optional extension of {ERC721} defined in the ERC that adds enumerability* of all the token ids in the contract as well as all token ids owned by each account.** CAUTION: {ERC721} extensions that implement custom `balanceOf` logic, such as {ERC721Consecutive},* interfere with enumerability and should not be used together with {ERC721Enumerable}.*/abstract contract ERC721EnumerableUpgradeable is Initializable, ERC721Upgradeable, IERC721Enumerable {/// @custom:storage-location erc7201:openzeppelin.storage.ERC721Enumerablestruct ERC721EnumerableStorage {mapping(address owner => mapping(uint256 index => uint256)) _ownedTokens;mapping(uint256 tokenId => uint256) _ownedTokensIndex;uint256[] _allTokens;mapping(uint256 tokenId => uint256) _allTokensIndex;}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)pragma solidity ^0.8.20;import {Initializable} from "../proxy/utils/Initializable.sol";/*** @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 ContextUpgradeable is Initializable {function __Context_init() internal onlyInitializing {}function __Context_init_unchained() internal onlyInitializing {}function _msgSender() internal view virtual returns (address) {return msg.sender;}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/ERC165.sol)pragma solidity ^0.8.20;import {IERC165} from "@openzeppelin/contracts/utils/introspection/IERC165.sol";import {Initializable} from "../../proxy/utils/Initializable.sol";/*** @dev Implementation of the {IERC165} interface.** Contracts that want to implement ERC-165 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);* }* ```*/abstract contract ERC165Upgradeable is Initializable, IERC165 {function __ERC165_init() internal onlyInitializing {}function __ERC165_init_unchained() internal onlyInitializing {}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (utils/Pausable.sol)pragma solidity ^0.8.20;import {ContextUpgradeable} from "../utils/ContextUpgradeable.sol";import {Initializable} from "../proxy/utils/Initializable.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 PausableUpgradeable is Initializable, ContextUpgradeable {/// @custom:storage-location erc7201:openzeppelin.storage.Pausablestruct PausableStorage {bool _paused;}// keccak256(abi.encode(uint256(keccak256("openzeppelin.storage.Pausable")) - 1)) & ~bytes32(uint256(0xff))bytes32 private constant PausableStorageLocation = 0xcd5ed15c6e187e77e9aee88184c21f4f2182ab5827cb3b7e07fbedcd63f03300;
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.1.0) (utils/ReentrancyGuard.sol)pragma solidity ^0.8.20;import {Initializable} from "../proxy/utils/Initializable.sol";/*** @dev Contract module that helps prevent reentrant calls to a function.** Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier* available, which can be applied to functions to make sure there are no nested* (reentrant) calls to them.** Note that because there is a single `nonReentrant` guard, functions marked as* `nonReentrant` may not call one another. This can be worked around by making* those functions `private`, and then adding `external` `nonReentrant` entry* points to them.** TIP: If EIP-1153 (transient storage) is available on the chain you're deploying at,* consider using {ReentrancyGuardTransient} instead.** TIP: If you would like to learn more about reentrancy and alternative ways* to protect against it, check out our blog post* https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].*/abstract contract ReentrancyGuardUpgradeable is Initializable {
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.1.0) (access/IAccessControl.sol)pragma solidity ^0.8.20;/*** @dev External interface of AccessControl declared to support ERC-165 detection.*/interface IAccessControl {/*** @dev The `account` is missing a role.*/error AccessControlUnauthorizedAccount(address account, bytes32 neededRole);/*** @dev The caller of a function is not the expected one.** NOTE: Don't confuse with {AccessControlUnauthorizedAccount}.*/error AccessControlBadConfirmation();/*** @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`** `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite* {RoleAdminChanged} not being emitted signaling this.
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)pragma solidity ^0.8.20;import {Context} from "../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.** The initial owner is set to the address provided by the deployer. 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;/*** @dev The caller account is not authorized to perform an operation.*/error OwnableUnauthorizedAccount(address account);
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.1.0) (access/Ownable2Step.sol)pragma solidity ^0.8.20;import {Ownable} from "./Ownable.sol";/*** @dev Contract module which provides access control mechanism, where* there is an account (an owner) that can be granted exclusive access to* specific functions.** This extension of the {Ownable} contract includes a two-step mechanism to transfer* ownership, where the new owner must call {acceptOwnership} in order to replace the* old one. This can help prevent common mistakes, such as transfers of ownership to* incorrect accounts, or to contracts that are unable to interact with the* permission system.** The initial owner is specified at deployment time in the constructor for `Ownable`. This* can later be changed with {transferOwnership} and {acceptOwnership}.** This module is used through inheritance. It will make available all functions* from parent (Ownable).*/abstract contract Ownable2Step is Ownable {address private _pendingOwner;
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.1.0) (interfaces/draft-IERC6093.sol)pragma solidity ^0.8.20;/*** @dev Standard ERC-20 Errors* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-20 tokens.*/interface IERC20Errors {/*** @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.* @param sender Address whose tokens are being transferred.* @param balance Current balance for the interacting account.* @param needed Minimum amount required to perform a transfer.*/error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);/*** @dev Indicates a failure with the token `sender`. Used in transfers.* @param sender Address whose tokens are being transferred.*/error ERC20InvalidSender(address sender);/*** @dev Indicates a failure with the token `receiver`. Used in transfers.* @param receiver Address to which tokens are being transferred.
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.1.0) (interfaces/IERC2981.sol)pragma solidity ^0.8.20;import {IERC165} from "../utils/introspection/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.*/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 paid in that same unit of exchange.** NOTE: ERC-2981 allows setting the royalty to 100% of the price. In that case all the price would be sent to the* royalty receiver and 0 tokens to the seller. Contracts dealing with royalty should consider empty transfers.*/function royaltyInfo(uint256 tokenId,uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount);}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC721/ERC721.sol)pragma solidity ^0.8.20;import {IERC721} from "./IERC721.sol";import {IERC721Metadata} from "./extensions/IERC721Metadata.sol";import {ERC721Utils} from "./utils/ERC721Utils.sol";import {Context} from "../../utils/Context.sol";import {Strings} from "../../utils/Strings.sol";import {IERC165, ERC165} from "../../utils/introspection/ERC165.sol";import {IERC721Errors} from "../../interfaces/draft-IERC6093.sol";/*** @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC-721] Non-Fungible Token Standard, including* the Metadata extension, but not including the Enumerable extension, which is available separately as* {ERC721Enumerable}.*/abstract contract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Errors {using Strings for uint256;// Token namestring private _name;// Token symbolstring private _symbol;
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/extensions/IERC721Enumerable.sol)pragma solidity ^0.8.20;import {IERC721} from "../IERC721.sol";/*** @title ERC-721 Non-Fungible Token Standard, optional enumeration extension* @dev See https://eips.ethereum.org/EIPS/eip-721*/interface IERC721Enumerable is IERC721 {/*** @dev Returns the total amount of tokens stored by the contract.*/function totalSupply() external view returns (uint256);/*** @dev Returns a token ID owned by `owner` at a given `index` of its token list.* Use along with {balanceOf} to enumerate all of ``owner``'s tokens.*/function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);/*** @dev Returns a token ID at a given `index` of all the tokens stored by the contract.* Use along with {totalSupply} to enumerate all tokens.
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/extensions/IERC721Metadata.sol)pragma solidity ^0.8.20;import {IERC721} from "../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);
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC721/IERC721.sol)pragma solidity ^0.8.20;import {IERC165} from "../../utils/introspection/IERC165.sol";/*** @dev Required interface of an ERC-721 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);
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC721/IERC721Receiver.sol)pragma solidity ^0.8.20;/*** @title ERC-721 token receiver interface* @dev Interface for any contract that wants to support safeTransfers* from ERC-721 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 `IERC721Receiver.onERC721Received.selector`.*/function onERC721Received(address operator,address from,uint256 tokenId,bytes calldata data
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC721/utils/ERC721Utils.sol)pragma solidity ^0.8.20;import {IERC721Receiver} from "../IERC721Receiver.sol";import {IERC721Errors} from "../../../interfaces/draft-IERC6093.sol";/*** @dev Library that provide common ERC-721 utility functions.** See https://eips.ethereum.org/EIPS/eip-721[ERC-721].** _Available since v5.1._*/library ERC721Utils {/*** @dev Performs an acceptance check for the provided `operator` by calling {IERC721-onERC721Received}* on the `to` address. The `operator` is generally the address that initiated the token transfer (i.e. `msg.sender`).** The acceptance call is not executed and treated as a no-op if the target address doesn't contain code (i.e. an EOA).* Otherwise, the recipient must implement {IERC721Receiver-onERC721Received} and return the acceptance magic value to accept* the transfer.*/function checkOnERC721Received(address operator,
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)pragma solidity ^0.8.20;/*** @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;}function _contextSuffixLength() internal view virtual returns (uint256) {return 0;
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/ERC165.sol)pragma solidity ^0.8.20;import {IERC165} from "./IERC165.sol";/*** @dev Implementation of the {IERC165} interface.** Contracts that want to implement ERC-165 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);* }* ```*/abstract contract ERC165 is IERC165 {/*** @dev See {IERC165-supportsInterface}.*/function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) {return interfaceId == type(IERC165).interfaceId;}
12345678910111213141516171819202122232425// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/IERC165.sol)pragma solidity ^0.8.20;/*** @dev Interface of the ERC-165 standard, as defined in the* https://eips.ethereum.org/EIPS/eip-165[ERC].** 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[ERC 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);}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.1.0) (utils/math/Math.sol)pragma solidity ^0.8.20;import {Panic} from "../Panic.sol";import {SafeCast} from "./SafeCast.sol";/*** @dev Standard math utilities missing in the Solidity language.*/library Math {enum Rounding {Floor, // Toward negative infinityCeil, // Toward positive infinityTrunc, // Toward zeroExpand // Away from zero}/*** @dev Returns the addition of two unsigned integers, with an success flag (no overflow).*/function tryAdd(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {unchecked {uint256 c = a + b;if (c < a) return (false, 0);
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.1.0) (utils/math/SafeCast.sol)// This file was procedurally generated from scripts/generate/templates/SafeCast.js.pragma solidity ^0.8.20;/*** @dev Wrappers over Solidity's uintXX/intXX/bool casting operators with added overflow* checks.** Downcasting from uint256/int256 in Solidity does not revert on overflow. This can* easily result in undesired exploitation or bugs, since developers usually* assume that overflows raise errors. `SafeCast` restores this intuition by* reverting the transaction when such an operation overflows.** Using this library instead of the unchecked operations eliminates an entire* class of bugs, so it's recommended to use it always.*/library SafeCast {/*** @dev Value doesn't fit in an uint of `bits` size.*/error SafeCastOverflowedUintDowncast(uint8 bits, uint256 value);/*** @dev An int value doesn't fit in an uint of `bits` size.
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.1.0) (utils/math/SignedMath.sol)pragma solidity ^0.8.20;import {SafeCast} from "./SafeCast.sol";/*** @dev Standard signed math utilities missing in the Solidity language.*/library SignedMath {/*** @dev Branchless ternary evaluation for `a ? b : c`. Gas costs are constant.** IMPORTANT: This function may reduce bytecode size and consume less gas when used standalone.* However, the compiler may optimize Solidity ternary operations (i.e. `a ? b : c`) to only compute* one branch when needed, making this function more expensive.*/function ternary(bool condition, int256 a, int256 b) internal pure returns (int256) {unchecked {// branchless ternary works because:// b ^ (a ^ b) == a// b ^ 0 == breturn b ^ ((a ^ b) * int256(SafeCast.toUint(condition)));}}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.1.0) (utils/Panic.sol)pragma solidity ^0.8.20;/*** @dev Helper library for emitting standardized panic codes.** ```solidity* contract Example {* using Panic for uint256;** // Use any of the declared internal constants* function foo() { Panic.GENERIC.panic(); }** // Alternatively* function foo() { Panic.panic(Panic.GENERIC); }* }* ```** Follows the list from https://github.com/ethereum/solidity/blob/v0.8.24/libsolutil/ErrorCodes.h[libsolutil].** _Available since v5.1._*/// slither-disable-next-line unused-statelibrary Panic {
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (utils/Pausable.sol)pragma solidity ^0.8.20;import {Context} from "../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 {bool private _paused;/*** @dev Emitted when the pause is triggered by `account`.*/event Paused(address account);/*** @dev Emitted when the pause is lifted by `account`.
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.1.0) (utils/Strings.sol)pragma solidity ^0.8.20;import {Math} from "./math/Math.sol";import {SignedMath} from "./math/SignedMath.sol";/*** @dev String operations.*/library Strings {bytes16 private constant HEX_DIGITS = "0123456789abcdef";uint8 private constant ADDRESS_LENGTH = 20;/*** @dev The `value` string doesn't fit in the specified `length`.*/error StringsInsufficientHexLength(uint256 value, uint256 length);/*** @dev Converts a `uint256` to its ASCII `string` decimal representation.*/function toString(uint256 value) internal pure returns (string memory) {unchecked {uint256 length = Math.log10(value) + 1;
1234567891011121314151617181920212223242526// contracts/Abyss.sol// SPDX-License-Identifier: Apache-2.0pragma solidity 0.8.27;import "@openzeppelin/contracts/interfaces/IERC2981.sol";import "@openzeppelin/contracts-upgradeable/token/ERC721/extensions/ERC721EnumerableUpgradeable.sol";import "@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol";import "@openzeppelin/contracts-upgradeable/utils/PausableUpgradeable.sol";import "@openzeppelin/contracts-upgradeable/token/common/ERC2981Upgradeable.sol";import "@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol";import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";import "@openzeppelin/contracts-upgradeable/utils/ReentrancyGuardUpgradeable.sol";import "solady/src/utils/MerkleProofLib.sol";import "./SoulboundNFT.sol";contract Abyss is Initializable,ERC721EnumerableUpgradeable,AccessControlUpgradeable,PausableUpgradeable,ERC2981Upgradeable,Ownable2StepUpgradeable,ReentrancyGuardUpgradeable{// Roles
1234567891011121314151617181920212223242526// contracts/Abyss.sol// SPDX-License-Identifier: Apache-2.0pragma solidity 0.8.27;import "@openzeppelin/contracts/interfaces/IERC2981.sol";import "@openzeppelin/contracts-upgradeable/token/ERC721/extensions/ERC721EnumerableUpgradeable.sol";import "@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol";import "@openzeppelin/contracts-upgradeable/utils/PausableUpgradeable.sol";import "@openzeppelin/contracts-upgradeable/token/common/ERC2981Upgradeable.sol";import "@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol";import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";import "./SoulboundNFT.sol";contract Abyss00 is Initializable,ERC721EnumerableUpgradeable,AccessControlUpgradeable,PausableUpgradeable,ERC2981Upgradeable,Ownable2StepUpgradeable{// Rolesbytes32 public constant ADMIN_ROLE = keccak256("ADMIN_ROLE");bytes32 public constant EPOCH_RESET_ROLE = keccak256("EPOCH_RESET_ROLE");
1234567891011121314151617181920212223242526// SPDX-License-Identifier: Apache-2.0pragma solidity 0.8.27;import "@openzeppelin/contracts/utils/introspection/IERC165.sol";interface IERC4671 is IERC165 {/// Event emitted when a token `tokenId` is minted for `owner`event Minted(address owner, uint256 tokenId);/// Event emitted when a token `tokenId` is burned for `owner`event Burned(address owner, uint256 tokenId);/// @notice Get owner of a token/// @param tokenId Identifier of the token/// @return Address of the owner of `tokenId`function ownerOf(uint256 tokenId) external view returns (address);/// @notice Check if a token hasn't been revoked/// @param tokenId Identifier of the token/// @return True if the token is valid, false otherwisefunction isValid(uint256 tokenId) external view returns (bool);/// @notice Check if an address owns a valid token in the contract/// @param owner Address for whom to check the ownership/// @return True if `owner` has a valid token, false otherwisefunction hasValid(address owner) external view returns (bool);}
12345678910111213141516171819202122232425// SPDX-License-Identifier: MITpragma solidity ^0.8.4;/// @notice Gas optimized verification of proof of inclusion for a leaf in a Merkle tree./// @author Solady (https://github.com/vectorized/solady/blob/main/src/utils/MerkleProofLib.sol)/// @author Modified from Solmate (https://github.com/transmissions11/solmate/blob/main/src/utils/MerkleProofLib.sol)/// @author Modified from OpenZeppelin (https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/cryptography/MerkleProof.sol)library MerkleProofLib {/*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*//* MERKLE PROOF VERIFICATION OPERATIONS *//*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*//// @dev Returns whether `leaf` exists in the Merkle tree with `root`, given `proof`.function verify(bytes32[] calldata proof, bytes32 root, bytes32 leaf)internalpurereturns (bool isValid){/// @solidity memory-safe-assemblyassembly {if proof.length {// Left shift by 5 is equivalent to multiplying by 0x20.let end := add(proof.offset, shl(5, proof.length))// Initialize `offset` to the offset of `proof` in the calldata.let offset := proof.offset
12345678910111213141516171819{"optimizer": {"enabled": true,"runs": 200},"evmVersion": "paris","outputSelection": {"*": {"*": ["evm.bytecode","evm.deployedBytecode","devdoc","userdoc","metadata","abi"]}}}
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"string","name":"baseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AlreadyOwnsSoulboundToken","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"owner","type":"address"}],"name":"ERC721IncorrectOwner","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC721InsufficientApproval","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC721InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"ERC721InvalidOperator","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"ERC721InvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC721InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC721InvalidSender","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC721NonexistentToken","type":"error"},{"inputs":[],"name":"EnforcedPause","type":"error"},{"inputs":[],"name":"ExpectedPause","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"SoulboundTokenNonTransferable","type":"error"},{"inputs":[],"name":"Unauthorized","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"newBaseURI","type":"string"}],"name":"BaseURIUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Burned","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Minted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferStarted","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":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"hasValid","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"isValid","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","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":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","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":[{"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":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b50604051611b23380380611b2383398101604081905261002f916101d0565b818484600061003e838261030e565b50600161004b828261030e565b5050506001600160a01b03811661007c57604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b610085816100a9565b506007805460ff60a01b19169055600961009f828261030e565b50505050506103cc565b600780546001600160a01b03191690556100c2816100c5565b50565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261013e57600080fd5b81516001600160401b0381111561015757610157610117565b604051601f8201601f19908116603f011681016001600160401b038111828210171561018557610185610117565b60405281815283820160200185101561019d57600080fd5b60005b828110156101bc576020818601810151838301820152016101a0565b506000918101602001919091529392505050565b600080600080608085870312156101e657600080fd5b84516001600160401b038111156101fc57600080fd5b6102088782880161012d565b602087015190955090506001600160401b0381111561022657600080fd5b6102328782880161012d565b604087015190945090506001600160a01b038116811461025157600080fd5b60608601519092506001600160401b0381111561026d57600080fd5b6102798782880161012d565b91505092959194509250565b600181811c9082168061029957607f821691505b6020821081036102b957634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561030957806000526020600020601f840160051c810160208510156102e65750805b601f840160051c820191505b8181101561030657600081556001016102f2565b50505b505050565b81516001600160401b0381111561032757610327610117565b61033b816103358454610285565b846102bf565b6020601f82116001811461036f57600083156103575750848201515b600019600385901b1c1916600184901b178455610306565b600084815260208120601f198516915b8281101561039f578785015182556020948501946001909201910161037f565b50848210156103bd5786840151600019600387901b60f8161c191681555b50505050600190811b01905550565b611748806103db6000396000f3fe608060405234801561001057600080fd5b506004361061018e5760003560e01c806370a08231116100de578063a22cb46511610097578063e30c397811610071578063e30c39781461032f578063e985e9c514610340578063f2fde38b14610353578063f577a5001461036657600080fd5b8063a22cb465146102f6578063b88d4fde14610309578063c87b56dd1461031c57600080fd5b806370a08231146102a4578063715018a6146102c557806379ba5097146102cd5780638456cb59146102d55780638da5cb5b146102dd57806395d89b41146102ee57600080fd5b80633f4ba83a1161014b5780634394551211610125578063439455121461025957806355f804b31461026c5780635c975abb1461027f5780636352211e1461029157600080fd5b80633f4ba83a1461022b57806342842e0e1461023357806342966c681461024657600080fd5b806301ffc9a71461019357806306fdde03146101bb578063081812fc146101d0578063095ea7b3146101fb5780631249c58b1461021057806323b872dd14610218575b600080fd5b6101a66101a136600461122d565b610391565b60405190151581526020015b60405180910390f35b6101c36103bc565b6040516101b2919061129a565b6101e36101de3660046112ad565b61044e565b6040516001600160a01b0390911681526020016101b2565b61020e6102093660046112e2565b610477565b005b61020e610486565b61020e61022636600461130c565b61051a565b61020e6105aa565b61020e61024136600461130c565b6105bc565b61020e6102543660046112ad565b6105dc565b6101a6610267366004611349565b610664565b61020e61027a3660046113f4565b610677565b600754600160a01b900460ff166101a6565b6101e361029f3660046112ad565b6106bb565b6102b76102b2366004611349565b6106d8565b6040519081526020016101b2565b61020e610720565b61020e610732565b61020e610776565b6006546001600160a01b03166101e3565b6101c3610786565b61020e61030436600461143d565b610795565b61020e610317366004611479565b6107a0565b6101c361032a3660046112ad565b6107b8565b6007546001600160a01b03166101e3565b6101a661034e3660046114f5565b610820565b61020e610361366004611349565b61084e565b6101a66103743660046112ad565b6000908152600260205260409020546001600160a01b0316151590565b60006001600160e01b0319821663356c744360e21b14806103b657506103b6826108bf565b92915050565b6060600080546103cb90611528565b80601f01602080910402602001604051908101604052809291908181526020018280546103f790611528565b80156104445780601f1061041957610100808354040283529160200191610444565b820191906000526020600020905b81548152906001019060200180831161042757829003601f168201915b5050505050905090565b60006104598261090f565b506000828152600460205260409020546001600160a01b03166103b6565b610482828233610948565b5050565b61048e610955565b6000610499336106d8565b11156104b8576040516319aca00b60e01b815260040160405180910390fd5b6001600860008282546104cb9190611562565b90915550506008546104dd3382610980565b60408051338152602081018390527f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe91015b60405180910390a150565b6001600160a01b03821661054957604051633250574960e11b8152600060048201526024015b60405180910390fd5b600061055683833361099a565b9050836001600160a01b0316816001600160a01b0316146105a4576040516364283d7b60e01b81526001600160a01b0380861660048301526024820184905282166044820152606401610540565b50505050565b6105b26109fb565b6105ba610a28565b565b6105d7838383604051806020016040528060008152506107a0565b505050565b6105e4610955565b60006105ef8261090f565b90506001600160a01b0381163314610619576040516282b42960e81b815260040160405180910390fd5b604080516001600160a01b0383168152602081018490527f696de425f79f4a40bc6d2122ca50507f0efbeabbff86a84871b7196ab8ea8df7910160405180910390a161048282610a7d565b600080610670836106d8565b1192915050565b61067f6109fb565b600961068b82826115ca565b507f6741b2fc379fad678116fe3d4d4b9a1a184ab53ba36b86ad0fa66340b1ab41ad8160405161050f919061129a565b6000818152600260205260408120546001600160a01b03166103b6565b60006001600160a01b038216610704576040516322718ad960e21b815260006004820152602401610540565b506001600160a01b031660009081526003602052604090205490565b6107286109fb565b6105ba6000610ab8565b60075433906001600160a01b0316811461076a5760405163118cdaa760e01b81526001600160a01b0382166004820152602401610540565b61077381610ab8565b50565b61077e6109fb565b6105ba610ad1565b6060600180546103cb90611528565b610482338383610b14565b6107ab84848461051a565b6105a43385858585610bb3565b60606107c38261090f565b5060006107ce610cde565b905060008151116107ee5760405180602001604052806000815250610819565b806107f884610ced565b604051602001610809929190611689565b6040516020818303038152906040525b9392505050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6108566109fb565b600780546001600160a01b0383166001600160a01b031990911681179091556108876006546001600160a01b031690565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b60006001600160e01b031982166380ac58cd60e01b14806108f057506001600160e01b03198216635b5e139f60e01b145b806103b657506301ffc9a760e01b6001600160e01b03198316146103b6565b6000818152600260205260408120546001600160a01b0316806103b657604051637e27328960e01b815260048101849052602401610540565b6105d78383836001610d80565b600754600160a01b900460ff16156105ba5760405163d93c066560e01b815260040160405180910390fd5b610482828260405180602001604052806000815250610e86565b60006001600160a01b038416158015906109ca57506000838152600260205260409020546001600160a01b031615155b156109e85760405163216dcda760e01b815260040160405180910390fd5b6109f3848484610e9e565b949350505050565b6006546001600160a01b031633146105ba5760405163118cdaa760e01b8152336004820152602401610540565b610a30610f97565b6007805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6000610a8c600083600061099a565b90506001600160a01b03811661048257604051637e27328960e01b815260048101839052602401610540565b600780546001600160a01b031916905561077381610fc1565b610ad9610955565b6007805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610a603390565b6001600160a01b038216610b4657604051630b61174360e31b81526001600160a01b0383166004820152602401610540565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0383163b15610cd757604051630a85bd0160e11b81526001600160a01b0384169063150b7a0290610bf59088908890879087906004016116b8565b6020604051808303816000875af1925050508015610c30575060408051601f3d908101601f19168201909252610c2d918101906116f5565b60015b610c99573d808015610c5e576040519150601f19603f3d011682016040523d82523d6000602084013e610c63565b606091505b508051600003610c9157604051633250574960e11b81526001600160a01b0385166004820152602401610540565b805181602001fd5b6001600160e01b03198116630a85bd0160e11b14610cd557604051633250574960e11b81526001600160a01b0385166004820152602401610540565b505b5050505050565b6060600980546103cb90611528565b60606000610cfa83611013565b600101905060008167ffffffffffffffff811115610d1a57610d1a611364565b6040519080825280601f01601f191660200182016040528015610d44576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084610d4e57509392505050565b8080610d9457506001600160a01b03821615155b15610e56576000610da48461090f565b90506001600160a01b03831615801590610dd05750826001600160a01b0316816001600160a01b031614155b8015610de35750610de18184610820565b155b15610e0c5760405163a9fbf51f60e01b81526001600160a01b0384166004820152602401610540565b8115610e545783856001600160a01b0316826001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b5050600090815260046020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b610e9083836110eb565b6105d7336000858585610bb3565b6000828152600260205260408120546001600160a01b0390811690831615610ecb57610ecb818486611150565b6001600160a01b03811615610f0957610ee8600085600080610d80565b6001600160a01b038116600090815260036020526040902080546000190190555b6001600160a01b03851615610f38576001600160a01b0385166000908152600360205260409020805460010190555b60008481526002602052604080822080546001600160a01b0319166001600160a01b0389811691821790925591518793918516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4949350505050565b600754600160a01b900460ff166105ba57604051638dfc202b60e01b815260040160405180910390fd5b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106110525772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef8100000000831061107e576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061109c57662386f26fc10000830492506010015b6305f5e10083106110b4576305f5e100830492506008015b61271083106110c857612710830492506004015b606483106110da576064830492506002015b600a83106103b65760010192915050565b6001600160a01b03821661111557604051633250574960e11b815260006004820152602401610540565b60006111238383600061099a565b90506001600160a01b038116156105d7576040516339e3563760e11b815260006004820152602401610540565b61115b8383836111b4565b6105d7576001600160a01b03831661118957604051637e27328960e01b815260048101829052602401610540565b60405163177e802f60e01b81526001600160a01b038316600482015260248101829052604401610540565b60006001600160a01b038316158015906109f35750826001600160a01b0316846001600160a01b031614806111ee57506111ee8484610820565b806109f35750506000908152600460205260409020546001600160a01b03908116911614919050565b6001600160e01b03198116811461077357600080fd5b60006020828403121561123f57600080fd5b813561081981611217565b60005b8381101561126557818101518382015260200161124d565b50506000910152565b6000815180845261128681602086016020860161124a565b601f01601f19169290920160200192915050565b602081526000610819602083018461126e565b6000602082840312156112bf57600080fd5b5035919050565b80356001600160a01b03811681146112dd57600080fd5b919050565b600080604083850312156112f557600080fd5b6112fe836112c6565b946020939093013593505050565b60008060006060848603121561132157600080fd5b61132a846112c6565b9250611338602085016112c6565b929592945050506040919091013590565b60006020828403121561135b57600080fd5b610819826112c6565b634e487b7160e01b600052604160045260246000fd5b60008067ffffffffffffffff84111561139557611395611364565b50604051601f19601f85018116603f0116810181811067ffffffffffffffff821117156113c4576113c4611364565b6040528381529050808284018510156113dc57600080fd5b83836020830137600060208583010152509392505050565b60006020828403121561140657600080fd5b813567ffffffffffffffff81111561141d57600080fd5b8201601f8101841361142e57600080fd5b6109f38482356020840161137a565b6000806040838503121561145057600080fd5b611459836112c6565b91506020830135801515811461146e57600080fd5b809150509250929050565b6000806000806080858703121561148f57600080fd5b611498856112c6565b93506114a6602086016112c6565b925060408501359150606085013567ffffffffffffffff8111156114c957600080fd5b8501601f810187136114da57600080fd5b6114e98782356020840161137a565b91505092959194509250565b6000806040838503121561150857600080fd5b611511836112c6565b915061151f602084016112c6565b90509250929050565b600181811c9082168061153c57607f821691505b60208210810361155c57634e487b7160e01b600052602260045260246000fd5b50919050565b808201808211156103b657634e487b7160e01b600052601160045260246000fd5b601f8211156105d757806000526020600020601f840160051c810160208510156115aa5750805b601f840160051c820191505b81811015610cd757600081556001016115b6565b815167ffffffffffffffff8111156115e4576115e4611364565b6115f8816115f28454611528565b84611583565b6020601f82116001811461162c57600083156116145750848201515b600019600385901b1c1916600184901b178455610cd7565b600084815260208120601f198516915b8281101561165c578785015182556020948501946001909201910161163c565b508482101561167a5786840151600019600387901b60f8161c191681555b50505050600190811b01905550565b6000835161169b81846020880161124a565b8351908301906116af81836020880161124a565b01949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906116eb9083018461126e565b9695505050505050565b60006020828403121561170757600080fd5b81516108198161121756fea2646970667358221220729087e845c2562d598f80d532d117f43cb15e5d7057e6c6752cf25d8287ce4564736f6c634300081b0033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000f00d2cab2753923d6e341bb9249988908cd433a5000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000094162797373536f756c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064142534f554c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061018e5760003560e01c806370a08231116100de578063a22cb46511610097578063e30c397811610071578063e30c39781461032f578063e985e9c514610340578063f2fde38b14610353578063f577a5001461036657600080fd5b8063a22cb465146102f6578063b88d4fde14610309578063c87b56dd1461031c57600080fd5b806370a08231146102a4578063715018a6146102c557806379ba5097146102cd5780638456cb59146102d55780638da5cb5b146102dd57806395d89b41146102ee57600080fd5b80633f4ba83a1161014b5780634394551211610125578063439455121461025957806355f804b31461026c5780635c975abb1461027f5780636352211e1461029157600080fd5b80633f4ba83a1461022b57806342842e0e1461023357806342966c681461024657600080fd5b806301ffc9a71461019357806306fdde03146101bb578063081812fc146101d0578063095ea7b3146101fb5780631249c58b1461021057806323b872dd14610218575b600080fd5b6101a66101a136600461122d565b610391565b60405190151581526020015b60405180910390f35b6101c36103bc565b6040516101b2919061129a565b6101e36101de3660046112ad565b61044e565b6040516001600160a01b0390911681526020016101b2565b61020e6102093660046112e2565b610477565b005b61020e610486565b61020e61022636600461130c565b61051a565b61020e6105aa565b61020e61024136600461130c565b6105bc565b61020e6102543660046112ad565b6105dc565b6101a6610267366004611349565b610664565b61020e61027a3660046113f4565b610677565b600754600160a01b900460ff166101a6565b6101e361029f3660046112ad565b6106bb565b6102b76102b2366004611349565b6106d8565b6040519081526020016101b2565b61020e610720565b61020e610732565b61020e610776565b6006546001600160a01b03166101e3565b6101c3610786565b61020e61030436600461143d565b610795565b61020e610317366004611479565b6107a0565b6101c361032a3660046112ad565b6107b8565b6007546001600160a01b03166101e3565b6101a661034e3660046114f5565b610820565b61020e610361366004611349565b61084e565b6101a66103743660046112ad565b6000908152600260205260409020546001600160a01b0316151590565b60006001600160e01b0319821663356c744360e21b14806103b657506103b6826108bf565b92915050565b6060600080546103cb90611528565b80601f01602080910402602001604051908101604052809291908181526020018280546103f790611528565b80156104445780601f1061041957610100808354040283529160200191610444565b820191906000526020600020905b81548152906001019060200180831161042757829003601f168201915b5050505050905090565b60006104598261090f565b506000828152600460205260409020546001600160a01b03166103b6565b610482828233610948565b5050565b61048e610955565b6000610499336106d8565b11156104b8576040516319aca00b60e01b815260040160405180910390fd5b6001600860008282546104cb9190611562565b90915550506008546104dd3382610980565b60408051338152602081018390527f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe91015b60405180910390a150565b6001600160a01b03821661054957604051633250574960e11b8152600060048201526024015b60405180910390fd5b600061055683833361099a565b9050836001600160a01b0316816001600160a01b0316146105a4576040516364283d7b60e01b81526001600160a01b0380861660048301526024820184905282166044820152606401610540565b50505050565b6105b26109fb565b6105ba610a28565b565b6105d7838383604051806020016040528060008152506107a0565b505050565b6105e4610955565b60006105ef8261090f565b90506001600160a01b0381163314610619576040516282b42960e81b815260040160405180910390fd5b604080516001600160a01b0383168152602081018490527f696de425f79f4a40bc6d2122ca50507f0efbeabbff86a84871b7196ab8ea8df7910160405180910390a161048282610a7d565b600080610670836106d8565b1192915050565b61067f6109fb565b600961068b82826115ca565b507f6741b2fc379fad678116fe3d4d4b9a1a184ab53ba36b86ad0fa66340b1ab41ad8160405161050f919061129a565b6000818152600260205260408120546001600160a01b03166103b6565b60006001600160a01b038216610704576040516322718ad960e21b815260006004820152602401610540565b506001600160a01b031660009081526003602052604090205490565b6107286109fb565b6105ba6000610ab8565b60075433906001600160a01b0316811461076a5760405163118cdaa760e01b81526001600160a01b0382166004820152602401610540565b61077381610ab8565b50565b61077e6109fb565b6105ba610ad1565b6060600180546103cb90611528565b610482338383610b14565b6107ab84848461051a565b6105a43385858585610bb3565b60606107c38261090f565b5060006107ce610cde565b905060008151116107ee5760405180602001604052806000815250610819565b806107f884610ced565b604051602001610809929190611689565b6040516020818303038152906040525b9392505050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6108566109fb565b600780546001600160a01b0383166001600160a01b031990911681179091556108876006546001600160a01b031690565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b60006001600160e01b031982166380ac58cd60e01b14806108f057506001600160e01b03198216635b5e139f60e01b145b806103b657506301ffc9a760e01b6001600160e01b03198316146103b6565b6000818152600260205260408120546001600160a01b0316806103b657604051637e27328960e01b815260048101849052602401610540565b6105d78383836001610d80565b600754600160a01b900460ff16156105ba5760405163d93c066560e01b815260040160405180910390fd5b610482828260405180602001604052806000815250610e86565b60006001600160a01b038416158015906109ca57506000838152600260205260409020546001600160a01b031615155b156109e85760405163216dcda760e01b815260040160405180910390fd5b6109f3848484610e9e565b949350505050565b6006546001600160a01b031633146105ba5760405163118cdaa760e01b8152336004820152602401610540565b610a30610f97565b6007805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6000610a8c600083600061099a565b90506001600160a01b03811661048257604051637e27328960e01b815260048101839052602401610540565b600780546001600160a01b031916905561077381610fc1565b610ad9610955565b6007805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610a603390565b6001600160a01b038216610b4657604051630b61174360e31b81526001600160a01b0383166004820152602401610540565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0383163b15610cd757604051630a85bd0160e11b81526001600160a01b0384169063150b7a0290610bf59088908890879087906004016116b8565b6020604051808303816000875af1925050508015610c30575060408051601f3d908101601f19168201909252610c2d918101906116f5565b60015b610c99573d808015610c5e576040519150601f19603f3d011682016040523d82523d6000602084013e610c63565b606091505b508051600003610c9157604051633250574960e11b81526001600160a01b0385166004820152602401610540565b805181602001fd5b6001600160e01b03198116630a85bd0160e11b14610cd557604051633250574960e11b81526001600160a01b0385166004820152602401610540565b505b5050505050565b6060600980546103cb90611528565b60606000610cfa83611013565b600101905060008167ffffffffffffffff811115610d1a57610d1a611364565b6040519080825280601f01601f191660200182016040528015610d44576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084610d4e57509392505050565b8080610d9457506001600160a01b03821615155b15610e56576000610da48461090f565b90506001600160a01b03831615801590610dd05750826001600160a01b0316816001600160a01b031614155b8015610de35750610de18184610820565b155b15610e0c5760405163a9fbf51f60e01b81526001600160a01b0384166004820152602401610540565b8115610e545783856001600160a01b0316826001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b5050600090815260046020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b610e9083836110eb565b6105d7336000858585610bb3565b6000828152600260205260408120546001600160a01b0390811690831615610ecb57610ecb818486611150565b6001600160a01b03811615610f0957610ee8600085600080610d80565b6001600160a01b038116600090815260036020526040902080546000190190555b6001600160a01b03851615610f38576001600160a01b0385166000908152600360205260409020805460010190555b60008481526002602052604080822080546001600160a01b0319166001600160a01b0389811691821790925591518793918516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4949350505050565b600754600160a01b900460ff166105ba57604051638dfc202b60e01b815260040160405180910390fd5b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106110525772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef8100000000831061107e576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061109c57662386f26fc10000830492506010015b6305f5e10083106110b4576305f5e100830492506008015b61271083106110c857612710830492506004015b606483106110da576064830492506002015b600a83106103b65760010192915050565b6001600160a01b03821661111557604051633250574960e11b815260006004820152602401610540565b60006111238383600061099a565b90506001600160a01b038116156105d7576040516339e3563760e11b815260006004820152602401610540565b61115b8383836111b4565b6105d7576001600160a01b03831661118957604051637e27328960e01b815260048101829052602401610540565b60405163177e802f60e01b81526001600160a01b038316600482015260248101829052604401610540565b60006001600160a01b038316158015906109f35750826001600160a01b0316846001600160a01b031614806111ee57506111ee8484610820565b806109f35750506000908152600460205260409020546001600160a01b03908116911614919050565b6001600160e01b03198116811461077357600080fd5b60006020828403121561123f57600080fd5b813561081981611217565b60005b8381101561126557818101518382015260200161124d565b50506000910152565b6000815180845261128681602086016020860161124a565b601f01601f19169290920160200192915050565b602081526000610819602083018461126e565b6000602082840312156112bf57600080fd5b5035919050565b80356001600160a01b03811681146112dd57600080fd5b919050565b600080604083850312156112f557600080fd5b6112fe836112c6565b946020939093013593505050565b60008060006060848603121561132157600080fd5b61132a846112c6565b9250611338602085016112c6565b929592945050506040919091013590565b60006020828403121561135b57600080fd5b610819826112c6565b634e487b7160e01b600052604160045260246000fd5b60008067ffffffffffffffff84111561139557611395611364565b50604051601f19601f85018116603f0116810181811067ffffffffffffffff821117156113c4576113c4611364565b6040528381529050808284018510156113dc57600080fd5b83836020830137600060208583010152509392505050565b60006020828403121561140657600080fd5b813567ffffffffffffffff81111561141d57600080fd5b8201601f8101841361142e57600080fd5b6109f38482356020840161137a565b6000806040838503121561145057600080fd5b611459836112c6565b91506020830135801515811461146e57600080fd5b809150509250929050565b6000806000806080858703121561148f57600080fd5b611498856112c6565b93506114a6602086016112c6565b925060408501359150606085013567ffffffffffffffff8111156114c957600080fd5b8501601f810187136114da57600080fd5b6114e98782356020840161137a565b91505092959194509250565b6000806040838503121561150857600080fd5b611511836112c6565b915061151f602084016112c6565b90509250929050565b600181811c9082168061153c57607f821691505b60208210810361155c57634e487b7160e01b600052602260045260246000fd5b50919050565b808201808211156103b657634e487b7160e01b600052601160045260246000fd5b601f8211156105d757806000526020600020601f840160051c810160208510156115aa5750805b601f840160051c820191505b81811015610cd757600081556001016115b6565b815167ffffffffffffffff8111156115e4576115e4611364565b6115f8816115f28454611528565b84611583565b6020601f82116001811461162c57600083156116145750848201515b600019600385901b1c1916600184901b178455610cd7565b600084815260208120601f198516915b8281101561165c578785015182556020948501946001909201910161163c565b508482101561167a5786840151600019600387901b60f8161c191681555b50505050600190811b01905550565b6000835161169b81846020880161124a565b8351908301906116af81836020880161124a565b01949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906116eb9083018461126e565b9695505050505050565b60006020828403121561170757600080fd5b81516108198161121756fea2646970667358221220729087e845c2562d598f80d532d117f43cb15e5d7057e6c6752cf25d8287ce4564736f6c634300081b0033
[ 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.