Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 1 from a total of 1 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
Value | ||||
---|---|---|---|---|---|---|---|---|---|
0x60806040 | 16021119 | 596 days ago | IN | Create: MethodsExposureFacet | 0 ETH | 0.00991102 |
Loading...
Loading
Contract Name:
MethodsExposureFacet
Compiler Version
v0.8.13+commit.abaa5c0e
Optimization Enabled:
Yes with 99999 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import "@openzeppelin/contracts/access/Ownable.sol"; import "../LibDiamond.sol"; import {IERC721} from "@openzeppelin/contracts/interfaces/IERC721.sol"; import "@openzeppelin/contracts/interfaces/IERC2981.sol"; contract MethodsExposureFacet is Ownable, IDiamondCut, IDiamondLoupe, IERC2981, IERC721 { // ==================== IDiamondLoupe & IDiamondCut ==================== /// @notice Add/replace/remove any number of functions and optionally execute /// a function with delegatecall /// @param _diamondCut Contains the facet addresses and function selectors /// @param _init The address of the contract or facet to execute _calldata /// @param _calldata A function call, including function selector and arguments /// _calldata is executed with delegatecall on _init function diamondCut( IDiamondCut.FacetCut[] calldata _diamondCut, address _init, bytes calldata _calldata ) external onlyOwner {} /// These functions are expected to be called frequently by tools. /// @notice Gets all facets and their selectors. /// @return facets_ Facet function facets() external view override returns (Facet[] memory facets_) { facets_ = new Facet[](0); } /// @notice Gets all the function selectors provided by a facet. /// @param _facet The facet address. /// @return facetFunctionSelectors_ function facetFunctionSelectors(address _facet) external view override returns (bytes4[] memory facetFunctionSelectors_) { facetFunctionSelectors_ = new bytes4[](0); } /// @notice Get all the facet addresses used by a diamond. /// @return facetAddresses_ function facetAddresses() external view override returns (address[] memory facetAddresses_) { facetAddresses_ = new address[](0); } /// @notice Gets the facet that supports the given selector. /// @dev If facet is not found return address(0). /// @param _functionSelector The function selector. /// @return facetAddress_ The facet address. function facetAddress(bytes4 _functionSelector) external view override returns (address facetAddress_) { return address(0); } // This implements ERC-165. function supportsInterface(bytes4 _interfaceId) external view override returns (bool) { return false; } // ==================== ERC721 ==================== /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual returns (string memory) { return ""; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual returns (string memory) { return ""; } /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance) { return 0; } /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner) { return address(0); } /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external {} /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external {} /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external {} /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external {} /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external {} /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator) { return address(0); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool) { return false; } // ==================== Management ==================== function setMethodsExposureFacetAddress( string memory _methodsExposureFacetAddress ) external onlyOwner {} function setBaseTokenURI(string memory _baseTokenURI) external onlyOwner {} function setRoyaltiesRecipient(address _royaltiesRecipient) external onlyOwner {} function setRoyaltiesBasisPoints(uint256 _royaltiesBasisPoints) external onlyOwner {} function setMaxSupply(uint32 _maxSupply) external onlyOwner {} function setClaimOpen(bool _claimOpen) external onlyOwner {} // ==================== Views ==================== function implementation() public view returns (address) { return address(0); } function maxSupply() external view returns (uint32) { return 0; } function baseTokenURI() external view returns (string memory) { return ""; } function tokenURI(uint256 tokenId) public view returns (string memory) { return ""; } function royaltiesRecipient() external view returns (address) { return address(0); } function royaltiesBasisPoints() external view returns (uint256) { return 0; } function claimOpen() external view returns (bool) { return false; } function numberMinted(address who) public view returns (uint256) { return 0; } function totalSupply() public view returns (uint256) { return 0; } function tokensOwned(address _owner) public view returns (uint256[] memory indexes) { return new uint256[](0); } // =========== EIP2981 =========== function royaltyInfo(uint256, uint256 _salePrice) external view override returns (address receiver, uint256 royaltyAmount) { return (address(0), 0); } // =========== Mint =========== function claim(uint16[] calldata tokenIds) external {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import "@openzeppelin/contracts/access/Ownable.sol"; /******************************************************************************\ * Author: Nick Mudge <[email protected]> (https://twitter.com/mudgen) * EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535 /******************************************************************************/ interface IDiamondCut { enum FacetCutAction { Add, Replace, Remove } // Add=0, Replace=1, Remove=2 struct FacetCut { address facetAddress; FacetCutAction action; bytes4[] functionSelectors; } /// @notice Add/replace/remove any number of functions and optionally execute /// a function with delegatecall /// @param _diamondCut Contains the facet addresses and function selectors /// @param _init The address of the contract or facet to execute _calldata /// @param _calldata A function call, including function selector and arguments /// _calldata is executed with delegatecall on _init function diamondCut( FacetCut[] calldata _diamondCut, address _init, bytes calldata _calldata ) external; event DiamondCut(FacetCut[] _diamondCut, address _init, bytes _calldata); } /******************************************************************************\ * Author: Nick Mudge <[email protected]> (https://twitter.com/mudgen) * EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535 /******************************************************************************/ // A loupe is a small magnifying glass used to look at diamonds. // These functions look at diamonds interface IDiamondLoupe { /// These functions are expected to be called frequently /// by tools. struct Facet { address facetAddress; bytes4[] functionSelectors; } /// @notice Gets all facet addresses and their four byte function selectors. /// @return facets_ Facet function facets() external view returns (Facet[] memory facets_); /// @notice Gets all the function selectors supported by a specific facet. /// @param _facet The facet address. /// @return facetFunctionSelectors_ function facetFunctionSelectors(address _facet) external view returns (bytes4[] memory facetFunctionSelectors_); /// @notice Get all the facet addresses used by a diamond. /// @return facetAddresses_ function facetAddresses() external view returns (address[] memory facetAddresses_); /// @notice Gets the facet that supports the given selector. /// @dev If facet is not found return address(0). /// @param _functionSelector The function selector. /// @return facetAddress_ The facet address. function facetAddress(bytes4 _functionSelector) external view returns (address facetAddress_); } interface IOpenseaSeaportConduitController { function getConduit(bytes32 conduitKey) external view returns (address conduit, bool exists); function getChannelStatus(address conduit, address channel) external view returns (bool isOpen); } library LibDiamond { bytes32 constant DIAMOND_STORAGE_POSITION = keccak256("diamond.standard.diamond.storage"); bytes32 constant APP_STORAGE_POSITION = keccak256("diamond.standard.app.storage"); uint256 public constant PERCENTAGE_DENOMINATOR = 10000; address public constant X2Y2_ERC721_DELEGATE = 0xF849de01B080aDC3A814FaBE1E2087475cF2E354; address public constant LOOKSRARE_ERC721_TRANSFER_MANAGER = 0xf42aa99F011A1fA7CDA90E5E98b277E306BcA83e; address public constant OPENSEA_CONDUIT = 0x1E0049783F008A0085193E00003D00cd54003c71; IOpenseaSeaportConduitController public constant OPENSEA_SEAPORT_CONDUIT_CONTROLLER = IOpenseaSeaportConduitController(0x00000000F9490004C11Cef243f5400493c00Ad63); struct FacetAddressAndPosition { address facetAddress; uint16 functionSelectorPosition; // position in facetFunctionSelectors.functionSelectors array } struct FacetFunctionSelectors { bytes4[] functionSelectors; uint16 facetAddressPosition; // position of facetAddress in facetAddresses array } struct DiamondStorage { // maps function selector to the facet address and // the position of the selector in the facetFunctionSelectors.selectors array mapping(bytes4 => FacetAddressAndPosition) selectorToFacetAndPosition; // maps facet addresses to function selectors mapping(address => FacetFunctionSelectors) facetFunctionSelectors; // facet addresses address[] facetAddresses; // Used to query if a contract implements an interface. // Used to implement ERC-165. mapping(bytes4 => bool) supportedInterfaces; } struct AppStorage { string name; string symbol; uint256 royaltiesBasisPoints; string baseTokenURI; address royaltiesRecipient; uint32 maxSupply; address daodonCardAddress; address methodsExposureFacetAddress; address seaportAddress; bool claimOpen; } function diamondStorage() internal pure returns (DiamondStorage storage ds) { bytes32 position = DIAMOND_STORAGE_POSITION; assembly { ds.slot := position } } function appStorage() internal pure returns (AppStorage storage _as) { bytes32 position = APP_STORAGE_POSITION; assembly { _as.slot := position } } event DiamondCut(IDiamondCut.FacetCut[] _diamondCut, address _init, bytes _calldata); // Internal function version of diamondCut function diamondCut( IDiamondCut.FacetCut[] memory _diamondCut, address _init, bytes memory _calldata ) internal { for (uint256 facetIndex; facetIndex < _diamondCut.length; facetIndex++) { IDiamondCut.FacetCutAction action = _diamondCut[facetIndex].action; if (action == IDiamondCut.FacetCutAction.Add) { addFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors); } else if (action == IDiamondCut.FacetCutAction.Replace) { replaceFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors); } else if (action == IDiamondCut.FacetCutAction.Remove) { removeFunctions(_diamondCut[facetIndex].facetAddress, _diamondCut[facetIndex].functionSelectors); } else { revert("LibDiamondCut: Incorrect FacetCutAction"); } } emit DiamondCut(_diamondCut, _init, _calldata); initializeDiamondCut(_init, _calldata); } function addFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal { require(_functionSelectors.length > 0, "LibDiamondCut: No selectors in facet to cut"); DiamondStorage storage ds = diamondStorage(); // uint16 selectorCount = uint16(diamondStorage().selectors.length); require(_facetAddress != address(0), "LibDiamondCut: Add facet can't be address(0)"); uint16 selectorPosition = uint16(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length); // add new facet address if it does not exist if (selectorPosition == 0) { enforceHasContractCode(_facetAddress, "LibDiamondCut: New facet has no code"); ds.facetFunctionSelectors[_facetAddress].facetAddressPosition = uint16(ds.facetAddresses.length); ds.facetAddresses.push(_facetAddress); } for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) { bytes4 selector = _functionSelectors[selectorIndex]; address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress; require(oldFacetAddress == address(0), "LibDiamondCut: Can't add function that already exists"); ds.facetFunctionSelectors[_facetAddress].functionSelectors.push(selector); ds.selectorToFacetAndPosition[selector].facetAddress = _facetAddress; ds.selectorToFacetAndPosition[selector].functionSelectorPosition = selectorPosition; selectorPosition++; } } function replaceFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal { require(_functionSelectors.length > 0, "LibDiamondCut: No selectors in facet to cut"); DiamondStorage storage ds = diamondStorage(); require(_facetAddress != address(0), "LibDiamondCut: Add facet can't be address(0)"); uint16 selectorPosition = uint16(ds.facetFunctionSelectors[_facetAddress].functionSelectors.length); // add new facet address if it does not exist if (selectorPosition == 0) { enforceHasContractCode(_facetAddress, "LibDiamondCut: New facet has no code"); ds.facetFunctionSelectors[_facetAddress].facetAddressPosition = uint16(ds.facetAddresses.length); ds.facetAddresses.push(_facetAddress); } for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) { bytes4 selector = _functionSelectors[selectorIndex]; address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress; require(oldFacetAddress != _facetAddress, "LibDiamondCut: Can't replace function with same function"); removeFunction(oldFacetAddress, selector); // add function ds.selectorToFacetAndPosition[selector].functionSelectorPosition = selectorPosition; ds.facetFunctionSelectors[_facetAddress].functionSelectors.push(selector); ds.selectorToFacetAndPosition[selector].facetAddress = _facetAddress; selectorPosition++; } } function removeFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal { require(_functionSelectors.length > 0, "LibDiamondCut: No selectors in facet to cut"); DiamondStorage storage ds = diamondStorage(); // if function does not exist then do nothing and return require(_facetAddress == address(0), "LibDiamondCut: Remove facet address must be address(0)"); for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) { bytes4 selector = _functionSelectors[selectorIndex]; address oldFacetAddress = ds.selectorToFacetAndPosition[selector].facetAddress; removeFunction(oldFacetAddress, selector); } } function removeFunction(address _facetAddress, bytes4 _selector) internal { DiamondStorage storage ds = diamondStorage(); require(_facetAddress != address(0), "LibDiamondCut: Can't remove function that doesn't exist"); // an immutable function is a function defined directly in a diamond require(_facetAddress != address(this), "LibDiamondCut: Can't remove immutable function"); // replace selector with last selector, then delete last selector uint256 selectorPosition = ds.selectorToFacetAndPosition[_selector].functionSelectorPosition; uint256 lastSelectorPosition = ds.facetFunctionSelectors[_facetAddress].functionSelectors.length - 1; // if not the same then replace _selector with lastSelector if (selectorPosition != lastSelectorPosition) { bytes4 lastSelector = ds.facetFunctionSelectors[_facetAddress].functionSelectors[lastSelectorPosition]; ds.facetFunctionSelectors[_facetAddress].functionSelectors[selectorPosition] = lastSelector; ds.selectorToFacetAndPosition[lastSelector].functionSelectorPosition = uint16(selectorPosition); } // delete the last selector ds.facetFunctionSelectors[_facetAddress].functionSelectors.pop(); delete ds.selectorToFacetAndPosition[_selector]; // if no more selectors for facet address then delete the facet address if (lastSelectorPosition == 0) { // replace facet address with last facet address and delete last facet address uint256 lastFacetAddressPosition = ds.facetAddresses.length - 1; uint256 facetAddressPosition = ds.facetFunctionSelectors[_facetAddress].facetAddressPosition; if (facetAddressPosition != lastFacetAddressPosition) { address lastFacetAddress = ds.facetAddresses[lastFacetAddressPosition]; ds.facetAddresses[facetAddressPosition] = lastFacetAddress; ds.facetFunctionSelectors[lastFacetAddress].facetAddressPosition = uint16(facetAddressPosition); } ds.facetAddresses.pop(); delete ds.facetFunctionSelectors[_facetAddress].facetAddressPosition; } } function initializeDiamondCut(address _init, bytes memory _calldata) internal { if (_init == address(0)) { require(_calldata.length == 0, "LibDiamondCut: _init is address(0) but_calldata is not empty"); } else { require(_calldata.length > 0, "LibDiamondCut: _calldata is empty but _init is not address(0)"); if (_init != address(this)) { enforceHasContractCode(_init, "LibDiamondCut: _init address has no code"); } (bool success, bytes memory error) = _init.delegatecall(_calldata); if (!success) { if (error.length > 0) { // bubble up the error revert(string(error)); } else { revert("LibDiamondCut: _init function reverted"); } } } } function enforceHasContractCode(address _contract, string memory _errorMessage) internal view { uint256 contractSize; assembly { contractSize := extcodesize(_contract) } require(contractSize > 0, _errorMessage); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (interfaces/IERC721.sol) pragma solidity ^0.8.0; import "../token/ERC721/IERC721.sol";
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; import "../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. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": true, "runs": 99999 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"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":[{"components":[{"internalType":"address","name":"facetAddress","type":"address"},{"internalType":"enum IDiamondCut.FacetCutAction","name":"action","type":"uint8"},{"internalType":"bytes4[]","name":"functionSelectors","type":"bytes4[]"}],"indexed":false,"internalType":"struct IDiamondCut.FacetCut[]","name":"_diamondCut","type":"tuple[]"},{"indexed":false,"internalType":"address","name":"_init","type":"address"},{"indexed":false,"internalType":"bytes","name":"_calldata","type":"bytes"}],"name":"DiamondCut","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"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":"balance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16[]","name":"tokenIds","type":"uint16[]"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"facetAddress","type":"address"},{"internalType":"enum IDiamondCut.FacetCutAction","name":"action","type":"uint8"},{"internalType":"bytes4[]","name":"functionSelectors","type":"bytes4[]"}],"internalType":"struct IDiamondCut.FacetCut[]","name":"_diamondCut","type":"tuple[]"},{"internalType":"address","name":"_init","type":"address"},{"internalType":"bytes","name":"_calldata","type":"bytes"}],"name":"diamondCut","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"_functionSelector","type":"bytes4"}],"name":"facetAddress","outputs":[{"internalType":"address","name":"facetAddress_","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"facetAddresses","outputs":[{"internalType":"address[]","name":"facetAddresses_","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_facet","type":"address"}],"name":"facetFunctionSelectors","outputs":[{"internalType":"bytes4[]","name":"facetFunctionSelectors_","type":"bytes4[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"facets","outputs":[{"components":[{"internalType":"address","name":"facetAddress","type":"address"},{"internalType":"bytes4[]","name":"functionSelectors","type":"bytes4[]"}],"internalType":"struct IDiamondLoupe.Facet[]","name":"facets_","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"operator","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"implementation","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"who","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"royaltiesBasisPoints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltiesRecipient","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","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":"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":"_baseTokenURI","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_claimOpen","type":"bool"}],"name":"setClaimOpen","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"_maxSupply","type":"uint32"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_methodsExposureFacetAddress","type":"string"}],"name":"setMethodsExposureFacetAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_royaltiesBasisPoints","type":"uint256"}],"name":"setRoyaltiesBasisPoints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_royaltiesRecipient","type":"address"}],"name":"setRoyaltiesRecipient","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":"_owner","type":"address"}],"name":"tokensOwned","outputs":[{"internalType":"uint256[]","name":"indexes","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b5061001a3361001f565b61006f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b610e4a8061007e6000396000f3fe608060405234801561001057600080fd5b50600436106102925760003560e01c806370a0823111610160578063b88d4fde116100d8578063d5abeb011161008c578063e985e9c511610071578063e985e9c5146104fb578063f2fde38b14610511578063f9da32241461052457600080fd5b8063d5abeb01146104ec578063dc33e6811461041a57600080fd5b8063c87b56dd116100bd578063c87b56dd146104bd578063cdffacc6146104de578063d547cfb7146102c057600080fd5b8063b88d4fde1461049a578063c50b87be146104af57600080fd5b80638da5cb5b1161012f578063a22cb46511610114578063a22cb46514610471578063a53a84b614610324578063adfca15e1461047f57600080fd5b80638da5cb5b1461045357806395d89b41146102c057600080fd5b806370a082311461041a578063715018a6146104285780637273df66146104305780637a0ed6271461043e57600080fd5b80632a55205a1161020e5780634ea542ce116101c25780635c60da1b116101a75780635c60da1b146103355780636352211e146102dd578063640909c31461040c57600080fd5b80634ea542ce146103e957806352ef6b2c146103f757600080fd5b8063340aecb5116101f3578063340aecb5146103cf57806342842e0e1461037d5780634b8bcb58146103e257600080fd5b80632a55205a1461039057806330176e13146103cf57600080fd5b806318160ddd116102655780631f931c1c1161024a5780631f931c1c1461033c57806321cda7901461034f57806323b872dd1461037d57600080fd5b806318160ddd146103245780631d96a0821461033557600080fd5b806301ffc9a71461029757806306fdde03146102c0578063081812fc146102dd578063095ea7b314610310575b600080fd5b6102ab6102a5366004610772565b50600090565b60405190151581526020015b60405180910390f35b6040805160208101909152600081525b6040516102b791906107bb565b6102eb6102a536600461082e565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016102b7565b61032261031e366004610870565b5050565b005b60005b6040519081526020016102b7565b60006102eb565b61032261034a366004610921565b610532565b61037061035d3660046109a5565b5060408051600081526020810190915290565b6040516102b791906109c0565b61032261038b366004610a04565b505050565b6103a361039e366004610a40565b61053a565b6040805173ffffffffffffffffffffffffffffffffffffffff90931683526020830191909152016102b7565b6103226103dd366004610a91565b610545565b60006102ab565b61032261031e366004610b60565b6103ff610550565b6040516102b79190610ba2565b6103226103dd36600461082e565b6103276102a53660046109a5565b61032261056a565b6103226103dd366004610c00565b61044661057e565b6040516102b79190610c78565b60005473ffffffffffffffffffffffffffffffffffffffff166102eb565b61032261031e366004610d20565b61048d61035d3660046109a5565b6040516102b79190610d53565b6103226104a8366004610d66565b5050505050565b6103226103dd3660046109a5565b6102d06104cb36600461082e565b5060408051602081019091526000815290565b6102eb6102a5366004610772565b604051600081526020016102b7565b6102ab610509366004610dc4565b600092915050565b61032261051f3660046109a5565b6105c3565b6103226103dd366004610dee565b6104a861067c565b6000805b9250929050565b61054d61067c565b50565b604080516000808252602082019092526060915b50905090565b61057261067c565b61057c60006106fd565b565b60408051600080825260208201909252606091610564565b60408051808201909152600081526060602082015281526020019060019003908161059657905050905090565b6105cb61067c565b73ffffffffffffffffffffffffffffffffffffffff8116610673576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b61054d816106fd565b60005473ffffffffffffffffffffffffffffffffffffffff16331461057c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161066a565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006020828403121561078457600080fd5b81357fffffffff00000000000000000000000000000000000000000000000000000000811681146107b457600080fd5b9392505050565b600060208083528351808285015260005b818110156107e8578581018301518582016040015282016107cc565b818111156107fa576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b60006020828403121561084057600080fd5b5035919050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461086b57600080fd5b919050565b6000806040838503121561088357600080fd5b61088c83610847565b946020939093013593505050565b60008083601f8401126108ac57600080fd5b50813567ffffffffffffffff8111156108c457600080fd5b6020830191508360208260051b850101111561053e57600080fd5b60008083601f8401126108f157600080fd5b50813567ffffffffffffffff81111561090957600080fd5b60208301915083602082850101111561053e57600080fd5b60008060008060006060868803121561093957600080fd5b853567ffffffffffffffff8082111561095157600080fd5b61095d89838a0161089a565b909750955085915061097160208901610847565b9450604088013591508082111561098757600080fd5b50610994888289016108df565b969995985093965092949392505050565b6000602082840312156109b757600080fd5b6107b482610847565b6020808252825182820181905260009190848201906040850190845b818110156109f8578351835292840192918401916001016109dc565b50909695505050505050565b600080600060608486031215610a1957600080fd5b610a2284610847565b9250610a3060208501610847565b9150604084013590509250925092565b60008060408385031215610a5357600080fd5b50508035926020909101359150565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060208284031215610aa357600080fd5b813567ffffffffffffffff80821115610abb57600080fd5b818401915084601f830112610acf57600080fd5b813581811115610ae157610ae1610a62565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715610b2757610b27610a62565b81604052828152876020848701011115610b4057600080fd5b826020860160208301376000928101602001929092525095945050505050565b60008060208385031215610b7357600080fd5b823567ffffffffffffffff811115610b8a57600080fd5b610b968582860161089a565b90969095509350505050565b6020808252825182820181905260009190848201906040850190845b818110156109f857835173ffffffffffffffffffffffffffffffffffffffff1683529284019291840191600101610bbe565b8035801515811461086b57600080fd5b600060208284031215610c1257600080fd5b6107b482610bf0565b600081518084526020808501945080840160005b83811015610c6d5781517fffffffff000000000000000000000000000000000000000000000000000000001687529582019590820190600101610c2f565b509495945050505050565b60006020808301818452808551808352604092508286019150828160051b87010184880160005b83811015610d12578883037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00185528151805173ffffffffffffffffffffffffffffffffffffffff168452870151878401879052610cff87850182610c1b565b9588019593505090860190600101610c9f565b509098975050505050505050565b60008060408385031215610d3357600080fd5b610d3c83610847565b9150610d4a60208401610bf0565b90509250929050565b6020815260006107b46020830184610c1b565b600080600080600060808688031215610d7e57600080fd5b610d8786610847565b9450610d9560208701610847565b935060408601359250606086013567ffffffffffffffff811115610db857600080fd5b610994888289016108df565b60008060408385031215610dd757600080fd5b610de083610847565b9150610d4a60208401610847565b600060208284031215610e0057600080fd5b813563ffffffff811681146107b457600080fdfea264697066735822122038723ada6e9b6f62c409081315b7d3ea68f79f6a67c8752d72e38ec7522cedc164736f6c634300080d0033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102925760003560e01c806370a0823111610160578063b88d4fde116100d8578063d5abeb011161008c578063e985e9c511610071578063e985e9c5146104fb578063f2fde38b14610511578063f9da32241461052457600080fd5b8063d5abeb01146104ec578063dc33e6811461041a57600080fd5b8063c87b56dd116100bd578063c87b56dd146104bd578063cdffacc6146104de578063d547cfb7146102c057600080fd5b8063b88d4fde1461049a578063c50b87be146104af57600080fd5b80638da5cb5b1161012f578063a22cb46511610114578063a22cb46514610471578063a53a84b614610324578063adfca15e1461047f57600080fd5b80638da5cb5b1461045357806395d89b41146102c057600080fd5b806370a082311461041a578063715018a6146104285780637273df66146104305780637a0ed6271461043e57600080fd5b80632a55205a1161020e5780634ea542ce116101c25780635c60da1b116101a75780635c60da1b146103355780636352211e146102dd578063640909c31461040c57600080fd5b80634ea542ce146103e957806352ef6b2c146103f757600080fd5b8063340aecb5116101f3578063340aecb5146103cf57806342842e0e1461037d5780634b8bcb58146103e257600080fd5b80632a55205a1461039057806330176e13146103cf57600080fd5b806318160ddd116102655780631f931c1c1161024a5780631f931c1c1461033c57806321cda7901461034f57806323b872dd1461037d57600080fd5b806318160ddd146103245780631d96a0821461033557600080fd5b806301ffc9a71461029757806306fdde03146102c0578063081812fc146102dd578063095ea7b314610310575b600080fd5b6102ab6102a5366004610772565b50600090565b60405190151581526020015b60405180910390f35b6040805160208101909152600081525b6040516102b791906107bb565b6102eb6102a536600461082e565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016102b7565b61032261031e366004610870565b5050565b005b60005b6040519081526020016102b7565b60006102eb565b61032261034a366004610921565b610532565b61037061035d3660046109a5565b5060408051600081526020810190915290565b6040516102b791906109c0565b61032261038b366004610a04565b505050565b6103a361039e366004610a40565b61053a565b6040805173ffffffffffffffffffffffffffffffffffffffff90931683526020830191909152016102b7565b6103226103dd366004610a91565b610545565b60006102ab565b61032261031e366004610b60565b6103ff610550565b6040516102b79190610ba2565b6103226103dd36600461082e565b6103276102a53660046109a5565b61032261056a565b6103226103dd366004610c00565b61044661057e565b6040516102b79190610c78565b60005473ffffffffffffffffffffffffffffffffffffffff166102eb565b61032261031e366004610d20565b61048d61035d3660046109a5565b6040516102b79190610d53565b6103226104a8366004610d66565b5050505050565b6103226103dd3660046109a5565b6102d06104cb36600461082e565b5060408051602081019091526000815290565b6102eb6102a5366004610772565b604051600081526020016102b7565b6102ab610509366004610dc4565b600092915050565b61032261051f3660046109a5565b6105c3565b6103226103dd366004610dee565b6104a861067c565b6000805b9250929050565b61054d61067c565b50565b604080516000808252602082019092526060915b50905090565b61057261067c565b61057c60006106fd565b565b60408051600080825260208201909252606091610564565b60408051808201909152600081526060602082015281526020019060019003908161059657905050905090565b6105cb61067c565b73ffffffffffffffffffffffffffffffffffffffff8116610673576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b61054d816106fd565b60005473ffffffffffffffffffffffffffffffffffffffff16331461057c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161066a565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006020828403121561078457600080fd5b81357fffffffff00000000000000000000000000000000000000000000000000000000811681146107b457600080fd5b9392505050565b600060208083528351808285015260005b818110156107e8578581018301518582016040015282016107cc565b818111156107fa576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b60006020828403121561084057600080fd5b5035919050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461086b57600080fd5b919050565b6000806040838503121561088357600080fd5b61088c83610847565b946020939093013593505050565b60008083601f8401126108ac57600080fd5b50813567ffffffffffffffff8111156108c457600080fd5b6020830191508360208260051b850101111561053e57600080fd5b60008083601f8401126108f157600080fd5b50813567ffffffffffffffff81111561090957600080fd5b60208301915083602082850101111561053e57600080fd5b60008060008060006060868803121561093957600080fd5b853567ffffffffffffffff8082111561095157600080fd5b61095d89838a0161089a565b909750955085915061097160208901610847565b9450604088013591508082111561098757600080fd5b50610994888289016108df565b969995985093965092949392505050565b6000602082840312156109b757600080fd5b6107b482610847565b6020808252825182820181905260009190848201906040850190845b818110156109f8578351835292840192918401916001016109dc565b50909695505050505050565b600080600060608486031215610a1957600080fd5b610a2284610847565b9250610a3060208501610847565b9150604084013590509250925092565b60008060408385031215610a5357600080fd5b50508035926020909101359150565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060208284031215610aa357600080fd5b813567ffffffffffffffff80821115610abb57600080fd5b818401915084601f830112610acf57600080fd5b813581811115610ae157610ae1610a62565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715610b2757610b27610a62565b81604052828152876020848701011115610b4057600080fd5b826020860160208301376000928101602001929092525095945050505050565b60008060208385031215610b7357600080fd5b823567ffffffffffffffff811115610b8a57600080fd5b610b968582860161089a565b90969095509350505050565b6020808252825182820181905260009190848201906040850190845b818110156109f857835173ffffffffffffffffffffffffffffffffffffffff1683529284019291840191600101610bbe565b8035801515811461086b57600080fd5b600060208284031215610c1257600080fd5b6107b482610bf0565b600081518084526020808501945080840160005b83811015610c6d5781517fffffffff000000000000000000000000000000000000000000000000000000001687529582019590820190600101610c2f565b509495945050505050565b60006020808301818452808551808352604092508286019150828160051b87010184880160005b83811015610d12578883037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00185528151805173ffffffffffffffffffffffffffffffffffffffff168452870151878401879052610cff87850182610c1b565b9588019593505090860190600101610c9f565b509098975050505050505050565b60008060408385031215610d3357600080fd5b610d3c83610847565b9150610d4a60208401610bf0565b90509250929050565b6020815260006107b46020830184610c1b565b600080600080600060808688031215610d7e57600080fd5b610d8786610847565b9450610d9560208701610847565b935060408601359250606086013567ffffffffffffffff811115610db857600080fd5b610994888289016108df565b60008060408385031215610dd757600080fd5b610de083610847565b9150610d4a60208401610847565b600060208284031215610e0057600080fd5b813563ffffffff811681146107b457600080fdfea264697066735822122038723ada6e9b6f62c409081315b7d3ea68f79f6a67c8752d72e38ec7522cedc164736f6c634300080d0033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.