@lukso/lsp-smart-contracts 0.16.7 → 0.17.3

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 (168) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +11 -11
  3. package/artifacts/Extension4337.json +171 -0
  4. package/artifacts/IAccessControlExtended.json +285 -0
  5. package/artifacts/ILSP11SocialRecovery.json +673 -0
  6. package/artifacts/ILSP14Ownable2Step.json +85 -0
  7. package/artifacts/ILSP1UniversalReceiver.json +75 -0
  8. package/artifacts/ILSP1UniversalReceiverDelegate.json +48 -0
  9. package/artifacts/ILSP20CallVerifier.json +77 -0
  10. package/artifacts/ILSP23LinkedContractsFactory.json +520 -0
  11. package/artifacts/ILSP25ExecuteRelayCall.json +111 -0
  12. package/artifacts/ILSP26FollowerSystem.json +224 -0
  13. package/artifacts/ILSP6KeyManager.json +119 -0
  14. package/artifacts/ILSP7CappedBalance.json +27 -0
  15. package/artifacts/ILSP7CappedSupply.json +27 -0
  16. package/artifacts/ILSP7DigitalAsset.json +394 -0
  17. package/artifacts/ILSP7Mintable.json +62 -0
  18. package/artifacts/ILSP7NonTransferable.json +110 -0
  19. package/artifacts/ILSP7Revokable.json +75 -0
  20. package/artifacts/ILSP8CappedBalance.json +27 -0
  21. package/artifacts/ILSP8CappedSupply.json +27 -0
  22. package/artifacts/ILSP8IdentifiableDigitalAsset.json +493 -0
  23. package/artifacts/ILSP8Mintable.json +62 -0
  24. package/artifacts/ILSP8NonTransferable.json +110 -0
  25. package/artifacts/ILSP8Revokable.json +75 -0
  26. package/artifacts/IPostDeploymentModule.json +37 -0
  27. package/artifacts/LSP0ERC725Account.json +9 -6
  28. package/artifacts/LSP0ERC725AccountInit.json +9 -6
  29. package/artifacts/LSP11SocialRecovery.json +9 -6
  30. package/artifacts/LSP14Ownable2Step.json +191 -0
  31. package/artifacts/LSP16UniversalFactory.json +274 -0
  32. package/artifacts/LSP17Extendable.json +33 -0
  33. package/artifacts/LSP17Extension.json +46 -0
  34. package/artifacts/LSP1UniversalReceiverDelegateUP.json +9 -6
  35. package/artifacts/LSP1UniversalReceiverDelegateVault.json +9 -6
  36. package/artifacts/LSP20CallVerification.json +13 -0
  37. package/artifacts/LSP23LinkedContractsFactory.json +9 -6
  38. package/artifacts/LSP26FollowerSystem.json +9 -6
  39. package/artifacts/LSP4DigitalAssetMetadata.json +7 -4
  40. package/artifacts/LSP4DigitalAssetMetadataInitAbstract.json +7 -4
  41. package/artifacts/LSP6KeyManager.json +9 -6
  42. package/artifacts/LSP6KeyManagerInit.json +9 -6
  43. package/artifacts/LSP7Burnable.json +820 -0
  44. package/artifacts/LSP7BurnableInitAbstract.json +828 -0
  45. package/artifacts/LSP7CappedBalanceAbstract.json +1159 -0
  46. package/artifacts/LSP7CappedBalanceInitAbstract.json +1167 -0
  47. package/artifacts/{LSP7CappedSupply.json → LSP7CappedSupplyAbstract.json} +8 -15
  48. package/artifacts/LSP7CappedSupplyInitAbstract.json +7 -14
  49. package/artifacts/LSP7CustomizableToken.json +1604 -0
  50. package/artifacts/LSP7CustomizableTokenInit.json +1601 -0
  51. package/artifacts/LSP7DigitalAsset.json +7 -4
  52. package/artifacts/LSP7DigitalAssetInitAbstract.json +7 -4
  53. package/artifacts/LSP7Mintable.json +377 -6
  54. package/artifacts/LSP7MintableAbstract.json +1186 -0
  55. package/artifacts/LSP7MintableInit.json +370 -6
  56. package/artifacts/LSP7MintableInitAbstract.json +1194 -0
  57. package/artifacts/LSP7NonTransferableAbstract.json +1236 -0
  58. package/artifacts/LSP7NonTransferableInitAbstract.json +1244 -0
  59. package/artifacts/LSP7RevokableAbstract.json +1186 -0
  60. package/artifacts/LSP7RevokableInitAbstract.json +1194 -0
  61. package/artifacts/LSP7Votes.json +66 -4
  62. package/artifacts/LSP7VotesInitAbstract.json +1208 -0
  63. package/artifacts/LSP8Burnable.json +7 -4
  64. package/artifacts/LSP8BurnableInitAbstract.json +7 -4
  65. package/artifacts/LSP8CappedBalanceAbstract.json +1285 -0
  66. package/artifacts/LSP8CappedBalanceInitAbstract.json +1293 -0
  67. package/artifacts/{LSP8CappedSupply.json → LSP8CappedSupplyAbstract.json} +8 -15
  68. package/artifacts/LSP8CappedSupplyInitAbstract.json +7 -14
  69. package/artifacts/LSP8CustomizableToken.json +1738 -0
  70. package/artifacts/LSP8CustomizableTokenInit.json +1733 -0
  71. package/artifacts/LSP8Enumerable.json +7 -4
  72. package/artifacts/LSP8EnumerableInitAbstract.json +7 -4
  73. package/artifacts/LSP8IdentifiableDigitalAsset.json +7 -4
  74. package/artifacts/LSP8IdentifiableDigitalAssetInitAbstract.json +7 -4
  75. package/artifacts/LSP8Mintable.json +370 -6
  76. package/artifacts/LSP8MintableAbstract.json +1328 -0
  77. package/artifacts/LSP8MintableInit.json +370 -6
  78. package/artifacts/LSP8MintableInitAbstract.json +1336 -0
  79. package/artifacts/LSP8NonTransferableAbstract.json +1367 -0
  80. package/artifacts/LSP8NonTransferableInitAbstract.json +1375 -0
  81. package/artifacts/LSP8RevokableAbstract.json +1317 -0
  82. package/artifacts/LSP8RevokableInitAbstract.json +1325 -0
  83. package/artifacts/LSP8Votes.json +7 -4
  84. package/artifacts/LSP8VotesInitAbstract.json +7 -4
  85. package/artifacts/LSP9Vault.json +9 -6
  86. package/artifacts/LSP9VaultInit.json +9 -6
  87. package/artifacts/OnERC721ReceivedExtension.json +80 -0
  88. package/artifacts/UniversalProfile.json +9 -6
  89. package/artifacts/UniversalProfileInit.json +9 -6
  90. package/artifacts/UniversalProfileInitPostDeploymentModule.json +745 -0
  91. package/artifacts/UniversalProfilePostDeploymentModule.json +719 -0
  92. package/contracts/LSP7DigitalAsset/extensions/LSP7Burnable/LSP7Burnable.sol +4 -0
  93. package/contracts/LSP7DigitalAsset/extensions/LSP7Burnable/LSP7BurnableInitAbstract.sol +4 -0
  94. package/contracts/LSP7DigitalAsset/extensions/LSP7CappedBalance/ILSP7CappedBalance.sol +4 -0
  95. package/contracts/LSP7DigitalAsset/extensions/LSP7CappedBalance/LSP7CappedBalanceAbstract.sol +4 -0
  96. package/contracts/LSP7DigitalAsset/extensions/LSP7CappedBalance/LSP7CappedBalanceInitAbstract.sol +4 -0
  97. package/contracts/LSP7DigitalAsset/extensions/{LSP7CappedSupply.sol → LSP7CappedSupply/ILSP7CappedSupply.sol} +1 -1
  98. package/contracts/LSP7DigitalAsset/extensions/{LSP7CappedSupplyInitAbstract.sol → LSP7CappedSupply/LSP7CappedSupplyAbstract.sol} +2 -2
  99. package/contracts/LSP7DigitalAsset/extensions/LSP7CappedSupply/LSP7CappedSupplyInitAbstract.sol +4 -0
  100. package/contracts/LSP7DigitalAsset/extensions/LSP7Mintable/ILSP7Mintable.sol +4 -0
  101. package/contracts/LSP7DigitalAsset/extensions/LSP7Mintable/LSP7MintableAbstract.sol +4 -0
  102. package/contracts/LSP7DigitalAsset/extensions/LSP7Mintable/LSP7MintableInitAbstract.sol +4 -0
  103. package/contracts/LSP7DigitalAsset/extensions/LSP7NonTransferable/ILSP7NonTransferable.sol +4 -0
  104. package/contracts/LSP7DigitalAsset/extensions/LSP7NonTransferable/LSP7NonTransferableAbstract.sol +4 -0
  105. package/contracts/LSP7DigitalAsset/extensions/LSP7NonTransferable/LSP7NonTransferableInitAbstract.sol +4 -0
  106. package/contracts/LSP7DigitalAsset/extensions/LSP7Revokable/ILSP7Revokable.sol +4 -0
  107. package/contracts/LSP7DigitalAsset/extensions/LSP7Revokable/LSP7RevokableAbstract.sol +4 -0
  108. package/contracts/LSP7DigitalAsset/extensions/LSP7Revokable/LSP7RevokableInitAbstract.sol +4 -0
  109. package/contracts/LSP7DigitalAsset/extensions/LSP7Votes/LSP7Votes.sol +4 -0
  110. package/contracts/LSP7DigitalAsset/extensions/LSP7Votes/LSP7VotesInitAbstract.sol +4 -0
  111. package/contracts/LSP7DigitalAsset/presets/LSP7CustomizableToken.sol +4 -0
  112. package/contracts/LSP7DigitalAsset/presets/LSP7CustomizableTokenInit.sol +4 -0
  113. package/contracts/LSP7DigitalAsset/presets/LSP7Mintable.sol +1 -1
  114. package/contracts/LSP7DigitalAsset/presets/LSP7MintableInit.sol +1 -1
  115. package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAsset.sol +1 -1
  116. package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAssetInitAbstract.sol +1 -1
  117. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8Burnable/LSP8Burnable.sol +4 -0
  118. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8Burnable/LSP8BurnableInitAbstract.sol +4 -0
  119. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CappedBalance/ILSP8CappedBalance.sol +4 -0
  120. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CappedBalance/LSP8CappedBalanceAbstract.sol +4 -0
  121. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CappedBalance/LSP8CappedBalanceErrors.sol +4 -0
  122. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CappedBalance/LSP8CappedBalanceInitAbstract.sol +4 -0
  123. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CappedSupply/ILSP8CappedSupply.sol +4 -0
  124. package/contracts/LSP8IdentifiableDigitalAsset/extensions/{LSP8CappedSupplyInitAbstract.sol → LSP8CappedSupply/LSP8CappedSupplyAbstract.sol} +1 -1
  125. package/contracts/LSP8IdentifiableDigitalAsset/extensions/{LSP8CappedSupply.sol → LSP8CappedSupply/LSP8CappedSupplyErrors.sol} +1 -1
  126. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CappedSupply/LSP8CappedSupplyInitAbstract.sol +4 -0
  127. package/contracts/LSP8IdentifiableDigitalAsset/extensions/{LSP8Enumerable.sol → LSP8Enumerable/LSP8Enumerable.sol} +2 -2
  128. package/contracts/LSP8IdentifiableDigitalAsset/extensions/{LSP8EnumerableInitAbstract.sol → LSP8Enumerable/LSP8EnumerableInitAbstract.sol} +2 -2
  129. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8Mintable/ILSP8Mintable.sol +4 -0
  130. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8Mintable/LSP8MintableAbstract.sol +4 -0
  131. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8Mintable/LSP8MintableErrors.sol +4 -0
  132. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8Mintable/LSP8MintableInitAbstract.sol +4 -0
  133. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8NonTransferable/ILSP8NonTransferable.sol +4 -0
  134. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8NonTransferable/LSP8NonTransferableAbstract.sol +4 -0
  135. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8NonTransferable/LSP8NonTransferableErrors.sol +4 -0
  136. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8NonTransferable/LSP8NonTransferableInitAbstract.sol +4 -0
  137. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8Revokable/ILSP8Revokable.sol +4 -0
  138. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8Revokable/LSP8RevokableAbstract.sol +4 -0
  139. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8Revokable/LSP8RevokableInitAbstract.sol +4 -0
  140. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8Votes/LSP8Votes.sol +4 -0
  141. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8Votes/LSP8VotesInitAbstract.sol +4 -0
  142. package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8CustomizableToken.sol +4 -0
  143. package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8CustomizableTokenInit.sol +4 -0
  144. package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8Mintable.sol +1 -1
  145. package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8MintableInit.sol +1 -1
  146. package/dist/abi.cjs +23188 -3391
  147. package/dist/abi.d.cts +32781 -4659
  148. package/dist/abi.d.mts +32781 -4659
  149. package/dist/abi.d.ts +32781 -4659
  150. package/dist/abi.mjs +23132 -3390
  151. package/dist/constants.cjs +4 -38132
  152. package/dist/constants.d.cts +4 -37411
  153. package/dist/constants.d.mts +4 -37411
  154. package/dist/constants.d.ts +4 -37411
  155. package/dist/constants.mjs +7 -38130
  156. package/package.json +67 -28
  157. package/contracts/LSP7DigitalAsset/extensions/LSP7Burnable.sol +0 -4
  158. package/contracts/LSP7DigitalAsset/extensions/LSP7BurnableInitAbstract.sol +0 -4
  159. package/contracts/LSP7DigitalAsset/extensions/LSP7Votes.sol +0 -4
  160. package/contracts/LSP7DigitalAsset/extensions/LSP7VotesInitAbstract.sol +0 -4
  161. package/contracts/LSP7DigitalAsset/presets/ILSP7Mintable.sol +0 -4
  162. package/contracts/LSP7DigitalAsset/presets/LSP7MintableInitAbstract.sol +0 -4
  163. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8Burnable.sol +0 -4
  164. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8BurnableInitAbstract.sol +0 -4
  165. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8Votes.sol +0 -4
  166. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8VotesInitAbstract.sol +0 -4
  167. package/contracts/LSP8IdentifiableDigitalAsset/presets/ILSP8Mintable.sol +0 -4
  168. package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8MintableInitAbstract.sol +0 -4
@@ -0,0 +1,1159 @@
1
+ {
2
+ "_format": "hh3-artifact-1",
3
+ "contractName": "LSP7CappedBalanceAbstract",
4
+ "sourceName": "contracts/extensions/LSP7CappedBalance/LSP7CappedBalanceAbstract.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [],
8
+ "name": "AccessControlBadConfirmation",
9
+ "type": "error"
10
+ },
11
+ {
12
+ "inputs": [],
13
+ "name": "AccessControlCannotSetAdminForDefaultAdminRole",
14
+ "type": "error"
15
+ },
16
+ {
17
+ "inputs": [
18
+ {
19
+ "internalType": "address",
20
+ "name": "account",
21
+ "type": "address"
22
+ },
23
+ {
24
+ "internalType": "bytes32",
25
+ "name": "neededRole",
26
+ "type": "bytes32"
27
+ }
28
+ ],
29
+ "name": "AccessControlUnauthorizedAccount",
30
+ "type": "error"
31
+ },
32
+ {
33
+ "inputs": [],
34
+ "name": "ERC725Y_DataKeysValuesEmptyArray",
35
+ "type": "error"
36
+ },
37
+ {
38
+ "inputs": [],
39
+ "name": "ERC725Y_DataKeysValuesLengthMismatch",
40
+ "type": "error"
41
+ },
42
+ {
43
+ "inputs": [],
44
+ "name": "ERC725Y_MsgValueDisallowed",
45
+ "type": "error"
46
+ },
47
+ {
48
+ "inputs": [
49
+ {
50
+ "internalType": "bytes",
51
+ "name": "storedData",
52
+ "type": "bytes"
53
+ }
54
+ ],
55
+ "name": "InvalidExtensionAddress",
56
+ "type": "error"
57
+ },
58
+ {
59
+ "inputs": [
60
+ {
61
+ "internalType": "bytes",
62
+ "name": "data",
63
+ "type": "bytes"
64
+ }
65
+ ],
66
+ "name": "InvalidFunctionSelector",
67
+ "type": "error"
68
+ },
69
+ {
70
+ "inputs": [],
71
+ "name": "LSP4TokenNameNotEditable",
72
+ "type": "error"
73
+ },
74
+ {
75
+ "inputs": [],
76
+ "name": "LSP4TokenSymbolNotEditable",
77
+ "type": "error"
78
+ },
79
+ {
80
+ "inputs": [],
81
+ "name": "LSP4TokenTypeNotEditable",
82
+ "type": "error"
83
+ },
84
+ {
85
+ "inputs": [
86
+ {
87
+ "internalType": "address",
88
+ "name": "tokenOwner",
89
+ "type": "address"
90
+ },
91
+ {
92
+ "internalType": "uint256",
93
+ "name": "authorizedAmount",
94
+ "type": "uint256"
95
+ },
96
+ {
97
+ "internalType": "address",
98
+ "name": "operator",
99
+ "type": "address"
100
+ },
101
+ {
102
+ "internalType": "uint256",
103
+ "name": "amount",
104
+ "type": "uint256"
105
+ }
106
+ ],
107
+ "name": "LSP7AmountExceedsAuthorizedAmount",
108
+ "type": "error"
109
+ },
110
+ {
111
+ "inputs": [
112
+ {
113
+ "internalType": "uint256",
114
+ "name": "balance",
115
+ "type": "uint256"
116
+ },
117
+ {
118
+ "internalType": "address",
119
+ "name": "tokenOwner",
120
+ "type": "address"
121
+ },
122
+ {
123
+ "internalType": "uint256",
124
+ "name": "amount",
125
+ "type": "uint256"
126
+ }
127
+ ],
128
+ "name": "LSP7AmountExceedsBalance",
129
+ "type": "error"
130
+ },
131
+ {
132
+ "inputs": [
133
+ {
134
+ "internalType": "uint256",
135
+ "name": "callIndex",
136
+ "type": "uint256"
137
+ }
138
+ ],
139
+ "name": "LSP7BatchCallFailed",
140
+ "type": "error"
141
+ },
142
+ {
143
+ "inputs": [],
144
+ "name": "LSP7CannotSendWithAddressZero",
145
+ "type": "error"
146
+ },
147
+ {
148
+ "inputs": [],
149
+ "name": "LSP7CannotUseAddressZeroAsOperator",
150
+ "type": "error"
151
+ },
152
+ {
153
+ "inputs": [
154
+ {
155
+ "internalType": "address",
156
+ "name": "to",
157
+ "type": "address"
158
+ },
159
+ {
160
+ "internalType": "uint256",
161
+ "name": "tranferAmount",
162
+ "type": "uint256"
163
+ },
164
+ {
165
+ "internalType": "uint256",
166
+ "name": "balanceOf",
167
+ "type": "uint256"
168
+ },
169
+ {
170
+ "internalType": "uint256",
171
+ "name": "tokenBalanceCap",
172
+ "type": "uint256"
173
+ }
174
+ ],
175
+ "name": "LSP7CappedBalanceExceeded",
176
+ "type": "error"
177
+ },
178
+ {
179
+ "inputs": [
180
+ {
181
+ "internalType": "address",
182
+ "name": "caller",
183
+ "type": "address"
184
+ },
185
+ {
186
+ "internalType": "address",
187
+ "name": "tokenOwner",
188
+ "type": "address"
189
+ },
190
+ {
191
+ "internalType": "address",
192
+ "name": "operator",
193
+ "type": "address"
194
+ }
195
+ ],
196
+ "name": "LSP7DecreaseAllowanceNotAuthorized",
197
+ "type": "error"
198
+ },
199
+ {
200
+ "inputs": [],
201
+ "name": "LSP7DecreasedAllowanceBelowZero",
202
+ "type": "error"
203
+ },
204
+ {
205
+ "inputs": [],
206
+ "name": "LSP7InvalidTransferBatch",
207
+ "type": "error"
208
+ },
209
+ {
210
+ "inputs": [
211
+ {
212
+ "internalType": "address",
213
+ "name": "tokenReceiver",
214
+ "type": "address"
215
+ }
216
+ ],
217
+ "name": "LSP7NotifyTokenReceiverContractMissingLSP1Interface",
218
+ "type": "error"
219
+ },
220
+ {
221
+ "inputs": [
222
+ {
223
+ "internalType": "address",
224
+ "name": "tokenReceiver",
225
+ "type": "address"
226
+ }
227
+ ],
228
+ "name": "LSP7NotifyTokenReceiverIsEOA",
229
+ "type": "error"
230
+ },
231
+ {
232
+ "inputs": [
233
+ {
234
+ "internalType": "address",
235
+ "name": "caller",
236
+ "type": "address"
237
+ },
238
+ {
239
+ "internalType": "address",
240
+ "name": "tokenOwner",
241
+ "type": "address"
242
+ },
243
+ {
244
+ "internalType": "address",
245
+ "name": "operator",
246
+ "type": "address"
247
+ }
248
+ ],
249
+ "name": "LSP7RevokeOperatorNotAuthorized",
250
+ "type": "error"
251
+ },
252
+ {
253
+ "inputs": [],
254
+ "name": "LSP7TokenContractCannotHoldValue",
255
+ "type": "error"
256
+ },
257
+ {
258
+ "inputs": [],
259
+ "name": "LSP7TokenOwnerCannotBeOperator",
260
+ "type": "error"
261
+ },
262
+ {
263
+ "inputs": [
264
+ {
265
+ "internalType": "bytes4",
266
+ "name": "functionSelector",
267
+ "type": "bytes4"
268
+ }
269
+ ],
270
+ "name": "NoExtensionFoundForFunctionSelector",
271
+ "type": "error"
272
+ },
273
+ {
274
+ "inputs": [
275
+ {
276
+ "internalType": "address",
277
+ "name": "operator",
278
+ "type": "address"
279
+ }
280
+ ],
281
+ "name": "OperatorAllowanceCannotBeIncreasedFromZero",
282
+ "type": "error"
283
+ },
284
+ {
285
+ "inputs": [],
286
+ "name": "OwnableCannotSetZeroAddressAsOwner",
287
+ "type": "error"
288
+ },
289
+ {
290
+ "anonymous": false,
291
+ "inputs": [
292
+ {
293
+ "indexed": true,
294
+ "internalType": "bytes32",
295
+ "name": "dataKey",
296
+ "type": "bytes32"
297
+ },
298
+ {
299
+ "indexed": false,
300
+ "internalType": "bytes",
301
+ "name": "dataValue",
302
+ "type": "bytes"
303
+ }
304
+ ],
305
+ "name": "DataChanged",
306
+ "type": "event"
307
+ },
308
+ {
309
+ "anonymous": false,
310
+ "inputs": [
311
+ {
312
+ "indexed": true,
313
+ "internalType": "address",
314
+ "name": "operator",
315
+ "type": "address"
316
+ },
317
+ {
318
+ "indexed": true,
319
+ "internalType": "address",
320
+ "name": "tokenOwner",
321
+ "type": "address"
322
+ },
323
+ {
324
+ "indexed": true,
325
+ "internalType": "uint256",
326
+ "name": "amount",
327
+ "type": "uint256"
328
+ },
329
+ {
330
+ "indexed": false,
331
+ "internalType": "bytes",
332
+ "name": "operatorNotificationData",
333
+ "type": "bytes"
334
+ }
335
+ ],
336
+ "name": "OperatorAuthorizationChanged",
337
+ "type": "event"
338
+ },
339
+ {
340
+ "anonymous": false,
341
+ "inputs": [
342
+ {
343
+ "indexed": true,
344
+ "internalType": "address",
345
+ "name": "operator",
346
+ "type": "address"
347
+ },
348
+ {
349
+ "indexed": true,
350
+ "internalType": "address",
351
+ "name": "tokenOwner",
352
+ "type": "address"
353
+ },
354
+ {
355
+ "indexed": true,
356
+ "internalType": "bool",
357
+ "name": "notified",
358
+ "type": "bool"
359
+ },
360
+ {
361
+ "indexed": false,
362
+ "internalType": "bytes",
363
+ "name": "operatorNotificationData",
364
+ "type": "bytes"
365
+ }
366
+ ],
367
+ "name": "OperatorRevoked",
368
+ "type": "event"
369
+ },
370
+ {
371
+ "anonymous": false,
372
+ "inputs": [
373
+ {
374
+ "indexed": true,
375
+ "internalType": "address",
376
+ "name": "previousOwner",
377
+ "type": "address"
378
+ },
379
+ {
380
+ "indexed": true,
381
+ "internalType": "address",
382
+ "name": "newOwner",
383
+ "type": "address"
384
+ }
385
+ ],
386
+ "name": "OwnershipTransferred",
387
+ "type": "event"
388
+ },
389
+ {
390
+ "anonymous": false,
391
+ "inputs": [
392
+ {
393
+ "indexed": true,
394
+ "internalType": "bytes32",
395
+ "name": "role",
396
+ "type": "bytes32"
397
+ },
398
+ {
399
+ "indexed": true,
400
+ "internalType": "bytes32",
401
+ "name": "previousAdminRole",
402
+ "type": "bytes32"
403
+ },
404
+ {
405
+ "indexed": true,
406
+ "internalType": "bytes32",
407
+ "name": "newAdminRole",
408
+ "type": "bytes32"
409
+ }
410
+ ],
411
+ "name": "RoleAdminChanged",
412
+ "type": "event"
413
+ },
414
+ {
415
+ "anonymous": false,
416
+ "inputs": [
417
+ {
418
+ "indexed": true,
419
+ "internalType": "bytes32",
420
+ "name": "role",
421
+ "type": "bytes32"
422
+ },
423
+ {
424
+ "indexed": true,
425
+ "internalType": "address",
426
+ "name": "account",
427
+ "type": "address"
428
+ },
429
+ {
430
+ "indexed": true,
431
+ "internalType": "address",
432
+ "name": "sender",
433
+ "type": "address"
434
+ }
435
+ ],
436
+ "name": "RoleGranted",
437
+ "type": "event"
438
+ },
439
+ {
440
+ "anonymous": false,
441
+ "inputs": [
442
+ {
443
+ "indexed": true,
444
+ "internalType": "bytes32",
445
+ "name": "role",
446
+ "type": "bytes32"
447
+ },
448
+ {
449
+ "indexed": true,
450
+ "internalType": "address",
451
+ "name": "account",
452
+ "type": "address"
453
+ },
454
+ {
455
+ "indexed": true,
456
+ "internalType": "address",
457
+ "name": "sender",
458
+ "type": "address"
459
+ }
460
+ ],
461
+ "name": "RoleRevoked",
462
+ "type": "event"
463
+ },
464
+ {
465
+ "anonymous": false,
466
+ "inputs": [
467
+ {
468
+ "indexed": true,
469
+ "internalType": "address",
470
+ "name": "operator",
471
+ "type": "address"
472
+ },
473
+ {
474
+ "indexed": true,
475
+ "internalType": "address",
476
+ "name": "from",
477
+ "type": "address"
478
+ },
479
+ {
480
+ "indexed": true,
481
+ "internalType": "address",
482
+ "name": "to",
483
+ "type": "address"
484
+ },
485
+ {
486
+ "indexed": false,
487
+ "internalType": "uint256",
488
+ "name": "amount",
489
+ "type": "uint256"
490
+ },
491
+ {
492
+ "indexed": false,
493
+ "internalType": "bool",
494
+ "name": "force",
495
+ "type": "bool"
496
+ },
497
+ {
498
+ "indexed": false,
499
+ "internalType": "bytes",
500
+ "name": "data",
501
+ "type": "bytes"
502
+ }
503
+ ],
504
+ "name": "Transfer",
505
+ "type": "event"
506
+ },
507
+ {
508
+ "stateMutability": "payable",
509
+ "type": "fallback"
510
+ },
511
+ {
512
+ "inputs": [],
513
+ "name": "DEFAULT_ADMIN_ROLE",
514
+ "outputs": [
515
+ {
516
+ "internalType": "bytes32",
517
+ "name": "",
518
+ "type": "bytes32"
519
+ }
520
+ ],
521
+ "stateMutability": "view",
522
+ "type": "function"
523
+ },
524
+ {
525
+ "inputs": [],
526
+ "name": "UNCAPPED_BALANCE_ROLE",
527
+ "outputs": [
528
+ {
529
+ "internalType": "bytes32",
530
+ "name": "",
531
+ "type": "bytes32"
532
+ }
533
+ ],
534
+ "stateMutability": "view",
535
+ "type": "function"
536
+ },
537
+ {
538
+ "inputs": [
539
+ {
540
+ "internalType": "address",
541
+ "name": "operator",
542
+ "type": "address"
543
+ },
544
+ {
545
+ "internalType": "uint256",
546
+ "name": "amount",
547
+ "type": "uint256"
548
+ },
549
+ {
550
+ "internalType": "bytes",
551
+ "name": "operatorNotificationData",
552
+ "type": "bytes"
553
+ }
554
+ ],
555
+ "name": "authorizeOperator",
556
+ "outputs": [],
557
+ "stateMutability": "nonpayable",
558
+ "type": "function"
559
+ },
560
+ {
561
+ "inputs": [
562
+ {
563
+ "internalType": "address",
564
+ "name": "operator",
565
+ "type": "address"
566
+ },
567
+ {
568
+ "internalType": "address",
569
+ "name": "tokenOwner",
570
+ "type": "address"
571
+ }
572
+ ],
573
+ "name": "authorizedAmountFor",
574
+ "outputs": [
575
+ {
576
+ "internalType": "uint256",
577
+ "name": "",
578
+ "type": "uint256"
579
+ }
580
+ ],
581
+ "stateMutability": "view",
582
+ "type": "function"
583
+ },
584
+ {
585
+ "inputs": [
586
+ {
587
+ "internalType": "address",
588
+ "name": "tokenOwner",
589
+ "type": "address"
590
+ }
591
+ ],
592
+ "name": "balanceOf",
593
+ "outputs": [
594
+ {
595
+ "internalType": "uint256",
596
+ "name": "",
597
+ "type": "uint256"
598
+ }
599
+ ],
600
+ "stateMutability": "view",
601
+ "type": "function"
602
+ },
603
+ {
604
+ "inputs": [
605
+ {
606
+ "internalType": "bytes[]",
607
+ "name": "data",
608
+ "type": "bytes[]"
609
+ }
610
+ ],
611
+ "name": "batchCalls",
612
+ "outputs": [
613
+ {
614
+ "internalType": "bytes[]",
615
+ "name": "results",
616
+ "type": "bytes[]"
617
+ }
618
+ ],
619
+ "stateMutability": "nonpayable",
620
+ "type": "function"
621
+ },
622
+ {
623
+ "inputs": [],
624
+ "name": "decimals",
625
+ "outputs": [
626
+ {
627
+ "internalType": "uint8",
628
+ "name": "",
629
+ "type": "uint8"
630
+ }
631
+ ],
632
+ "stateMutability": "view",
633
+ "type": "function"
634
+ },
635
+ {
636
+ "inputs": [
637
+ {
638
+ "internalType": "address",
639
+ "name": "operator",
640
+ "type": "address"
641
+ },
642
+ {
643
+ "internalType": "address",
644
+ "name": "tokenOwner",
645
+ "type": "address"
646
+ },
647
+ {
648
+ "internalType": "uint256",
649
+ "name": "subtractedAmount",
650
+ "type": "uint256"
651
+ },
652
+ {
653
+ "internalType": "bytes",
654
+ "name": "operatorNotificationData",
655
+ "type": "bytes"
656
+ }
657
+ ],
658
+ "name": "decreaseAllowance",
659
+ "outputs": [],
660
+ "stateMutability": "nonpayable",
661
+ "type": "function"
662
+ },
663
+ {
664
+ "inputs": [
665
+ {
666
+ "internalType": "bytes32",
667
+ "name": "dataKey",
668
+ "type": "bytes32"
669
+ }
670
+ ],
671
+ "name": "getData",
672
+ "outputs": [
673
+ {
674
+ "internalType": "bytes",
675
+ "name": "dataValue",
676
+ "type": "bytes"
677
+ }
678
+ ],
679
+ "stateMutability": "view",
680
+ "type": "function"
681
+ },
682
+ {
683
+ "inputs": [
684
+ {
685
+ "internalType": "bytes32[]",
686
+ "name": "dataKeys",
687
+ "type": "bytes32[]"
688
+ }
689
+ ],
690
+ "name": "getDataBatch",
691
+ "outputs": [
692
+ {
693
+ "internalType": "bytes[]",
694
+ "name": "dataValues",
695
+ "type": "bytes[]"
696
+ }
697
+ ],
698
+ "stateMutability": "view",
699
+ "type": "function"
700
+ },
701
+ {
702
+ "inputs": [
703
+ {
704
+ "internalType": "address",
705
+ "name": "tokenOwner",
706
+ "type": "address"
707
+ }
708
+ ],
709
+ "name": "getOperatorsOf",
710
+ "outputs": [
711
+ {
712
+ "internalType": "address[]",
713
+ "name": "",
714
+ "type": "address[]"
715
+ }
716
+ ],
717
+ "stateMutability": "view",
718
+ "type": "function"
719
+ },
720
+ {
721
+ "inputs": [
722
+ {
723
+ "internalType": "bytes32",
724
+ "name": "role",
725
+ "type": "bytes32"
726
+ }
727
+ ],
728
+ "name": "getRoleAdmin",
729
+ "outputs": [
730
+ {
731
+ "internalType": "bytes32",
732
+ "name": "",
733
+ "type": "bytes32"
734
+ }
735
+ ],
736
+ "stateMutability": "view",
737
+ "type": "function"
738
+ },
739
+ {
740
+ "inputs": [
741
+ {
742
+ "internalType": "bytes32",
743
+ "name": "role",
744
+ "type": "bytes32"
745
+ },
746
+ {
747
+ "internalType": "uint256",
748
+ "name": "index",
749
+ "type": "uint256"
750
+ }
751
+ ],
752
+ "name": "getRoleMember",
753
+ "outputs": [
754
+ {
755
+ "internalType": "address",
756
+ "name": "",
757
+ "type": "address"
758
+ }
759
+ ],
760
+ "stateMutability": "view",
761
+ "type": "function"
762
+ },
763
+ {
764
+ "inputs": [
765
+ {
766
+ "internalType": "bytes32",
767
+ "name": "role",
768
+ "type": "bytes32"
769
+ }
770
+ ],
771
+ "name": "getRoleMemberCount",
772
+ "outputs": [
773
+ {
774
+ "internalType": "uint256",
775
+ "name": "",
776
+ "type": "uint256"
777
+ }
778
+ ],
779
+ "stateMutability": "view",
780
+ "type": "function"
781
+ },
782
+ {
783
+ "inputs": [
784
+ {
785
+ "internalType": "bytes32",
786
+ "name": "role",
787
+ "type": "bytes32"
788
+ }
789
+ ],
790
+ "name": "getRoleMembers",
791
+ "outputs": [
792
+ {
793
+ "internalType": "address[]",
794
+ "name": "",
795
+ "type": "address[]"
796
+ }
797
+ ],
798
+ "stateMutability": "view",
799
+ "type": "function"
800
+ },
801
+ {
802
+ "inputs": [
803
+ {
804
+ "internalType": "bytes32",
805
+ "name": "role",
806
+ "type": "bytes32"
807
+ },
808
+ {
809
+ "internalType": "address",
810
+ "name": "account",
811
+ "type": "address"
812
+ }
813
+ ],
814
+ "name": "grantRole",
815
+ "outputs": [],
816
+ "stateMutability": "nonpayable",
817
+ "type": "function"
818
+ },
819
+ {
820
+ "inputs": [
821
+ {
822
+ "internalType": "bytes32",
823
+ "name": "role",
824
+ "type": "bytes32"
825
+ },
826
+ {
827
+ "internalType": "address",
828
+ "name": "account",
829
+ "type": "address"
830
+ }
831
+ ],
832
+ "name": "hasRole",
833
+ "outputs": [
834
+ {
835
+ "internalType": "bool",
836
+ "name": "",
837
+ "type": "bool"
838
+ }
839
+ ],
840
+ "stateMutability": "view",
841
+ "type": "function"
842
+ },
843
+ {
844
+ "inputs": [
845
+ {
846
+ "internalType": "address",
847
+ "name": "operator",
848
+ "type": "address"
849
+ },
850
+ {
851
+ "internalType": "uint256",
852
+ "name": "addedAmount",
853
+ "type": "uint256"
854
+ },
855
+ {
856
+ "internalType": "bytes",
857
+ "name": "operatorNotificationData",
858
+ "type": "bytes"
859
+ }
860
+ ],
861
+ "name": "increaseAllowance",
862
+ "outputs": [],
863
+ "stateMutability": "nonpayable",
864
+ "type": "function"
865
+ },
866
+ {
867
+ "inputs": [],
868
+ "name": "owner",
869
+ "outputs": [
870
+ {
871
+ "internalType": "address",
872
+ "name": "",
873
+ "type": "address"
874
+ }
875
+ ],
876
+ "stateMutability": "view",
877
+ "type": "function"
878
+ },
879
+ {
880
+ "inputs": [],
881
+ "name": "renounceOwnership",
882
+ "outputs": [],
883
+ "stateMutability": "nonpayable",
884
+ "type": "function"
885
+ },
886
+ {
887
+ "inputs": [
888
+ {
889
+ "internalType": "bytes32",
890
+ "name": "role",
891
+ "type": "bytes32"
892
+ },
893
+ {
894
+ "internalType": "address",
895
+ "name": "callerConfirmation",
896
+ "type": "address"
897
+ }
898
+ ],
899
+ "name": "renounceRole",
900
+ "outputs": [],
901
+ "stateMutability": "nonpayable",
902
+ "type": "function"
903
+ },
904
+ {
905
+ "inputs": [
906
+ {
907
+ "internalType": "address",
908
+ "name": "operator",
909
+ "type": "address"
910
+ },
911
+ {
912
+ "internalType": "address",
913
+ "name": "tokenOwner",
914
+ "type": "address"
915
+ },
916
+ {
917
+ "internalType": "bool",
918
+ "name": "notify",
919
+ "type": "bool"
920
+ },
921
+ {
922
+ "internalType": "bytes",
923
+ "name": "operatorNotificationData",
924
+ "type": "bytes"
925
+ }
926
+ ],
927
+ "name": "revokeOperator",
928
+ "outputs": [],
929
+ "stateMutability": "nonpayable",
930
+ "type": "function"
931
+ },
932
+ {
933
+ "inputs": [
934
+ {
935
+ "internalType": "bytes32",
936
+ "name": "role",
937
+ "type": "bytes32"
938
+ },
939
+ {
940
+ "internalType": "address",
941
+ "name": "account",
942
+ "type": "address"
943
+ }
944
+ ],
945
+ "name": "revokeRole",
946
+ "outputs": [],
947
+ "stateMutability": "nonpayable",
948
+ "type": "function"
949
+ },
950
+ {
951
+ "inputs": [
952
+ {
953
+ "internalType": "address",
954
+ "name": "account",
955
+ "type": "address"
956
+ }
957
+ ],
958
+ "name": "rolesOf",
959
+ "outputs": [
960
+ {
961
+ "internalType": "bytes32[]",
962
+ "name": "",
963
+ "type": "bytes32[]"
964
+ }
965
+ ],
966
+ "stateMutability": "view",
967
+ "type": "function"
968
+ },
969
+ {
970
+ "inputs": [
971
+ {
972
+ "internalType": "bytes32",
973
+ "name": "dataKey",
974
+ "type": "bytes32"
975
+ },
976
+ {
977
+ "internalType": "bytes",
978
+ "name": "dataValue",
979
+ "type": "bytes"
980
+ }
981
+ ],
982
+ "name": "setData",
983
+ "outputs": [],
984
+ "stateMutability": "payable",
985
+ "type": "function"
986
+ },
987
+ {
988
+ "inputs": [
989
+ {
990
+ "internalType": "bytes32[]",
991
+ "name": "dataKeys",
992
+ "type": "bytes32[]"
993
+ },
994
+ {
995
+ "internalType": "bytes[]",
996
+ "name": "dataValues",
997
+ "type": "bytes[]"
998
+ }
999
+ ],
1000
+ "name": "setDataBatch",
1001
+ "outputs": [],
1002
+ "stateMutability": "payable",
1003
+ "type": "function"
1004
+ },
1005
+ {
1006
+ "inputs": [
1007
+ {
1008
+ "internalType": "bytes32",
1009
+ "name": "role",
1010
+ "type": "bytes32"
1011
+ },
1012
+ {
1013
+ "internalType": "bytes32",
1014
+ "name": "adminRole",
1015
+ "type": "bytes32"
1016
+ }
1017
+ ],
1018
+ "name": "setRoleAdmin",
1019
+ "outputs": [],
1020
+ "stateMutability": "nonpayable",
1021
+ "type": "function"
1022
+ },
1023
+ {
1024
+ "inputs": [
1025
+ {
1026
+ "internalType": "bytes4",
1027
+ "name": "interfaceId",
1028
+ "type": "bytes4"
1029
+ }
1030
+ ],
1031
+ "name": "supportsInterface",
1032
+ "outputs": [
1033
+ {
1034
+ "internalType": "bool",
1035
+ "name": "",
1036
+ "type": "bool"
1037
+ }
1038
+ ],
1039
+ "stateMutability": "view",
1040
+ "type": "function"
1041
+ },
1042
+ {
1043
+ "inputs": [],
1044
+ "name": "tokenBalanceCap",
1045
+ "outputs": [
1046
+ {
1047
+ "internalType": "uint256",
1048
+ "name": "",
1049
+ "type": "uint256"
1050
+ }
1051
+ ],
1052
+ "stateMutability": "view",
1053
+ "type": "function"
1054
+ },
1055
+ {
1056
+ "inputs": [],
1057
+ "name": "totalSupply",
1058
+ "outputs": [
1059
+ {
1060
+ "internalType": "uint256",
1061
+ "name": "",
1062
+ "type": "uint256"
1063
+ }
1064
+ ],
1065
+ "stateMutability": "view",
1066
+ "type": "function"
1067
+ },
1068
+ {
1069
+ "inputs": [
1070
+ {
1071
+ "internalType": "address",
1072
+ "name": "from",
1073
+ "type": "address"
1074
+ },
1075
+ {
1076
+ "internalType": "address",
1077
+ "name": "to",
1078
+ "type": "address"
1079
+ },
1080
+ {
1081
+ "internalType": "uint256",
1082
+ "name": "amount",
1083
+ "type": "uint256"
1084
+ },
1085
+ {
1086
+ "internalType": "bool",
1087
+ "name": "force",
1088
+ "type": "bool"
1089
+ },
1090
+ {
1091
+ "internalType": "bytes",
1092
+ "name": "data",
1093
+ "type": "bytes"
1094
+ }
1095
+ ],
1096
+ "name": "transfer",
1097
+ "outputs": [],
1098
+ "stateMutability": "nonpayable",
1099
+ "type": "function"
1100
+ },
1101
+ {
1102
+ "inputs": [
1103
+ {
1104
+ "internalType": "address[]",
1105
+ "name": "from",
1106
+ "type": "address[]"
1107
+ },
1108
+ {
1109
+ "internalType": "address[]",
1110
+ "name": "to",
1111
+ "type": "address[]"
1112
+ },
1113
+ {
1114
+ "internalType": "uint256[]",
1115
+ "name": "amount",
1116
+ "type": "uint256[]"
1117
+ },
1118
+ {
1119
+ "internalType": "bool[]",
1120
+ "name": "force",
1121
+ "type": "bool[]"
1122
+ },
1123
+ {
1124
+ "internalType": "bytes[]",
1125
+ "name": "data",
1126
+ "type": "bytes[]"
1127
+ }
1128
+ ],
1129
+ "name": "transferBatch",
1130
+ "outputs": [],
1131
+ "stateMutability": "nonpayable",
1132
+ "type": "function"
1133
+ },
1134
+ {
1135
+ "inputs": [
1136
+ {
1137
+ "internalType": "address",
1138
+ "name": "newOwner",
1139
+ "type": "address"
1140
+ }
1141
+ ],
1142
+ "name": "transferOwnership",
1143
+ "outputs": [],
1144
+ "stateMutability": "nonpayable",
1145
+ "type": "function"
1146
+ },
1147
+ {
1148
+ "stateMutability": "payable",
1149
+ "type": "receive"
1150
+ }
1151
+ ],
1152
+ "bytecode": "0x",
1153
+ "deployedBytecode": "0x",
1154
+ "linkReferences": {},
1155
+ "deployedLinkReferences": {},
1156
+ "immutableReferences": {},
1157
+ "inputSourceName": "project/contracts/extensions/LSP7CappedBalance/LSP7CappedBalanceAbstract.sol",
1158
+ "buildInfoId": "solc-0_8_28-02f211569dac97f8d48f774b05c17d2fd78020fb"
1159
+ }