@lukso/lsp-smart-contracts 0.16.5 → 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 +75 -36
  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,1186 @@
1
+ {
2
+ "_format": "hh3-artifact-1",
3
+ "contractName": "LSP7RevokableAbstract",
4
+ "sourceName": "contracts/extensions/LSP7Revokable/LSP7RevokableAbstract.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": "caller",
157
+ "type": "address"
158
+ },
159
+ {
160
+ "internalType": "address",
161
+ "name": "tokenOwner",
162
+ "type": "address"
163
+ },
164
+ {
165
+ "internalType": "address",
166
+ "name": "operator",
167
+ "type": "address"
168
+ }
169
+ ],
170
+ "name": "LSP7DecreaseAllowanceNotAuthorized",
171
+ "type": "error"
172
+ },
173
+ {
174
+ "inputs": [],
175
+ "name": "LSP7DecreasedAllowanceBelowZero",
176
+ "type": "error"
177
+ },
178
+ {
179
+ "inputs": [],
180
+ "name": "LSP7InvalidTransferBatch",
181
+ "type": "error"
182
+ },
183
+ {
184
+ "inputs": [
185
+ {
186
+ "internalType": "address",
187
+ "name": "tokenReceiver",
188
+ "type": "address"
189
+ }
190
+ ],
191
+ "name": "LSP7NotifyTokenReceiverContractMissingLSP1Interface",
192
+ "type": "error"
193
+ },
194
+ {
195
+ "inputs": [
196
+ {
197
+ "internalType": "address",
198
+ "name": "tokenReceiver",
199
+ "type": "address"
200
+ }
201
+ ],
202
+ "name": "LSP7NotifyTokenReceiverIsEOA",
203
+ "type": "error"
204
+ },
205
+ {
206
+ "inputs": [],
207
+ "name": "LSP7RevokableFeatureDisabled",
208
+ "type": "error"
209
+ },
210
+ {
211
+ "inputs": [
212
+ {
213
+ "internalType": "address",
214
+ "name": "caller",
215
+ "type": "address"
216
+ },
217
+ {
218
+ "internalType": "address",
219
+ "name": "tokenOwner",
220
+ "type": "address"
221
+ },
222
+ {
223
+ "internalType": "address",
224
+ "name": "operator",
225
+ "type": "address"
226
+ }
227
+ ],
228
+ "name": "LSP7RevokeOperatorNotAuthorized",
229
+ "type": "error"
230
+ },
231
+ {
232
+ "inputs": [],
233
+ "name": "LSP7TokenContractCannotHoldValue",
234
+ "type": "error"
235
+ },
236
+ {
237
+ "inputs": [],
238
+ "name": "LSP7TokenOwnerCannotBeOperator",
239
+ "type": "error"
240
+ },
241
+ {
242
+ "inputs": [
243
+ {
244
+ "internalType": "bytes4",
245
+ "name": "functionSelector",
246
+ "type": "bytes4"
247
+ }
248
+ ],
249
+ "name": "NoExtensionFoundForFunctionSelector",
250
+ "type": "error"
251
+ },
252
+ {
253
+ "inputs": [
254
+ {
255
+ "internalType": "address",
256
+ "name": "operator",
257
+ "type": "address"
258
+ }
259
+ ],
260
+ "name": "OperatorAllowanceCannotBeIncreasedFromZero",
261
+ "type": "error"
262
+ },
263
+ {
264
+ "inputs": [],
265
+ "name": "OwnableCannotSetZeroAddressAsOwner",
266
+ "type": "error"
267
+ },
268
+ {
269
+ "anonymous": false,
270
+ "inputs": [
271
+ {
272
+ "indexed": true,
273
+ "internalType": "bytes32",
274
+ "name": "dataKey",
275
+ "type": "bytes32"
276
+ },
277
+ {
278
+ "indexed": false,
279
+ "internalType": "bytes",
280
+ "name": "dataValue",
281
+ "type": "bytes"
282
+ }
283
+ ],
284
+ "name": "DataChanged",
285
+ "type": "event"
286
+ },
287
+ {
288
+ "anonymous": false,
289
+ "inputs": [
290
+ {
291
+ "indexed": true,
292
+ "internalType": "address",
293
+ "name": "operator",
294
+ "type": "address"
295
+ },
296
+ {
297
+ "indexed": true,
298
+ "internalType": "address",
299
+ "name": "tokenOwner",
300
+ "type": "address"
301
+ },
302
+ {
303
+ "indexed": true,
304
+ "internalType": "uint256",
305
+ "name": "amount",
306
+ "type": "uint256"
307
+ },
308
+ {
309
+ "indexed": false,
310
+ "internalType": "bytes",
311
+ "name": "operatorNotificationData",
312
+ "type": "bytes"
313
+ }
314
+ ],
315
+ "name": "OperatorAuthorizationChanged",
316
+ "type": "event"
317
+ },
318
+ {
319
+ "anonymous": false,
320
+ "inputs": [
321
+ {
322
+ "indexed": true,
323
+ "internalType": "address",
324
+ "name": "operator",
325
+ "type": "address"
326
+ },
327
+ {
328
+ "indexed": true,
329
+ "internalType": "address",
330
+ "name": "tokenOwner",
331
+ "type": "address"
332
+ },
333
+ {
334
+ "indexed": true,
335
+ "internalType": "bool",
336
+ "name": "notified",
337
+ "type": "bool"
338
+ },
339
+ {
340
+ "indexed": false,
341
+ "internalType": "bytes",
342
+ "name": "operatorNotificationData",
343
+ "type": "bytes"
344
+ }
345
+ ],
346
+ "name": "OperatorRevoked",
347
+ "type": "event"
348
+ },
349
+ {
350
+ "anonymous": false,
351
+ "inputs": [
352
+ {
353
+ "indexed": true,
354
+ "internalType": "address",
355
+ "name": "previousOwner",
356
+ "type": "address"
357
+ },
358
+ {
359
+ "indexed": true,
360
+ "internalType": "address",
361
+ "name": "newOwner",
362
+ "type": "address"
363
+ }
364
+ ],
365
+ "name": "OwnershipTransferred",
366
+ "type": "event"
367
+ },
368
+ {
369
+ "anonymous": false,
370
+ "inputs": [
371
+ {
372
+ "indexed": true,
373
+ "internalType": "bool",
374
+ "name": "enabled",
375
+ "type": "bool"
376
+ }
377
+ ],
378
+ "name": "RevokableStatusChanged",
379
+ "type": "event"
380
+ },
381
+ {
382
+ "anonymous": false,
383
+ "inputs": [
384
+ {
385
+ "indexed": true,
386
+ "internalType": "bytes32",
387
+ "name": "role",
388
+ "type": "bytes32"
389
+ },
390
+ {
391
+ "indexed": true,
392
+ "internalType": "bytes32",
393
+ "name": "previousAdminRole",
394
+ "type": "bytes32"
395
+ },
396
+ {
397
+ "indexed": true,
398
+ "internalType": "bytes32",
399
+ "name": "newAdminRole",
400
+ "type": "bytes32"
401
+ }
402
+ ],
403
+ "name": "RoleAdminChanged",
404
+ "type": "event"
405
+ },
406
+ {
407
+ "anonymous": false,
408
+ "inputs": [
409
+ {
410
+ "indexed": true,
411
+ "internalType": "bytes32",
412
+ "name": "role",
413
+ "type": "bytes32"
414
+ },
415
+ {
416
+ "indexed": true,
417
+ "internalType": "address",
418
+ "name": "account",
419
+ "type": "address"
420
+ },
421
+ {
422
+ "indexed": true,
423
+ "internalType": "address",
424
+ "name": "sender",
425
+ "type": "address"
426
+ }
427
+ ],
428
+ "name": "RoleGranted",
429
+ "type": "event"
430
+ },
431
+ {
432
+ "anonymous": false,
433
+ "inputs": [
434
+ {
435
+ "indexed": true,
436
+ "internalType": "bytes32",
437
+ "name": "role",
438
+ "type": "bytes32"
439
+ },
440
+ {
441
+ "indexed": true,
442
+ "internalType": "address",
443
+ "name": "account",
444
+ "type": "address"
445
+ },
446
+ {
447
+ "indexed": true,
448
+ "internalType": "address",
449
+ "name": "sender",
450
+ "type": "address"
451
+ }
452
+ ],
453
+ "name": "RoleRevoked",
454
+ "type": "event"
455
+ },
456
+ {
457
+ "anonymous": false,
458
+ "inputs": [
459
+ {
460
+ "indexed": true,
461
+ "internalType": "address",
462
+ "name": "operator",
463
+ "type": "address"
464
+ },
465
+ {
466
+ "indexed": true,
467
+ "internalType": "address",
468
+ "name": "from",
469
+ "type": "address"
470
+ },
471
+ {
472
+ "indexed": true,
473
+ "internalType": "address",
474
+ "name": "to",
475
+ "type": "address"
476
+ },
477
+ {
478
+ "indexed": false,
479
+ "internalType": "uint256",
480
+ "name": "amount",
481
+ "type": "uint256"
482
+ },
483
+ {
484
+ "indexed": false,
485
+ "internalType": "bool",
486
+ "name": "force",
487
+ "type": "bool"
488
+ },
489
+ {
490
+ "indexed": false,
491
+ "internalType": "bytes",
492
+ "name": "data",
493
+ "type": "bytes"
494
+ }
495
+ ],
496
+ "name": "Transfer",
497
+ "type": "event"
498
+ },
499
+ {
500
+ "stateMutability": "payable",
501
+ "type": "fallback"
502
+ },
503
+ {
504
+ "inputs": [],
505
+ "name": "DEFAULT_ADMIN_ROLE",
506
+ "outputs": [
507
+ {
508
+ "internalType": "bytes32",
509
+ "name": "",
510
+ "type": "bytes32"
511
+ }
512
+ ],
513
+ "stateMutability": "view",
514
+ "type": "function"
515
+ },
516
+ {
517
+ "inputs": [],
518
+ "name": "REVOKER_ROLE",
519
+ "outputs": [
520
+ {
521
+ "internalType": "bytes32",
522
+ "name": "",
523
+ "type": "bytes32"
524
+ }
525
+ ],
526
+ "stateMutability": "view",
527
+ "type": "function"
528
+ },
529
+ {
530
+ "inputs": [
531
+ {
532
+ "internalType": "address",
533
+ "name": "operator",
534
+ "type": "address"
535
+ },
536
+ {
537
+ "internalType": "uint256",
538
+ "name": "amount",
539
+ "type": "uint256"
540
+ },
541
+ {
542
+ "internalType": "bytes",
543
+ "name": "operatorNotificationData",
544
+ "type": "bytes"
545
+ }
546
+ ],
547
+ "name": "authorizeOperator",
548
+ "outputs": [],
549
+ "stateMutability": "nonpayable",
550
+ "type": "function"
551
+ },
552
+ {
553
+ "inputs": [
554
+ {
555
+ "internalType": "address",
556
+ "name": "operator",
557
+ "type": "address"
558
+ },
559
+ {
560
+ "internalType": "address",
561
+ "name": "tokenOwner",
562
+ "type": "address"
563
+ }
564
+ ],
565
+ "name": "authorizedAmountFor",
566
+ "outputs": [
567
+ {
568
+ "internalType": "uint256",
569
+ "name": "",
570
+ "type": "uint256"
571
+ }
572
+ ],
573
+ "stateMutability": "view",
574
+ "type": "function"
575
+ },
576
+ {
577
+ "inputs": [
578
+ {
579
+ "internalType": "address",
580
+ "name": "tokenOwner",
581
+ "type": "address"
582
+ }
583
+ ],
584
+ "name": "balanceOf",
585
+ "outputs": [
586
+ {
587
+ "internalType": "uint256",
588
+ "name": "",
589
+ "type": "uint256"
590
+ }
591
+ ],
592
+ "stateMutability": "view",
593
+ "type": "function"
594
+ },
595
+ {
596
+ "inputs": [
597
+ {
598
+ "internalType": "bytes[]",
599
+ "name": "data",
600
+ "type": "bytes[]"
601
+ }
602
+ ],
603
+ "name": "batchCalls",
604
+ "outputs": [
605
+ {
606
+ "internalType": "bytes[]",
607
+ "name": "results",
608
+ "type": "bytes[]"
609
+ }
610
+ ],
611
+ "stateMutability": "nonpayable",
612
+ "type": "function"
613
+ },
614
+ {
615
+ "inputs": [],
616
+ "name": "decimals",
617
+ "outputs": [
618
+ {
619
+ "internalType": "uint8",
620
+ "name": "",
621
+ "type": "uint8"
622
+ }
623
+ ],
624
+ "stateMutability": "view",
625
+ "type": "function"
626
+ },
627
+ {
628
+ "inputs": [
629
+ {
630
+ "internalType": "address",
631
+ "name": "operator",
632
+ "type": "address"
633
+ },
634
+ {
635
+ "internalType": "address",
636
+ "name": "tokenOwner",
637
+ "type": "address"
638
+ },
639
+ {
640
+ "internalType": "uint256",
641
+ "name": "subtractedAmount",
642
+ "type": "uint256"
643
+ },
644
+ {
645
+ "internalType": "bytes",
646
+ "name": "operatorNotificationData",
647
+ "type": "bytes"
648
+ }
649
+ ],
650
+ "name": "decreaseAllowance",
651
+ "outputs": [],
652
+ "stateMutability": "nonpayable",
653
+ "type": "function"
654
+ },
655
+ {
656
+ "inputs": [],
657
+ "name": "disableRevokable",
658
+ "outputs": [],
659
+ "stateMutability": "nonpayable",
660
+ "type": "function"
661
+ },
662
+ {
663
+ "inputs": [
664
+ {
665
+ "internalType": "bytes32",
666
+ "name": "dataKey",
667
+ "type": "bytes32"
668
+ }
669
+ ],
670
+ "name": "getData",
671
+ "outputs": [
672
+ {
673
+ "internalType": "bytes",
674
+ "name": "dataValue",
675
+ "type": "bytes"
676
+ }
677
+ ],
678
+ "stateMutability": "view",
679
+ "type": "function"
680
+ },
681
+ {
682
+ "inputs": [
683
+ {
684
+ "internalType": "bytes32[]",
685
+ "name": "dataKeys",
686
+ "type": "bytes32[]"
687
+ }
688
+ ],
689
+ "name": "getDataBatch",
690
+ "outputs": [
691
+ {
692
+ "internalType": "bytes[]",
693
+ "name": "dataValues",
694
+ "type": "bytes[]"
695
+ }
696
+ ],
697
+ "stateMutability": "view",
698
+ "type": "function"
699
+ },
700
+ {
701
+ "inputs": [
702
+ {
703
+ "internalType": "address",
704
+ "name": "tokenOwner",
705
+ "type": "address"
706
+ }
707
+ ],
708
+ "name": "getOperatorsOf",
709
+ "outputs": [
710
+ {
711
+ "internalType": "address[]",
712
+ "name": "",
713
+ "type": "address[]"
714
+ }
715
+ ],
716
+ "stateMutability": "view",
717
+ "type": "function"
718
+ },
719
+ {
720
+ "inputs": [
721
+ {
722
+ "internalType": "bytes32",
723
+ "name": "role",
724
+ "type": "bytes32"
725
+ }
726
+ ],
727
+ "name": "getRoleAdmin",
728
+ "outputs": [
729
+ {
730
+ "internalType": "bytes32",
731
+ "name": "",
732
+ "type": "bytes32"
733
+ }
734
+ ],
735
+ "stateMutability": "view",
736
+ "type": "function"
737
+ },
738
+ {
739
+ "inputs": [
740
+ {
741
+ "internalType": "bytes32",
742
+ "name": "role",
743
+ "type": "bytes32"
744
+ },
745
+ {
746
+ "internalType": "uint256",
747
+ "name": "index",
748
+ "type": "uint256"
749
+ }
750
+ ],
751
+ "name": "getRoleMember",
752
+ "outputs": [
753
+ {
754
+ "internalType": "address",
755
+ "name": "",
756
+ "type": "address"
757
+ }
758
+ ],
759
+ "stateMutability": "view",
760
+ "type": "function"
761
+ },
762
+ {
763
+ "inputs": [
764
+ {
765
+ "internalType": "bytes32",
766
+ "name": "role",
767
+ "type": "bytes32"
768
+ }
769
+ ],
770
+ "name": "getRoleMemberCount",
771
+ "outputs": [
772
+ {
773
+ "internalType": "uint256",
774
+ "name": "",
775
+ "type": "uint256"
776
+ }
777
+ ],
778
+ "stateMutability": "view",
779
+ "type": "function"
780
+ },
781
+ {
782
+ "inputs": [
783
+ {
784
+ "internalType": "bytes32",
785
+ "name": "role",
786
+ "type": "bytes32"
787
+ }
788
+ ],
789
+ "name": "getRoleMembers",
790
+ "outputs": [
791
+ {
792
+ "internalType": "address[]",
793
+ "name": "",
794
+ "type": "address[]"
795
+ }
796
+ ],
797
+ "stateMutability": "view",
798
+ "type": "function"
799
+ },
800
+ {
801
+ "inputs": [
802
+ {
803
+ "internalType": "bytes32",
804
+ "name": "role",
805
+ "type": "bytes32"
806
+ },
807
+ {
808
+ "internalType": "address",
809
+ "name": "account",
810
+ "type": "address"
811
+ }
812
+ ],
813
+ "name": "grantRole",
814
+ "outputs": [],
815
+ "stateMutability": "nonpayable",
816
+ "type": "function"
817
+ },
818
+ {
819
+ "inputs": [
820
+ {
821
+ "internalType": "bytes32",
822
+ "name": "role",
823
+ "type": "bytes32"
824
+ },
825
+ {
826
+ "internalType": "address",
827
+ "name": "account",
828
+ "type": "address"
829
+ }
830
+ ],
831
+ "name": "hasRole",
832
+ "outputs": [
833
+ {
834
+ "internalType": "bool",
835
+ "name": "",
836
+ "type": "bool"
837
+ }
838
+ ],
839
+ "stateMutability": "view",
840
+ "type": "function"
841
+ },
842
+ {
843
+ "inputs": [
844
+ {
845
+ "internalType": "address",
846
+ "name": "operator",
847
+ "type": "address"
848
+ },
849
+ {
850
+ "internalType": "uint256",
851
+ "name": "addedAmount",
852
+ "type": "uint256"
853
+ },
854
+ {
855
+ "internalType": "bytes",
856
+ "name": "operatorNotificationData",
857
+ "type": "bytes"
858
+ }
859
+ ],
860
+ "name": "increaseAllowance",
861
+ "outputs": [],
862
+ "stateMutability": "nonpayable",
863
+ "type": "function"
864
+ },
865
+ {
866
+ "inputs": [],
867
+ "name": "isRevokable",
868
+ "outputs": [
869
+ {
870
+ "internalType": "bool",
871
+ "name": "",
872
+ "type": "bool"
873
+ }
874
+ ],
875
+ "stateMutability": "view",
876
+ "type": "function"
877
+ },
878
+ {
879
+ "inputs": [],
880
+ "name": "owner",
881
+ "outputs": [
882
+ {
883
+ "internalType": "address",
884
+ "name": "",
885
+ "type": "address"
886
+ }
887
+ ],
888
+ "stateMutability": "view",
889
+ "type": "function"
890
+ },
891
+ {
892
+ "inputs": [],
893
+ "name": "renounceOwnership",
894
+ "outputs": [],
895
+ "stateMutability": "nonpayable",
896
+ "type": "function"
897
+ },
898
+ {
899
+ "inputs": [
900
+ {
901
+ "internalType": "bytes32",
902
+ "name": "role",
903
+ "type": "bytes32"
904
+ },
905
+ {
906
+ "internalType": "address",
907
+ "name": "callerConfirmation",
908
+ "type": "address"
909
+ }
910
+ ],
911
+ "name": "renounceRole",
912
+ "outputs": [],
913
+ "stateMutability": "nonpayable",
914
+ "type": "function"
915
+ },
916
+ {
917
+ "inputs": [
918
+ {
919
+ "internalType": "address",
920
+ "name": "from",
921
+ "type": "address"
922
+ },
923
+ {
924
+ "internalType": "address",
925
+ "name": "to",
926
+ "type": "address"
927
+ },
928
+ {
929
+ "internalType": "uint256",
930
+ "name": "amount",
931
+ "type": "uint256"
932
+ },
933
+ {
934
+ "internalType": "bytes",
935
+ "name": "data",
936
+ "type": "bytes"
937
+ }
938
+ ],
939
+ "name": "revoke",
940
+ "outputs": [],
941
+ "stateMutability": "nonpayable",
942
+ "type": "function"
943
+ },
944
+ {
945
+ "inputs": [
946
+ {
947
+ "internalType": "address",
948
+ "name": "operator",
949
+ "type": "address"
950
+ },
951
+ {
952
+ "internalType": "address",
953
+ "name": "tokenOwner",
954
+ "type": "address"
955
+ },
956
+ {
957
+ "internalType": "bool",
958
+ "name": "notify",
959
+ "type": "bool"
960
+ },
961
+ {
962
+ "internalType": "bytes",
963
+ "name": "operatorNotificationData",
964
+ "type": "bytes"
965
+ }
966
+ ],
967
+ "name": "revokeOperator",
968
+ "outputs": [],
969
+ "stateMutability": "nonpayable",
970
+ "type": "function"
971
+ },
972
+ {
973
+ "inputs": [
974
+ {
975
+ "internalType": "bytes32",
976
+ "name": "role",
977
+ "type": "bytes32"
978
+ },
979
+ {
980
+ "internalType": "address",
981
+ "name": "account",
982
+ "type": "address"
983
+ }
984
+ ],
985
+ "name": "revokeRole",
986
+ "outputs": [],
987
+ "stateMutability": "nonpayable",
988
+ "type": "function"
989
+ },
990
+ {
991
+ "inputs": [
992
+ {
993
+ "internalType": "address",
994
+ "name": "account",
995
+ "type": "address"
996
+ }
997
+ ],
998
+ "name": "rolesOf",
999
+ "outputs": [
1000
+ {
1001
+ "internalType": "bytes32[]",
1002
+ "name": "",
1003
+ "type": "bytes32[]"
1004
+ }
1005
+ ],
1006
+ "stateMutability": "view",
1007
+ "type": "function"
1008
+ },
1009
+ {
1010
+ "inputs": [
1011
+ {
1012
+ "internalType": "bytes32",
1013
+ "name": "dataKey",
1014
+ "type": "bytes32"
1015
+ },
1016
+ {
1017
+ "internalType": "bytes",
1018
+ "name": "dataValue",
1019
+ "type": "bytes"
1020
+ }
1021
+ ],
1022
+ "name": "setData",
1023
+ "outputs": [],
1024
+ "stateMutability": "payable",
1025
+ "type": "function"
1026
+ },
1027
+ {
1028
+ "inputs": [
1029
+ {
1030
+ "internalType": "bytes32[]",
1031
+ "name": "dataKeys",
1032
+ "type": "bytes32[]"
1033
+ },
1034
+ {
1035
+ "internalType": "bytes[]",
1036
+ "name": "dataValues",
1037
+ "type": "bytes[]"
1038
+ }
1039
+ ],
1040
+ "name": "setDataBatch",
1041
+ "outputs": [],
1042
+ "stateMutability": "payable",
1043
+ "type": "function"
1044
+ },
1045
+ {
1046
+ "inputs": [
1047
+ {
1048
+ "internalType": "bytes32",
1049
+ "name": "role",
1050
+ "type": "bytes32"
1051
+ },
1052
+ {
1053
+ "internalType": "bytes32",
1054
+ "name": "adminRole",
1055
+ "type": "bytes32"
1056
+ }
1057
+ ],
1058
+ "name": "setRoleAdmin",
1059
+ "outputs": [],
1060
+ "stateMutability": "nonpayable",
1061
+ "type": "function"
1062
+ },
1063
+ {
1064
+ "inputs": [
1065
+ {
1066
+ "internalType": "bytes4",
1067
+ "name": "interfaceId",
1068
+ "type": "bytes4"
1069
+ }
1070
+ ],
1071
+ "name": "supportsInterface",
1072
+ "outputs": [
1073
+ {
1074
+ "internalType": "bool",
1075
+ "name": "",
1076
+ "type": "bool"
1077
+ }
1078
+ ],
1079
+ "stateMutability": "view",
1080
+ "type": "function"
1081
+ },
1082
+ {
1083
+ "inputs": [],
1084
+ "name": "totalSupply",
1085
+ "outputs": [
1086
+ {
1087
+ "internalType": "uint256",
1088
+ "name": "",
1089
+ "type": "uint256"
1090
+ }
1091
+ ],
1092
+ "stateMutability": "view",
1093
+ "type": "function"
1094
+ },
1095
+ {
1096
+ "inputs": [
1097
+ {
1098
+ "internalType": "address",
1099
+ "name": "from",
1100
+ "type": "address"
1101
+ },
1102
+ {
1103
+ "internalType": "address",
1104
+ "name": "to",
1105
+ "type": "address"
1106
+ },
1107
+ {
1108
+ "internalType": "uint256",
1109
+ "name": "amount",
1110
+ "type": "uint256"
1111
+ },
1112
+ {
1113
+ "internalType": "bool",
1114
+ "name": "force",
1115
+ "type": "bool"
1116
+ },
1117
+ {
1118
+ "internalType": "bytes",
1119
+ "name": "data",
1120
+ "type": "bytes"
1121
+ }
1122
+ ],
1123
+ "name": "transfer",
1124
+ "outputs": [],
1125
+ "stateMutability": "nonpayable",
1126
+ "type": "function"
1127
+ },
1128
+ {
1129
+ "inputs": [
1130
+ {
1131
+ "internalType": "address[]",
1132
+ "name": "from",
1133
+ "type": "address[]"
1134
+ },
1135
+ {
1136
+ "internalType": "address[]",
1137
+ "name": "to",
1138
+ "type": "address[]"
1139
+ },
1140
+ {
1141
+ "internalType": "uint256[]",
1142
+ "name": "amount",
1143
+ "type": "uint256[]"
1144
+ },
1145
+ {
1146
+ "internalType": "bool[]",
1147
+ "name": "force",
1148
+ "type": "bool[]"
1149
+ },
1150
+ {
1151
+ "internalType": "bytes[]",
1152
+ "name": "data",
1153
+ "type": "bytes[]"
1154
+ }
1155
+ ],
1156
+ "name": "transferBatch",
1157
+ "outputs": [],
1158
+ "stateMutability": "nonpayable",
1159
+ "type": "function"
1160
+ },
1161
+ {
1162
+ "inputs": [
1163
+ {
1164
+ "internalType": "address",
1165
+ "name": "newOwner",
1166
+ "type": "address"
1167
+ }
1168
+ ],
1169
+ "name": "transferOwnership",
1170
+ "outputs": [],
1171
+ "stateMutability": "nonpayable",
1172
+ "type": "function"
1173
+ },
1174
+ {
1175
+ "stateMutability": "payable",
1176
+ "type": "receive"
1177
+ }
1178
+ ],
1179
+ "bytecode": "0x",
1180
+ "deployedBytecode": "0x",
1181
+ "linkReferences": {},
1182
+ "deployedLinkReferences": {},
1183
+ "immutableReferences": {},
1184
+ "inputSourceName": "project/contracts/extensions/LSP7Revokable/LSP7RevokableAbstract.sol",
1185
+ "buildInfoId": "solc-0_8_28-02f211569dac97f8d48f774b05c17d2fd78020fb"
1186
+ }