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 25 from a total of 1,795 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Multi Burn | 15873555 | 827 days ago | IN | 0 ETH | 0.0024356 | ||||
Multi Burn | 15873536 | 827 days ago | IN | 0 ETH | 0.00134091 | ||||
Multi Burn | 15873535 | 827 days ago | IN | 0 ETH | 0.00235073 | ||||
Multi Burn | 15873510 | 827 days ago | IN | 0 ETH | 0.00168421 | ||||
Multi Burn | 15873508 | 827 days ago | IN | 0 ETH | 0.00201473 | ||||
Multi Burn | 15873467 | 827 days ago | IN | 0 ETH | 0.00156228 | ||||
Multi Burn | 15873448 | 827 days ago | IN | 0 ETH | 0.00145684 | ||||
Multi Burn | 15873263 | 827 days ago | IN | 0 ETH | 0.0011839 | ||||
Multi Burn | 15873252 | 827 days ago | IN | 0 ETH | 0.00156985 | ||||
Multi Burn | 15873252 | 827 days ago | IN | 0 ETH | 0.0019813 | ||||
Multi Burn | 15873226 | 827 days ago | IN | 0 ETH | 0.00127709 | ||||
Multi Burn | 15873160 | 827 days ago | IN | 0 ETH | 0.00132209 | ||||
Multi Burn | 15873160 | 827 days ago | IN | 0 ETH | 0.00172986 | ||||
Multi Burn | 15873150 | 827 days ago | IN | 0 ETH | 0.00245723 | ||||
Multi Burn | 15873137 | 827 days ago | IN | 0 ETH | 0.00192849 | ||||
Multi Burn | 15873110 | 827 days ago | IN | 0 ETH | 0.00130834 | ||||
Multi Burn | 15873096 | 827 days ago | IN | 0 ETH | 0.00194297 | ||||
Multi Burn | 15873089 | 827 days ago | IN | 0 ETH | 0.00198256 | ||||
Multi Burn | 15873087 | 827 days ago | IN | 0 ETH | 0.0016655 | ||||
Multi Burn | 15873000 | 827 days ago | IN | 0 ETH | 0.00196485 | ||||
Multi Burn | 15872992 | 827 days ago | IN | 0 ETH | 0.01193173 | ||||
Multi Burn | 15872966 | 827 days ago | IN | 0 ETH | 0.0127365 | ||||
Multi Burn | 15872953 | 827 days ago | IN | 0 ETH | 0.00783639 | ||||
Multi Burn | 15872930 | 827 days ago | IN | 0 ETH | 0.0038117 | ||||
Multi Burn | 15872926 | 827 days ago | IN | 0 ETH | 0.00325309 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
LostPoetPagesMultiBurn
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
Yes with 1000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /// @artist: Pak /// @author: manifold.xyz import "@manifoldxyz/libraries-solidity/contracts/access/AdminControl.sol"; import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol"; import "./ILostPoets.sol"; /////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // // `7MMF' .g8""8q. .M"""bgd MMP""MM""YMM `7MM"""Mq. .g8""8q. `7MM"""YMM MMP""MM""YMM .M"""bgd // // MM .dP' `YM. ,MI "Y P' MM `7 MM `MM..dP' `YM. MM `7 P' MM `7 ,MI "Y // // MM dM' `MM `MMb. MM MM ,M9 dM' `MM MM d MM `MMb. // // MM MM MM `YMMNq. MM MMmmdM9 MM MM MMmmMM MM `YMMNq. // // MM , MM. ,MP . `MM MM MM MM. ,MP MM Y , MM . `MM // // MM ,M `Mb. ,dP' Mb dM MM MM `Mb. ,dP' MM ,M MM Mb dM // // .JMMmmmmMMM `"bmmd"' P"Ybmmd" .JMML. .JMML. `"bmmd"' .JMMmmmmMMM .JMML. P"Ybmmd" // // // /////////////////////////////////////////////////////////////////////////////////////////////////////////////// contract LostPoetPagesMultiBurn is AdminControl { address private _erc1155BurnAddress; address private _lostPoetsAddress; constructor(address lostPoetPagesAddress, address lostPoetsAddress) { _erc1155BurnAddress = lostPoetPagesAddress; _lostPoetsAddress = lostPoetsAddress; } function updateERC1155BurnAddress(address erc1155BurnAddress) external adminRequired { _erc1155BurnAddress = erc1155BurnAddress; } function multiBurn(uint256 burnTokenId, uint256 amount, bytes calldata data) external { require(IERC1155(_erc1155BurnAddress).isApprovedForAll(msg.sender, address(this)), "No permissions"); require(IERC1155(_erc1155BurnAddress).balanceOf(msg.sender, burnTokenId) >= amount, "Insufficient quantity"); for (uint i = 0; i < amount; i++) { try IERC1155(_erc1155BurnAddress).safeTransferFrom(msg.sender, _lostPoetsAddress, burnTokenId, 1, data) { } catch Error(string memory reason) { if (keccak256(abi.encodePacked(reason)) == keccak256(abi.encodePacked("ERC1155: transfer to non ERC1155Receiver implementer"))) break; revert(reason); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /// @artist: Pak /// @author: manifold.xyz import "@manifoldxyz/libraries-solidity/contracts/access/IAdminControl.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol"; /////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // // `7MMF' .g8""8q. .M"""bgd MMP""MM""YMM `7MM"""Mq. .g8""8q. `7MM"""YMM MMP""MM""YMM .M"""bgd // // MM .dP' `YM. ,MI "Y P' MM `7 MM `MM..dP' `YM. MM `7 P' MM `7 ,MI "Y // // MM dM' `MM `MMb. MM MM ,M9 dM' `MM MM d MM `MMb. // // MM MM MM `YMMNq. MM MMmmdM9 MM MM MMmmMM MM `YMMNq. // // MM , MM. ,MP . `MM MM MM MM. ,MP MM Y , MM . `MM // // MM ,M `Mb. ,dP' Mb dM MM MM `Mb. ,dP' MM ,M MM Mb dM // // .JMMmmmmMMM `"bmmd"' P"Ybmmd" .JMML. .JMML. `"bmmd"' .JMMmmmmMMM .JMML. P"Ybmmd" // // // /////////////////////////////////////////////////////////////////////////////////////////////////////////////// interface ILostPoets is IAdminControl, IERC721, IERC721Receiver, IERC1155Receiver { event Unveil(uint256 tokenId); event AddWords(uint256 indexed tokenId, uint8 count); event ShuffleWords(uint256 indexed tokenId); event WordsLocked(bool locked); event Activate(); event Deactivate(); /** * @dev Mint Origins */ function mintOrigins(address[] calldata recipients, uint256[] calldata tokenIds) external; /** * @dev Enable token redemption */ function enableRedemption(uint256 end) external; /** * @dev Disable token redemption */ function disableRedemption() external; /** * @dev Set if words are locked */ function lockWords(bool locked) external; /** * @dev Set the image base uri */ function setPrefixURI(string calldata uri) external; /** * @dev Finalize poets */ function finalizePoets(bool value, uint256[] memory tokenIds) external; /** * @dev Get word count for a token */ function getWordCount(uint256 tokenId) external view returns(uint8); /** * @dev Update royalties */ function updateRoyalties(address payable recipient, uint256 bps) external; /** * @dev Recover any 721's accidentally sent in. */ function recoverERC721(address tokenAddress, uint256 tokenId, address destination) external; /** * @dev Update ERC1155 Burn Address */ function updateERC1155BurnAddress(address erc1155BurnAddress) external; /** * @dev Update ERC721 Burn Address */ function updateERC721BurnAddress(address erc721BurnAddress) external; /** * ROYALTY FUNCTIONS */ function getRoyalties(uint256) external view returns (address payable[] memory recipients, uint256[] memory bps); function getFeeRecipients(uint256) external view returns (address payable[] memory recipients); function getFeeBps(uint256) external view returns (uint[] memory bps); function royaltyInfo(uint256, uint256 value) external view returns (address, uint256); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155 is IERC165 { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch( address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values ); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes calldata data ) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /// @author: manifold.xyz import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "./IAdminControl.sol"; abstract contract AdminControl is Ownable, IAdminControl, ERC165 { using EnumerableSet for EnumerableSet.AddressSet; // Track registered admins EnumerableSet.AddressSet private _admins; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IAdminControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Only allows approved admins to call the specified function */ modifier adminRequired() { require(owner() == msg.sender || _admins.contains(msg.sender), "AdminControl: Must be owner or admin"); _; } /** * @dev See {IAdminControl-getAdmins}. */ function getAdmins() external view override returns (address[] memory admins) { admins = new address[](_admins.length()); for (uint i = 0; i < _admins.length(); i++) { admins[i] = _admins.at(i); } return admins; } /** * @dev See {IAdminControl-approveAdmin}. */ function approveAdmin(address admin) external override onlyOwner { if (!_admins.contains(admin)) { emit AdminApproved(admin, msg.sender); _admins.add(admin); } } /** * @dev See {IAdminControl-revokeAdmin}. */ function revokeAdmin(address admin) external override onlyOwner { if (_admins.contains(admin)) { emit AdminRevoked(admin, msg.sender); _admins.remove(admin); } } /** * @dev See {IAdminControl-isAdmin}. */ function isAdmin(address admin) public override view returns (bool) { return (owner() == admin || _admins.contains(admin)); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev _Available since v3.1._ */ interface IERC1155Receiver is IERC165 { /** @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. 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 */ function onERC1155Received( address operator, address from, uint256 id, uint256 value, bytes calldata data ) external returns (bytes4); /** @dev Handles the receipt of a multiple ERC1155 token types. This function is called at the end of a `safeBatchTransferFrom` after the balances have been updated. To accept the transfer(s), this must return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` (i.e. 0xbc197c81, or its own function selector). @param operator The address which initiated the batch transfer (i.e. msg.sender) @param from The address which previously owned the token @param ids An array containing ids of each token being transferred (order and length must match values array) @param values An array containing amounts of each token being transferred (order and length must match ids array) @param data Additional data with no specified format @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed */ function onERC1155BatchReceived( address operator, address from, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /// @author: manifold.xyz import "@openzeppelin/contracts/utils/introspection/IERC165.sol"; /** * @dev Interface for admin control */ interface IAdminControl is IERC165 { event AdminApproved(address indexed account, address indexed sender); event AdminRevoked(address indexed account, address indexed sender); /** * @dev gets address of all admins */ function getAdmins() external view returns (address[] memory); /** * @dev add an admin. Can only be called by contract owner. */ function approveAdmin(address admin) external; /** * @dev remove an admin. Can only be called by contract owner. */ function revokeAdmin(address admin) external; /** * @dev checks whether or not given address is an admin * Returns True if they are */ function isAdmin(address admin) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT 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() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(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"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT 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; * } * ``` * * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) * and `uint256` (`UintSet`) are supported. */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping(bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; if (lastIndex != toDeleteIndex) { bytes32 lastvalue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastvalue; // Update the index for the moved value set._indexes[lastvalue] = valueIndex; // Replace lastvalue's index to valueIndex } // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { return set._values[index]; } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function _values(Set storage set) private view returns (bytes32[] memory) { return set._values; } // Bytes32Set struct Bytes32Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _add(set._inner, value); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values in the set. O(1). */ function length(Bytes32Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) { return _at(set._inner, index); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(Bytes32Set storage set) internal view returns (bytes32[] memory) { return _values(set._inner); } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint160(uint256(_at(set._inner, index)))); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(AddressSet storage set) internal view returns (address[] memory) { bytes32[] memory store = _values(set._inner); address[] memory result; assembly { result := store } return result; } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values on the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(UintSet storage set) internal view returns (uint256[] memory) { bytes32[] memory store = _values(set._inner); uint256[] memory result; assembly { result := store } return result; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT 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; } }
{ "optimizer": { "enabled": true, "runs": 1000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"lostPoetPagesAddress","type":"address"},{"internalType":"address","name":"lostPoetsAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"AdminApproved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"AdminRevoked","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"},{"inputs":[{"internalType":"address","name":"admin","type":"address"}],"name":"approveAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getAdmins","outputs":[{"internalType":"address[]","name":"admins","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"admin","type":"address"}],"name":"isAdmin","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"burnTokenId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"multiBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"admin","type":"address"}],"name":"revokeAdmin","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":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"erc1155BurnAddress","type":"address"}],"name":"updateERC1155BurnAddress","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b5060405161112438038061112483398101604081905261002f916100d5565b61003833610069565b600380546001600160a01b039384166001600160a01b03199182161790915560048054929093169116179055610108565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b03811681146100d057600080fd5b919050565b600080604083850312156100e857600080fd5b6100f1836100b9565b91506100ff602084016100b9565b90509250929050565b61100d806101176000396000f3fe608060405234801561001057600080fd5b50600436106100be5760003560e01c80636d73e669116100765780638da5cb5b1161005b5780638da5cb5b14610156578063c83d875d14610171578063f2fde38b1461018457600080fd5b80636d73e6691461013b578063715018a61461014e57600080fd5b8063269d7191116100a7578063269d7191146100fe5780632d3456701461011357806331ae450b1461012657600080fd5b806301ffc9a7146100c357806324d7806c146100eb575b600080fd5b6100d66100d1366004610c6a565b610197565b60405190151581526020015b60405180910390f35b6100d66100f9366004610c1f565b610230565b61011161010c366004610cc5565b610269565b005b610111610121366004610c1f565b6105d5565b61012e610685565b6040516100e29190610dbc565b610111610149366004610c1f565b610734565b6101116107de565b6000546040516001600160a01b0390911681526020016100e2565b61011161017f366004610c1f565b610844565b610111610192366004610c1f565b610912565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f553e757e00000000000000000000000000000000000000000000000000000000148061022a57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b6000816001600160a01b031661024e6000546001600160a01b031690565b6001600160a01b0316148061022a575061022a6001836109f1565b6003546040517fe985e9c50000000000000000000000000000000000000000000000000000000081523360048201523060248201526001600160a01b039091169063e985e9c59060440160206040518083038186803b1580156102cb57600080fd5b505afa1580156102df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103039190610c48565b6103545760405162461bcd60e51b815260206004820152600e60248201527f4e6f207065726d697373696f6e7300000000000000000000000000000000000060448201526064015b60405180910390fd5b6003546040517efdd58e0000000000000000000000000000000000000000000000000000000081523360048201526024810186905284916001600160a01b03169062fdd58e9060440160206040518083038186803b1580156103b557600080fd5b505afa1580156103c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103ed9190610cac565b101561043b5760405162461bcd60e51b815260206004820152601560248201527f496e73756666696369656e74207175616e746974790000000000000000000000604482015260640161034b565b60005b838110156105ce57600354600480546040517ff242432a0000000000000000000000000000000000000000000000000000000081526001600160a01b039384169363f242432a9361049d9333939216918b916001918b918b9101610d61565b600060405180830381600087803b1580156104b757600080fd5b505af19250505080156104c8575060015b6105bc576104d4610f31565b806308c379a014156105b057506104e9610f4d565b806104f457506105b2565b60405160200161054d907f455243313135353a207472616e7366657220746f206e6f6e204552433131353581527f526563656976657220696d706c656d656e746572000000000000000000000000602082015260340190565b60405160208183030381529060405280519060200120816040516020016105749190610d45565b60405160208183030381529060405280519060200120141561059657506105ce565b8060405162461bcd60e51b815260040161034b9190610e09565b505b3d6000803e3d6000fd5b806105c681610ebe565b91505061043e565b5050505050565b6000546001600160a01b0316331461062f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161034b565b61063a6001826109f1565b156106825760405133906001600160a01b038316907f7c0c3c84c67c85fcac635147348bfe374c24a1a93d0366d1cfe9d8853cbf89d590600090a3610680600182610a16565b505b50565b60606106916001610a2b565b67ffffffffffffffff8111156106a9576106a9610f1b565b6040519080825280602002602001820160405280156106d2578160200160208202803683370190505b50905060005b6106e26001610a2b565b811015610730576106f4600182610a35565b82828151811061070657610706610f05565b6001600160a01b03909216602092830291909101909101528061072881610ebe565b9150506106d8565b5090565b6000546001600160a01b0316331461078e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161034b565b6107996001826109f1565b6106825760405133906001600160a01b038316907f7e1a1a08d52e4ba0e21554733d66165fd5151f99460116223d9e3a608eec5cb190600090a3610680600182610a41565b6000546001600160a01b031633146108385760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161034b565b6108426000610a56565b565b336108576000546001600160a01b031690565b6001600160a01b0316148061087257506108726001336109f1565b6108e35760405162461bcd60e51b8152602060048201526024808201527f41646d696e436f6e74726f6c3a204d757374206265206f776e6572206f72206160448201527f646d696e00000000000000000000000000000000000000000000000000000000606482015260840161034b565b6003805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6000546001600160a01b0316331461096c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161034b565b6001600160a01b0381166109e85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161034b565b61068281610a56565b6001600160a01b038116600090815260018301602052604081205415155b9392505050565b6000610a0f836001600160a01b038416610ab3565b600061022a825490565b6000610a0f8383610ba6565b6000610a0f836001600160a01b038416610bd0565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60008181526001830160205260408120548015610b9c576000610ad7600183610e3c565b8554909150600090610aeb90600190610e3c565b9050818114610b50576000866000018281548110610b0b57610b0b610f05565b9060005260206000200154905080876000018481548110610b2e57610b2e610f05565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080610b6157610b61610eef565b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505061022a565b600091505061022a565b6000826000018281548110610bbd57610bbd610f05565b9060005260206000200154905092915050565b6000818152600183016020526040812054610c175750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561022a565b50600061022a565b600060208284031215610c3157600080fd5b81356001600160a01b0381168114610a0f57600080fd5b600060208284031215610c5a57600080fd5b81518015158114610a0f57600080fd5b600060208284031215610c7c57600080fd5b81357fffffffff0000000000000000000000000000000000000000000000000000000081168114610a0f57600080fd5b600060208284031215610cbe57600080fd5b5051919050565b60008060008060608587031215610cdb57600080fd5b8435935060208501359250604085013567ffffffffffffffff80821115610d0157600080fd5b818701915087601f830112610d1557600080fd5b813581811115610d2457600080fd5b886020828501011115610d3657600080fd5b95989497505060200194505050565b60008251610d57818460208701610e53565b9190910192915050565b60006001600160a01b03808916835280881660208401525085604083015284606083015260a060808301528260a0830152828460c0840137600060c0848401015260c0601f19601f8501168301019050979650505050505050565b6020808252825182820181905260009190848201906040850190845b81811015610dfd5783516001600160a01b031683529284019291840191600101610dd8565b50909695505050505050565b6020815260008251806020840152610e28816040850160208701610e53565b601f01601f19169190910160400192915050565b600082821015610e4e57610e4e610ed9565b500390565b60005b83811015610e6e578181015183820152602001610e56565b83811115610e7d576000848401525b50505050565b601f8201601f1916810167ffffffffffffffff81118282101715610eb757634e487b7160e01b600052604160045260246000fd5b6040525050565b6000600019821415610ed257610ed2610ed9565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b600060033d1115610f4a5760046000803e5060005160e01c5b90565b600060443d1015610f5b5790565b6040516003193d81016004833e81513d67ffffffffffffffff8160248401118184111715610f8b57505050505090565b8285019150815181811115610fa35750505050505090565b843d8701016020828501011115610fbd5750505050505090565b610fcc60208286010187610e83565b50909594505050505056fea26469706673582212206dd72d043c7628955cfb2f9b98090df74837d571ab2bee48b13788805460faf964736f6c63430008070033000000000000000000000000a7206d878c5c3871826dfdb42191c49b1d11f4660000000000000000000000004b3406a41399c7fd2ba65cbc93697ad9e7ea61e5
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100be5760003560e01c80636d73e669116100765780638da5cb5b1161005b5780638da5cb5b14610156578063c83d875d14610171578063f2fde38b1461018457600080fd5b80636d73e6691461013b578063715018a61461014e57600080fd5b8063269d7191116100a7578063269d7191146100fe5780632d3456701461011357806331ae450b1461012657600080fd5b806301ffc9a7146100c357806324d7806c146100eb575b600080fd5b6100d66100d1366004610c6a565b610197565b60405190151581526020015b60405180910390f35b6100d66100f9366004610c1f565b610230565b61011161010c366004610cc5565b610269565b005b610111610121366004610c1f565b6105d5565b61012e610685565b6040516100e29190610dbc565b610111610149366004610c1f565b610734565b6101116107de565b6000546040516001600160a01b0390911681526020016100e2565b61011161017f366004610c1f565b610844565b610111610192366004610c1f565b610912565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f553e757e00000000000000000000000000000000000000000000000000000000148061022a57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b6000816001600160a01b031661024e6000546001600160a01b031690565b6001600160a01b0316148061022a575061022a6001836109f1565b6003546040517fe985e9c50000000000000000000000000000000000000000000000000000000081523360048201523060248201526001600160a01b039091169063e985e9c59060440160206040518083038186803b1580156102cb57600080fd5b505afa1580156102df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103039190610c48565b6103545760405162461bcd60e51b815260206004820152600e60248201527f4e6f207065726d697373696f6e7300000000000000000000000000000000000060448201526064015b60405180910390fd5b6003546040517efdd58e0000000000000000000000000000000000000000000000000000000081523360048201526024810186905284916001600160a01b03169062fdd58e9060440160206040518083038186803b1580156103b557600080fd5b505afa1580156103c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103ed9190610cac565b101561043b5760405162461bcd60e51b815260206004820152601560248201527f496e73756666696369656e74207175616e746974790000000000000000000000604482015260640161034b565b60005b838110156105ce57600354600480546040517ff242432a0000000000000000000000000000000000000000000000000000000081526001600160a01b039384169363f242432a9361049d9333939216918b916001918b918b9101610d61565b600060405180830381600087803b1580156104b757600080fd5b505af19250505080156104c8575060015b6105bc576104d4610f31565b806308c379a014156105b057506104e9610f4d565b806104f457506105b2565b60405160200161054d907f455243313135353a207472616e7366657220746f206e6f6e204552433131353581527f526563656976657220696d706c656d656e746572000000000000000000000000602082015260340190565b60405160208183030381529060405280519060200120816040516020016105749190610d45565b60405160208183030381529060405280519060200120141561059657506105ce565b8060405162461bcd60e51b815260040161034b9190610e09565b505b3d6000803e3d6000fd5b806105c681610ebe565b91505061043e565b5050505050565b6000546001600160a01b0316331461062f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161034b565b61063a6001826109f1565b156106825760405133906001600160a01b038316907f7c0c3c84c67c85fcac635147348bfe374c24a1a93d0366d1cfe9d8853cbf89d590600090a3610680600182610a16565b505b50565b60606106916001610a2b565b67ffffffffffffffff8111156106a9576106a9610f1b565b6040519080825280602002602001820160405280156106d2578160200160208202803683370190505b50905060005b6106e26001610a2b565b811015610730576106f4600182610a35565b82828151811061070657610706610f05565b6001600160a01b03909216602092830291909101909101528061072881610ebe565b9150506106d8565b5090565b6000546001600160a01b0316331461078e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161034b565b6107996001826109f1565b6106825760405133906001600160a01b038316907f7e1a1a08d52e4ba0e21554733d66165fd5151f99460116223d9e3a608eec5cb190600090a3610680600182610a41565b6000546001600160a01b031633146108385760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161034b565b6108426000610a56565b565b336108576000546001600160a01b031690565b6001600160a01b0316148061087257506108726001336109f1565b6108e35760405162461bcd60e51b8152602060048201526024808201527f41646d696e436f6e74726f6c3a204d757374206265206f776e6572206f72206160448201527f646d696e00000000000000000000000000000000000000000000000000000000606482015260840161034b565b6003805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6000546001600160a01b0316331461096c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161034b565b6001600160a01b0381166109e85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161034b565b61068281610a56565b6001600160a01b038116600090815260018301602052604081205415155b9392505050565b6000610a0f836001600160a01b038416610ab3565b600061022a825490565b6000610a0f8383610ba6565b6000610a0f836001600160a01b038416610bd0565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60008181526001830160205260408120548015610b9c576000610ad7600183610e3c565b8554909150600090610aeb90600190610e3c565b9050818114610b50576000866000018281548110610b0b57610b0b610f05565b9060005260206000200154905080876000018481548110610b2e57610b2e610f05565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080610b6157610b61610eef565b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505061022a565b600091505061022a565b6000826000018281548110610bbd57610bbd610f05565b9060005260206000200154905092915050565b6000818152600183016020526040812054610c175750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561022a565b50600061022a565b600060208284031215610c3157600080fd5b81356001600160a01b0381168114610a0f57600080fd5b600060208284031215610c5a57600080fd5b81518015158114610a0f57600080fd5b600060208284031215610c7c57600080fd5b81357fffffffff0000000000000000000000000000000000000000000000000000000081168114610a0f57600080fd5b600060208284031215610cbe57600080fd5b5051919050565b60008060008060608587031215610cdb57600080fd5b8435935060208501359250604085013567ffffffffffffffff80821115610d0157600080fd5b818701915087601f830112610d1557600080fd5b813581811115610d2457600080fd5b886020828501011115610d3657600080fd5b95989497505060200194505050565b60008251610d57818460208701610e53565b9190910192915050565b60006001600160a01b03808916835280881660208401525085604083015284606083015260a060808301528260a0830152828460c0840137600060c0848401015260c0601f19601f8501168301019050979650505050505050565b6020808252825182820181905260009190848201906040850190845b81811015610dfd5783516001600160a01b031683529284019291840191600101610dd8565b50909695505050505050565b6020815260008251806020840152610e28816040850160208701610e53565b601f01601f19169190910160400192915050565b600082821015610e4e57610e4e610ed9565b500390565b60005b83811015610e6e578181015183820152602001610e56565b83811115610e7d576000848401525b50505050565b601f8201601f1916810167ffffffffffffffff81118282101715610eb757634e487b7160e01b600052604160045260246000fd5b6040525050565b6000600019821415610ed257610ed2610ed9565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b600060033d1115610f4a5760046000803e5060005160e01c5b90565b600060443d1015610f5b5790565b6040516003193d81016004833e81513d67ffffffffffffffff8160248401118184111715610f8b57505050505090565b8285019150815181811115610fa35750505050505090565b843d8701016020828501011115610fbd5750505050505090565b610fcc60208286010187610e83565b50909594505050505056fea26469706673582212206dd72d043c7628955cfb2f9b98090df74837d571ab2bee48b13788805460faf964736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000a7206d878c5c3871826dfdb42191c49b1d11f4660000000000000000000000004b3406a41399c7fd2ba65cbc93697ad9e7ea61e5
-----Decoded View---------------
Arg [0] : lostPoetPagesAddress (address): 0xA7206d878c5c3871826DfdB42191c49B1D11F466
Arg [1] : lostPoetsAddress (address): 0x4b3406a41399c7FD2BA65cbC93697Ad9E7eA61e5
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000a7206d878c5c3871826dfdb42191c49b1d11f466
Arg [1] : 0000000000000000000000004b3406a41399c7fd2ba65cbc93697ad9e7ea61e5
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 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.