ERC-1155
Overview
Max Total Supply
1,625 BenMezrichProjectScreenplayToken
Holders
878
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Minimal Proxy Contract for 0x97156be3f2d5c94bcbd5e9586a843ddc59241b89
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x9b886399...83aB815C1 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
AspenERC1155Drop
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
Yes with 1 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
1234567891011121314151617181920212223242526// SPDX-License-Identifier: Apache-2.0///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //// _' AAA //// !jz_ A:::A //// ;Lzzzz- A:::::A //// '1zzzzxzz' A:::::::A //// !xzzzzzzi~ A:::::::::A ssssssssss ppppp ppppppppp eeeeeeeeeeee nnnn nnnnnnnn //// ;izzzzzzj^` A:::::A:::::A ss::::::::::s p::::ppp:::::::::p ee::::::::::::ee n:::nn::::::::nn //// `;^.````` A:::::A A:::::A ss:::::::::::::s p:::::::::::::::::p e::::::eeeee:::::een::::::::::::::nn //// -;;;;;;;- A:::::A A:::::A s::::::ssss:::::spp::::::ppppp::::::pe::::::e e:::::enn:::::::::::::::n //// .;;;;;;;_ A:::::A A:::::A s:::::s ssssss p:::::p p:::::pe:::::::eeeee::::::e n:::::nnnn:::::n //// ;;;;;;;;` A:::::AAAAAAAAA:::::A s::::::s p:::::p p:::::pe:::::::::::::::::e n::::n n::::n //// _;;;;;;;' A:::::::::::::::::::::A s::::::s p:::::p p:::::pe::::::eeeeeeeeeee n::::n n::::n //// ;{jjjjjjjjj A:::::AAAAAAAAAAAAA:::::A ssssss s:::::s p:::::p p::::::pe:::::::e n::::n n::::n //// `+IIIVVVVVVVVI` A:::::A A:::::A s:::::ssss::::::s p:::::ppppp:::::::pe::::::::e n::::n n::::n //// ^sIVVVVVVVVVVVVI` A:::::A A:::::As::::::::::::::s p::::::::::::::::p e::::::::eeeeeeee n::::n n::::n //// ~xIIIVVVVVVVVVVVVVI` A:::::A A:::::As:::::::::::ss p::::::::::::::pp ee:::::::::::::e n::::n n::::n //// -~~~;;;;;;;;;;;;;;;;; AAAAAAA AAAAAAAsssssssssss p::::::pppppppp eeeeeeeeeeeeee nnnnnn nnnnnn //// p:::::p //// p:::::p //// p:::::::p //// p:::::::p //// p:::::::p //// ppppppppp //
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControlEnumerable.sol)pragma solidity ^0.8.0;import "./IAccessControlEnumerableUpgradeable.sol";import "./AccessControlUpgradeable.sol";import "../utils/structs/EnumerableSetUpgradeable.sol";import "../proxy/utils/Initializable.sol";/*** @dev Extension of {AccessControl} that allows enumerating the members of each role.*/abstract contract AccessControlEnumerableUpgradeable is Initializable, IAccessControlEnumerableUpgradeable, AccessControlUpgradeable {function __AccessControlEnumerable_init() internal onlyInitializing {}function __AccessControlEnumerable_init_unchained() internal onlyInitializing {}using EnumerableSetUpgradeable for EnumerableSetUpgradeable.AddressSet;mapping(bytes32 => EnumerableSetUpgradeable.AddressSet) private _roleMembers;/*** @dev See {IERC165-supportsInterface}.*/
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControl.sol)pragma solidity ^0.8.0;import "./IAccessControlUpgradeable.sol";import "../utils/ContextUpgradeable.sol";import "../utils/StringsUpgradeable.sol";import "../utils/introspection/ERC165Upgradeable.sol";import "../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:** ```* bytes32 public constant MY_ROLE = keccak256("MY_ROLE");* ```*
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts v4.4.1 (access/IAccessControlEnumerable.sol)pragma solidity ^0.8.0;import "./IAccessControlUpgradeable.sol";/*** @dev External interface of AccessControlEnumerable declared to support ERC165 detection.*/interface IAccessControlEnumerableUpgradeable is IAccessControlUpgradeable {/*** @dev Returns one of the accounts that have `role`. `index` must be a* value between 0 and {getRoleMemberCount}, non-inclusive.** Role bearers are not sorted in any particular way, and their ordering may* change at any point.** WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure* you perform all queries on the same block. See the following* https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]* for more information.*/function getRoleMember(bytes32 role, uint256 index) external view returns (address);/**
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)pragma solidity ^0.8.0;/*** @dev External interface of AccessControl declared to support ERC165 detection.*/interface IAccessControlUpgradeable {/*** @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.** _Available since v3.1._*/event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);/*** @dev Emitted when `account` is granted `role`.** `sender` is the account that originated the contract call, an admin role* bearer except when using {AccessControl-_setupRole}.*/event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);
123456// SPDX-License-Identifier: MIT// OpenZeppelin Contracts v4.4.1 (interfaces/IERC165.sol)pragma solidity ^0.8.0;import "../utils/introspection/IERC165Upgradeable.sol";
12345678910111213141516171819202122232425// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.5.0) (interfaces/IERC2981.sol)pragma solidity ^0.8.0;import "./IERC165Upgradeable.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 IERC2981Upgradeable is IERC165Upgradeable {/*** @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)externalviewreturns (address receiver, uint256 royaltyAmount);}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.5.0) (proxy/utils/Initializable.sol)pragma solidity ^0.8.0;import "../../utils/AddressUpgradeable.sol";/*** @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.** TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as* possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.** CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure* that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.** [CAUTION]* ====* Avoid leaving a contract uninitialized.** An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation* contract, which may impact the proxy. To initialize the implementation contract, you can either invoke the* initializer manually, or you can include a constructor to automatically mark it as initialized when it is deployed:
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)pragma solidity ^0.8.0;import "../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 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 {// Booleans are more expensive than uint256 or any type that takes up a full// word because each write operation emits an extra SLOAD to first read the// slot's contents, replace the bits taken up by the boolean, and then write
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts v4.4.1 (token/ERC1155/ERC1155.sol)pragma solidity ^0.8.0;import "./IERC1155Upgradeable.sol";import "./IERC1155ReceiverUpgradeable.sol";import "./extensions/IERC1155MetadataURIUpgradeable.sol";import "../../utils/AddressUpgradeable.sol";import "../../utils/ContextUpgradeable.sol";import "../../utils/introspection/ERC165Upgradeable.sol";import "../../proxy/utils/Initializable.sol";/*** @dev Implementation of the basic standard multi-token.* See https://eips.ethereum.org/EIPS/eip-1155* Originally based on code by Enjin: https://github.com/enjin/erc-1155** _Available since v3.1._*/contract ERC1155Upgradeable is Initializable, ContextUpgradeable, ERC165Upgradeable, IERC1155Upgradeable, IERC1155MetadataURIUpgradeable {using AddressUpgradeable for address;// Mapping from token ID to account balancesmapping(uint256 => mapping(address => uint256)) private _balances;
12345678910111213141516171819202122// SPDX-License-Identifier: MIT// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol)pragma solidity ^0.8.0;import "../IERC1155Upgradeable.sol";/*** @dev Interface of the optional ERC1155MetadataExtension interface, as defined* in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP].** _Available since v3.1._*/interface IERC1155MetadataURIUpgradeable is IERC1155Upgradeable {/*** @dev Returns the URI for token type `id`.** If the `\{id\}` substring is present in the URI, it must be replaced by* clients with the actual token type ID.*/function uri(uint256 id) external view returns (string memory);}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol)pragma solidity ^0.8.0;import "../../utils/introspection/IERC165Upgradeable.sol";/*** @dev _Available since v3.1._*/interface IERC1155ReceiverUpgradeable is IERC165Upgradeable {/*** @dev Handles the receipt of a single ERC1155 token type. This function is* called at the end of a `safeTransferFrom` after the balance has been updated.** NOTE: To accept the transfer, this must return* `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`* (i.e. 0xf23a6e61, or its own function selector).** @param operator The address which initiated the transfer (i.e. msg.sender)* @param from The address which previously owned the token* @param id The ID of the token being transferred* @param value The amount of tokens being transferred* @param data Additional data with no specified format* @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed*/
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol)pragma solidity ^0.8.0;import "../../utils/introspection/IERC165Upgradeable.sol";/*** @dev Required interface of an ERC1155 compliant contract, as defined in the* https://eips.ethereum.org/EIPS/eip-1155[EIP].** _Available since v3.1._*/interface IERC1155Upgradeable is IERC165Upgradeable {/*** @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.*/event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);/*** @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all* transfers.*/event TransferBatch(address indexed operator,address indexed from,
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol)pragma solidity ^0.8.0;/*** @dev Interface of the ERC20 standard as defined in the EIP.*/interface IERC20Upgradeable {/*** @dev Returns the amount of tokens in existence.*/function totalSupply() external view returns (uint256);/*** @dev Returns the amount of tokens owned by `account`.*/function balanceOf(address account) external view returns (uint256);/*** @dev Moves `amount` tokens from the caller's account to `to`.** Returns a boolean value indicating whether the operation succeeded.** Emits a {Transfer} event.*/
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol)pragma solidity ^0.8.0;import "../IERC20Upgradeable.sol";import "../../../utils/AddressUpgradeable.sol";/*** @title SafeERC20* @dev Wrappers around ERC20 operations that throw on failure (when the token* contract returns false). Tokens that return no value (and instead revert or* throw on failure) are also supported, non-reverting calls are assumed to be* successful.* To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,* which allows you to call the safe operations as `token.safeTransfer(...)`, etc.*/library SafeERC20Upgradeable {using AddressUpgradeable for address;function safeTransfer(IERC20Upgradeable token,address to,uint256 value) internal {_callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
1234567891011121314151617181920212223242526// 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 AddressUpgradeable {/*** @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* ====*
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)pragma solidity ^0.8.0;import "../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 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 CountersUpgradeable {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/4637uint256 _value; // default: 0}function current(Counter storage counter) internal view returns (uint256) {return counter._value;}function increment(Counter storage counter) internal {
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts v4.4.1 (utils/cryptography/draft-EIP712.sol)pragma solidity ^0.8.0;import "./ECDSAUpgradeable.sol";import "../../proxy/utils/Initializable.sol";/*** @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data.** The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible,* thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding* they need in their contracts using a combination of `abi.encode` and `keccak256`.** This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding* scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA* ({_hashTypedDataV4}).** The implementation of the domain separator was designed to be as efficient as possible while still properly updating* the chain id to protect against replay attacks on an eventual fork of the chain.** NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method* https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask].** _Available since v3.4._
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/ECDSA.sol)pragma solidity ^0.8.0;import "../StringsUpgradeable.sol";/*** @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.** These functions can be used to verify that a message was signed by the holder* of the private keys of a given address.*/library ECDSAUpgradeable {enum RecoverError {NoError,InvalidSignature,InvalidSignatureLength,InvalidSignatureS,InvalidSignatureV}function _throwError(RecoverError error) private pure {if (error == RecoverError.NoError) {return; // no error: do nothing} else if (error == RecoverError.InvalidSignature) {
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)pragma solidity ^0.8.0;import "./IERC165Upgradeable.sol";import "../../proxy/utils/Initializable.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 ERC165Upgradeable is Initializable, IERC165Upgradeable {function __ERC165_init() internal onlyInitializing {}
12345678910111213141516171819202122232425// 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 IERC165Upgradeable {/*** @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);}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)pragma solidity ^0.8.0;/*** @dev String operations.*/library StringsUpgradeable {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.solif (value == 0) {return "0";}uint256 temp = value;uint256 digits;while (temp != 0) {digits++;temp /= 10;
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts v4.4.1 (utils/structs/BitMaps.sol)pragma solidity ^0.8.0;/*** @dev Library for managing uint256 to bool mapping in a compact and efficient way, providing the keys are sequential.* Largelly inspired by Uniswap's https://github.com/Uniswap/merkle-distributor/blob/master/contracts/MerkleDistributor.sol[merkle-distributor].*/library BitMapsUpgradeable {struct BitMap {mapping(uint256 => uint256) _data;}/*** @dev Returns whether the bit at `index` is set.*/function get(BitMap storage bitmap, uint256 index) internal view returns (bool) {uint256 bucket = index >> 8;uint256 mask = 1 << (index & 0xff);return bitmap._data[bucket] & mask != 0;}/*** @dev Sets the bit at `index` to the boolean `value`.*/function setTo(
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts v4.4.1 (utils/structs/EnumerableSet.sol)pragma solidity ^0.8.0;/*** @dev Library for managing* https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive* types.** Sets have the following properties:** - Elements are added, removed, and checked for existence in constant time* (O(1)).* - Elements are enumerated in O(n). No guarantees are made on the ordering.** ```* contract Example {* // Add the library methods* using EnumerableSet for EnumerableSet.AddressSet;** // Declare a set state variable* EnumerableSet.AddressSet private mySet;* }* ```*
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.8.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* ====*
1234567891011121314151617181920212223242526// SPDX-License-Identifier: Apache-2.0pragma solidity ^0.8;interface ICedarAgreementV0 {// Accept legal terms associated with transfer of this NFTfunction acceptTerms() external;function userAgreement() external view returns (string memory);function termsActivated() external view returns (bool);function setTermsStatus(bool _status) external;function getAgreementStatus(address _address) external view returns (bool sig);function storeTermsAccepted(address _acceptor, bytes calldata _signature) external;}interface ICedarAgreementV1 {// Accept legal terms associated with transfer of this NFTevent TermsActivationStatusUpdated(bool isActivated);event TermsUpdated(string termsURI, uint8 termsVersion);event TermsAccepted(string termsURI, uint8 termsVersion, address indexed acceptor);function acceptTerms() external;
1234567891011121314151617181920212223242526// SPDX-License-Identifier: Apache-2.0pragma solidity ^0.8;interface ICedarUpdateBaseURIV0 {/// @dev Emitted when base URI is updated.event BaseURIUpdated(uint256 baseURIIndex, string baseURI);/*** @notice Lets a minter (account with `MINTER_ROLE`) update base URI*/function updateBaseURI(uint256 baseURIIndex, string calldata _baseURIForTokens) external;/*** @dev Gets the base URI indices*/function getBaseURIIndices() external view returns (uint256[] memory);}interface IPublicUpdateBaseURIV0 {/*** @dev Gets the base URI indices*/function getBaseURIIndices() external view returns (uint256[] memory);}
123456789101112// SPDX-License-Identifier: Apache-2.0pragma solidity ^0.8;import "../config/IPlatformFeeConfig.sol";import "../config/IOperatorFilterersConfig.sol";import "../config/ITieredPricing.sol";interface IGlobalConfigV0 is IOperatorFiltererConfigV0, IPlatformFeeConfigV0 {}interface IGlobalConfigV1 is IOperatorFiltererConfigV0, ITieredPricingV0 {}interface IGlobalConfigV2 is ITieredPricingV1 {}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: Apache-2.0pragma solidity ^0.8;import "./types/OperatorFiltererDataTypes.sol";interface IOperatorFiltererConfigV0 {event OperatorFiltererAdded(bytes32 operatorFiltererId,string name,address defaultSubscription,address operatorFilterRegistry);function getOperatorFiltererOrDie(bytes32 _operatorFiltererId)externalviewreturns (IOperatorFiltererDataTypesV0.OperatorFilterer memory);function getOperatorFilterer(bytes32 _operatorFiltererId)externalviewreturns (IOperatorFiltererDataTypesV0.OperatorFilterer memory);function getOperatorFiltererIds() external view returns (bytes32[] memory operatorFiltererIds);function addOperatorFilterer(IOperatorFiltererDataTypesV0.OperatorFilterer memory _newOperatorFilterer) external;
12345678910// SPDX-License-Identifier: Apache-2.0pragma solidity ^0.8;interface IPlatformFeeConfigV0 {event PlatformFeesUpdated(address platformFeeReceiver, uint16 platformFeeBPS);function getPlatformFees() external view returns (address platformFeeReceiver, uint16 platformFeeBPS);function setPlatformFees(address _newPlatformFeeReceiver, uint16 _newPlatformFeeBPS) external;}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: Apache-2.0pragma solidity ^0.8;import "./types/TieredPricingDataTypes.sol";interface ITieredPricingEventsV0 {event PlatformFeeReceiverUpdated(address newPlatformFeeReceiver);event TierAdded(bytes32 indexed namespace,bytes32 indexed tierId,string indexed tierName,uint256 tierPrice,address tierCurrency,ITieredPricingDataTypesV0.FeeTypes feeType);event TierUpdated(bytes32 indexed namespace,bytes32 indexed tierId,string indexed tierName,uint256 tierPrice,address tierCurrency,ITieredPricingDataTypesV0.FeeTypes feeType);event TierRemoved(bytes32 indexed namespace, bytes32 indexed tierId);event AddressAddedToTier(bytes32 indexed namespace, address indexed account, bytes32 indexed tierId);
1234567891011// SPDX-License-Identifier: Apache-2.0pragma solidity ^0.8;interface IOperatorFiltererDataTypesV0 {struct OperatorFilterer {bytes32 operatorFiltererId;string name;address defaultSubscription;address operatorFilterRegistry;}}
12345678910111213141516// SPDX-License-Identifier: Apache-2.0pragma solidity ^0.8;interface ITieredPricingDataTypesV0 {enum FeeTypes {FlatFee,Percentage}struct Tier {string name;uint256 price;address currency;FeeTypes feeType;}}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: Apache-2.0pragma solidity ^0.8;import "../../config/types/OperatorFiltererDataTypes.sol";import "../../config/IGlobalConfig.sol";interface IDropFactoryDataTypesV0 {struct DropConfig {address dropDelegateLogic;IGlobalConfigV0 aspenConfig;TokenDetails tokenDetails;FeeDetails feeDetails;IOperatorFiltererDataTypesV0.OperatorFilterer operatorFilterer;}struct TokenDetails {address defaultAdmin;string name;string symbol;string contractURI;address[] trustedForwarders;string userAgreement;}struct FeeDetails {address saleRecipient;
1234567891011121314151617181920212223242526// SPDX-License-Identifier: Apache-2.0pragma solidity ^0.8;interface IDropErrorsV0 {error InvalidPermission();error InvalidIndex();error NothingToReveal();error NotTrustedForwarder();error InvalidTimetamp();error CrossedLimitLazyMintedTokens();error CrossedLimitMinTokenIdGreaterThanMaxTotalSupply();error CrossedLimitQuantityPerTransaction();error CrossedLimitMaxClaimableSupply();error CrossedLimitMaxTotalSupply();error CrossedLimitMaxWalletClaimCount();error InvalidPrice();error InvalidPaymentAmount();error InvalidQuantity();error InvalidTime();error InvalidGating();error InvalidMerkleProof();error InvalidMaxQuantityProof();error MaxBps();error ClaimPaused();error NoActiveMintCondition();error TermsNotAccepted(address caller, string termsURI, uint8 acceptedVersion);
1234567891011121314151617// SPDX-License-Identifier: Apache-2.0pragma solidity ^0.8;interface ITermsErrorsV0 {error TermsNotActivated();error TermsStatusAlreadySet();error TermsURINotSet();error TermsUriAlreadySet();error TermsAlreadyAccepted(uint8 acceptedVersion);error SignatureVerificationFailed();error TermsCanOnlyBeSetByOwner(address token);error TermsNotActivatedForToken(address token);error TermsStatusAlreadySetForToken(address token);error TermsURINotSetForToken(address token);error TermsUriAlreadySetForToken(address token);error TermsAlreadyAcceptedForToken(address token, uint8 acceptedVersion);}
12345678910111213// SPDX-License-Identifier: Apache-2.0pragma solidity ^0.8;import "@openzeppelin/contracts-upgradeable/utils/introspection/IERC165Upgradeable.sol";interface IAspenFeaturesV1 is IERC165Upgradeable {// Marker interface to make an ERC165 clash less likelyfunction isIAspenFeaturesV1() external pure returns (bool);// List of codes for features this contract supportsfunction supportedFeatureCodes() external pure returns (uint256[] memory codes);}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: Apache-2.0pragma solidity ^0.8;import "@openzeppelin/contracts-upgradeable/utils/introspection/IERC165Upgradeable.sol";interface ICedarMinorVersionedV0 {function minorVersion() external view returns (uint256 minor, uint256 patch);}interface ICedarImplementationVersionedV0 {/// @dev Concrete implementation semantic version - provided for completeness but not designed to be the point of dispatchfunction implementationVersion()externalviewreturns (uint256 major,uint256 minor,uint256 patch);}interface ICedarImplementationVersionedV1 is ICedarImplementationVersionedV0 {/// @dev returns the name of the implementation interface such as IAspenERC721DropV3/// allows us to reliably emit the correct eventsfunction implementationInterfaceName() external view returns (string memory interfaceName);
1234567891011121314151617181920212223242526// SPDX-License-Identifier: Apache 2.0pragma solidity ^0.8;import "../IAspenFeatures.sol";import "../IMulticallable.sol";import "../IAspenVersioned.sol";import "../issuance/ICedarSFTIssuance.sol";import "../issuance/ISFTLimitSupply.sol";import "../issuance/ISFTSupply.sol";import "../issuance/ISFTClaimCount.sol";import "../baseURI/IUpdateBaseURI.sol";import "../standard/IERC1155.sol";import "../standard/IERC2981.sol";import "../standard/IERC4906.sol";import "../royalties/IRoyalty.sol";import "../metadata/ISFTMetadata.sol";import "../metadata/IContractMetadata.sol";import "../agreement/IAgreement.sol";import "../primarysale/IPrimarySale.sol";import "../lazymint/ILazyMint.sol";import "../pausable/IPausable.sol";import "../ownable/IOwnable.sol";import "../royalties/IPlatformFee.sol";interface IAspenERC1155DropV3 is
12345678// SPDX-License-Identifier: Apache-2.0pragma solidity ^0.8;// See https://docs.openzeppelin.com/contracts/4.x/utilities#multicallinterface IMulticallableV0 {function multicall(bytes[] calldata data) external returns (bytes[] memory results);}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: Apache-2.0pragma solidity ^0.8;import "./IDropClaimCondition.sol";/*** Cedar's 'Drop' contracts are distribution mechanisms for tokens. The* `DropERC721` contract is a distribution mechanism for ERC721 tokens.** A minter wallet (i.e. holder of `MINTER_ROLE`) can (lazy)mint 'n' tokens* at once by providing a single base URI for all tokens being lazy minted.* The URI for each of the 'n' tokens lazy minted is the provided base URI +* `{tokenId}` of the respective token. (e.g. "ipsf://Qmece.../1").** A contract admin (i.e. holder of `DEFAULT_ADMIN_ROLE`) can create claim conditions* with non-overlapping time windows, and accounts can claim the tokens according to* restrictions defined in the claim condition that is active at the time of the transaction.*/interface ICedarSFTIssuanceV0 is IDropClaimConditionV0 {/// @dev Emitted when tokens are claimed.event TokensClaimed(uint256 indexed claimConditionIndex,uint256 indexed tokenId,address indexed claimer,address receiver,
1234567891011121314151617181920212223242526// SPDX-License-Identifier: Apache-2.0pragma solidity ^0.8;import "@openzeppelin/contracts-upgradeable/utils/structs/BitMapsUpgradeable.sol";/*** Cedar's 'Drop' contracts are distribution mechanisms for tokens.** A contract admin (i.e. a holder of `DEFAULT_ADMIN_ROLE`) can set a series of claim conditions,* ordered by their respective `startTimestamp`. A claim condition defines criteria under which* accounts can mint tokens. Claim conditions can be overwritten or added to by the contract admin.* At any moment, there is only one active claim condition.*/interface IDropClaimConditionV0 {/*** @notice The criteria that make up a claim condition.** @param startTimestamp The unix timestamp after which the claim condition applies.* The same claim condition applies until the `startTimestamp`* of the next claim condition.** @param maxClaimableSupply The maximum total number of tokens that can be claimed under* the claim condition.** @param supplyClaimed At any given point, the number of tokens that have been claimed
12345678910111213141516171819// SPDX-License-Identifier: Apache-2.0pragma solidity ^0.8;interface IRestrictedSFTClaimCountV0 {/// @dev Emitted when the wallet claim count for a given tokenId and address is updated.event WalletClaimCountUpdated(uint256 tokenId, address indexed wallet, uint256 count);/// @dev Emitted when the max wallet claim count for a given tokenId is updated.event MaxWalletClaimCountUpdated(uint256 tokenId, uint256 count);/// @dev Lets a contract admin set a claim count for a wallet.function setWalletClaimCount(uint256 _tokenId,address _claimer,uint256 _count) external;/// @dev Lets a contract admin set a maximum number of NFTs of a tokenId that can be claimed by any wallet.function setMaxWalletClaimCount(uint256 _tokenId, uint256 _count) external;}
1234567891011// SPDX-License-Identifier: Apache-2.0pragma solidity ^0.8;interface IRestrictedSFTLimitSupplyV0 {function setMaxTotalSupply(uint256 _tokenId, uint256 _maxTotalSupply) external;}interface IRestrictedSFTLimitSupplyV1 is IRestrictedSFTLimitSupplyV0 {/// @dev Emitted when the global max supply of tokens is updated.event MaxTotalSupplyUpdated(uint256 tokenId, uint256 maxTotalSupply);}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: Apache-2.0pragma solidity ^0.8;interface ISFTSupplyV0 {/*** @dev Total amount of tokens in with a given id.*/function totalSupply(uint256 id) external view returns (uint256);/*** @dev Indicates whether any token exist with a given id, or not.*/function exists(uint256 id) external view returns (bool);/*** @dev Amount of unique tokens minted.*/function getLargestTokenId() external view returns (uint256);}interface ISFTSupplyV1 is ISFTSupplyV0 {/// @dev Offset for token IDs.function getSmallestTokenId() external view returns (uint8);}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: Apache-2.0pragma solidity ^0.8.4;interface ICedarLazyMintV0 {/// @dev Emitted when tokens are lazy minted.event TokensLazyMinted(uint256 startTokenId, uint256 endTokenId, string baseURI);/*** @notice Lets an account with `MINTER_ROLE` lazy mint 'n' NFTs.* The URIs for each token is the provided `_baseURIForTokens` + `{tokenId}`.** @param amount The amount of NFTs to lazy mint.* @param baseURIForTokens The URI for the NFTs to lazy mint. If lazy minting* 'delayed-reveal' NFTs, the is a URI for NFTs in the* un-revealed state.*/function lazyMint(uint256 amount, string calldata baseURIForTokens) external;}interface IRestrictedLazyMintV0 {/*** @notice Lets an account with `MINTER_ROLE` lazy mint 'n' NFTs.* The URIs for each token is the provided `_baseURIForTokens` + `{tokenId}`.** @param amount The amount of NFTs to lazy mint.
1234567891011121314151617181920212223242526// SPDX-License-Identifier: Apache-2.0pragma solidity ^0.8;interface ICedarMetadataV1 {/// @dev Contract level metadata.function contractURI() external view returns (string memory);/// @dev Lets a contract admin set the URI for contract-level metadata.function setContractURI(string calldata _uri) external;/// @dev Emitted when contractURI is updatedevent ContractURIUpdated(address indexed updater, string uri);}interface IPublicMetadataV0 {/// @dev Contract level metadata.function contractURI() external view returns (string memory);}interface IDelegatedMetadataV0 {/// @dev Contract level metadata.function contractURI() external view returns (string memory);}interface IRestrictedMetadataV0 {/// @dev Lets a contract admin set the URI for contract-level metadata.
123456789101112// SPDX-License-Identifier: Apache-2.0pragma solidity ^0.8;interface ICedarSFTMetadataV1 {/// @dev Returns the URI for a given tokenId.function uri(uint256 _tokenId) external view returns (string memory);}interface IAspenSFTMetadataV1 {/// @dev Returns the URI for a given tokenId.function uri(uint256 _tokenId) external view returns (string memory);}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: Apache-2.0pragma solidity ^0.8;interface IOwnableV0 {/// @dev Returns the owner of the contract.function owner() external view returns (address);/// @dev Lets a module admin set a new owner for the contract. The new owner must be a module admin.function setOwner(address _newOwner) external;/// @dev Emitted when a new Owner is set.event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);}interface IOwnableEventV0 {/// @dev Emitted when a new Owner is set.event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);}interface IPublicOwnableV0 is IOwnableEventV0 {/// @dev Returns the owner of the contract.function owner() external view returns (address);}interface IPublicOwnableV1 is IOwnableEventV0 {/// @dev Returns the owner of the contract.
1234567891011121314151617181920212223242526// SPDX-License-Identifier: Apache-2.0pragma solidity ^0.8;interface ICedarPausableV0 {/// @dev Pause claim functionality.function pauseClaims() external;/// @dev Un-pause claim functionality.function unpauseClaims() external;/// @dev Event emitted when claim functionality is paused/un-paused.event ClaimPauseStatusUpdated(bool pauseStatus);}interface ICedarPausableV1 {/// @dev Pause / Un-pause claim functionality.function setClaimPauseStatus(bool _pause) external;/// @dev Event emitted when claim functionality is paused/un-paused.event ClaimPauseStatusUpdated(bool pauseStatus);}interface IRestrictedPausableV0 {/// @dev Pause / Un-pause claim functionality.function setClaimPauseStatus(bool _pause) external;}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: Apache-2.0pragma solidity ^0.8.0;interface IPrimarySaleV0 {/// @dev The address that receives all primary sales value.function primarySaleRecipient() external view returns (address);/// @dev Lets a module admin set the default recipient of all primary sales.function setPrimarySaleRecipient(address _saleRecipient) external;/// @dev Emitted when a new sale recipient is set.event PrimarySaleRecipientUpdated(address indexed recipient);}interface IPrimarySaleV1 {/// @dev The address that receives all primary sales value.function primarySaleRecipient() external view returns (address);/// @dev Lets a module admin set the default recipient of all primary sales.function setPrimarySaleRecipient(address _saleRecipient) external;/// @dev Emitted when a new sale recipient is set.event PrimarySaleRecipientUpdated(address indexed recipient, bool frogs);}interface IPublicPrimarySaleV1 {
12345678910111213141516171819202122// SPDX-License-Identifier: Apache-2.0pragma solidity ^0.8;// NOTE: Deprecated from v2 onwardsinterface IPublicPlatformFeeV0 {/// @dev Returns the platform fee bps and recipient.function getPlatformFeeInfo() external view returns (address, uint16);}interface IDelegatedPlatformFeeV0 {/// @dev Returns the platform fee bps and recipient.function getPlatformFeeInfo() external view returns (address platformFeeRecipient, uint16 platformFeeBps);}// Note: this is deprecated as we moved this logic in global config moduleinterface IRestrictedPlatformFeeV0 {/// @dev Emitted when fee on primary sales is updated.event PlatformFeeInfoUpdated(address platformFeeRecipient, uint256 platformFeeBps);/// @dev Lets a module admin update the fees on primary sales.function setPlatformFeeInfo(address _platformFeeRecipient, uint256 _platformFeeBps) external;}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: Apache-2.0pragma solidity ^0.8;import "../standard/IERC2981.sol";interface IRoyaltyV0 is IERC2981V0 {struct RoyaltyInfo {address recipient;uint256 bps;}/// @dev Returns the royalty recipient and fee bps.function getDefaultRoyaltyInfo() external view returns (address, uint16);/// @dev Lets a module admin update the royalty bps and recipient.function setDefaultRoyaltyInfo(address _royaltyRecipient, uint256 _royaltyBps) external;/// @dev Lets a module admin set the royalty recipient for a particular token Id.function setRoyaltyInfoForToken(uint256 tokenId,address recipient,uint256 bps) external;/// @dev Returns the royalty recipient for a particular token Id.function getRoyaltyInfoForToken(uint256 tokenId) external view returns (address, uint16);
1234567891011121314151617181920212223242526// SPDX-License-Identifier: Apache-2.0pragma solidity ^0.8;import "@openzeppelin/contracts-upgradeable/token/ERC1155/IERC1155Upgradeable.sol";interface IERC1155V0 is IERC1155Upgradeable {}interface IERC1155V1 is IERC1155Upgradeable {function burn(address account,uint256 id,uint256 value) external;function burnBatch(address account,uint256[] memory ids,uint256[] memory values) external;}interface IERC1155V2 is IERC1155V1 {function name() external returns (string memory);function symbol() external returns (string memory);
1234567891011121314// SPDX-License-Identifier: Apache-2.0pragma solidity ^0.8;interface IERC2981V0 {/*** @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)externalviewreturns (address receiver, uint256 royaltyAmount);}
12345678910111213141516// SPDX-License-Identifier: Apache-2.0pragma solidity ^0.8;// Note: So that it can be included in Delegated logic contractinterface IRestrictedERC4906V0 {/// @dev This event emits when the metadata of a token is changed./// So that the third-party platforms such as NFT market could/// timely update the images and related attributes of the NFT.event MetadataUpdate(uint256 _tokenId);/// @dev This event emits when the metadata of a range of tokens is changed./// So that the third-party platforms such as NFT market could/// timely update the images and related attributes of the NFTs.event BatchMetadataUpdate(uint256 _fromTokenId, uint256 _toTokenId);}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: Apache-2.0pragma solidity ^0.8;///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //// _' AAA //// !jz_ A:::A //// ;Lzzzz- A:::::A //// '1zzzzxzz' A:::::::A //// !xzzzzzzi~ A:::::::::A ssssssssss ppppp ppppppppp eeeeeeeeeeee nnnn nnnnnnnn //// ;izzzzzzj^` A:::::A:::::A ss::::::::::s p::::ppp:::::::::p ee::::::::::::ee n:::nn::::::::nn //// `;^.````` A:::::A A:::::A ss:::::::::::::s p:::::::::::::::::p e::::::eeeee:::::een::::::::::::::nn //// -;;;;;;;- A:::::A A:::::A s::::::ssss:::::spp::::::ppppp::::::pe::::::e e:::::enn:::::::::::::::n //// .;;;;;;;_ A:::::A A:::::A s:::::s ssssss p:::::p p:::::pe:::::::eeeee::::::e n:::::nnnn:::::n //// ;;;;;;;;` A:::::AAAAAAAAA:::::A s::::::s p:::::p p:::::pe:::::::::::::::::e n::::n n::::n //// _;;;;;;;' A:::::::::::::::::::::A s::::::s p:::::p p:::::pe::::::eeeeeeeeeee n::::n n::::n //// ;{jjjjjjjjj A:::::AAAAAAAAAAAAA:::::A ssssss s:::::s p:::::p p::::::pe:::::::e n::::n n::::n //// `+IIIVVVVVVVVI` A:::::A A:::::A s:::::ssss::::::s p:::::ppppp:::::::pe::::::::e n::::n n::::n //// ^sIVVVVVVVVVVVVI` A:::::A A:::::As::::::::::::::s p::::::::::::::::p e::::::::eeeeeeee n::::n n::::n //// ~xIIIVVVVVVVVVVVVVI` A:::::A A:::::As:::::::::::ss p::::::::::::::pp ee:::::::::::::e n::::n n::::n //// -~~~;;;;;;;;;;;;;;;;; AAAAAAA AAAAAAAsssssssssss p::::::pppppppp eeeeeeeeeeeeee nnnnnn nnnnnn //// p:::::p //// p:::::p //// p:::::::p //// p:::::::p //// p:::::::p //
1234567891011121314151617181920212223242526// SPDX-License-Identifier: Apache-2.0pragma solidity ^0.8;///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //// _' AAA //// !jz_ A:::A //// ;Lzzzz- A:::::A //// '1zzzzxzz' A:::::::A //// !xzzzzzzi~ A:::::::::A ssssssssss ppppp ppppppppp eeeeeeeeeeee nnnn nnnnnnnn //// ;izzzzzzj^` A:::::A:::::A ss::::::::::s p::::ppp:::::::::p ee::::::::::::ee n:::nn::::::::nn //// `;^.````` A:::::A A:::::A ss:::::::::::::s p:::::::::::::::::p e::::::eeeee:::::een::::::::::::::nn //// -;;;;;;;- A:::::A A:::::A s::::::ssss:::::spp::::::ppppp::::::pe::::::e e:::::enn:::::::::::::::n //// .;;;;;;;_ A:::::A A:::::A s:::::s ssssss p:::::p p:::::pe:::::::eeeee::::::e n:::::nnnn:::::n //// ;;;;;;;;` A:::::AAAAAAAAA:::::A s::::::s p:::::p p:::::pe:::::::::::::::::e n::::n n::::n //// _;;;;;;;' A:::::::::::::::::::::A s::::::s p:::::p p:::::pe::::::eeeeeeeeeee n::::n n::::n //// ;{jjjjjjjjj A:::::AAAAAAAAAAAAA:::::A ssssss s:::::s p:::::p p::::::pe:::::::e n::::n n::::n //// `+IIIVVVVVVVVI` A:::::A A:::::A s:::::ssss::::::s p:::::ppppp:::::::pe::::::::e n::::n n::::n //// ^sIVVVVVVVVVVVVI` A:::::A A:::::As::::::::::::::s p::::::::::::::::p e::::::::eeeeeeee n::::n n::::n //// ~xIIIVVVVVVVVVVVVVI` A:::::A A:::::As:::::::::::ss p::::::::::::::pp ee:::::::::::::e n::::n n::::n //// -~~~;;;;;;;;;;;;;;;;; AAAAAAA AAAAAAAsssssssssss p::::::pppppppp eeeeeeeeeeeeee nnnnnn nnnnnn //// p:::::p //// p:::::p //// p:::::::p //// p:::::::p //// p:::::::p //
1234567891011121314151617181920212223242526// SPDX-License-Identifier: Apache 2.0pragma solidity ^0.8;import "./OperatorFiltererUpgradeable.sol";abstract contract DefaultOperatorFiltererUpgradeable is OperatorFiltererUpgradeable {address DEFAULT_SUBSCRIPTION;function __DefaultOperatorFilterer_init(address defaultSubscription, address operatorFilterRegistry)internalonlyInitializing{__DefaultOperatorFilterer_init_internal(defaultSubscription, operatorFilterRegistry);}function __DefaultOperatorFilterer_init_internal(address defaultSubscription, address operatorFilterRegistry)internal{DEFAULT_SUBSCRIPTION = defaultSubscription;OperatorFiltererUpgradeable.__OperatorFilterer_init_internal(DEFAULT_SUBSCRIPTION,operatorFilterRegistry,true);}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: Apache 2.0pragma solidity ^0.8;interface IOperatorFilterRegistry {function isOperatorAllowed(address registrant, address operator) external view returns (bool);function register(address registrant) external;function registerAndSubscribe(address registrant, address subscription) external;function registerAndCopyEntries(address registrant, address registrantToCopy) external;function unregister(address addr) external;function updateOperator(address registrant,address operator,bool filtered) external;function updateOperators(address registrant,address[] calldata operators,bool filtered) external;
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MITpragma solidity ^0.8;import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";import "./interfaces/IOperatorFilterRegistry.sol";import "./OperatorFilterToggle.sol";abstract contract OperatorFiltererUpgradeable is Initializable, OperatorFilterToggle {error OperatorNotAllowed(address operator);IOperatorFilterRegistry OPERATOR_FILTER_REGISTRY;function __OperatorFilterer_init(address subscriptionOrRegistrantToCopy,address operatorFilterRegistry,bool subscribe) internal onlyInitializing {__OperatorFilterer_init_internal(subscriptionOrRegistrantToCopy, operatorFilterRegistry, subscribe);}function __OperatorFilterer_init_internal(address subscriptionOrRegistrantToCopy,address operatorFilterRegistry,bool subscribe) internal {// If an inheriting token contract is deployed to a network without the registry deployed, the modifier
123456789101112131415161718192021222324// SPDX-License-Identifier: Apache 2.0pragma solidity ^0.8;import "../../../api/royalties/IRoyalty.sol";abstract contract OperatorFilterToggle is IPublicOperatorFilterToggleV1, IRestrictedOperatorFilterToggleV0 {bool public operatorRestriction;function getOperatorRestriction() external view returns (bool) {return operatorRestriction;}function setOperatorRestriction(bool _restriction) external virtual {require(_canSetOperatorRestriction(), "Not authorized to set operator restriction.");_setOperatorRestriction(_restriction);}function _setOperatorRestriction(bool _restriction) internal {operatorRestriction = _restriction;emit OperatorRestriction(_restriction);}function _canSetOperatorRestriction() internal virtual returns (bool);}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: Apache 2.0pragma solidity ^0.8;import "../../../api/config/types/OperatorFiltererDataTypes.sol";import "./DefaultOperatorFiltererUpgradeable.sol";abstract contract UpdateableDefaultOperatorFiltererUpgradeable is DefaultOperatorFiltererUpgradeable {IOperatorFiltererDataTypesV0.OperatorFilterer private __operatorFilterer;function __UpdateableDefaultOperatorFiltererUpgradeable_init(IOperatorFiltererDataTypesV0.OperatorFilterer memory _operatorFilterer) internal onlyInitializing {__operatorFilterer = _operatorFilterer;DefaultOperatorFiltererUpgradeable.__DefaultOperatorFilterer_init(_operatorFilterer.defaultSubscription,_operatorFilterer.operatorFilterRegistry);}function getOperatorFiltererDetails() public view returns (IOperatorFiltererDataTypesV0.OperatorFilterer memory) {return __operatorFilterer;}function _setOperatorFilterer(IOperatorFiltererDataTypesV0.OperatorFilterer memory _newOperatorFilterer)internalvirtual
12345678910// SPDX-License-Identifier: Apache-2.0pragma solidity ^0.8;interface IWETH {function deposit() external payable;function withdraw(uint256 amount) external;function transfer(address to, uint256 value) external returns (bool);}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: Apache-2.0pragma solidity ^0.8;// Helper interfacesimport {IWETH} from "../interfaces/IWETH.sol";import "@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol";import "@openzeppelin/contracts-upgradeable/token/ERC20/utils/SafeERC20Upgradeable.sol";library CurrencyTransferLib {using SafeERC20Upgradeable for IERC20Upgradeable;/// @dev The address interpreted as native token of the chain.address public constant NATIVE_TOKEN = 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE;/// @dev Transfers a given amount of currency.function transferCurrency(address _currency,address _from,address _to,uint256 _amount) internal {if (_amount == 0) {return;}if (_currency == NATIVE_TOKEN) {
12345678// SPDX-License-Identifier: Apache-2.0pragma solidity ^0.8;library FeeType {uint256 internal constant PRIMARY_SALE = 0;uint256 internal constant MARKET_SALE = 1;uint256 internal constant SPLIT = 2;}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// Modified from https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.3.0/contracts/utils/cryptography/MerkleProof.sol// Copied from https://github.com/ensdomains/governance/blob/master/contracts/MerkleProof.solpragma solidity ^0.8;/*** @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.** Source: https://github.com/ensdomains/governance/blob/master/contracts/MerkleProof.sol*/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,
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts v4.4.0 (metatx/ERC2771Context.sol)pragma solidity ^0.8;import "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol";import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";/*** @dev Context variant with ERC2771 support.*/abstract contract ERC2771ContextUpgradeable is Initializable, ContextUpgradeable {mapping(address => bool) private _trustedForwarder;function __ERC2771Context_init(address[] memory trustedForwarder) internal onlyInitializing {__Context_init_unchained();__ERC2771Context_init_unchained(trustedForwarder);}function __ERC2771Context_init_unchained(address[] memory trustedForwarder) internal onlyInitializing {for (uint256 i = 0; i < trustedForwarder.length; i++) {_trustedForwarder[trustedForwarder[i]] = true;}}function isTrustedForwarder(address forwarder) public view virtual returns (bool) {
1234567891011121314151617181920212223242526// SPDX-License-Identifier: Apache-2.0pragma solidity ^0.8;import "@openzeppelin/contracts-upgradeable/utils/CountersUpgradeable.sol";import "../../api/issuance/IDropClaimCondition.sol";import "../../api/royalties/IRoyalty.sol";import "../../api/config/IGlobalConfig.sol";interface DropERC1155DataTypes {struct SequencedURI {/// @dev The URI with the token metadata.string uri;/// @dev The high-watermark sequence number a URI - used to tell if one URI is fresher than a another/// taken from the current value of uriSequenceCounter after it is incremented.uint256 sequenceNumber;/// @dev Indicates if a uri is permanent or not.bool isPermanent;/// @dev Indicates the number of tokens in this batch.uint256 amountOfTokens;}struct ClaimData {/// @dev The set of all claim conditions, at any given moment.mapping(uint256 => IDropClaimConditionV1.ClaimConditionList) claimCondition;/// @dev Mapping from token ID => claimer wallet address => total number of NFTs of the token ID a wallet has claimed.mapping(uint256 => mapping(address => uint256)) walletClaimCount;/// @dev The next token ID of the NFT to "lazy mint".
1234567891011121314151617181920212223242526// SPDX-License-Identifier: Apache-2.0// Generated by impl.ts. Will be overwritten.// Filename: './BaseAspenERC1155DropV3.sol'pragma solidity ^0.8.4;import "../../api/impl/IAspenERC1155Drop.sol";import "../../api/IAspenFeatures.sol";import "../../api/IAspenVersioned.sol";import "../../api/IMulticallable.sol";import "../../api/standard/IERC1155.sol";import "../../api/standard/IERC2981.sol";import "../../api/standard/IERC4906.sol";import "../../api/issuance/ISFTSupply.sol";import "../../api/issuance/ISFTLimitSupply.sol";import "../../api/issuance/ICedarSFTIssuance.sol";import "../../api/issuance/ICedarSFTIssuance.sol";import "../../api/issuance/ICedarSFTIssuance.sol";import "../../api/royalties/IRoyalty.sol";import "../../api/royalties/IRoyalty.sol";import "../../api/baseURI/IUpdateBaseURI.sol";import "../../api/baseURI/IUpdateBaseURI.sol";import "../../api/metadata/IContractMetadata.sol";import "../../api/metadata/IContractMetadata.sol";import "../../api/metadata/ISFTMetadata.sol";
1234567891011121314151617181920212223242526// SPDX-License-Identifier: Apache-2.0///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //// _' AAA //// !jz_ A:::A //// ;Lzzzz- A:::::A //// '1zzzzxzz' A:::::::A //// !xzzzzzzi~ A:::::::::A ssssssssss ppppp ppppppppp eeeeeeeeeeee nnnn nnnnnnnn //// ;izzzzzzj^` A:::::A:::::A ss::::::::::s p::::ppp:::::::::p ee::::::::::::ee n:::nn::::::::nn //// `;^.````` A:::::A A:::::A ss:::::::::::::s p:::::::::::::::::p e::::::eeeee:::::een::::::::::::::nn //// -;;;;;;;- A:::::A A:::::A s::::::ssss:::::spp::::::ppppp::::::pe::::::e e:::::enn:::::::::::::::n //// .;;;;;;;_ A:::::A A:::::A s:::::s ssssss p:::::p p:::::pe:::::::eeeee::::::e n:::::nnnn:::::n //// ;;;;;;;;` A:::::AAAAAAAAA:::::A s::::::s p:::::p p:::::pe:::::::::::::::::e n::::n n::::n //// _;;;;;;;' A:::::::::::::::::::::A s::::::s p:::::p p:::::pe::::::eeeeeeeeeee n::::n n::::n //// ;{jjjjjjjjj A:::::AAAAAAAAAAAAA:::::A ssssss s:::::s p:::::p p::::::pe:::::::e n::::n n::::n //// `+IIIVVVVVVVVI` A:::::A A:::::A s:::::ssss::::::s p:::::ppppp:::::::pe::::::::e n::::n n::::n //// ^sIVVVVVVVVVVVVI` A:::::A A:::::As::::::::::::::s p::::::::::::::::p e::::::::eeeeeeee n::::n n::::n //// ~xIIIVVVVVVVVVVVVVI` A:::::A A:::::As:::::::::::ss p::::::::::::::pp ee:::::::::::::e n::::n n::::n //// -~~~;;;;;;;;;;;;;;;;; AAAAAAA AAAAAAAsssssssssss p::::::pppppppp eeeeeeeeeeeeee nnnnnn nnnnnn //// p:::::p //// p:::::p //// p:::::::p //// p:::::::p //// p:::::::p //// ppppppppp //
1234567891011121314151617181920212223242526// SPDX-License-Identifier: Apache-2.0pragma solidity ^0.8;interface TermsDataTypes {/*** @notice The criteria that make up terms.** @param termsActivated Indicates whether the terms are activated or not.** @param termsVersion The version of the terms.** @param termsURI The URI of the terms.** @param acceptedVersion Mapping with the address of the acceptor and the version of the terms accepted.** @param termsAccepted Mapping with the address of the acceptor and the status of the terms accepted.**/struct Terms {bool termsActivated;uint8 termsVersion;string termsURI;mapping(address => uint8) acceptedVersion;mapping(address => bool) termsAccepted;}
1234567891011121314151617181920212223242526{"optimizer": {"enabled": true,"runs": 1},"outputSelection": {"*": {"*": ["evm.bytecode","evm.deployedBytecode","devdoc","userdoc","metadata","abi"]}},"metadata": {"useLiteralContent": true},"libraries": {"contracts/aspen/drop/AspenERC1155DropLogic.sol": {"AspenERC1155DropLogic": "0xbbcf21d484543cc03afda40f8dc7af2424270ce5"},"contracts/aspen/terms/lib/TermsLogic.sol": {"TermsLogic": "0xc601da33ce42e7b61cbcfb1908d58661bbde6bd9"
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"uint256","name":"transferrableAtTime","type":"uint256"},{"internalType":"uint256","name":"currentTime","type":"uint256"}],"name":"ChargebackProtectedTransferNotAvailable","type":"error"},{"inputs":[],"name":"ClaimPaused","type":"error"},{"inputs":[],"name":"InvalidPermission","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"InvalidTokenId","type":"error"},{"inputs":[],"name":"NewOwnerMustHaveAdminRole","type":"error"},{"inputs":[],"name":"NotTrustedForwarder","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[{"internalType":"address","name":"caller","type":"address"},{"internalType":"string","name":"termsURI","type":"string"},{"internalType":"uint8","name":"acceptedVersion","type":"uint8"}],"name":"TermsNotAccepted","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","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":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"address","name":"feeReceiver","type":"address"},{"indexed":true,"internalType":"bytes32","name":"phaseId","type":"bytes32"},{"indexed":false,"internalType":"address","name":"claimCurrency","type":"address"},{"indexed":false,"internalType":"uint256","name":"claimAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"claimFeeAmount","type":"uint256"},{"indexed":false,"internalType":"address","name":"collectorFeeCurrency","type":"address"},{"indexed":false,"internalType":"uint256","name":"collectofFeeAmount","type":"uint256"}],"name":"ClaimFeesPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"_restriction","type":"bool"}],"name":"OperatorRestriction","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"termsURI","type":"string"},{"indexed":false,"internalType":"uint8","name":"termsVersion","type":"uint8"},{"indexed":true,"internalType":"address","name":"acceptor","type":"address"}],"name":"TermsAccepted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"claimConditionIndex","type":"uint256"},{"indexed":true,"internalType":"address","name":"claimer","type":"address"},{"indexed":true,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"quantityClaimed","type":"uint256"},{"indexed":false,"internalType":"bytes32","name":"phaseId","type":"bytes32"}],"name":"TokensClaimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"stateMutability":"nonpayable","type":"fallback"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ISSUER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MESSAGE_HASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOKEN_INDEX_OFFSET","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"__name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"__symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"__termsNotAccepted","outputs":[],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"_contractUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_primarySaleRecipient","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"acceptTerms","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"aspenConfig","outputs":[{"internalType":"contract IGlobalConfigV1","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_accounts","type":"address[]"},{"internalType":"uint256[]","name":"_ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"burnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"chargebackProtectionPeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"address","name":"_currency","type":"address"},{"internalType":"uint256","name":"_pricePerToken","type":"uint256"},{"internalType":"bytes32[]","name":"_proofs","type":"bytes32[]"},{"internalType":"uint256","name":"_proofMaxQuantityPerTransaction","type":"uint256"}],"name":"claim","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"claimIsPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"delegateLogicContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"embargoedTokens","outputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"uint256","name":"withdrawnQuantity","type":"uint256"},{"internalType":"uint256","name":"transferableAt","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDefaultSubscriptionAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getOperatorFilterRegistryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getOperatorFiltererDetails","outputs":[{"components":[{"internalType":"bytes32","name":"operatorFiltererId","type":"bytes32"},{"internalType":"string","name":"name","type":"string"},{"internalType":"address","name":"defaultSubscription","type":"address"},{"internalType":"address","name":"operatorFilterRegistry","type":"address"}],"internalType":"struct IOperatorFiltererDataTypesV0.OperatorFilterer","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getOperatorRestriction","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"implementationInterfaceId","outputs":[{"internalType":"string","name":"interfaceId","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"implementationVersion","outputs":[{"internalType":"uint256","name":"major","type":"uint256"},{"internalType":"uint256","name":"minor","type":"uint256"},{"internalType":"uint256","name":"patch","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"dropDelegateLogic","type":"address"},{"internalType":"address","name":"dropRestrictedLogic","type":"address"},{"internalType":"contract IGlobalConfigV1","name":"aspenConfig","type":"address"},{"components":[{"internalType":"address","name":"defaultAdmin","type":"address"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"contractURI","type":"string"},{"internalType":"address[]","name":"trustedForwarders","type":"address[]"},{"internalType":"string","name":"userAgreement","type":"string"},{"internalType":"bool","name":"isSBT","type":"bool"}],"internalType":"struct IDropFactoryDataTypesV2.TokenDetails","name":"tokenDetails","type":"tuple"},{"components":[{"internalType":"address","name":"saleRecipient","type":"address"},{"internalType":"address","name":"royaltyRecipient","type":"address"},{"internalType":"uint128","name":"royaltyBps","type":"uint128"},{"internalType":"uint256","name":"chargebackProtectionPeriod","type":"uint256"}],"internalType":"struct IDropFactoryDataTypesV2.FeeDetails","name":"feeDetails","type":"tuple"},{"components":[{"internalType":"bytes32","name":"operatorFiltererId","type":"bytes32"},{"internalType":"string","name":"name","type":"string"},{"internalType":"address","name":"defaultSubscription","type":"address"},{"internalType":"address","name":"operatorFilterRegistry","type":"address"}],"internalType":"struct IOperatorFiltererDataTypesV0.OperatorFilterer","name":"operatorFilterer","type":"tuple"}],"internalType":"struct IDropFactoryDataTypesV2.DropConfig","name":"_config","type":"tuple"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"address","name":"_operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isIAspenFeaturesV1","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"forwarder","type":"address"}],"name":"isTrustedForwarder","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"issueBufferSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minorVersion","outputs":[{"internalType":"uint256","name":"minor","type":"uint256"},{"internalType":"uint256","name":"patch","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"bytes[]","name":"data","type":"bytes[]"}],"name":"multicall","outputs":[{"internalType":"bytes[]","name":"results","type":"bytes[]"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operatorRestriction","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"restrictedLogicContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","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":"uint256","name":"amount","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":"bool","name":"_restriction","type":"bool"}],"name":"setOperatorRestriction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newOwner","type":"address"}],"name":"setOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"supportedFeatureCodes","outputs":[{"internalType":"uint256[]","name":"features","type":"uint256[]"}],"stateMutability":"pure","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":"uri","outputs":[{"internalType":"string","name":"_tokenURI","type":"string"}],"stateMutability":"view","type":"function"}]
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.