@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,1523 @@
1
+ [
2
+ {
3
+ "inputs": [
4
+ {
5
+ "internalType": "string",
6
+ "name": "collectionName",
7
+ "type": "string"
8
+ },
9
+ {
10
+ "internalType": "string",
11
+ "name": "collectionSymbol",
12
+ "type": "string"
13
+ },
14
+ {
15
+ "internalType": "string",
16
+ "name": "tokenURISuffix",
17
+ "type": "string"
18
+ },
19
+ {
20
+ "internalType": "uint256",
21
+ "name": "maxMintableSupply",
22
+ "type": "uint256"
23
+ },
24
+ {
25
+ "internalType": "uint256",
26
+ "name": "globalWalletLimit",
27
+ "type": "uint256"
28
+ },
29
+ {
30
+ "internalType": "address",
31
+ "name": "cosigner",
32
+ "type": "address"
33
+ },
34
+ {
35
+ "internalType": "uint64",
36
+ "name": "timestampExpirySeconds",
37
+ "type": "uint64"
38
+ },
39
+ {
40
+ "internalType": "address",
41
+ "name": "mintCurrency",
42
+ "type": "address"
43
+ },
44
+ {
45
+ "internalType": "address",
46
+ "name": "fundReceiver",
47
+ "type": "address"
48
+ },
49
+ {
50
+ "internalType": "address",
51
+ "name": "royaltyReceiver",
52
+ "type": "address"
53
+ },
54
+ {
55
+ "internalType": "uint96",
56
+ "name": "royaltyFeeNumerator",
57
+ "type": "uint96"
58
+ }
59
+ ],
60
+ "stateMutability": "nonpayable",
61
+ "type": "constructor"
62
+ },
63
+ {
64
+ "inputs": [
65
+ { "internalType": "address", "name": "target", "type": "address" }
66
+ ],
67
+ "name": "AddressEmptyCode",
68
+ "type": "error"
69
+ },
70
+ {
71
+ "inputs": [
72
+ { "internalType": "address", "name": "account", "type": "address" }
73
+ ],
74
+ "name": "AddressInsufficientBalance",
75
+ "type": "error"
76
+ },
77
+ {
78
+ "inputs": [],
79
+ "name": "ApprovalCallerNotOwnerNorApproved",
80
+ "type": "error"
81
+ },
82
+ {
83
+ "inputs": [],
84
+ "name": "ApprovalQueryForNonexistentToken",
85
+ "type": "error"
86
+ },
87
+ { "inputs": [], "name": "BalanceQueryForZeroAddress", "type": "error" },
88
+ {
89
+ "inputs": [],
90
+ "name": "CannotIncreaseMaxMintableSupply",
91
+ "type": "error"
92
+ },
93
+ { "inputs": [], "name": "CosignerNotSet", "type": "error" },
94
+ {
95
+ "inputs": [],
96
+ "name": "CreatorTokenBase__InvalidTransferValidatorContract",
97
+ "type": "error"
98
+ },
99
+ {
100
+ "inputs": [],
101
+ "name": "CreatorTokenBase__SetTransferValidatorFirst",
102
+ "type": "error"
103
+ },
104
+ { "inputs": [], "name": "CrossmintAddressNotSet", "type": "error" },
105
+ { "inputs": [], "name": "CrossmintOnly", "type": "error" },
106
+ {
107
+ "inputs": [
108
+ {
109
+ "internalType": "uint256",
110
+ "name": "numerator",
111
+ "type": "uint256"
112
+ },
113
+ {
114
+ "internalType": "uint256",
115
+ "name": "denominator",
116
+ "type": "uint256"
117
+ }
118
+ ],
119
+ "name": "ERC2981InvalidDefaultRoyalty",
120
+ "type": "error"
121
+ },
122
+ {
123
+ "inputs": [
124
+ { "internalType": "address", "name": "receiver", "type": "address" }
125
+ ],
126
+ "name": "ERC2981InvalidDefaultRoyaltyReceiver",
127
+ "type": "error"
128
+ },
129
+ {
130
+ "inputs": [
131
+ { "internalType": "uint256", "name": "tokenId", "type": "uint256" },
132
+ {
133
+ "internalType": "uint256",
134
+ "name": "numerator",
135
+ "type": "uint256"
136
+ },
137
+ {
138
+ "internalType": "uint256",
139
+ "name": "denominator",
140
+ "type": "uint256"
141
+ }
142
+ ],
143
+ "name": "ERC2981InvalidTokenRoyalty",
144
+ "type": "error"
145
+ },
146
+ {
147
+ "inputs": [
148
+ { "internalType": "uint256", "name": "tokenId", "type": "uint256" },
149
+ { "internalType": "address", "name": "receiver", "type": "address" }
150
+ ],
151
+ "name": "ERC2981InvalidTokenRoyaltyReceiver",
152
+ "type": "error"
153
+ },
154
+ { "inputs": [], "name": "FailedInnerCall", "type": "error" },
155
+ { "inputs": [], "name": "GlobalWalletLimitOverflow", "type": "error" },
156
+ { "inputs": [], "name": "InsufficientStageTimeGap", "type": "error" },
157
+ { "inputs": [], "name": "InvalidCosignSignature", "type": "error" },
158
+ { "inputs": [], "name": "InvalidProof", "type": "error" },
159
+ { "inputs": [], "name": "InvalidQueryRange", "type": "error" },
160
+ { "inputs": [], "name": "InvalidStage", "type": "error" },
161
+ { "inputs": [], "name": "InvalidStageArgsLength", "type": "error" },
162
+ { "inputs": [], "name": "InvalidStartAndEndTimestamp", "type": "error" },
163
+ {
164
+ "inputs": [],
165
+ "name": "MintERC2309QuantityExceedsLimit",
166
+ "type": "error"
167
+ },
168
+ { "inputs": [], "name": "MintToZeroAddress", "type": "error" },
169
+ { "inputs": [], "name": "MintZeroQuantity", "type": "error" },
170
+ { "inputs": [], "name": "Mintable", "type": "error" },
171
+ { "inputs": [], "name": "NoSupplyLeft", "type": "error" },
172
+ { "inputs": [], "name": "NotEnoughValue", "type": "error" },
173
+ { "inputs": [], "name": "NotMintable", "type": "error" },
174
+ { "inputs": [], "name": "NotSupported", "type": "error" },
175
+ {
176
+ "inputs": [
177
+ { "internalType": "address", "name": "owner", "type": "address" }
178
+ ],
179
+ "name": "OwnableInvalidOwner",
180
+ "type": "error"
181
+ },
182
+ {
183
+ "inputs": [
184
+ { "internalType": "address", "name": "account", "type": "address" }
185
+ ],
186
+ "name": "OwnableUnauthorizedAccount",
187
+ "type": "error"
188
+ },
189
+ { "inputs": [], "name": "OwnerQueryForNonexistentToken", "type": "error" },
190
+ {
191
+ "inputs": [],
192
+ "name": "OwnershipNotInitializedForExtraData",
193
+ "type": "error"
194
+ },
195
+ { "inputs": [], "name": "ReentrancyGuardReentrantCall", "type": "error" },
196
+ {
197
+ "inputs": [
198
+ { "internalType": "address", "name": "token", "type": "address" }
199
+ ],
200
+ "name": "SafeERC20FailedOperation",
201
+ "type": "error"
202
+ },
203
+ { "inputs": [], "name": "ShouldNotMintToBurnAddress", "type": "error" },
204
+ { "inputs": [], "name": "StageSupplyExceeded", "type": "error" },
205
+ { "inputs": [], "name": "TimestampExpired", "type": "error" },
206
+ {
207
+ "inputs": [],
208
+ "name": "TransferCallerNotOwnerNorApproved",
209
+ "type": "error"
210
+ },
211
+ { "inputs": [], "name": "TransferFailed", "type": "error" },
212
+ { "inputs": [], "name": "TransferFromIncorrectOwner", "type": "error" },
213
+ {
214
+ "inputs": [],
215
+ "name": "TransferToNonERC721ReceiverImplementer",
216
+ "type": "error"
217
+ },
218
+ { "inputs": [], "name": "TransferToZeroAddress", "type": "error" },
219
+ { "inputs": [], "name": "URIQueryForNonexistentToken", "type": "error" },
220
+ { "inputs": [], "name": "WalletGlobalLimitExceeded", "type": "error" },
221
+ { "inputs": [], "name": "WalletStageLimitExceeded", "type": "error" },
222
+ { "inputs": [], "name": "WithdrawFailed", "type": "error" },
223
+ { "inputs": [], "name": "WrongMintCurrency", "type": "error" },
224
+ {
225
+ "anonymous": false,
226
+ "inputs": [
227
+ {
228
+ "indexed": true,
229
+ "internalType": "address",
230
+ "name": "owner",
231
+ "type": "address"
232
+ },
233
+ {
234
+ "indexed": true,
235
+ "internalType": "address",
236
+ "name": "approved",
237
+ "type": "address"
238
+ },
239
+ {
240
+ "indexed": true,
241
+ "internalType": "uint256",
242
+ "name": "tokenId",
243
+ "type": "uint256"
244
+ }
245
+ ],
246
+ "name": "Approval",
247
+ "type": "event"
248
+ },
249
+ {
250
+ "anonymous": false,
251
+ "inputs": [
252
+ {
253
+ "indexed": true,
254
+ "internalType": "address",
255
+ "name": "owner",
256
+ "type": "address"
257
+ },
258
+ {
259
+ "indexed": true,
260
+ "internalType": "address",
261
+ "name": "operator",
262
+ "type": "address"
263
+ },
264
+ {
265
+ "indexed": false,
266
+ "internalType": "bool",
267
+ "name": "approved",
268
+ "type": "bool"
269
+ }
270
+ ],
271
+ "name": "ApprovalForAll",
272
+ "type": "event"
273
+ },
274
+ {
275
+ "anonymous": false,
276
+ "inputs": [
277
+ {
278
+ "indexed": true,
279
+ "internalType": "uint256",
280
+ "name": "fromTokenId",
281
+ "type": "uint256"
282
+ },
283
+ {
284
+ "indexed": false,
285
+ "internalType": "uint256",
286
+ "name": "toTokenId",
287
+ "type": "uint256"
288
+ },
289
+ {
290
+ "indexed": true,
291
+ "internalType": "address",
292
+ "name": "from",
293
+ "type": "address"
294
+ },
295
+ {
296
+ "indexed": true,
297
+ "internalType": "address",
298
+ "name": "to",
299
+ "type": "address"
300
+ }
301
+ ],
302
+ "name": "ConsecutiveTransfer",
303
+ "type": "event"
304
+ },
305
+ {
306
+ "anonymous": false,
307
+ "inputs": [
308
+ {
309
+ "indexed": true,
310
+ "internalType": "address",
311
+ "name": "receiver",
312
+ "type": "address"
313
+ },
314
+ {
315
+ "indexed": false,
316
+ "internalType": "uint96",
317
+ "name": "feeNumerator",
318
+ "type": "uint96"
319
+ }
320
+ ],
321
+ "name": "DefaultRoyaltySet",
322
+ "type": "event"
323
+ },
324
+ {
325
+ "anonymous": false,
326
+ "inputs": [
327
+ {
328
+ "indexed": true,
329
+ "internalType": "address",
330
+ "name": "previousOwner",
331
+ "type": "address"
332
+ },
333
+ {
334
+ "indexed": true,
335
+ "internalType": "address",
336
+ "name": "newOwner",
337
+ "type": "address"
338
+ }
339
+ ],
340
+ "name": "OwnershipTransferred",
341
+ "type": "event"
342
+ },
343
+ {
344
+ "anonymous": false,
345
+ "inputs": [
346
+ {
347
+ "indexed": false,
348
+ "internalType": "uint256",
349
+ "name": "activeStage",
350
+ "type": "uint256"
351
+ }
352
+ ],
353
+ "name": "SetActiveStage",
354
+ "type": "event"
355
+ },
356
+ {
357
+ "anonymous": false,
358
+ "inputs": [
359
+ {
360
+ "indexed": false,
361
+ "internalType": "string",
362
+ "name": "baseURI",
363
+ "type": "string"
364
+ }
365
+ ],
366
+ "name": "SetBaseURI",
367
+ "type": "event"
368
+ },
369
+ {
370
+ "anonymous": false,
371
+ "inputs": [
372
+ {
373
+ "indexed": false,
374
+ "internalType": "address",
375
+ "name": "cosigner",
376
+ "type": "address"
377
+ }
378
+ ],
379
+ "name": "SetCosigner",
380
+ "type": "event"
381
+ },
382
+ {
383
+ "anonymous": false,
384
+ "inputs": [
385
+ {
386
+ "indexed": false,
387
+ "internalType": "address",
388
+ "name": "crossmintAddress",
389
+ "type": "address"
390
+ }
391
+ ],
392
+ "name": "SetCrossmintAddress",
393
+ "type": "event"
394
+ },
395
+ {
396
+ "anonymous": false,
397
+ "inputs": [
398
+ {
399
+ "indexed": false,
400
+ "internalType": "uint256",
401
+ "name": "globalWalletLimit",
402
+ "type": "uint256"
403
+ }
404
+ ],
405
+ "name": "SetGlobalWalletLimit",
406
+ "type": "event"
407
+ },
408
+ {
409
+ "anonymous": false,
410
+ "inputs": [
411
+ {
412
+ "indexed": false,
413
+ "internalType": "uint256",
414
+ "name": "maxMintableSupply",
415
+ "type": "uint256"
416
+ }
417
+ ],
418
+ "name": "SetMaxMintableSupply",
419
+ "type": "event"
420
+ },
421
+ {
422
+ "anonymous": false,
423
+ "inputs": [
424
+ {
425
+ "indexed": false,
426
+ "internalType": "address",
427
+ "name": "mintCurrency",
428
+ "type": "address"
429
+ }
430
+ ],
431
+ "name": "SetMintCurrency",
432
+ "type": "event"
433
+ },
434
+ {
435
+ "anonymous": false,
436
+ "inputs": [
437
+ {
438
+ "indexed": false,
439
+ "internalType": "bool",
440
+ "name": "mintable",
441
+ "type": "bool"
442
+ }
443
+ ],
444
+ "name": "SetMintable",
445
+ "type": "event"
446
+ },
447
+ {
448
+ "anonymous": false,
449
+ "inputs": [
450
+ {
451
+ "indexed": false,
452
+ "internalType": "uint64",
453
+ "name": "expiry",
454
+ "type": "uint64"
455
+ }
456
+ ],
457
+ "name": "SetTimestampExpirySeconds",
458
+ "type": "event"
459
+ },
460
+ {
461
+ "anonymous": false,
462
+ "inputs": [
463
+ {
464
+ "indexed": true,
465
+ "internalType": "uint256",
466
+ "name": "tokenId",
467
+ "type": "uint256"
468
+ },
469
+ {
470
+ "indexed": true,
471
+ "internalType": "address",
472
+ "name": "receiver",
473
+ "type": "address"
474
+ },
475
+ {
476
+ "indexed": false,
477
+ "internalType": "uint96",
478
+ "name": "feeNumerator",
479
+ "type": "uint96"
480
+ }
481
+ ],
482
+ "name": "TokenRoyaltySet",
483
+ "type": "event"
484
+ },
485
+ {
486
+ "anonymous": false,
487
+ "inputs": [
488
+ {
489
+ "indexed": true,
490
+ "internalType": "address",
491
+ "name": "from",
492
+ "type": "address"
493
+ },
494
+ {
495
+ "indexed": true,
496
+ "internalType": "address",
497
+ "name": "to",
498
+ "type": "address"
499
+ },
500
+ {
501
+ "indexed": true,
502
+ "internalType": "uint256",
503
+ "name": "tokenId",
504
+ "type": "uint256"
505
+ }
506
+ ],
507
+ "name": "Transfer",
508
+ "type": "event"
509
+ },
510
+ {
511
+ "anonymous": false,
512
+ "inputs": [
513
+ {
514
+ "indexed": false,
515
+ "internalType": "address",
516
+ "name": "oldValidator",
517
+ "type": "address"
518
+ },
519
+ {
520
+ "indexed": false,
521
+ "internalType": "address",
522
+ "name": "newValidator",
523
+ "type": "address"
524
+ }
525
+ ],
526
+ "name": "TransferValidatorUpdated",
527
+ "type": "event"
528
+ },
529
+ {
530
+ "anonymous": false,
531
+ "inputs": [
532
+ {
533
+ "indexed": false,
534
+ "internalType": "uint256",
535
+ "name": "stage",
536
+ "type": "uint256"
537
+ },
538
+ {
539
+ "indexed": false,
540
+ "internalType": "uint80",
541
+ "name": "price",
542
+ "type": "uint80"
543
+ },
544
+ {
545
+ "indexed": false,
546
+ "internalType": "uint80",
547
+ "name": "mintFee",
548
+ "type": "uint80"
549
+ },
550
+ {
551
+ "indexed": false,
552
+ "internalType": "uint32",
553
+ "name": "walletLimit",
554
+ "type": "uint32"
555
+ },
556
+ {
557
+ "indexed": false,
558
+ "internalType": "bytes32",
559
+ "name": "merkleRoot",
560
+ "type": "bytes32"
561
+ },
562
+ {
563
+ "indexed": false,
564
+ "internalType": "uint24",
565
+ "name": "maxStageSupply",
566
+ "type": "uint24"
567
+ },
568
+ {
569
+ "indexed": false,
570
+ "internalType": "uint64",
571
+ "name": "startTimeUnixSeconds",
572
+ "type": "uint64"
573
+ },
574
+ {
575
+ "indexed": false,
576
+ "internalType": "uint64",
577
+ "name": "endTimeUnixSeconds",
578
+ "type": "uint64"
579
+ }
580
+ ],
581
+ "name": "UpdateStage",
582
+ "type": "event"
583
+ },
584
+ {
585
+ "anonymous": false,
586
+ "inputs": [
587
+ {
588
+ "indexed": false,
589
+ "internalType": "uint256",
590
+ "name": "value",
591
+ "type": "uint256"
592
+ }
593
+ ],
594
+ "name": "Withdraw",
595
+ "type": "event"
596
+ },
597
+ {
598
+ "anonymous": false,
599
+ "inputs": [
600
+ {
601
+ "indexed": false,
602
+ "internalType": "address",
603
+ "name": "mintCurrency",
604
+ "type": "address"
605
+ },
606
+ {
607
+ "indexed": false,
608
+ "internalType": "uint256",
609
+ "name": "value",
610
+ "type": "uint256"
611
+ }
612
+ ],
613
+ "name": "WithdrawERC20",
614
+ "type": "event"
615
+ },
616
+ {
617
+ "inputs": [],
618
+ "name": "DEFAULT_OPERATOR_WHITELIST_ID",
619
+ "outputs": [
620
+ { "internalType": "uint120", "name": "", "type": "uint120" }
621
+ ],
622
+ "stateMutability": "view",
623
+ "type": "function"
624
+ },
625
+ {
626
+ "inputs": [],
627
+ "name": "DEFAULT_TRANSFER_SECURITY_LEVEL",
628
+ "outputs": [
629
+ {
630
+ "internalType": "enum TransferSecurityLevels",
631
+ "name": "",
632
+ "type": "uint8"
633
+ }
634
+ ],
635
+ "stateMutability": "view",
636
+ "type": "function"
637
+ },
638
+ {
639
+ "inputs": [],
640
+ "name": "DEFAULT_TRANSFER_VALIDATOR",
641
+ "outputs": [
642
+ { "internalType": "address", "name": "", "type": "address" }
643
+ ],
644
+ "stateMutability": "view",
645
+ "type": "function"
646
+ },
647
+ {
648
+ "inputs": [],
649
+ "name": "FUND_RECEIVER",
650
+ "outputs": [
651
+ { "internalType": "address", "name": "", "type": "address" }
652
+ ],
653
+ "stateMutability": "view",
654
+ "type": "function"
655
+ },
656
+ {
657
+ "inputs": [
658
+ { "internalType": "address", "name": "to", "type": "address" },
659
+ { "internalType": "uint256", "name": "tokenId", "type": "uint256" }
660
+ ],
661
+ "name": "approve",
662
+ "outputs": [],
663
+ "stateMutability": "payable",
664
+ "type": "function"
665
+ },
666
+ {
667
+ "inputs": [
668
+ { "internalType": "address", "name": "minter", "type": "address" },
669
+ { "internalType": "uint32", "name": "qty", "type": "uint32" },
670
+ { "internalType": "uint64", "name": "timestamp", "type": "uint64" },
671
+ { "internalType": "bytes", "name": "signature", "type": "bytes" }
672
+ ],
673
+ "name": "assertValidCosign",
674
+ "outputs": [],
675
+ "stateMutability": "view",
676
+ "type": "function"
677
+ },
678
+ {
679
+ "inputs": [
680
+ { "internalType": "address", "name": "owner", "type": "address" }
681
+ ],
682
+ "name": "balanceOf",
683
+ "outputs": [
684
+ { "internalType": "uint256", "name": "", "type": "uint256" }
685
+ ],
686
+ "stateMutability": "view",
687
+ "type": "function"
688
+ },
689
+ {
690
+ "inputs": [],
691
+ "name": "contractURI",
692
+ "outputs": [{ "internalType": "string", "name": "", "type": "string" }],
693
+ "stateMutability": "view",
694
+ "type": "function"
695
+ },
696
+ {
697
+ "inputs": [
698
+ { "internalType": "uint32", "name": "qty", "type": "uint32" },
699
+ { "internalType": "address", "name": "to", "type": "address" },
700
+ {
701
+ "internalType": "bytes32[]",
702
+ "name": "proof",
703
+ "type": "bytes32[]"
704
+ },
705
+ { "internalType": "uint64", "name": "timestamp", "type": "uint64" },
706
+ { "internalType": "bytes", "name": "signature", "type": "bytes" }
707
+ ],
708
+ "name": "crossmint",
709
+ "outputs": [],
710
+ "stateMutability": "payable",
711
+ "type": "function"
712
+ },
713
+ {
714
+ "inputs": [
715
+ { "internalType": "uint256", "name": "tokenId", "type": "uint256" }
716
+ ],
717
+ "name": "explicitOwnershipOf",
718
+ "outputs": [
719
+ {
720
+ "components": [
721
+ {
722
+ "internalType": "address",
723
+ "name": "addr",
724
+ "type": "address"
725
+ },
726
+ {
727
+ "internalType": "uint64",
728
+ "name": "startTimestamp",
729
+ "type": "uint64"
730
+ },
731
+ {
732
+ "internalType": "bool",
733
+ "name": "burned",
734
+ "type": "bool"
735
+ },
736
+ {
737
+ "internalType": "uint24",
738
+ "name": "extraData",
739
+ "type": "uint24"
740
+ }
741
+ ],
742
+ "internalType": "struct IERC721A.TokenOwnership",
743
+ "name": "",
744
+ "type": "tuple"
745
+ }
746
+ ],
747
+ "stateMutability": "view",
748
+ "type": "function"
749
+ },
750
+ {
751
+ "inputs": [
752
+ {
753
+ "internalType": "uint256[]",
754
+ "name": "tokenIds",
755
+ "type": "uint256[]"
756
+ }
757
+ ],
758
+ "name": "explicitOwnershipsOf",
759
+ "outputs": [
760
+ {
761
+ "components": [
762
+ {
763
+ "internalType": "address",
764
+ "name": "addr",
765
+ "type": "address"
766
+ },
767
+ {
768
+ "internalType": "uint64",
769
+ "name": "startTimestamp",
770
+ "type": "uint64"
771
+ },
772
+ {
773
+ "internalType": "bool",
774
+ "name": "burned",
775
+ "type": "bool"
776
+ },
777
+ {
778
+ "internalType": "uint24",
779
+ "name": "extraData",
780
+ "type": "uint24"
781
+ }
782
+ ],
783
+ "internalType": "struct IERC721A.TokenOwnership[]",
784
+ "name": "",
785
+ "type": "tuple[]"
786
+ }
787
+ ],
788
+ "stateMutability": "view",
789
+ "type": "function"
790
+ },
791
+ {
792
+ "inputs": [
793
+ { "internalType": "uint64", "name": "timestamp", "type": "uint64" }
794
+ ],
795
+ "name": "getActiveStageFromTimestamp",
796
+ "outputs": [
797
+ { "internalType": "uint256", "name": "", "type": "uint256" }
798
+ ],
799
+ "stateMutability": "view",
800
+ "type": "function"
801
+ },
802
+ {
803
+ "inputs": [
804
+ { "internalType": "uint256", "name": "tokenId", "type": "uint256" }
805
+ ],
806
+ "name": "getApproved",
807
+ "outputs": [
808
+ { "internalType": "address", "name": "", "type": "address" }
809
+ ],
810
+ "stateMutability": "view",
811
+ "type": "function"
812
+ },
813
+ {
814
+ "inputs": [
815
+ { "internalType": "address", "name": "minter", "type": "address" },
816
+ { "internalType": "uint32", "name": "qty", "type": "uint32" },
817
+ { "internalType": "uint64", "name": "timestamp", "type": "uint64" }
818
+ ],
819
+ "name": "getCosignDigest",
820
+ "outputs": [
821
+ { "internalType": "bytes32", "name": "", "type": "bytes32" }
822
+ ],
823
+ "stateMutability": "view",
824
+ "type": "function"
825
+ },
826
+ {
827
+ "inputs": [
828
+ { "internalType": "address", "name": "minter", "type": "address" }
829
+ ],
830
+ "name": "getCosignNonce",
831
+ "outputs": [
832
+ { "internalType": "uint256", "name": "", "type": "uint256" }
833
+ ],
834
+ "stateMutability": "view",
835
+ "type": "function"
836
+ },
837
+ {
838
+ "inputs": [],
839
+ "name": "getGlobalWalletLimit",
840
+ "outputs": [
841
+ { "internalType": "uint256", "name": "", "type": "uint256" }
842
+ ],
843
+ "stateMutability": "view",
844
+ "type": "function"
845
+ },
846
+ {
847
+ "inputs": [],
848
+ "name": "getMaxMintableSupply",
849
+ "outputs": [
850
+ { "internalType": "uint256", "name": "", "type": "uint256" }
851
+ ],
852
+ "stateMutability": "view",
853
+ "type": "function"
854
+ },
855
+ {
856
+ "inputs": [],
857
+ "name": "getMintCurrency",
858
+ "outputs": [
859
+ { "internalType": "address", "name": "", "type": "address" }
860
+ ],
861
+ "stateMutability": "view",
862
+ "type": "function"
863
+ },
864
+ {
865
+ "inputs": [],
866
+ "name": "getMintable",
867
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
868
+ "stateMutability": "view",
869
+ "type": "function"
870
+ },
871
+ {
872
+ "inputs": [],
873
+ "name": "getNumberStages",
874
+ "outputs": [
875
+ { "internalType": "uint256", "name": "", "type": "uint256" }
876
+ ],
877
+ "stateMutability": "view",
878
+ "type": "function"
879
+ },
880
+ {
881
+ "inputs": [],
882
+ "name": "getPermittedContractReceivers",
883
+ "outputs": [
884
+ { "internalType": "address[]", "name": "", "type": "address[]" }
885
+ ],
886
+ "stateMutability": "view",
887
+ "type": "function"
888
+ },
889
+ {
890
+ "inputs": [],
891
+ "name": "getSecurityPolicy",
892
+ "outputs": [
893
+ {
894
+ "components": [
895
+ {
896
+ "internalType": "enum TransferSecurityLevels",
897
+ "name": "transferSecurityLevel",
898
+ "type": "uint8"
899
+ },
900
+ {
901
+ "internalType": "uint120",
902
+ "name": "operatorWhitelistId",
903
+ "type": "uint120"
904
+ },
905
+ {
906
+ "internalType": "uint120",
907
+ "name": "permittedContractReceiversId",
908
+ "type": "uint120"
909
+ }
910
+ ],
911
+ "internalType": "struct CollectionSecurityPolicy",
912
+ "name": "",
913
+ "type": "tuple"
914
+ }
915
+ ],
916
+ "stateMutability": "view",
917
+ "type": "function"
918
+ },
919
+ {
920
+ "inputs": [
921
+ { "internalType": "uint256", "name": "index", "type": "uint256" }
922
+ ],
923
+ "name": "getStageInfo",
924
+ "outputs": [
925
+ {
926
+ "components": [
927
+ {
928
+ "internalType": "uint80",
929
+ "name": "price",
930
+ "type": "uint80"
931
+ },
932
+ {
933
+ "internalType": "uint80",
934
+ "name": "mintFee",
935
+ "type": "uint80"
936
+ },
937
+ {
938
+ "internalType": "uint32",
939
+ "name": "walletLimit",
940
+ "type": "uint32"
941
+ },
942
+ {
943
+ "internalType": "bytes32",
944
+ "name": "merkleRoot",
945
+ "type": "bytes32"
946
+ },
947
+ {
948
+ "internalType": "uint24",
949
+ "name": "maxStageSupply",
950
+ "type": "uint24"
951
+ },
952
+ {
953
+ "internalType": "uint64",
954
+ "name": "startTimeUnixSeconds",
955
+ "type": "uint64"
956
+ },
957
+ {
958
+ "internalType": "uint64",
959
+ "name": "endTimeUnixSeconds",
960
+ "type": "uint64"
961
+ }
962
+ ],
963
+ "internalType": "struct IERC721M.MintStageInfo",
964
+ "name": "",
965
+ "type": "tuple"
966
+ },
967
+ { "internalType": "uint32", "name": "", "type": "uint32" },
968
+ { "internalType": "uint256", "name": "", "type": "uint256" }
969
+ ],
970
+ "stateMutability": "view",
971
+ "type": "function"
972
+ },
973
+ {
974
+ "inputs": [],
975
+ "name": "getTransferValidator",
976
+ "outputs": [
977
+ {
978
+ "internalType": "contract ICreatorTokenTransferValidator",
979
+ "name": "",
980
+ "type": "address"
981
+ }
982
+ ],
983
+ "stateMutability": "view",
984
+ "type": "function"
985
+ },
986
+ {
987
+ "inputs": [],
988
+ "name": "getWhitelistedOperators",
989
+ "outputs": [
990
+ { "internalType": "address[]", "name": "", "type": "address[]" }
991
+ ],
992
+ "stateMutability": "view",
993
+ "type": "function"
994
+ },
995
+ {
996
+ "inputs": [
997
+ { "internalType": "address", "name": "owner", "type": "address" },
998
+ { "internalType": "address", "name": "operator", "type": "address" }
999
+ ],
1000
+ "name": "isApprovedForAll",
1001
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
1002
+ "stateMutability": "view",
1003
+ "type": "function"
1004
+ },
1005
+ {
1006
+ "inputs": [
1007
+ { "internalType": "address", "name": "receiver", "type": "address" }
1008
+ ],
1009
+ "name": "isContractReceiverPermitted",
1010
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
1011
+ "stateMutability": "view",
1012
+ "type": "function"
1013
+ },
1014
+ {
1015
+ "inputs": [
1016
+ { "internalType": "address", "name": "operator", "type": "address" }
1017
+ ],
1018
+ "name": "isOperatorWhitelisted",
1019
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
1020
+ "stateMutability": "view",
1021
+ "type": "function"
1022
+ },
1023
+ {
1024
+ "inputs": [
1025
+ { "internalType": "address", "name": "caller", "type": "address" },
1026
+ { "internalType": "address", "name": "from", "type": "address" },
1027
+ { "internalType": "address", "name": "to", "type": "address" }
1028
+ ],
1029
+ "name": "isTransferAllowed",
1030
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
1031
+ "stateMutability": "view",
1032
+ "type": "function"
1033
+ },
1034
+ {
1035
+ "inputs": [
1036
+ { "internalType": "uint32", "name": "qty", "type": "uint32" },
1037
+ {
1038
+ "internalType": "bytes32[]",
1039
+ "name": "proof",
1040
+ "type": "bytes32[]"
1041
+ },
1042
+ { "internalType": "uint64", "name": "timestamp", "type": "uint64" },
1043
+ { "internalType": "bytes", "name": "signature", "type": "bytes" }
1044
+ ],
1045
+ "name": "mint",
1046
+ "outputs": [],
1047
+ "stateMutability": "payable",
1048
+ "type": "function"
1049
+ },
1050
+ {
1051
+ "inputs": [
1052
+ { "internalType": "uint32", "name": "qty", "type": "uint32" },
1053
+ { "internalType": "uint32", "name": "limit", "type": "uint32" },
1054
+ {
1055
+ "internalType": "bytes32[]",
1056
+ "name": "proof",
1057
+ "type": "bytes32[]"
1058
+ },
1059
+ { "internalType": "uint64", "name": "timestamp", "type": "uint64" },
1060
+ { "internalType": "bytes", "name": "signature", "type": "bytes" }
1061
+ ],
1062
+ "name": "mintWithLimit",
1063
+ "outputs": [],
1064
+ "stateMutability": "payable",
1065
+ "type": "function"
1066
+ },
1067
+ {
1068
+ "inputs": [],
1069
+ "name": "name",
1070
+ "outputs": [{ "internalType": "string", "name": "", "type": "string" }],
1071
+ "stateMutability": "view",
1072
+ "type": "function"
1073
+ },
1074
+ {
1075
+ "inputs": [],
1076
+ "name": "owner",
1077
+ "outputs": [
1078
+ { "internalType": "address", "name": "", "type": "address" }
1079
+ ],
1080
+ "stateMutability": "view",
1081
+ "type": "function"
1082
+ },
1083
+ {
1084
+ "inputs": [
1085
+ { "internalType": "uint32", "name": "qty", "type": "uint32" },
1086
+ { "internalType": "address", "name": "to", "type": "address" }
1087
+ ],
1088
+ "name": "ownerMint",
1089
+ "outputs": [],
1090
+ "stateMutability": "nonpayable",
1091
+ "type": "function"
1092
+ },
1093
+ {
1094
+ "inputs": [
1095
+ { "internalType": "uint256", "name": "tokenId", "type": "uint256" }
1096
+ ],
1097
+ "name": "ownerOf",
1098
+ "outputs": [
1099
+ { "internalType": "address", "name": "", "type": "address" }
1100
+ ],
1101
+ "stateMutability": "view",
1102
+ "type": "function"
1103
+ },
1104
+ {
1105
+ "inputs": [],
1106
+ "name": "renounceOwnership",
1107
+ "outputs": [],
1108
+ "stateMutability": "nonpayable",
1109
+ "type": "function"
1110
+ },
1111
+ {
1112
+ "inputs": [
1113
+ { "internalType": "uint256", "name": "tokenId", "type": "uint256" },
1114
+ {
1115
+ "internalType": "uint256",
1116
+ "name": "salePrice",
1117
+ "type": "uint256"
1118
+ }
1119
+ ],
1120
+ "name": "royaltyInfo",
1121
+ "outputs": [
1122
+ { "internalType": "address", "name": "", "type": "address" },
1123
+ { "internalType": "uint256", "name": "", "type": "uint256" }
1124
+ ],
1125
+ "stateMutability": "view",
1126
+ "type": "function"
1127
+ },
1128
+ {
1129
+ "inputs": [
1130
+ { "internalType": "address", "name": "from", "type": "address" },
1131
+ { "internalType": "address", "name": "to", "type": "address" },
1132
+ { "internalType": "uint256", "name": "tokenId", "type": "uint256" }
1133
+ ],
1134
+ "name": "safeTransferFrom",
1135
+ "outputs": [],
1136
+ "stateMutability": "payable",
1137
+ "type": "function"
1138
+ },
1139
+ {
1140
+ "inputs": [
1141
+ { "internalType": "address", "name": "from", "type": "address" },
1142
+ { "internalType": "address", "name": "to", "type": "address" },
1143
+ { "internalType": "uint256", "name": "tokenId", "type": "uint256" },
1144
+ { "internalType": "bytes", "name": "_data", "type": "bytes" }
1145
+ ],
1146
+ "name": "safeTransferFrom",
1147
+ "outputs": [],
1148
+ "stateMutability": "payable",
1149
+ "type": "function"
1150
+ },
1151
+ {
1152
+ "inputs": [
1153
+ {
1154
+ "internalType": "address",
1155
+ "name": "operator",
1156
+ "type": "address"
1157
+ },
1158
+ { "internalType": "bool", "name": "approved", "type": "bool" }
1159
+ ],
1160
+ "name": "setApprovalForAll",
1161
+ "outputs": [],
1162
+ "stateMutability": "nonpayable",
1163
+ "type": "function"
1164
+ },
1165
+ {
1166
+ "inputs": [
1167
+ { "internalType": "string", "name": "baseURI", "type": "string" }
1168
+ ],
1169
+ "name": "setBaseURI",
1170
+ "outputs": [],
1171
+ "stateMutability": "nonpayable",
1172
+ "type": "function"
1173
+ },
1174
+ {
1175
+ "inputs": [
1176
+ { "internalType": "string", "name": "uri", "type": "string" }
1177
+ ],
1178
+ "name": "setContractURI",
1179
+ "outputs": [],
1180
+ "stateMutability": "nonpayable",
1181
+ "type": "function"
1182
+ },
1183
+ {
1184
+ "inputs": [
1185
+ { "internalType": "address", "name": "cosigner", "type": "address" }
1186
+ ],
1187
+ "name": "setCosigner",
1188
+ "outputs": [],
1189
+ "stateMutability": "nonpayable",
1190
+ "type": "function"
1191
+ },
1192
+ {
1193
+ "inputs": [
1194
+ {
1195
+ "internalType": "address",
1196
+ "name": "crossmintAddress",
1197
+ "type": "address"
1198
+ }
1199
+ ],
1200
+ "name": "setCrossmintAddress",
1201
+ "outputs": [],
1202
+ "stateMutability": "nonpayable",
1203
+ "type": "function"
1204
+ },
1205
+ {
1206
+ "inputs": [
1207
+ {
1208
+ "internalType": "address",
1209
+ "name": "receiver",
1210
+ "type": "address"
1211
+ },
1212
+ {
1213
+ "internalType": "uint96",
1214
+ "name": "feeNumerator",
1215
+ "type": "uint96"
1216
+ }
1217
+ ],
1218
+ "name": "setDefaultRoyalty",
1219
+ "outputs": [],
1220
+ "stateMutability": "nonpayable",
1221
+ "type": "function"
1222
+ },
1223
+ {
1224
+ "inputs": [
1225
+ {
1226
+ "internalType": "uint256",
1227
+ "name": "globalWalletLimit",
1228
+ "type": "uint256"
1229
+ }
1230
+ ],
1231
+ "name": "setGlobalWalletLimit",
1232
+ "outputs": [],
1233
+ "stateMutability": "nonpayable",
1234
+ "type": "function"
1235
+ },
1236
+ {
1237
+ "inputs": [
1238
+ {
1239
+ "internalType": "uint256",
1240
+ "name": "maxMintableSupply",
1241
+ "type": "uint256"
1242
+ }
1243
+ ],
1244
+ "name": "setMaxMintableSupply",
1245
+ "outputs": [],
1246
+ "stateMutability": "nonpayable",
1247
+ "type": "function"
1248
+ },
1249
+ {
1250
+ "inputs": [
1251
+ { "internalType": "bool", "name": "mintable", "type": "bool" }
1252
+ ],
1253
+ "name": "setMintable",
1254
+ "outputs": [],
1255
+ "stateMutability": "nonpayable",
1256
+ "type": "function"
1257
+ },
1258
+ {
1259
+ "inputs": [
1260
+ {
1261
+ "components": [
1262
+ {
1263
+ "internalType": "uint80",
1264
+ "name": "price",
1265
+ "type": "uint80"
1266
+ },
1267
+ {
1268
+ "internalType": "uint80",
1269
+ "name": "mintFee",
1270
+ "type": "uint80"
1271
+ },
1272
+ {
1273
+ "internalType": "uint32",
1274
+ "name": "walletLimit",
1275
+ "type": "uint32"
1276
+ },
1277
+ {
1278
+ "internalType": "bytes32",
1279
+ "name": "merkleRoot",
1280
+ "type": "bytes32"
1281
+ },
1282
+ {
1283
+ "internalType": "uint24",
1284
+ "name": "maxStageSupply",
1285
+ "type": "uint24"
1286
+ },
1287
+ {
1288
+ "internalType": "uint64",
1289
+ "name": "startTimeUnixSeconds",
1290
+ "type": "uint64"
1291
+ },
1292
+ {
1293
+ "internalType": "uint64",
1294
+ "name": "endTimeUnixSeconds",
1295
+ "type": "uint64"
1296
+ }
1297
+ ],
1298
+ "internalType": "struct IERC721M.MintStageInfo[]",
1299
+ "name": "newStages",
1300
+ "type": "tuple[]"
1301
+ }
1302
+ ],
1303
+ "name": "setStages",
1304
+ "outputs": [],
1305
+ "stateMutability": "nonpayable",
1306
+ "type": "function"
1307
+ },
1308
+ {
1309
+ "inputs": [
1310
+ { "internalType": "uint64", "name": "expiry", "type": "uint64" }
1311
+ ],
1312
+ "name": "setTimestampExpirySeconds",
1313
+ "outputs": [],
1314
+ "stateMutability": "nonpayable",
1315
+ "type": "function"
1316
+ },
1317
+ {
1318
+ "inputs": [
1319
+ {
1320
+ "internalType": "enum TransferSecurityLevels",
1321
+ "name": "level",
1322
+ "type": "uint8"
1323
+ },
1324
+ {
1325
+ "internalType": "uint120",
1326
+ "name": "operatorWhitelistId",
1327
+ "type": "uint120"
1328
+ },
1329
+ {
1330
+ "internalType": "uint120",
1331
+ "name": "permittedContractReceiversAllowlistId",
1332
+ "type": "uint120"
1333
+ }
1334
+ ],
1335
+ "name": "setToCustomSecurityPolicy",
1336
+ "outputs": [],
1337
+ "stateMutability": "nonpayable",
1338
+ "type": "function"
1339
+ },
1340
+ {
1341
+ "inputs": [
1342
+ {
1343
+ "internalType": "address",
1344
+ "name": "validator",
1345
+ "type": "address"
1346
+ },
1347
+ {
1348
+ "internalType": "enum TransferSecurityLevels",
1349
+ "name": "level",
1350
+ "type": "uint8"
1351
+ },
1352
+ {
1353
+ "internalType": "uint120",
1354
+ "name": "operatorWhitelistId",
1355
+ "type": "uint120"
1356
+ },
1357
+ {
1358
+ "internalType": "uint120",
1359
+ "name": "permittedContractReceiversAllowlistId",
1360
+ "type": "uint120"
1361
+ }
1362
+ ],
1363
+ "name": "setToCustomValidatorAndSecurityPolicy",
1364
+ "outputs": [],
1365
+ "stateMutability": "nonpayable",
1366
+ "type": "function"
1367
+ },
1368
+ {
1369
+ "inputs": [],
1370
+ "name": "setToDefaultSecurityPolicy",
1371
+ "outputs": [],
1372
+ "stateMutability": "nonpayable",
1373
+ "type": "function"
1374
+ },
1375
+ {
1376
+ "inputs": [
1377
+ { "internalType": "uint256", "name": "tokenId", "type": "uint256" },
1378
+ {
1379
+ "internalType": "address",
1380
+ "name": "receiver",
1381
+ "type": "address"
1382
+ },
1383
+ {
1384
+ "internalType": "uint96",
1385
+ "name": "feeNumerator",
1386
+ "type": "uint96"
1387
+ }
1388
+ ],
1389
+ "name": "setTokenRoyalty",
1390
+ "outputs": [],
1391
+ "stateMutability": "nonpayable",
1392
+ "type": "function"
1393
+ },
1394
+ {
1395
+ "inputs": [
1396
+ { "internalType": "string", "name": "suffix", "type": "string" }
1397
+ ],
1398
+ "name": "setTokenURISuffix",
1399
+ "outputs": [],
1400
+ "stateMutability": "nonpayable",
1401
+ "type": "function"
1402
+ },
1403
+ {
1404
+ "inputs": [
1405
+ {
1406
+ "internalType": "address",
1407
+ "name": "transferValidator_",
1408
+ "type": "address"
1409
+ }
1410
+ ],
1411
+ "name": "setTransferValidator",
1412
+ "outputs": [],
1413
+ "stateMutability": "nonpayable",
1414
+ "type": "function"
1415
+ },
1416
+ {
1417
+ "inputs": [
1418
+ {
1419
+ "internalType": "bytes4",
1420
+ "name": "interfaceId",
1421
+ "type": "bytes4"
1422
+ }
1423
+ ],
1424
+ "name": "supportsInterface",
1425
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
1426
+ "stateMutability": "view",
1427
+ "type": "function"
1428
+ },
1429
+ {
1430
+ "inputs": [],
1431
+ "name": "symbol",
1432
+ "outputs": [{ "internalType": "string", "name": "", "type": "string" }],
1433
+ "stateMutability": "view",
1434
+ "type": "function"
1435
+ },
1436
+ {
1437
+ "inputs": [
1438
+ { "internalType": "uint256", "name": "tokenId", "type": "uint256" }
1439
+ ],
1440
+ "name": "tokenURI",
1441
+ "outputs": [{ "internalType": "string", "name": "", "type": "string" }],
1442
+ "stateMutability": "view",
1443
+ "type": "function"
1444
+ },
1445
+ {
1446
+ "inputs": [
1447
+ { "internalType": "address", "name": "owner", "type": "address" }
1448
+ ],
1449
+ "name": "tokensOfOwner",
1450
+ "outputs": [
1451
+ { "internalType": "uint256[]", "name": "", "type": "uint256[]" }
1452
+ ],
1453
+ "stateMutability": "view",
1454
+ "type": "function"
1455
+ },
1456
+ {
1457
+ "inputs": [
1458
+ { "internalType": "address", "name": "owner", "type": "address" },
1459
+ { "internalType": "uint256", "name": "start", "type": "uint256" },
1460
+ { "internalType": "uint256", "name": "stop", "type": "uint256" }
1461
+ ],
1462
+ "name": "tokensOfOwnerIn",
1463
+ "outputs": [
1464
+ { "internalType": "uint256[]", "name": "", "type": "uint256[]" }
1465
+ ],
1466
+ "stateMutability": "view",
1467
+ "type": "function"
1468
+ },
1469
+ {
1470
+ "inputs": [
1471
+ { "internalType": "address", "name": "a", "type": "address" }
1472
+ ],
1473
+ "name": "totalMintedByAddress",
1474
+ "outputs": [
1475
+ { "internalType": "uint256", "name": "", "type": "uint256" }
1476
+ ],
1477
+ "stateMutability": "view",
1478
+ "type": "function"
1479
+ },
1480
+ {
1481
+ "inputs": [],
1482
+ "name": "totalSupply",
1483
+ "outputs": [
1484
+ { "internalType": "uint256", "name": "", "type": "uint256" }
1485
+ ],
1486
+ "stateMutability": "view",
1487
+ "type": "function"
1488
+ },
1489
+ {
1490
+ "inputs": [
1491
+ { "internalType": "address", "name": "from", "type": "address" },
1492
+ { "internalType": "address", "name": "to", "type": "address" },
1493
+ { "internalType": "uint256", "name": "tokenId", "type": "uint256" }
1494
+ ],
1495
+ "name": "transferFrom",
1496
+ "outputs": [],
1497
+ "stateMutability": "payable",
1498
+ "type": "function"
1499
+ },
1500
+ {
1501
+ "inputs": [
1502
+ { "internalType": "address", "name": "newOwner", "type": "address" }
1503
+ ],
1504
+ "name": "transferOwnership",
1505
+ "outputs": [],
1506
+ "stateMutability": "nonpayable",
1507
+ "type": "function"
1508
+ },
1509
+ {
1510
+ "inputs": [],
1511
+ "name": "withdraw",
1512
+ "outputs": [],
1513
+ "stateMutability": "nonpayable",
1514
+ "type": "function"
1515
+ },
1516
+ {
1517
+ "inputs": [],
1518
+ "name": "withdrawERC20",
1519
+ "outputs": [],
1520
+ "stateMutability": "nonpayable",
1521
+ "type": "function"
1522
+ }
1523
+ ]