|
1 | 1 | //SPDX-License-Identifier: MIT |
2 | 2 | pragma solidity ^0.8.20; |
3 | 3 |
|
4 | | - |
5 | 4 | interface IERC1155M { |
6 | 5 | error CannotIncreaseMaxMintableSupply(); |
7 | 6 | error CosignerNotSet(); |
@@ -50,23 +49,53 @@ interface IERC1155M { |
50 | 49 | ); |
51 | 50 |
|
52 | 51 | event SetCosigner(address cosigner); |
53 | | - event SetMaxMintableSupply(uint256 indexed tokenId, uint256 maxMintableSupply); |
54 | | - event SetGlobalWalletLimit(uint256 indexed tokenId, uint256 globalWalletLimit); |
| 52 | + event SetMaxMintableSupply( |
| 53 | + uint256 indexed tokenId, |
| 54 | + uint256 maxMintableSupply |
| 55 | + ); |
| 56 | + event SetGlobalWalletLimit( |
| 57 | + uint256 indexed tokenId, |
| 58 | + uint256 globalWalletLimit |
| 59 | + ); |
55 | 60 | event Withdraw(uint256 value); |
56 | 61 | event WithdrawERC20(address indexed mintCurrency, uint256 value); |
57 | 62 | event SetTransferable(bool transferable); |
58 | 63 | event DefaultRoyaltySet(address receiver, uint96 feeNumerator); |
59 | | - event TokenRoyaltySet(uint256 indexed tokenId, address receiver, uint96 feeNumerator); |
| 64 | + event TokenRoyaltySet( |
| 65 | + uint256 indexed tokenId, |
| 66 | + address receiver, |
| 67 | + uint96 feeNumerator |
| 68 | + ); |
60 | 69 |
|
61 | 70 | function getNumberStages() external view returns (uint256); |
62 | 71 |
|
63 | | - function getGlobalWalletLimit(uint256 tokenId) external view returns (uint256); |
| 72 | + function totalSupply() external view returns (uint256); |
| 73 | + |
| 74 | + function totalSupply(uint256 tokenId) external view returns (uint256); |
| 75 | + |
| 76 | + function getGlobalWalletLimit( |
| 77 | + uint256 tokenId |
| 78 | + ) external view returns (uint256); |
| 79 | + |
| 80 | + function getMaxMintableSupply( |
| 81 | + uint256 tokenId |
| 82 | + ) external view returns (uint256); |
64 | 83 |
|
65 | | - function getMaxMintableSupply(uint256 tokenId) external view returns (uint256); |
| 84 | + function totalMintedByAddress( |
| 85 | + address account |
| 86 | + ) external view returns (uint256[] memory); |
66 | 87 |
|
67 | | - function totalMintedByAddress(address account) external view returns (uint256[] memory); |
| 88 | + function getCosignNonce( |
| 89 | + address minter, |
| 90 | + uint256 tokenId |
| 91 | + ) external view returns (uint256); |
68 | 92 |
|
69 | | - function getStageInfo(uint256 stage) external view returns (MintStageInfo memory, uint256[] memory, uint256[] memory); |
| 93 | + function getStageInfo( |
| 94 | + uint256 stage |
| 95 | + ) |
| 96 | + external |
| 97 | + view |
| 98 | + returns (MintStageInfo memory, uint256[] memory, uint256[] memory); |
70 | 99 |
|
71 | 100 | function mint( |
72 | 101 | uint256 tokenId, |
|
0 commit comments