@kasufinance/kasu-sdk 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (219) hide show
  1. package/.eslintignore +3 -0
  2. package/.eslintrc.json +90 -0
  3. package/.github/workflows/ci.yml +0 -0
  4. package/.github/workflows/main.yml +43 -0
  5. package/.prettierignore +3 -0
  6. package/.prettierrc +28 -0
  7. package/abis/IClearingCoordinator.abi.json +410 -0
  8. package/abis/IERC20Metadata.abi.json +224 -0
  9. package/abis/IFeeManager.abi.json +66 -0
  10. package/abis/IKSULocking.abi.json +754 -0
  11. package/abis/IKasuAllowList.abi.json +455 -0
  12. package/abis/IKasuController.abi.json +423 -0
  13. package/abis/IKasuNFTs.abi.json +1523 -0
  14. package/abis/IKsuPrice.abi.json +15 -0
  15. package/abis/ILendingPool.abi.json +1431 -0
  16. package/abis/ILendingPoolFactory.abi.json +97 -0
  17. package/abis/ILendingPoolManager.abi.json +1347 -0
  18. package/abis/ILendingPoolTranche.abi.json +1317 -0
  19. package/abis/IPriceFeed.abi.json +1 -0
  20. package/abis/ISystemVariables.abi.json +431 -0
  21. package/abis/IUserLoyaltyRewards.abi.json +288 -0
  22. package/abis/IUserManager.abi.json +321 -0
  23. package/abis/KSULockBonus.abi.json +91 -0
  24. package/abis/KasuPoolExternalTVL.abi.json +812 -0
  25. package/abis/Swapper.abi.json +146 -0
  26. package/copy-abi.ps1 +15 -0
  27. package/dist/bundle.cjs.js +21646 -0
  28. package/dist/bundle.esm.js +21644 -0
  29. package/dist/contracts/IClearingCoordinatorAbi.d.ts +169 -0
  30. package/dist/contracts/IClearingCoordinatorAbi.js +1 -0
  31. package/dist/contracts/IERC20MetadataAbi.d.ts +162 -0
  32. package/dist/contracts/IERC20MetadataAbi.js +1 -0
  33. package/dist/contracts/IFeeManagerAbi.d.ts +96 -0
  34. package/dist/contracts/IFeeManagerAbi.js +1 -0
  35. package/dist/contracts/IKSULockingAbi.d.ts +466 -0
  36. package/dist/contracts/IKSULockingAbi.js +1 -0
  37. package/dist/contracts/IKasuAllowListAbi.d.ts +304 -0
  38. package/dist/contracts/IKasuAllowListAbi.js +1 -0
  39. package/dist/contracts/IKasuControllerAbi.d.ts +309 -0
  40. package/dist/contracts/IKasuControllerAbi.js +1 -0
  41. package/dist/contracts/IKasuNFTsAbi.d.ts +1121 -0
  42. package/dist/contracts/IKasuNFTsAbi.js +1 -0
  43. package/dist/contracts/IKsuPriceAbi.d.ts +42 -0
  44. package/dist/contracts/IKsuPriceAbi.js +1 -0
  45. package/dist/contracts/ILendingPoolAbi.d.ts +968 -0
  46. package/dist/contracts/ILendingPoolAbi.js +1 -0
  47. package/dist/contracts/ILendingPoolFactoryAbi.d.ts +103 -0
  48. package/dist/contracts/ILendingPoolFactoryAbi.js +1 -0
  49. package/dist/contracts/ILendingPoolManagerAbi.d.ts +779 -0
  50. package/dist/contracts/ILendingPoolManagerAbi.js +1 -0
  51. package/dist/contracts/ILendingPoolTrancheAbi.d.ts +752 -0
  52. package/dist/contracts/ILendingPoolTrancheAbi.js +1 -0
  53. package/dist/contracts/ISystemVariablesAbi.d.ts +378 -0
  54. package/dist/contracts/ISystemVariablesAbi.js +1 -0
  55. package/dist/contracts/IUserLoyaltyRewardsAbi.d.ts +248 -0
  56. package/dist/contracts/IUserLoyaltyRewardsAbi.js +1 -0
  57. package/dist/contracts/IUserManagerAbi.d.ts +270 -0
  58. package/dist/contracts/IUserManagerAbi.js +1 -0
  59. package/dist/contracts/KSULockBonusAbi.d.ts +61 -0
  60. package/dist/contracts/KSULockBonusAbi.js +1 -0
  61. package/dist/contracts/KasuPoolExternalTVLAbi.d.ts +411 -0
  62. package/dist/contracts/KasuPoolExternalTVLAbi.js +1 -0
  63. package/dist/contracts/SwapperAbi.d.ts +120 -0
  64. package/dist/contracts/SwapperAbi.js +1 -0
  65. package/dist/contracts/common.d.ts +21 -0
  66. package/dist/contracts/common.js +1 -0
  67. package/dist/contracts/factories/IClearingCoordinatorAbi__factory.d.ts +320 -0
  68. package/dist/contracts/factories/IClearingCoordinatorAbi__factory.js +423 -0
  69. package/dist/contracts/factories/IERC20MetadataAbi__factory.d.ts +178 -0
  70. package/dist/contracts/factories/IERC20MetadataAbi__factory.js +237 -0
  71. package/dist/contracts/factories/IFeeManagerAbi__factory.d.ts +59 -0
  72. package/dist/contracts/factories/IFeeManagerAbi__factory.js +79 -0
  73. package/dist/contracts/factories/IKSULockingAbi__factory.d.ts +588 -0
  74. package/dist/contracts/factories/IKSULockingAbi__factory.js +767 -0
  75. package/dist/contracts/factories/IKasuAllowListAbi__factory.d.ts +354 -0
  76. package/dist/contracts/factories/IKasuAllowListAbi__factory.js +468 -0
  77. package/dist/contracts/factories/IKasuControllerAbi__factory.d.ts +339 -0
  78. package/dist/contracts/factories/IKasuControllerAbi__factory.js +436 -0
  79. package/dist/contracts/factories/IKasuNFTsAbi__factory.d.ts +1629 -0
  80. package/dist/contracts/factories/IKasuNFTsAbi__factory.js +2108 -0
  81. package/dist/contracts/factories/IKsuPriceAbi__factory.d.ts +18 -0
  82. package/dist/contracts/factories/IKsuPriceAbi__factory.js +28 -0
  83. package/dist/contracts/factories/ILendingPoolAbi__factory.d.ts +1109 -0
  84. package/dist/contracts/factories/ILendingPoolAbi__factory.js +1444 -0
  85. package/dist/contracts/factories/ILendingPoolFactoryAbi__factory.d.ts +81 -0
  86. package/dist/contracts/factories/ILendingPoolFactoryAbi__factory.js +110 -0
  87. package/dist/contracts/factories/ILendingPoolManagerAbi__factory.d.ts +1045 -0
  88. package/dist/contracts/factories/ILendingPoolManagerAbi__factory.js +1360 -0
  89. package/dist/contracts/factories/ILendingPoolTrancheAbi__factory.d.ts +1015 -0
  90. package/dist/contracts/factories/ILendingPoolTrancheAbi__factory.js +1330 -0
  91. package/dist/contracts/factories/ISystemVariablesAbi__factory.d.ts +338 -0
  92. package/dist/contracts/factories/ISystemVariablesAbi__factory.js +444 -0
  93. package/dist/contracts/factories/IUserLoyaltyRewardsAbi__factory.d.ts +230 -0
  94. package/dist/contracts/factories/IUserLoyaltyRewardsAbi__factory.js +301 -0
  95. package/dist/contracts/factories/IUserManagerAbi__factory.d.ts +250 -0
  96. package/dist/contracts/factories/IUserManagerAbi__factory.js +334 -0
  97. package/dist/contracts/factories/KSULockBonusAbi__factory.d.ts +76 -0
  98. package/dist/contracts/factories/KSULockBonusAbi__factory.js +104 -0
  99. package/dist/contracts/factories/KasuPoolExternalTVLAbi__factory.d.ts +631 -0
  100. package/dist/contracts/factories/KasuPoolExternalTVLAbi__factory.js +825 -0
  101. package/dist/contracts/factories/SwapperAbi__factory.d.ts +120 -0
  102. package/dist/contracts/factories/SwapperAbi__factory.js +159 -0
  103. package/dist/contracts/factories/index.d.ts +18 -0
  104. package/dist/contracts/factories/index.js +21 -0
  105. package/dist/contracts/index.d.ts +37 -0
  106. package/dist/contracts/index.js +19 -0
  107. package/dist/index.d.ts +17 -0
  108. package/dist/index.js +16 -0
  109. package/dist/sdk-config.d.ts +22 -0
  110. package/dist/sdk-config.js +9 -0
  111. package/dist/services/DataService/data-service.d.ts +37 -0
  112. package/dist/services/DataService/data-service.js +586 -0
  113. package/dist/services/DataService/directus-types.d.ts +187 -0
  114. package/dist/services/DataService/directus-types.js +1 -0
  115. package/dist/services/DataService/queries.d.ts +7 -0
  116. package/dist/services/DataService/queries.js +158 -0
  117. package/dist/services/DataService/subgraph-types.d.ts +95 -0
  118. package/dist/services/DataService/subgraph-types.js +1 -0
  119. package/dist/services/DataService/types.d.ts +169 -0
  120. package/dist/services/DataService/types.js +1 -0
  121. package/dist/services/Locking/locking.d.ts +61 -0
  122. package/dist/services/Locking/locking.js +344 -0
  123. package/dist/services/Locking/queries.d.ts +10 -0
  124. package/dist/services/Locking/queries.js +108 -0
  125. package/dist/services/Locking/types.d.ts +117 -0
  126. package/dist/services/Locking/types.js +1 -0
  127. package/dist/services/Portfolio/portfolio.d.ts +22 -0
  128. package/dist/services/Portfolio/portfolio.js +325 -0
  129. package/dist/services/Portfolio/queries.d.ts +2 -0
  130. package/dist/services/Portfolio/queries.js +164 -0
  131. package/dist/services/Portfolio/types.d.ts +206 -0
  132. package/dist/services/Portfolio/types.js +1 -0
  133. package/dist/services/Swapper/swapper.d.ts +11 -0
  134. package/dist/services/Swapper/swapper.js +97 -0
  135. package/dist/services/Swapper/types.d.ts +51 -0
  136. package/dist/services/Swapper/types.js +1 -0
  137. package/dist/services/UserLending/helper.d.ts +2 -0
  138. package/dist/services/UserLending/helper.js +16 -0
  139. package/dist/services/UserLending/queries.d.ts +8 -0
  140. package/dist/services/UserLending/queries.js +188 -0
  141. package/dist/services/UserLending/subgraph-types.d.ts +147 -0
  142. package/dist/services/UserLending/subgraph-types.js +6 -0
  143. package/dist/services/UserLending/types.d.ts +102 -0
  144. package/dist/services/UserLending/types.js +13 -0
  145. package/dist/services/UserLending/user-lending.d.ts +55 -0
  146. package/dist/services/UserLending/user-lending.js +490 -0
  147. package/dist/services/shared.d.ts +1 -0
  148. package/dist/services/shared.js +11 -0
  149. package/dist/tests/sample.test.d.ts +1 -0
  150. package/dist/tests/sample.test.js +32 -0
  151. package/index.ts +2 -0
  152. package/jest-config.ts +9 -0
  153. package/jest.config.js +8 -0
  154. package/package.json +49 -0
  155. package/rollup.config.js +45 -0
  156. package/src/contracts/IClearingCoordinatorAbi.ts +406 -0
  157. package/src/contracts/IERC20MetadataAbi.ts +364 -0
  158. package/src/contracts/IFeeManagerAbi.ts +182 -0
  159. package/src/contracts/IKSULockingAbi.ts +965 -0
  160. package/src/contracts/IKasuAllowListAbi.ts +605 -0
  161. package/src/contracts/IKasuControllerAbi.ts +703 -0
  162. package/src/contracts/IKasuNFTsAbi.ts +2744 -0
  163. package/src/contracts/IKsuPriceAbi.ts +87 -0
  164. package/src/contracts/ILendingPoolAbi.ts +2081 -0
  165. package/src/contracts/ILendingPoolFactoryAbi.ts +161 -0
  166. package/src/contracts/ILendingPoolManagerAbi.ts +1917 -0
  167. package/src/contracts/ILendingPoolTrancheAbi.ts +1911 -0
  168. package/src/contracts/ISystemVariablesAbi.ts +908 -0
  169. package/src/contracts/IUserLoyaltyRewardsAbi.ts +544 -0
  170. package/src/contracts/IUserManagerAbi.ts +612 -0
  171. package/src/contracts/KSULockBonusAbi.ts +124 -0
  172. package/src/contracts/KasuPoolExternalTVLAbi.ts +1071 -0
  173. package/src/contracts/SwapperAbi.ts +266 -0
  174. package/src/contracts/common.ts +44 -0
  175. package/src/contracts/factories/IClearingCoordinatorAbi__factory.ts +438 -0
  176. package/src/contracts/factories/IERC20MetadataAbi__factory.ts +248 -0
  177. package/src/contracts/factories/IFeeManagerAbi__factory.ts +90 -0
  178. package/src/contracts/factories/IKSULockingAbi__factory.ts +778 -0
  179. package/src/contracts/factories/IKasuAllowListAbi__factory.ts +479 -0
  180. package/src/contracts/factories/IKasuControllerAbi__factory.ts +447 -0
  181. package/src/contracts/factories/IKasuNFTsAbi__factory.ts +2116 -0
  182. package/src/contracts/factories/IKsuPriceAbi__factory.ts +36 -0
  183. package/src/contracts/factories/ILendingPoolAbi__factory.ts +1455 -0
  184. package/src/contracts/factories/ILendingPoolFactoryAbi__factory.ts +125 -0
  185. package/src/contracts/factories/ILendingPoolManagerAbi__factory.ts +1375 -0
  186. package/src/contracts/factories/ILendingPoolTrancheAbi__factory.ts +1345 -0
  187. package/src/contracts/factories/ISystemVariablesAbi__factory.ts +455 -0
  188. package/src/contracts/factories/IUserLoyaltyRewardsAbi__factory.ts +316 -0
  189. package/src/contracts/factories/IUserManagerAbi__factory.ts +345 -0
  190. package/src/contracts/factories/KSULockBonusAbi__factory.ts +115 -0
  191. package/src/contracts/factories/KasuPoolExternalTVLAbi__factory.ts +840 -0
  192. package/src/contracts/factories/SwapperAbi__factory.ts +167 -0
  193. package/src/contracts/factories/index.ts +21 -0
  194. package/src/contracts/index.ts +40 -0
  195. package/src/index.ts +27 -0
  196. package/src/sdk-config.ts +35 -0
  197. package/src/services/DataService/data-service.ts +1017 -0
  198. package/src/services/DataService/directus-types.ts +199 -0
  199. package/src/services/DataService/queries.ts +165 -0
  200. package/src/services/DataService/subgraph-types.ts +104 -0
  201. package/src/services/DataService/types.ts +184 -0
  202. package/src/services/Locking/locking.ts +541 -0
  203. package/src/services/Locking/queries.ts +118 -0
  204. package/src/services/Locking/types.ts +141 -0
  205. package/src/services/Portfolio/portfolio.ts +593 -0
  206. package/src/services/Portfolio/queries.ts +166 -0
  207. package/src/services/Portfolio/types.ts +220 -0
  208. package/src/services/Swapper/swapper.ts +158 -0
  209. package/src/services/Swapper/types.ts +54 -0
  210. package/src/services/UserLending/helper.ts +28 -0
  211. package/src/services/UserLending/queries.ts +196 -0
  212. package/src/services/UserLending/subgraph-types.ts +173 -0
  213. package/src/services/UserLending/types.ts +123 -0
  214. package/src/services/UserLending/user-lending.ts +933 -0
  215. package/src/services/shared.ts +11 -0
  216. package/src/tests/sample.test.ts +44 -0
  217. package/tsconfig.json +27 -0
  218. package/tsconfig.tsbuildinfo +1 -0
  219. package/versioner.sh +6 -0
@@ -0,0 +1,2108 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import { Contract, utils } from "ethers";
5
+ const _abi = [
6
+ {
7
+ inputs: [
8
+ {
9
+ internalType: "string",
10
+ name: "collectionName",
11
+ type: "string",
12
+ },
13
+ {
14
+ internalType: "string",
15
+ name: "collectionSymbol",
16
+ type: "string",
17
+ },
18
+ {
19
+ internalType: "string",
20
+ name: "tokenURISuffix",
21
+ type: "string",
22
+ },
23
+ {
24
+ internalType: "uint256",
25
+ name: "maxMintableSupply",
26
+ type: "uint256",
27
+ },
28
+ {
29
+ internalType: "uint256",
30
+ name: "globalWalletLimit",
31
+ type: "uint256",
32
+ },
33
+ {
34
+ internalType: "address",
35
+ name: "cosigner",
36
+ type: "address",
37
+ },
38
+ {
39
+ internalType: "uint64",
40
+ name: "timestampExpirySeconds",
41
+ type: "uint64",
42
+ },
43
+ {
44
+ internalType: "address",
45
+ name: "mintCurrency",
46
+ type: "address",
47
+ },
48
+ {
49
+ internalType: "address",
50
+ name: "fundReceiver",
51
+ type: "address",
52
+ },
53
+ {
54
+ internalType: "address",
55
+ name: "royaltyReceiver",
56
+ type: "address",
57
+ },
58
+ {
59
+ internalType: "uint96",
60
+ name: "royaltyFeeNumerator",
61
+ type: "uint96",
62
+ },
63
+ ],
64
+ stateMutability: "nonpayable",
65
+ type: "constructor",
66
+ },
67
+ {
68
+ inputs: [
69
+ {
70
+ internalType: "address",
71
+ name: "target",
72
+ type: "address",
73
+ },
74
+ ],
75
+ name: "AddressEmptyCode",
76
+ type: "error",
77
+ },
78
+ {
79
+ inputs: [
80
+ {
81
+ internalType: "address",
82
+ name: "account",
83
+ type: "address",
84
+ },
85
+ ],
86
+ name: "AddressInsufficientBalance",
87
+ type: "error",
88
+ },
89
+ {
90
+ inputs: [],
91
+ name: "ApprovalCallerNotOwnerNorApproved",
92
+ type: "error",
93
+ },
94
+ {
95
+ inputs: [],
96
+ name: "ApprovalQueryForNonexistentToken",
97
+ type: "error",
98
+ },
99
+ {
100
+ inputs: [],
101
+ name: "BalanceQueryForZeroAddress",
102
+ type: "error",
103
+ },
104
+ {
105
+ inputs: [],
106
+ name: "CannotIncreaseMaxMintableSupply",
107
+ type: "error",
108
+ },
109
+ {
110
+ inputs: [],
111
+ name: "CosignerNotSet",
112
+ type: "error",
113
+ },
114
+ {
115
+ inputs: [],
116
+ name: "CreatorTokenBase__InvalidTransferValidatorContract",
117
+ type: "error",
118
+ },
119
+ {
120
+ inputs: [],
121
+ name: "CreatorTokenBase__SetTransferValidatorFirst",
122
+ type: "error",
123
+ },
124
+ {
125
+ inputs: [],
126
+ name: "CrossmintAddressNotSet",
127
+ type: "error",
128
+ },
129
+ {
130
+ inputs: [],
131
+ name: "CrossmintOnly",
132
+ type: "error",
133
+ },
134
+ {
135
+ inputs: [
136
+ {
137
+ internalType: "uint256",
138
+ name: "numerator",
139
+ type: "uint256",
140
+ },
141
+ {
142
+ internalType: "uint256",
143
+ name: "denominator",
144
+ type: "uint256",
145
+ },
146
+ ],
147
+ name: "ERC2981InvalidDefaultRoyalty",
148
+ type: "error",
149
+ },
150
+ {
151
+ inputs: [
152
+ {
153
+ internalType: "address",
154
+ name: "receiver",
155
+ type: "address",
156
+ },
157
+ ],
158
+ name: "ERC2981InvalidDefaultRoyaltyReceiver",
159
+ type: "error",
160
+ },
161
+ {
162
+ inputs: [
163
+ {
164
+ internalType: "uint256",
165
+ name: "tokenId",
166
+ type: "uint256",
167
+ },
168
+ {
169
+ internalType: "uint256",
170
+ name: "numerator",
171
+ type: "uint256",
172
+ },
173
+ {
174
+ internalType: "uint256",
175
+ name: "denominator",
176
+ type: "uint256",
177
+ },
178
+ ],
179
+ name: "ERC2981InvalidTokenRoyalty",
180
+ type: "error",
181
+ },
182
+ {
183
+ inputs: [
184
+ {
185
+ internalType: "uint256",
186
+ name: "tokenId",
187
+ type: "uint256",
188
+ },
189
+ {
190
+ internalType: "address",
191
+ name: "receiver",
192
+ type: "address",
193
+ },
194
+ ],
195
+ name: "ERC2981InvalidTokenRoyaltyReceiver",
196
+ type: "error",
197
+ },
198
+ {
199
+ inputs: [],
200
+ name: "FailedInnerCall",
201
+ type: "error",
202
+ },
203
+ {
204
+ inputs: [],
205
+ name: "GlobalWalletLimitOverflow",
206
+ type: "error",
207
+ },
208
+ {
209
+ inputs: [],
210
+ name: "InsufficientStageTimeGap",
211
+ type: "error",
212
+ },
213
+ {
214
+ inputs: [],
215
+ name: "InvalidCosignSignature",
216
+ type: "error",
217
+ },
218
+ {
219
+ inputs: [],
220
+ name: "InvalidProof",
221
+ type: "error",
222
+ },
223
+ {
224
+ inputs: [],
225
+ name: "InvalidQueryRange",
226
+ type: "error",
227
+ },
228
+ {
229
+ inputs: [],
230
+ name: "InvalidStage",
231
+ type: "error",
232
+ },
233
+ {
234
+ inputs: [],
235
+ name: "InvalidStageArgsLength",
236
+ type: "error",
237
+ },
238
+ {
239
+ inputs: [],
240
+ name: "InvalidStartAndEndTimestamp",
241
+ type: "error",
242
+ },
243
+ {
244
+ inputs: [],
245
+ name: "MintERC2309QuantityExceedsLimit",
246
+ type: "error",
247
+ },
248
+ {
249
+ inputs: [],
250
+ name: "MintToZeroAddress",
251
+ type: "error",
252
+ },
253
+ {
254
+ inputs: [],
255
+ name: "MintZeroQuantity",
256
+ type: "error",
257
+ },
258
+ {
259
+ inputs: [],
260
+ name: "Mintable",
261
+ type: "error",
262
+ },
263
+ {
264
+ inputs: [],
265
+ name: "NoSupplyLeft",
266
+ type: "error",
267
+ },
268
+ {
269
+ inputs: [],
270
+ name: "NotEnoughValue",
271
+ type: "error",
272
+ },
273
+ {
274
+ inputs: [],
275
+ name: "NotMintable",
276
+ type: "error",
277
+ },
278
+ {
279
+ inputs: [],
280
+ name: "NotSupported",
281
+ type: "error",
282
+ },
283
+ {
284
+ inputs: [
285
+ {
286
+ internalType: "address",
287
+ name: "owner",
288
+ type: "address",
289
+ },
290
+ ],
291
+ name: "OwnableInvalidOwner",
292
+ type: "error",
293
+ },
294
+ {
295
+ inputs: [
296
+ {
297
+ internalType: "address",
298
+ name: "account",
299
+ type: "address",
300
+ },
301
+ ],
302
+ name: "OwnableUnauthorizedAccount",
303
+ type: "error",
304
+ },
305
+ {
306
+ inputs: [],
307
+ name: "OwnerQueryForNonexistentToken",
308
+ type: "error",
309
+ },
310
+ {
311
+ inputs: [],
312
+ name: "OwnershipNotInitializedForExtraData",
313
+ type: "error",
314
+ },
315
+ {
316
+ inputs: [],
317
+ name: "ReentrancyGuardReentrantCall",
318
+ type: "error",
319
+ },
320
+ {
321
+ inputs: [
322
+ {
323
+ internalType: "address",
324
+ name: "token",
325
+ type: "address",
326
+ },
327
+ ],
328
+ name: "SafeERC20FailedOperation",
329
+ type: "error",
330
+ },
331
+ {
332
+ inputs: [],
333
+ name: "ShouldNotMintToBurnAddress",
334
+ type: "error",
335
+ },
336
+ {
337
+ inputs: [],
338
+ name: "StageSupplyExceeded",
339
+ type: "error",
340
+ },
341
+ {
342
+ inputs: [],
343
+ name: "TimestampExpired",
344
+ type: "error",
345
+ },
346
+ {
347
+ inputs: [],
348
+ name: "TransferCallerNotOwnerNorApproved",
349
+ type: "error",
350
+ },
351
+ {
352
+ inputs: [],
353
+ name: "TransferFailed",
354
+ type: "error",
355
+ },
356
+ {
357
+ inputs: [],
358
+ name: "TransferFromIncorrectOwner",
359
+ type: "error",
360
+ },
361
+ {
362
+ inputs: [],
363
+ name: "TransferToNonERC721ReceiverImplementer",
364
+ type: "error",
365
+ },
366
+ {
367
+ inputs: [],
368
+ name: "TransferToZeroAddress",
369
+ type: "error",
370
+ },
371
+ {
372
+ inputs: [],
373
+ name: "URIQueryForNonexistentToken",
374
+ type: "error",
375
+ },
376
+ {
377
+ inputs: [],
378
+ name: "WalletGlobalLimitExceeded",
379
+ type: "error",
380
+ },
381
+ {
382
+ inputs: [],
383
+ name: "WalletStageLimitExceeded",
384
+ type: "error",
385
+ },
386
+ {
387
+ inputs: [],
388
+ name: "WithdrawFailed",
389
+ type: "error",
390
+ },
391
+ {
392
+ inputs: [],
393
+ name: "WrongMintCurrency",
394
+ type: "error",
395
+ },
396
+ {
397
+ anonymous: false,
398
+ inputs: [
399
+ {
400
+ indexed: true,
401
+ internalType: "address",
402
+ name: "owner",
403
+ type: "address",
404
+ },
405
+ {
406
+ indexed: true,
407
+ internalType: "address",
408
+ name: "approved",
409
+ type: "address",
410
+ },
411
+ {
412
+ indexed: true,
413
+ internalType: "uint256",
414
+ name: "tokenId",
415
+ type: "uint256",
416
+ },
417
+ ],
418
+ name: "Approval",
419
+ type: "event",
420
+ },
421
+ {
422
+ anonymous: false,
423
+ inputs: [
424
+ {
425
+ indexed: true,
426
+ internalType: "address",
427
+ name: "owner",
428
+ type: "address",
429
+ },
430
+ {
431
+ indexed: true,
432
+ internalType: "address",
433
+ name: "operator",
434
+ type: "address",
435
+ },
436
+ {
437
+ indexed: false,
438
+ internalType: "bool",
439
+ name: "approved",
440
+ type: "bool",
441
+ },
442
+ ],
443
+ name: "ApprovalForAll",
444
+ type: "event",
445
+ },
446
+ {
447
+ anonymous: false,
448
+ inputs: [
449
+ {
450
+ indexed: true,
451
+ internalType: "uint256",
452
+ name: "fromTokenId",
453
+ type: "uint256",
454
+ },
455
+ {
456
+ indexed: false,
457
+ internalType: "uint256",
458
+ name: "toTokenId",
459
+ type: "uint256",
460
+ },
461
+ {
462
+ indexed: true,
463
+ internalType: "address",
464
+ name: "from",
465
+ type: "address",
466
+ },
467
+ {
468
+ indexed: true,
469
+ internalType: "address",
470
+ name: "to",
471
+ type: "address",
472
+ },
473
+ ],
474
+ name: "ConsecutiveTransfer",
475
+ type: "event",
476
+ },
477
+ {
478
+ anonymous: false,
479
+ inputs: [
480
+ {
481
+ indexed: true,
482
+ internalType: "address",
483
+ name: "receiver",
484
+ type: "address",
485
+ },
486
+ {
487
+ indexed: false,
488
+ internalType: "uint96",
489
+ name: "feeNumerator",
490
+ type: "uint96",
491
+ },
492
+ ],
493
+ name: "DefaultRoyaltySet",
494
+ type: "event",
495
+ },
496
+ {
497
+ anonymous: false,
498
+ inputs: [
499
+ {
500
+ indexed: true,
501
+ internalType: "address",
502
+ name: "previousOwner",
503
+ type: "address",
504
+ },
505
+ {
506
+ indexed: true,
507
+ internalType: "address",
508
+ name: "newOwner",
509
+ type: "address",
510
+ },
511
+ ],
512
+ name: "OwnershipTransferred",
513
+ type: "event",
514
+ },
515
+ {
516
+ anonymous: false,
517
+ inputs: [
518
+ {
519
+ indexed: false,
520
+ internalType: "uint256",
521
+ name: "activeStage",
522
+ type: "uint256",
523
+ },
524
+ ],
525
+ name: "SetActiveStage",
526
+ type: "event",
527
+ },
528
+ {
529
+ anonymous: false,
530
+ inputs: [
531
+ {
532
+ indexed: false,
533
+ internalType: "string",
534
+ name: "baseURI",
535
+ type: "string",
536
+ },
537
+ ],
538
+ name: "SetBaseURI",
539
+ type: "event",
540
+ },
541
+ {
542
+ anonymous: false,
543
+ inputs: [
544
+ {
545
+ indexed: false,
546
+ internalType: "address",
547
+ name: "cosigner",
548
+ type: "address",
549
+ },
550
+ ],
551
+ name: "SetCosigner",
552
+ type: "event",
553
+ },
554
+ {
555
+ anonymous: false,
556
+ inputs: [
557
+ {
558
+ indexed: false,
559
+ internalType: "address",
560
+ name: "crossmintAddress",
561
+ type: "address",
562
+ },
563
+ ],
564
+ name: "SetCrossmintAddress",
565
+ type: "event",
566
+ },
567
+ {
568
+ anonymous: false,
569
+ inputs: [
570
+ {
571
+ indexed: false,
572
+ internalType: "uint256",
573
+ name: "globalWalletLimit",
574
+ type: "uint256",
575
+ },
576
+ ],
577
+ name: "SetGlobalWalletLimit",
578
+ type: "event",
579
+ },
580
+ {
581
+ anonymous: false,
582
+ inputs: [
583
+ {
584
+ indexed: false,
585
+ internalType: "uint256",
586
+ name: "maxMintableSupply",
587
+ type: "uint256",
588
+ },
589
+ ],
590
+ name: "SetMaxMintableSupply",
591
+ type: "event",
592
+ },
593
+ {
594
+ anonymous: false,
595
+ inputs: [
596
+ {
597
+ indexed: false,
598
+ internalType: "address",
599
+ name: "mintCurrency",
600
+ type: "address",
601
+ },
602
+ ],
603
+ name: "SetMintCurrency",
604
+ type: "event",
605
+ },
606
+ {
607
+ anonymous: false,
608
+ inputs: [
609
+ {
610
+ indexed: false,
611
+ internalType: "bool",
612
+ name: "mintable",
613
+ type: "bool",
614
+ },
615
+ ],
616
+ name: "SetMintable",
617
+ type: "event",
618
+ },
619
+ {
620
+ anonymous: false,
621
+ inputs: [
622
+ {
623
+ indexed: false,
624
+ internalType: "uint64",
625
+ name: "expiry",
626
+ type: "uint64",
627
+ },
628
+ ],
629
+ name: "SetTimestampExpirySeconds",
630
+ type: "event",
631
+ },
632
+ {
633
+ anonymous: false,
634
+ inputs: [
635
+ {
636
+ indexed: true,
637
+ internalType: "uint256",
638
+ name: "tokenId",
639
+ type: "uint256",
640
+ },
641
+ {
642
+ indexed: true,
643
+ internalType: "address",
644
+ name: "receiver",
645
+ type: "address",
646
+ },
647
+ {
648
+ indexed: false,
649
+ internalType: "uint96",
650
+ name: "feeNumerator",
651
+ type: "uint96",
652
+ },
653
+ ],
654
+ name: "TokenRoyaltySet",
655
+ type: "event",
656
+ },
657
+ {
658
+ anonymous: false,
659
+ inputs: [
660
+ {
661
+ indexed: true,
662
+ internalType: "address",
663
+ name: "from",
664
+ type: "address",
665
+ },
666
+ {
667
+ indexed: true,
668
+ internalType: "address",
669
+ name: "to",
670
+ type: "address",
671
+ },
672
+ {
673
+ indexed: true,
674
+ internalType: "uint256",
675
+ name: "tokenId",
676
+ type: "uint256",
677
+ },
678
+ ],
679
+ name: "Transfer",
680
+ type: "event",
681
+ },
682
+ {
683
+ anonymous: false,
684
+ inputs: [
685
+ {
686
+ indexed: false,
687
+ internalType: "address",
688
+ name: "oldValidator",
689
+ type: "address",
690
+ },
691
+ {
692
+ indexed: false,
693
+ internalType: "address",
694
+ name: "newValidator",
695
+ type: "address",
696
+ },
697
+ ],
698
+ name: "TransferValidatorUpdated",
699
+ type: "event",
700
+ },
701
+ {
702
+ anonymous: false,
703
+ inputs: [
704
+ {
705
+ indexed: false,
706
+ internalType: "uint256",
707
+ name: "stage",
708
+ type: "uint256",
709
+ },
710
+ {
711
+ indexed: false,
712
+ internalType: "uint80",
713
+ name: "price",
714
+ type: "uint80",
715
+ },
716
+ {
717
+ indexed: false,
718
+ internalType: "uint80",
719
+ name: "mintFee",
720
+ type: "uint80",
721
+ },
722
+ {
723
+ indexed: false,
724
+ internalType: "uint32",
725
+ name: "walletLimit",
726
+ type: "uint32",
727
+ },
728
+ {
729
+ indexed: false,
730
+ internalType: "bytes32",
731
+ name: "merkleRoot",
732
+ type: "bytes32",
733
+ },
734
+ {
735
+ indexed: false,
736
+ internalType: "uint24",
737
+ name: "maxStageSupply",
738
+ type: "uint24",
739
+ },
740
+ {
741
+ indexed: false,
742
+ internalType: "uint64",
743
+ name: "startTimeUnixSeconds",
744
+ type: "uint64",
745
+ },
746
+ {
747
+ indexed: false,
748
+ internalType: "uint64",
749
+ name: "endTimeUnixSeconds",
750
+ type: "uint64",
751
+ },
752
+ ],
753
+ name: "UpdateStage",
754
+ type: "event",
755
+ },
756
+ {
757
+ anonymous: false,
758
+ inputs: [
759
+ {
760
+ indexed: false,
761
+ internalType: "uint256",
762
+ name: "value",
763
+ type: "uint256",
764
+ },
765
+ ],
766
+ name: "Withdraw",
767
+ type: "event",
768
+ },
769
+ {
770
+ anonymous: false,
771
+ inputs: [
772
+ {
773
+ indexed: false,
774
+ internalType: "address",
775
+ name: "mintCurrency",
776
+ type: "address",
777
+ },
778
+ {
779
+ indexed: false,
780
+ internalType: "uint256",
781
+ name: "value",
782
+ type: "uint256",
783
+ },
784
+ ],
785
+ name: "WithdrawERC20",
786
+ type: "event",
787
+ },
788
+ {
789
+ inputs: [],
790
+ name: "DEFAULT_OPERATOR_WHITELIST_ID",
791
+ outputs: [
792
+ {
793
+ internalType: "uint120",
794
+ name: "",
795
+ type: "uint120",
796
+ },
797
+ ],
798
+ stateMutability: "view",
799
+ type: "function",
800
+ },
801
+ {
802
+ inputs: [],
803
+ name: "DEFAULT_TRANSFER_SECURITY_LEVEL",
804
+ outputs: [
805
+ {
806
+ internalType: "enum TransferSecurityLevels",
807
+ name: "",
808
+ type: "uint8",
809
+ },
810
+ ],
811
+ stateMutability: "view",
812
+ type: "function",
813
+ },
814
+ {
815
+ inputs: [],
816
+ name: "DEFAULT_TRANSFER_VALIDATOR",
817
+ outputs: [
818
+ {
819
+ internalType: "address",
820
+ name: "",
821
+ type: "address",
822
+ },
823
+ ],
824
+ stateMutability: "view",
825
+ type: "function",
826
+ },
827
+ {
828
+ inputs: [],
829
+ name: "FUND_RECEIVER",
830
+ outputs: [
831
+ {
832
+ internalType: "address",
833
+ name: "",
834
+ type: "address",
835
+ },
836
+ ],
837
+ stateMutability: "view",
838
+ type: "function",
839
+ },
840
+ {
841
+ inputs: [
842
+ {
843
+ internalType: "address",
844
+ name: "to",
845
+ type: "address",
846
+ },
847
+ {
848
+ internalType: "uint256",
849
+ name: "tokenId",
850
+ type: "uint256",
851
+ },
852
+ ],
853
+ name: "approve",
854
+ outputs: [],
855
+ stateMutability: "payable",
856
+ type: "function",
857
+ },
858
+ {
859
+ inputs: [
860
+ {
861
+ internalType: "address",
862
+ name: "minter",
863
+ type: "address",
864
+ },
865
+ {
866
+ internalType: "uint32",
867
+ name: "qty",
868
+ type: "uint32",
869
+ },
870
+ {
871
+ internalType: "uint64",
872
+ name: "timestamp",
873
+ type: "uint64",
874
+ },
875
+ {
876
+ internalType: "bytes",
877
+ name: "signature",
878
+ type: "bytes",
879
+ },
880
+ ],
881
+ name: "assertValidCosign",
882
+ outputs: [],
883
+ stateMutability: "view",
884
+ type: "function",
885
+ },
886
+ {
887
+ inputs: [
888
+ {
889
+ internalType: "address",
890
+ name: "owner",
891
+ type: "address",
892
+ },
893
+ ],
894
+ name: "balanceOf",
895
+ outputs: [
896
+ {
897
+ internalType: "uint256",
898
+ name: "",
899
+ type: "uint256",
900
+ },
901
+ ],
902
+ stateMutability: "view",
903
+ type: "function",
904
+ },
905
+ {
906
+ inputs: [],
907
+ name: "contractURI",
908
+ outputs: [
909
+ {
910
+ internalType: "string",
911
+ name: "",
912
+ type: "string",
913
+ },
914
+ ],
915
+ stateMutability: "view",
916
+ type: "function",
917
+ },
918
+ {
919
+ inputs: [
920
+ {
921
+ internalType: "uint32",
922
+ name: "qty",
923
+ type: "uint32",
924
+ },
925
+ {
926
+ internalType: "address",
927
+ name: "to",
928
+ type: "address",
929
+ },
930
+ {
931
+ internalType: "bytes32[]",
932
+ name: "proof",
933
+ type: "bytes32[]",
934
+ },
935
+ {
936
+ internalType: "uint64",
937
+ name: "timestamp",
938
+ type: "uint64",
939
+ },
940
+ {
941
+ internalType: "bytes",
942
+ name: "signature",
943
+ type: "bytes",
944
+ },
945
+ ],
946
+ name: "crossmint",
947
+ outputs: [],
948
+ stateMutability: "payable",
949
+ type: "function",
950
+ },
951
+ {
952
+ inputs: [
953
+ {
954
+ internalType: "uint256",
955
+ name: "tokenId",
956
+ type: "uint256",
957
+ },
958
+ ],
959
+ name: "explicitOwnershipOf",
960
+ outputs: [
961
+ {
962
+ components: [
963
+ {
964
+ internalType: "address",
965
+ name: "addr",
966
+ type: "address",
967
+ },
968
+ {
969
+ internalType: "uint64",
970
+ name: "startTimestamp",
971
+ type: "uint64",
972
+ },
973
+ {
974
+ internalType: "bool",
975
+ name: "burned",
976
+ type: "bool",
977
+ },
978
+ {
979
+ internalType: "uint24",
980
+ name: "extraData",
981
+ type: "uint24",
982
+ },
983
+ ],
984
+ internalType: "struct IERC721A.TokenOwnership",
985
+ name: "",
986
+ type: "tuple",
987
+ },
988
+ ],
989
+ stateMutability: "view",
990
+ type: "function",
991
+ },
992
+ {
993
+ inputs: [
994
+ {
995
+ internalType: "uint256[]",
996
+ name: "tokenIds",
997
+ type: "uint256[]",
998
+ },
999
+ ],
1000
+ name: "explicitOwnershipsOf",
1001
+ outputs: [
1002
+ {
1003
+ components: [
1004
+ {
1005
+ internalType: "address",
1006
+ name: "addr",
1007
+ type: "address",
1008
+ },
1009
+ {
1010
+ internalType: "uint64",
1011
+ name: "startTimestamp",
1012
+ type: "uint64",
1013
+ },
1014
+ {
1015
+ internalType: "bool",
1016
+ name: "burned",
1017
+ type: "bool",
1018
+ },
1019
+ {
1020
+ internalType: "uint24",
1021
+ name: "extraData",
1022
+ type: "uint24",
1023
+ },
1024
+ ],
1025
+ internalType: "struct IERC721A.TokenOwnership[]",
1026
+ name: "",
1027
+ type: "tuple[]",
1028
+ },
1029
+ ],
1030
+ stateMutability: "view",
1031
+ type: "function",
1032
+ },
1033
+ {
1034
+ inputs: [
1035
+ {
1036
+ internalType: "uint64",
1037
+ name: "timestamp",
1038
+ type: "uint64",
1039
+ },
1040
+ ],
1041
+ name: "getActiveStageFromTimestamp",
1042
+ outputs: [
1043
+ {
1044
+ internalType: "uint256",
1045
+ name: "",
1046
+ type: "uint256",
1047
+ },
1048
+ ],
1049
+ stateMutability: "view",
1050
+ type: "function",
1051
+ },
1052
+ {
1053
+ inputs: [
1054
+ {
1055
+ internalType: "uint256",
1056
+ name: "tokenId",
1057
+ type: "uint256",
1058
+ },
1059
+ ],
1060
+ name: "getApproved",
1061
+ outputs: [
1062
+ {
1063
+ internalType: "address",
1064
+ name: "",
1065
+ type: "address",
1066
+ },
1067
+ ],
1068
+ stateMutability: "view",
1069
+ type: "function",
1070
+ },
1071
+ {
1072
+ inputs: [
1073
+ {
1074
+ internalType: "address",
1075
+ name: "minter",
1076
+ type: "address",
1077
+ },
1078
+ {
1079
+ internalType: "uint32",
1080
+ name: "qty",
1081
+ type: "uint32",
1082
+ },
1083
+ {
1084
+ internalType: "uint64",
1085
+ name: "timestamp",
1086
+ type: "uint64",
1087
+ },
1088
+ ],
1089
+ name: "getCosignDigest",
1090
+ outputs: [
1091
+ {
1092
+ internalType: "bytes32",
1093
+ name: "",
1094
+ type: "bytes32",
1095
+ },
1096
+ ],
1097
+ stateMutability: "view",
1098
+ type: "function",
1099
+ },
1100
+ {
1101
+ inputs: [
1102
+ {
1103
+ internalType: "address",
1104
+ name: "minter",
1105
+ type: "address",
1106
+ },
1107
+ ],
1108
+ name: "getCosignNonce",
1109
+ outputs: [
1110
+ {
1111
+ internalType: "uint256",
1112
+ name: "",
1113
+ type: "uint256",
1114
+ },
1115
+ ],
1116
+ stateMutability: "view",
1117
+ type: "function",
1118
+ },
1119
+ {
1120
+ inputs: [],
1121
+ name: "getGlobalWalletLimit",
1122
+ outputs: [
1123
+ {
1124
+ internalType: "uint256",
1125
+ name: "",
1126
+ type: "uint256",
1127
+ },
1128
+ ],
1129
+ stateMutability: "view",
1130
+ type: "function",
1131
+ },
1132
+ {
1133
+ inputs: [],
1134
+ name: "getMaxMintableSupply",
1135
+ outputs: [
1136
+ {
1137
+ internalType: "uint256",
1138
+ name: "",
1139
+ type: "uint256",
1140
+ },
1141
+ ],
1142
+ stateMutability: "view",
1143
+ type: "function",
1144
+ },
1145
+ {
1146
+ inputs: [],
1147
+ name: "getMintCurrency",
1148
+ outputs: [
1149
+ {
1150
+ internalType: "address",
1151
+ name: "",
1152
+ type: "address",
1153
+ },
1154
+ ],
1155
+ stateMutability: "view",
1156
+ type: "function",
1157
+ },
1158
+ {
1159
+ inputs: [],
1160
+ name: "getMintable",
1161
+ outputs: [
1162
+ {
1163
+ internalType: "bool",
1164
+ name: "",
1165
+ type: "bool",
1166
+ },
1167
+ ],
1168
+ stateMutability: "view",
1169
+ type: "function",
1170
+ },
1171
+ {
1172
+ inputs: [],
1173
+ name: "getNumberStages",
1174
+ outputs: [
1175
+ {
1176
+ internalType: "uint256",
1177
+ name: "",
1178
+ type: "uint256",
1179
+ },
1180
+ ],
1181
+ stateMutability: "view",
1182
+ type: "function",
1183
+ },
1184
+ {
1185
+ inputs: [],
1186
+ name: "getPermittedContractReceivers",
1187
+ outputs: [
1188
+ {
1189
+ internalType: "address[]",
1190
+ name: "",
1191
+ type: "address[]",
1192
+ },
1193
+ ],
1194
+ stateMutability: "view",
1195
+ type: "function",
1196
+ },
1197
+ {
1198
+ inputs: [],
1199
+ name: "getSecurityPolicy",
1200
+ outputs: [
1201
+ {
1202
+ components: [
1203
+ {
1204
+ internalType: "enum TransferSecurityLevels",
1205
+ name: "transferSecurityLevel",
1206
+ type: "uint8",
1207
+ },
1208
+ {
1209
+ internalType: "uint120",
1210
+ name: "operatorWhitelistId",
1211
+ type: "uint120",
1212
+ },
1213
+ {
1214
+ internalType: "uint120",
1215
+ name: "permittedContractReceiversId",
1216
+ type: "uint120",
1217
+ },
1218
+ ],
1219
+ internalType: "struct CollectionSecurityPolicy",
1220
+ name: "",
1221
+ type: "tuple",
1222
+ },
1223
+ ],
1224
+ stateMutability: "view",
1225
+ type: "function",
1226
+ },
1227
+ {
1228
+ inputs: [
1229
+ {
1230
+ internalType: "uint256",
1231
+ name: "index",
1232
+ type: "uint256",
1233
+ },
1234
+ ],
1235
+ name: "getStageInfo",
1236
+ outputs: [
1237
+ {
1238
+ components: [
1239
+ {
1240
+ internalType: "uint80",
1241
+ name: "price",
1242
+ type: "uint80",
1243
+ },
1244
+ {
1245
+ internalType: "uint80",
1246
+ name: "mintFee",
1247
+ type: "uint80",
1248
+ },
1249
+ {
1250
+ internalType: "uint32",
1251
+ name: "walletLimit",
1252
+ type: "uint32",
1253
+ },
1254
+ {
1255
+ internalType: "bytes32",
1256
+ name: "merkleRoot",
1257
+ type: "bytes32",
1258
+ },
1259
+ {
1260
+ internalType: "uint24",
1261
+ name: "maxStageSupply",
1262
+ type: "uint24",
1263
+ },
1264
+ {
1265
+ internalType: "uint64",
1266
+ name: "startTimeUnixSeconds",
1267
+ type: "uint64",
1268
+ },
1269
+ {
1270
+ internalType: "uint64",
1271
+ name: "endTimeUnixSeconds",
1272
+ type: "uint64",
1273
+ },
1274
+ ],
1275
+ internalType: "struct IERC721M.MintStageInfo",
1276
+ name: "",
1277
+ type: "tuple",
1278
+ },
1279
+ {
1280
+ internalType: "uint32",
1281
+ name: "",
1282
+ type: "uint32",
1283
+ },
1284
+ {
1285
+ internalType: "uint256",
1286
+ name: "",
1287
+ type: "uint256",
1288
+ },
1289
+ ],
1290
+ stateMutability: "view",
1291
+ type: "function",
1292
+ },
1293
+ {
1294
+ inputs: [],
1295
+ name: "getTransferValidator",
1296
+ outputs: [
1297
+ {
1298
+ internalType: "contract ICreatorTokenTransferValidator",
1299
+ name: "",
1300
+ type: "address",
1301
+ },
1302
+ ],
1303
+ stateMutability: "view",
1304
+ type: "function",
1305
+ },
1306
+ {
1307
+ inputs: [],
1308
+ name: "getWhitelistedOperators",
1309
+ outputs: [
1310
+ {
1311
+ internalType: "address[]",
1312
+ name: "",
1313
+ type: "address[]",
1314
+ },
1315
+ ],
1316
+ stateMutability: "view",
1317
+ type: "function",
1318
+ },
1319
+ {
1320
+ inputs: [
1321
+ {
1322
+ internalType: "address",
1323
+ name: "owner",
1324
+ type: "address",
1325
+ },
1326
+ {
1327
+ internalType: "address",
1328
+ name: "operator",
1329
+ type: "address",
1330
+ },
1331
+ ],
1332
+ name: "isApprovedForAll",
1333
+ outputs: [
1334
+ {
1335
+ internalType: "bool",
1336
+ name: "",
1337
+ type: "bool",
1338
+ },
1339
+ ],
1340
+ stateMutability: "view",
1341
+ type: "function",
1342
+ },
1343
+ {
1344
+ inputs: [
1345
+ {
1346
+ internalType: "address",
1347
+ name: "receiver",
1348
+ type: "address",
1349
+ },
1350
+ ],
1351
+ name: "isContractReceiverPermitted",
1352
+ outputs: [
1353
+ {
1354
+ internalType: "bool",
1355
+ name: "",
1356
+ type: "bool",
1357
+ },
1358
+ ],
1359
+ stateMutability: "view",
1360
+ type: "function",
1361
+ },
1362
+ {
1363
+ inputs: [
1364
+ {
1365
+ internalType: "address",
1366
+ name: "operator",
1367
+ type: "address",
1368
+ },
1369
+ ],
1370
+ name: "isOperatorWhitelisted",
1371
+ outputs: [
1372
+ {
1373
+ internalType: "bool",
1374
+ name: "",
1375
+ type: "bool",
1376
+ },
1377
+ ],
1378
+ stateMutability: "view",
1379
+ type: "function",
1380
+ },
1381
+ {
1382
+ inputs: [
1383
+ {
1384
+ internalType: "address",
1385
+ name: "caller",
1386
+ type: "address",
1387
+ },
1388
+ {
1389
+ internalType: "address",
1390
+ name: "from",
1391
+ type: "address",
1392
+ },
1393
+ {
1394
+ internalType: "address",
1395
+ name: "to",
1396
+ type: "address",
1397
+ },
1398
+ ],
1399
+ name: "isTransferAllowed",
1400
+ outputs: [
1401
+ {
1402
+ internalType: "bool",
1403
+ name: "",
1404
+ type: "bool",
1405
+ },
1406
+ ],
1407
+ stateMutability: "view",
1408
+ type: "function",
1409
+ },
1410
+ {
1411
+ inputs: [
1412
+ {
1413
+ internalType: "uint32",
1414
+ name: "qty",
1415
+ type: "uint32",
1416
+ },
1417
+ {
1418
+ internalType: "bytes32[]",
1419
+ name: "proof",
1420
+ type: "bytes32[]",
1421
+ },
1422
+ {
1423
+ internalType: "uint64",
1424
+ name: "timestamp",
1425
+ type: "uint64",
1426
+ },
1427
+ {
1428
+ internalType: "bytes",
1429
+ name: "signature",
1430
+ type: "bytes",
1431
+ },
1432
+ ],
1433
+ name: "mint",
1434
+ outputs: [],
1435
+ stateMutability: "payable",
1436
+ type: "function",
1437
+ },
1438
+ {
1439
+ inputs: [
1440
+ {
1441
+ internalType: "uint32",
1442
+ name: "qty",
1443
+ type: "uint32",
1444
+ },
1445
+ {
1446
+ internalType: "uint32",
1447
+ name: "limit",
1448
+ type: "uint32",
1449
+ },
1450
+ {
1451
+ internalType: "bytes32[]",
1452
+ name: "proof",
1453
+ type: "bytes32[]",
1454
+ },
1455
+ {
1456
+ internalType: "uint64",
1457
+ name: "timestamp",
1458
+ type: "uint64",
1459
+ },
1460
+ {
1461
+ internalType: "bytes",
1462
+ name: "signature",
1463
+ type: "bytes",
1464
+ },
1465
+ ],
1466
+ name: "mintWithLimit",
1467
+ outputs: [],
1468
+ stateMutability: "payable",
1469
+ type: "function",
1470
+ },
1471
+ {
1472
+ inputs: [],
1473
+ name: "name",
1474
+ outputs: [
1475
+ {
1476
+ internalType: "string",
1477
+ name: "",
1478
+ type: "string",
1479
+ },
1480
+ ],
1481
+ stateMutability: "view",
1482
+ type: "function",
1483
+ },
1484
+ {
1485
+ inputs: [],
1486
+ name: "owner",
1487
+ outputs: [
1488
+ {
1489
+ internalType: "address",
1490
+ name: "",
1491
+ type: "address",
1492
+ },
1493
+ ],
1494
+ stateMutability: "view",
1495
+ type: "function",
1496
+ },
1497
+ {
1498
+ inputs: [
1499
+ {
1500
+ internalType: "uint32",
1501
+ name: "qty",
1502
+ type: "uint32",
1503
+ },
1504
+ {
1505
+ internalType: "address",
1506
+ name: "to",
1507
+ type: "address",
1508
+ },
1509
+ ],
1510
+ name: "ownerMint",
1511
+ outputs: [],
1512
+ stateMutability: "nonpayable",
1513
+ type: "function",
1514
+ },
1515
+ {
1516
+ inputs: [
1517
+ {
1518
+ internalType: "uint256",
1519
+ name: "tokenId",
1520
+ type: "uint256",
1521
+ },
1522
+ ],
1523
+ name: "ownerOf",
1524
+ outputs: [
1525
+ {
1526
+ internalType: "address",
1527
+ name: "",
1528
+ type: "address",
1529
+ },
1530
+ ],
1531
+ stateMutability: "view",
1532
+ type: "function",
1533
+ },
1534
+ {
1535
+ inputs: [],
1536
+ name: "renounceOwnership",
1537
+ outputs: [],
1538
+ stateMutability: "nonpayable",
1539
+ type: "function",
1540
+ },
1541
+ {
1542
+ inputs: [
1543
+ {
1544
+ internalType: "uint256",
1545
+ name: "tokenId",
1546
+ type: "uint256",
1547
+ },
1548
+ {
1549
+ internalType: "uint256",
1550
+ name: "salePrice",
1551
+ type: "uint256",
1552
+ },
1553
+ ],
1554
+ name: "royaltyInfo",
1555
+ outputs: [
1556
+ {
1557
+ internalType: "address",
1558
+ name: "",
1559
+ type: "address",
1560
+ },
1561
+ {
1562
+ internalType: "uint256",
1563
+ name: "",
1564
+ type: "uint256",
1565
+ },
1566
+ ],
1567
+ stateMutability: "view",
1568
+ type: "function",
1569
+ },
1570
+ {
1571
+ inputs: [
1572
+ {
1573
+ internalType: "address",
1574
+ name: "from",
1575
+ type: "address",
1576
+ },
1577
+ {
1578
+ internalType: "address",
1579
+ name: "to",
1580
+ type: "address",
1581
+ },
1582
+ {
1583
+ internalType: "uint256",
1584
+ name: "tokenId",
1585
+ type: "uint256",
1586
+ },
1587
+ ],
1588
+ name: "safeTransferFrom",
1589
+ outputs: [],
1590
+ stateMutability: "payable",
1591
+ type: "function",
1592
+ },
1593
+ {
1594
+ inputs: [
1595
+ {
1596
+ internalType: "address",
1597
+ name: "from",
1598
+ type: "address",
1599
+ },
1600
+ {
1601
+ internalType: "address",
1602
+ name: "to",
1603
+ type: "address",
1604
+ },
1605
+ {
1606
+ internalType: "uint256",
1607
+ name: "tokenId",
1608
+ type: "uint256",
1609
+ },
1610
+ {
1611
+ internalType: "bytes",
1612
+ name: "_data",
1613
+ type: "bytes",
1614
+ },
1615
+ ],
1616
+ name: "safeTransferFrom",
1617
+ outputs: [],
1618
+ stateMutability: "payable",
1619
+ type: "function",
1620
+ },
1621
+ {
1622
+ inputs: [
1623
+ {
1624
+ internalType: "address",
1625
+ name: "operator",
1626
+ type: "address",
1627
+ },
1628
+ {
1629
+ internalType: "bool",
1630
+ name: "approved",
1631
+ type: "bool",
1632
+ },
1633
+ ],
1634
+ name: "setApprovalForAll",
1635
+ outputs: [],
1636
+ stateMutability: "nonpayable",
1637
+ type: "function",
1638
+ },
1639
+ {
1640
+ inputs: [
1641
+ {
1642
+ internalType: "string",
1643
+ name: "baseURI",
1644
+ type: "string",
1645
+ },
1646
+ ],
1647
+ name: "setBaseURI",
1648
+ outputs: [],
1649
+ stateMutability: "nonpayable",
1650
+ type: "function",
1651
+ },
1652
+ {
1653
+ inputs: [
1654
+ {
1655
+ internalType: "string",
1656
+ name: "uri",
1657
+ type: "string",
1658
+ },
1659
+ ],
1660
+ name: "setContractURI",
1661
+ outputs: [],
1662
+ stateMutability: "nonpayable",
1663
+ type: "function",
1664
+ },
1665
+ {
1666
+ inputs: [
1667
+ {
1668
+ internalType: "address",
1669
+ name: "cosigner",
1670
+ type: "address",
1671
+ },
1672
+ ],
1673
+ name: "setCosigner",
1674
+ outputs: [],
1675
+ stateMutability: "nonpayable",
1676
+ type: "function",
1677
+ },
1678
+ {
1679
+ inputs: [
1680
+ {
1681
+ internalType: "address",
1682
+ name: "crossmintAddress",
1683
+ type: "address",
1684
+ },
1685
+ ],
1686
+ name: "setCrossmintAddress",
1687
+ outputs: [],
1688
+ stateMutability: "nonpayable",
1689
+ type: "function",
1690
+ },
1691
+ {
1692
+ inputs: [
1693
+ {
1694
+ internalType: "address",
1695
+ name: "receiver",
1696
+ type: "address",
1697
+ },
1698
+ {
1699
+ internalType: "uint96",
1700
+ name: "feeNumerator",
1701
+ type: "uint96",
1702
+ },
1703
+ ],
1704
+ name: "setDefaultRoyalty",
1705
+ outputs: [],
1706
+ stateMutability: "nonpayable",
1707
+ type: "function",
1708
+ },
1709
+ {
1710
+ inputs: [
1711
+ {
1712
+ internalType: "uint256",
1713
+ name: "globalWalletLimit",
1714
+ type: "uint256",
1715
+ },
1716
+ ],
1717
+ name: "setGlobalWalletLimit",
1718
+ outputs: [],
1719
+ stateMutability: "nonpayable",
1720
+ type: "function",
1721
+ },
1722
+ {
1723
+ inputs: [
1724
+ {
1725
+ internalType: "uint256",
1726
+ name: "maxMintableSupply",
1727
+ type: "uint256",
1728
+ },
1729
+ ],
1730
+ name: "setMaxMintableSupply",
1731
+ outputs: [],
1732
+ stateMutability: "nonpayable",
1733
+ type: "function",
1734
+ },
1735
+ {
1736
+ inputs: [
1737
+ {
1738
+ internalType: "bool",
1739
+ name: "mintable",
1740
+ type: "bool",
1741
+ },
1742
+ ],
1743
+ name: "setMintable",
1744
+ outputs: [],
1745
+ stateMutability: "nonpayable",
1746
+ type: "function",
1747
+ },
1748
+ {
1749
+ inputs: [
1750
+ {
1751
+ components: [
1752
+ {
1753
+ internalType: "uint80",
1754
+ name: "price",
1755
+ type: "uint80",
1756
+ },
1757
+ {
1758
+ internalType: "uint80",
1759
+ name: "mintFee",
1760
+ type: "uint80",
1761
+ },
1762
+ {
1763
+ internalType: "uint32",
1764
+ name: "walletLimit",
1765
+ type: "uint32",
1766
+ },
1767
+ {
1768
+ internalType: "bytes32",
1769
+ name: "merkleRoot",
1770
+ type: "bytes32",
1771
+ },
1772
+ {
1773
+ internalType: "uint24",
1774
+ name: "maxStageSupply",
1775
+ type: "uint24",
1776
+ },
1777
+ {
1778
+ internalType: "uint64",
1779
+ name: "startTimeUnixSeconds",
1780
+ type: "uint64",
1781
+ },
1782
+ {
1783
+ internalType: "uint64",
1784
+ name: "endTimeUnixSeconds",
1785
+ type: "uint64",
1786
+ },
1787
+ ],
1788
+ internalType: "struct IERC721M.MintStageInfo[]",
1789
+ name: "newStages",
1790
+ type: "tuple[]",
1791
+ },
1792
+ ],
1793
+ name: "setStages",
1794
+ outputs: [],
1795
+ stateMutability: "nonpayable",
1796
+ type: "function",
1797
+ },
1798
+ {
1799
+ inputs: [
1800
+ {
1801
+ internalType: "uint64",
1802
+ name: "expiry",
1803
+ type: "uint64",
1804
+ },
1805
+ ],
1806
+ name: "setTimestampExpirySeconds",
1807
+ outputs: [],
1808
+ stateMutability: "nonpayable",
1809
+ type: "function",
1810
+ },
1811
+ {
1812
+ inputs: [
1813
+ {
1814
+ internalType: "enum TransferSecurityLevels",
1815
+ name: "level",
1816
+ type: "uint8",
1817
+ },
1818
+ {
1819
+ internalType: "uint120",
1820
+ name: "operatorWhitelistId",
1821
+ type: "uint120",
1822
+ },
1823
+ {
1824
+ internalType: "uint120",
1825
+ name: "permittedContractReceiversAllowlistId",
1826
+ type: "uint120",
1827
+ },
1828
+ ],
1829
+ name: "setToCustomSecurityPolicy",
1830
+ outputs: [],
1831
+ stateMutability: "nonpayable",
1832
+ type: "function",
1833
+ },
1834
+ {
1835
+ inputs: [
1836
+ {
1837
+ internalType: "address",
1838
+ name: "validator",
1839
+ type: "address",
1840
+ },
1841
+ {
1842
+ internalType: "enum TransferSecurityLevels",
1843
+ name: "level",
1844
+ type: "uint8",
1845
+ },
1846
+ {
1847
+ internalType: "uint120",
1848
+ name: "operatorWhitelistId",
1849
+ type: "uint120",
1850
+ },
1851
+ {
1852
+ internalType: "uint120",
1853
+ name: "permittedContractReceiversAllowlistId",
1854
+ type: "uint120",
1855
+ },
1856
+ ],
1857
+ name: "setToCustomValidatorAndSecurityPolicy",
1858
+ outputs: [],
1859
+ stateMutability: "nonpayable",
1860
+ type: "function",
1861
+ },
1862
+ {
1863
+ inputs: [],
1864
+ name: "setToDefaultSecurityPolicy",
1865
+ outputs: [],
1866
+ stateMutability: "nonpayable",
1867
+ type: "function",
1868
+ },
1869
+ {
1870
+ inputs: [
1871
+ {
1872
+ internalType: "uint256",
1873
+ name: "tokenId",
1874
+ type: "uint256",
1875
+ },
1876
+ {
1877
+ internalType: "address",
1878
+ name: "receiver",
1879
+ type: "address",
1880
+ },
1881
+ {
1882
+ internalType: "uint96",
1883
+ name: "feeNumerator",
1884
+ type: "uint96",
1885
+ },
1886
+ ],
1887
+ name: "setTokenRoyalty",
1888
+ outputs: [],
1889
+ stateMutability: "nonpayable",
1890
+ type: "function",
1891
+ },
1892
+ {
1893
+ inputs: [
1894
+ {
1895
+ internalType: "string",
1896
+ name: "suffix",
1897
+ type: "string",
1898
+ },
1899
+ ],
1900
+ name: "setTokenURISuffix",
1901
+ outputs: [],
1902
+ stateMutability: "nonpayable",
1903
+ type: "function",
1904
+ },
1905
+ {
1906
+ inputs: [
1907
+ {
1908
+ internalType: "address",
1909
+ name: "transferValidator_",
1910
+ type: "address",
1911
+ },
1912
+ ],
1913
+ name: "setTransferValidator",
1914
+ outputs: [],
1915
+ stateMutability: "nonpayable",
1916
+ type: "function",
1917
+ },
1918
+ {
1919
+ inputs: [
1920
+ {
1921
+ internalType: "bytes4",
1922
+ name: "interfaceId",
1923
+ type: "bytes4",
1924
+ },
1925
+ ],
1926
+ name: "supportsInterface",
1927
+ outputs: [
1928
+ {
1929
+ internalType: "bool",
1930
+ name: "",
1931
+ type: "bool",
1932
+ },
1933
+ ],
1934
+ stateMutability: "view",
1935
+ type: "function",
1936
+ },
1937
+ {
1938
+ inputs: [],
1939
+ name: "symbol",
1940
+ outputs: [
1941
+ {
1942
+ internalType: "string",
1943
+ name: "",
1944
+ type: "string",
1945
+ },
1946
+ ],
1947
+ stateMutability: "view",
1948
+ type: "function",
1949
+ },
1950
+ {
1951
+ inputs: [
1952
+ {
1953
+ internalType: "uint256",
1954
+ name: "tokenId",
1955
+ type: "uint256",
1956
+ },
1957
+ ],
1958
+ name: "tokenURI",
1959
+ outputs: [
1960
+ {
1961
+ internalType: "string",
1962
+ name: "",
1963
+ type: "string",
1964
+ },
1965
+ ],
1966
+ stateMutability: "view",
1967
+ type: "function",
1968
+ },
1969
+ {
1970
+ inputs: [
1971
+ {
1972
+ internalType: "address",
1973
+ name: "owner",
1974
+ type: "address",
1975
+ },
1976
+ ],
1977
+ name: "tokensOfOwner",
1978
+ outputs: [
1979
+ {
1980
+ internalType: "uint256[]",
1981
+ name: "",
1982
+ type: "uint256[]",
1983
+ },
1984
+ ],
1985
+ stateMutability: "view",
1986
+ type: "function",
1987
+ },
1988
+ {
1989
+ inputs: [
1990
+ {
1991
+ internalType: "address",
1992
+ name: "owner",
1993
+ type: "address",
1994
+ },
1995
+ {
1996
+ internalType: "uint256",
1997
+ name: "start",
1998
+ type: "uint256",
1999
+ },
2000
+ {
2001
+ internalType: "uint256",
2002
+ name: "stop",
2003
+ type: "uint256",
2004
+ },
2005
+ ],
2006
+ name: "tokensOfOwnerIn",
2007
+ outputs: [
2008
+ {
2009
+ internalType: "uint256[]",
2010
+ name: "",
2011
+ type: "uint256[]",
2012
+ },
2013
+ ],
2014
+ stateMutability: "view",
2015
+ type: "function",
2016
+ },
2017
+ {
2018
+ inputs: [
2019
+ {
2020
+ internalType: "address",
2021
+ name: "a",
2022
+ type: "address",
2023
+ },
2024
+ ],
2025
+ name: "totalMintedByAddress",
2026
+ outputs: [
2027
+ {
2028
+ internalType: "uint256",
2029
+ name: "",
2030
+ type: "uint256",
2031
+ },
2032
+ ],
2033
+ stateMutability: "view",
2034
+ type: "function",
2035
+ },
2036
+ {
2037
+ inputs: [],
2038
+ name: "totalSupply",
2039
+ outputs: [
2040
+ {
2041
+ internalType: "uint256",
2042
+ name: "",
2043
+ type: "uint256",
2044
+ },
2045
+ ],
2046
+ stateMutability: "view",
2047
+ type: "function",
2048
+ },
2049
+ {
2050
+ inputs: [
2051
+ {
2052
+ internalType: "address",
2053
+ name: "from",
2054
+ type: "address",
2055
+ },
2056
+ {
2057
+ internalType: "address",
2058
+ name: "to",
2059
+ type: "address",
2060
+ },
2061
+ {
2062
+ internalType: "uint256",
2063
+ name: "tokenId",
2064
+ type: "uint256",
2065
+ },
2066
+ ],
2067
+ name: "transferFrom",
2068
+ outputs: [],
2069
+ stateMutability: "payable",
2070
+ type: "function",
2071
+ },
2072
+ {
2073
+ inputs: [
2074
+ {
2075
+ internalType: "address",
2076
+ name: "newOwner",
2077
+ type: "address",
2078
+ },
2079
+ ],
2080
+ name: "transferOwnership",
2081
+ outputs: [],
2082
+ stateMutability: "nonpayable",
2083
+ type: "function",
2084
+ },
2085
+ {
2086
+ inputs: [],
2087
+ name: "withdraw",
2088
+ outputs: [],
2089
+ stateMutability: "nonpayable",
2090
+ type: "function",
2091
+ },
2092
+ {
2093
+ inputs: [],
2094
+ name: "withdrawERC20",
2095
+ outputs: [],
2096
+ stateMutability: "nonpayable",
2097
+ type: "function",
2098
+ },
2099
+ ];
2100
+ export class IKasuNFTsAbi__factory {
2101
+ static createInterface() {
2102
+ return new utils.Interface(_abi);
2103
+ }
2104
+ static connect(address, signerOrProvider) {
2105
+ return new Contract(address, _abi, signerOrProvider);
2106
+ }
2107
+ }
2108
+ IKasuNFTsAbi__factory.abi = _abi;