Skip to content

Commit

Permalink
fixed interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
dan13ram committed Mar 24, 2024
1 parent ab48c91 commit 5625c34
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/interfaces/IItems.sol
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,14 @@ interface IItems {
external
returns (bool success);

function claimItems(uint256[] calldata itemIds, uint256[] calldata amounts, bytes32[][] calldata proofs)
function obtainItems(uint256 itemId, uint256 amount, bytes32[] calldata proof)
external
returns (bool success);

function dismantleItems(uint256 itemId, uint256 amount) external returns (bool success);

function updateItemClaimable(uint256 itemId, bytes32 merkleRoot, uint256 newDistribution) external;

function craftItem(uint256 itemId, uint256 amount) external returns (bool);

function setURI(uint256 tokenId, string memory tokenURI) external;

function createItemType(bytes calldata itemData) external returns (uint256 tokenId);
Expand Down

0 comments on commit 5625c34

Please sign in to comment.