@lukso/lsp-smart-contracts 0.6.2 → 0.7.0
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.
- package/README.md +2 -10
- package/artifacts/Create2Factory.json +2 -2
- package/artifacts/LSP0ERC725Account.json +36 -3
- package/artifacts/LSP0ERC725AccountInit.json +36 -29
- package/artifacts/LSP1UniversalReceiverDelegateUP.json +2 -2
- package/artifacts/LSP1UniversalReceiverDelegateVault.json +2 -2
- package/artifacts/LSP4Compatibility.json +6 -0
- package/artifacts/LSP4DigitalAssetMetadata.json +6 -0
- package/artifacts/{LSP4DigitalAssetMetadataInit.json → LSP4DigitalAssetMetadataInitAbstract.json} +8 -51
- package/artifacts/LSP6KeyManager.json +13 -2
- package/artifacts/LSP6KeyManagerInit.json +13 -2
- package/artifacts/LSP7CappedSupply.json +37 -26
- package/artifacts/{LSP7CappedSupplyInit.json → LSP7CappedSupplyInitAbstract.json} +39 -67
- package/artifacts/LSP7CompatibleERC20.json +39 -49
- package/artifacts/LSP7CompatibleERC20InitAbstract.json +717 -0
- package/artifacts/LSP7CompatibleERC20Mintable.json +39 -28
- package/artifacts/LSP7CompatibleERC20MintableInit.json +44 -54
- package/artifacts/LSP7DigitalAsset.json +39 -54
- package/artifacts/LSP7DigitalAssetInitAbstract.json +540 -0
- package/artifacts/LSP7Mintable.json +40 -29
- package/artifacts/LSP7MintableInit.json +40 -55
- package/artifacts/LSP8CappedSupply.json +43 -0
- package/artifacts/{LSP8CappedSupplyInit.json → LSP8CappedSupplyInitAbstract.json} +45 -41
- package/artifacts/LSP8CompatibleERC721.json +88 -23
- package/artifacts/LSP8CompatibleERC721InitAbstract.json +920 -0
- package/artifacts/LSP8CompatibleERC721Mintable.json +88 -2
- package/artifacts/LSP8CompatibleERC721MintableInit.json +93 -28
- package/artifacts/LSP8IdentifiableDigitalAsset.json +45 -23
- package/artifacts/LSP8IdentifiableDigitalAssetInitAbstract.json +628 -0
- package/artifacts/LSP8Mintable.json +45 -2
- package/artifacts/LSP8MintableInit.json +45 -28
- package/artifacts/LSP9Vault.json +36 -3
- package/artifacts/LSP9VaultInit.json +36 -29
- package/artifacts/UniversalFactory.json +2 -2
- package/artifacts/UniversalProfile.json +36 -3
- package/artifacts/UniversalProfileInit.json +36 -29
- package/artifacts/UniversalReceiverAddressStore.json +2 -2
- package/constants.js +73 -14
- package/contracts/Custom/ClaimOwnership.sol +67 -5
- package/contracts/Custom/ERC165Checker.sol +1 -1
- package/contracts/Custom/IClaimOwnership.sol +3 -1
- package/contracts/Factories/UniversalFactory.sol +7 -12
- package/contracts/LSP0ERC725Account/LSP0Constants.sol +1 -1
- package/contracts/LSP0ERC725Account/LSP0ERC725AccountCore.sol +20 -18
- package/contracts/LSP0ERC725Account/LSP0ERC725AccountInitAbstract.sol +1 -1
- package/contracts/LSP10ReceivedVaults/LSP10Constants.sol +2 -2
- package/contracts/LSP1UniversalReceiver/LSP1UniversalReceiverDelegateUP/Handling/TokenAndVaultHandling.sol +1 -4
- package/contracts/LSP1UniversalReceiver/LSP1UniversalReceiverDelegateUP/LSP1UniversalReceiverDelegateUP.sol +2 -8
- package/contracts/LSP1UniversalReceiver/LSP1UniversalReceiverDelegateVault/Handling/TokenHandling.sol +1 -4
- package/contracts/LSP1UniversalReceiver/LSP1UniversalReceiverDelegateVault/LSP1UniversalReceiverDelegateVault.sol +2 -2
- package/contracts/LSP1UniversalReceiver/LSP1Utils.sol +1 -1
- package/contracts/LSP2ERC725YJSONSchema/LSP2Utils.sol +92 -6
- package/contracts/LSP4DigitalAssetMetadata/LSP4DigitalAssetMetadata.sol +15 -6
- package/contracts/LSP4DigitalAssetMetadata/LSP4DigitalAssetMetadataInitAbstract.sol +15 -6
- package/contracts/LSP5ReceivedAssets/LSP5Constants.sol +2 -2
- package/contracts/LSP5ReceivedAssets/LSP5Utils.sol +3 -3
- package/contracts/LSP6KeyManager/ILSP6KeyManager.sol +1 -1
- package/contracts/LSP6KeyManager/LSP6Constants.sol +16 -21
- package/contracts/LSP6KeyManager/LSP6Errors.sol +8 -0
- package/contracts/LSP6KeyManager/LSP6KeyManager.sol +1 -1
- package/contracts/LSP6KeyManager/LSP6KeyManagerCore.sol +103 -84
- package/contracts/LSP6KeyManager/LSP6KeyManagerInit.sol +1 -1
- package/contracts/LSP6KeyManager/LSP6KeyManagerInitAbstract.sol +1 -1
- package/contracts/LSP6KeyManager/LSP6Utils.sol +2 -1
- package/contracts/LSP7DigitalAsset/ILSP7DigitalAsset.sol +18 -5
- package/contracts/LSP7DigitalAsset/LSP7Constants.sol +1 -1
- package/contracts/LSP7DigitalAsset/LSP7DigitalAsset.sol +4 -4
- package/contracts/LSP7DigitalAsset/LSP7DigitalAssetCore.sol +33 -24
- package/contracts/LSP7DigitalAsset/LSP7DigitalAssetInitAbstract.sol +2 -2
- package/contracts/LSP7DigitalAsset/LSP7Errors.sol +2 -0
- package/contracts/LSP7DigitalAsset/extensions/LSP7CappedSupplyCore.sol +1 -1
- package/contracts/LSP7DigitalAsset/extensions/LSP7CompatibleERC20.sol +1 -1
- package/contracts/LSP7DigitalAsset/extensions/LSP7CompatibleERC20Core.sol +5 -6
- package/contracts/LSP7DigitalAsset/presets/LSP7CompatibleERC20MintableInit.sol +7 -0
- package/contracts/LSP7DigitalAsset/presets/LSP7Mintable.sol +9 -7
- package/contracts/LSP7DigitalAsset/presets/LSP7MintableInit.sol +3 -3
- package/contracts/LSP7DigitalAsset/presets/LSP7MintableInitAbstract.sol +8 -7
- package/contracts/LSP8IdentifiableDigitalAsset/ILSP8IdentifiableDigitalAsset.sol +3 -1
- package/contracts/LSP8IdentifiableDigitalAsset/LSP8Constants.sol +4 -4
- package/contracts/LSP8IdentifiableDigitalAsset/LSP8Errors.sol +6 -0
- package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAsset.sol +1 -1
- package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAssetCore.sol +31 -30
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/ILSP8CompatibleERC721.sol +15 -1
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/ILSP8Enumerable.sol +17 -0
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CappedSupplyCore.sol +1 -1
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CompatibleERC721.sol +1 -1
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CompatibleERC721Core.sol +51 -27
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8Enumerable.sol +21 -0
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8EnumerableCore.sol +50 -0
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8EnumerableInitAbstract.sol +24 -0
- package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8CompatibleERC721MintableInit.sol +7 -0
- package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8Mintable.sol +6 -4
- package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8MintableInitAbstract.sol +5 -4
- package/contracts/LSP9Vault/LSP9Constants.sol +4 -1
- package/contracts/LSP9Vault/LSP9VaultCore.sol +117 -46
- package/contracts/LSP9Vault/LSP9VaultInitAbstract.sol +1 -1
- package/contracts/Legacy/UniversalReceiverAddressStore.sol +1 -0
- package/contracts/Utils/GasLib.sol +17 -0
- package/package.json +27 -30
- package/artifacts/LSP7CompatibleERC20Init.json +0 -760
- package/artifacts/LSP7DigitalAssetInit.json +0 -588
- package/artifacts/LSP8CompatibleERC721Init.json +0 -883
- package/artifacts/LSP8IdentifiableDigitalAssetInit.json +0 -639
- package/contracts/LSP4DigitalAssetMetadata/LSP4DigitalAssetMetadataInit.sol +0 -26
- package/contracts/LSP7DigitalAsset/LSP7DigitalAssetInit.sol +0 -39
- package/contracts/LSP7DigitalAsset/extensions/LSP7CappedSupplyInit.sol +0 -19
- package/contracts/LSP7DigitalAsset/extensions/LSP7CompatibleERC20Init.sol +0 -29
- package/contracts/LSP7DigitalAsset/presets/LSP7MintableCore.sol +0 -26
- package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAssetInit.sol +0 -35
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CappedSupplyInit.sol +0 -19
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CompatibleERC721Init.sol +0 -25
- package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8MintableCore.sol +0 -26
|
@@ -0,0 +1,540 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-sol-artifact-1",
|
|
3
|
+
"contractName": "LSP7DigitalAssetInitAbstract",
|
|
4
|
+
"sourceName": "contracts/LSP7DigitalAsset/LSP7DigitalAssetInitAbstract.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [],
|
|
8
|
+
"name": "LSP4TokenNameNotEditable",
|
|
9
|
+
"type": "error"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"inputs": [],
|
|
13
|
+
"name": "LSP4TokenSymbolNotEditable",
|
|
14
|
+
"type": "error"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"inputs": [
|
|
18
|
+
{
|
|
19
|
+
"internalType": "address",
|
|
20
|
+
"name": "tokenOwner",
|
|
21
|
+
"type": "address"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"internalType": "uint256",
|
|
25
|
+
"name": "authorizedAmount",
|
|
26
|
+
"type": "uint256"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"internalType": "address",
|
|
30
|
+
"name": "operator",
|
|
31
|
+
"type": "address"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"internalType": "uint256",
|
|
35
|
+
"name": "amount",
|
|
36
|
+
"type": "uint256"
|
|
37
|
+
}
|
|
38
|
+
],
|
|
39
|
+
"name": "LSP7AmountExceedsAuthorizedAmount",
|
|
40
|
+
"type": "error"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"inputs": [
|
|
44
|
+
{
|
|
45
|
+
"internalType": "uint256",
|
|
46
|
+
"name": "balance",
|
|
47
|
+
"type": "uint256"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"internalType": "address",
|
|
51
|
+
"name": "tokenOwner",
|
|
52
|
+
"type": "address"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"internalType": "uint256",
|
|
56
|
+
"name": "amount",
|
|
57
|
+
"type": "uint256"
|
|
58
|
+
}
|
|
59
|
+
],
|
|
60
|
+
"name": "LSP7AmountExceedsBalance",
|
|
61
|
+
"type": "error"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"inputs": [],
|
|
65
|
+
"name": "LSP7CannotSendToSelf",
|
|
66
|
+
"type": "error"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"inputs": [],
|
|
70
|
+
"name": "LSP7CannotSendWithAddressZero",
|
|
71
|
+
"type": "error"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"inputs": [],
|
|
75
|
+
"name": "LSP7CannotUseAddressZeroAsOperator",
|
|
76
|
+
"type": "error"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"inputs": [],
|
|
80
|
+
"name": "LSP7InvalidTransferBatch",
|
|
81
|
+
"type": "error"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"inputs": [
|
|
85
|
+
{
|
|
86
|
+
"internalType": "address",
|
|
87
|
+
"name": "tokenReceiver",
|
|
88
|
+
"type": "address"
|
|
89
|
+
}
|
|
90
|
+
],
|
|
91
|
+
"name": "LSP7NotifyTokenReceiverContractMissingLSP1Interface",
|
|
92
|
+
"type": "error"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"inputs": [
|
|
96
|
+
{
|
|
97
|
+
"internalType": "address",
|
|
98
|
+
"name": "tokenReceiver",
|
|
99
|
+
"type": "address"
|
|
100
|
+
}
|
|
101
|
+
],
|
|
102
|
+
"name": "LSP7NotifyTokenReceiverIsEOA",
|
|
103
|
+
"type": "error"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"anonymous": false,
|
|
107
|
+
"inputs": [
|
|
108
|
+
{
|
|
109
|
+
"indexed": true,
|
|
110
|
+
"internalType": "address",
|
|
111
|
+
"name": "operator",
|
|
112
|
+
"type": "address"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"indexed": true,
|
|
116
|
+
"internalType": "address",
|
|
117
|
+
"name": "tokenOwner",
|
|
118
|
+
"type": "address"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"indexed": true,
|
|
122
|
+
"internalType": "uint256",
|
|
123
|
+
"name": "amount",
|
|
124
|
+
"type": "uint256"
|
|
125
|
+
}
|
|
126
|
+
],
|
|
127
|
+
"name": "AuthorizedOperator",
|
|
128
|
+
"type": "event"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"anonymous": false,
|
|
132
|
+
"inputs": [
|
|
133
|
+
{
|
|
134
|
+
"indexed": true,
|
|
135
|
+
"internalType": "bytes32",
|
|
136
|
+
"name": "dataKey",
|
|
137
|
+
"type": "bytes32"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"indexed": false,
|
|
141
|
+
"internalType": "bytes",
|
|
142
|
+
"name": "dataValue",
|
|
143
|
+
"type": "bytes"
|
|
144
|
+
}
|
|
145
|
+
],
|
|
146
|
+
"name": "DataChanged",
|
|
147
|
+
"type": "event"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"anonymous": false,
|
|
151
|
+
"inputs": [
|
|
152
|
+
{
|
|
153
|
+
"indexed": false,
|
|
154
|
+
"internalType": "uint8",
|
|
155
|
+
"name": "version",
|
|
156
|
+
"type": "uint8"
|
|
157
|
+
}
|
|
158
|
+
],
|
|
159
|
+
"name": "Initialized",
|
|
160
|
+
"type": "event"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"anonymous": false,
|
|
164
|
+
"inputs": [
|
|
165
|
+
{
|
|
166
|
+
"indexed": true,
|
|
167
|
+
"internalType": "address",
|
|
168
|
+
"name": "previousOwner",
|
|
169
|
+
"type": "address"
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"indexed": true,
|
|
173
|
+
"internalType": "address",
|
|
174
|
+
"name": "newOwner",
|
|
175
|
+
"type": "address"
|
|
176
|
+
}
|
|
177
|
+
],
|
|
178
|
+
"name": "OwnershipTransferred",
|
|
179
|
+
"type": "event"
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"anonymous": false,
|
|
183
|
+
"inputs": [
|
|
184
|
+
{
|
|
185
|
+
"indexed": true,
|
|
186
|
+
"internalType": "address",
|
|
187
|
+
"name": "operator",
|
|
188
|
+
"type": "address"
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"indexed": true,
|
|
192
|
+
"internalType": "address",
|
|
193
|
+
"name": "tokenOwner",
|
|
194
|
+
"type": "address"
|
|
195
|
+
}
|
|
196
|
+
],
|
|
197
|
+
"name": "RevokedOperator",
|
|
198
|
+
"type": "event"
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"anonymous": false,
|
|
202
|
+
"inputs": [
|
|
203
|
+
{
|
|
204
|
+
"indexed": true,
|
|
205
|
+
"internalType": "address",
|
|
206
|
+
"name": "operator",
|
|
207
|
+
"type": "address"
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"indexed": true,
|
|
211
|
+
"internalType": "address",
|
|
212
|
+
"name": "from",
|
|
213
|
+
"type": "address"
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"indexed": true,
|
|
217
|
+
"internalType": "address",
|
|
218
|
+
"name": "to",
|
|
219
|
+
"type": "address"
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"indexed": false,
|
|
223
|
+
"internalType": "uint256",
|
|
224
|
+
"name": "amount",
|
|
225
|
+
"type": "uint256"
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"indexed": false,
|
|
229
|
+
"internalType": "bool",
|
|
230
|
+
"name": "force",
|
|
231
|
+
"type": "bool"
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"indexed": false,
|
|
235
|
+
"internalType": "bytes",
|
|
236
|
+
"name": "data",
|
|
237
|
+
"type": "bytes"
|
|
238
|
+
}
|
|
239
|
+
],
|
|
240
|
+
"name": "Transfer",
|
|
241
|
+
"type": "event"
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"inputs": [
|
|
245
|
+
{
|
|
246
|
+
"internalType": "address",
|
|
247
|
+
"name": "operator",
|
|
248
|
+
"type": "address"
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"internalType": "uint256",
|
|
252
|
+
"name": "amount",
|
|
253
|
+
"type": "uint256"
|
|
254
|
+
}
|
|
255
|
+
],
|
|
256
|
+
"name": "authorizeOperator",
|
|
257
|
+
"outputs": [],
|
|
258
|
+
"stateMutability": "nonpayable",
|
|
259
|
+
"type": "function"
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"inputs": [
|
|
263
|
+
{
|
|
264
|
+
"internalType": "address",
|
|
265
|
+
"name": "operator",
|
|
266
|
+
"type": "address"
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"internalType": "address",
|
|
270
|
+
"name": "tokenOwner",
|
|
271
|
+
"type": "address"
|
|
272
|
+
}
|
|
273
|
+
],
|
|
274
|
+
"name": "authorizedAmountFor",
|
|
275
|
+
"outputs": [
|
|
276
|
+
{
|
|
277
|
+
"internalType": "uint256",
|
|
278
|
+
"name": "",
|
|
279
|
+
"type": "uint256"
|
|
280
|
+
}
|
|
281
|
+
],
|
|
282
|
+
"stateMutability": "view",
|
|
283
|
+
"type": "function"
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
"inputs": [
|
|
287
|
+
{
|
|
288
|
+
"internalType": "address",
|
|
289
|
+
"name": "tokenOwner",
|
|
290
|
+
"type": "address"
|
|
291
|
+
}
|
|
292
|
+
],
|
|
293
|
+
"name": "balanceOf",
|
|
294
|
+
"outputs": [
|
|
295
|
+
{
|
|
296
|
+
"internalType": "uint256",
|
|
297
|
+
"name": "",
|
|
298
|
+
"type": "uint256"
|
|
299
|
+
}
|
|
300
|
+
],
|
|
301
|
+
"stateMutability": "view",
|
|
302
|
+
"type": "function"
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
"inputs": [],
|
|
306
|
+
"name": "decimals",
|
|
307
|
+
"outputs": [
|
|
308
|
+
{
|
|
309
|
+
"internalType": "uint8",
|
|
310
|
+
"name": "",
|
|
311
|
+
"type": "uint8"
|
|
312
|
+
}
|
|
313
|
+
],
|
|
314
|
+
"stateMutability": "view",
|
|
315
|
+
"type": "function"
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
"inputs": [
|
|
319
|
+
{
|
|
320
|
+
"internalType": "bytes32[]",
|
|
321
|
+
"name": "dataKeys",
|
|
322
|
+
"type": "bytes32[]"
|
|
323
|
+
}
|
|
324
|
+
],
|
|
325
|
+
"name": "getData",
|
|
326
|
+
"outputs": [
|
|
327
|
+
{
|
|
328
|
+
"internalType": "bytes[]",
|
|
329
|
+
"name": "dataValues",
|
|
330
|
+
"type": "bytes[]"
|
|
331
|
+
}
|
|
332
|
+
],
|
|
333
|
+
"stateMutability": "view",
|
|
334
|
+
"type": "function"
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
"inputs": [
|
|
338
|
+
{
|
|
339
|
+
"internalType": "bytes32",
|
|
340
|
+
"name": "dataKey",
|
|
341
|
+
"type": "bytes32"
|
|
342
|
+
}
|
|
343
|
+
],
|
|
344
|
+
"name": "getData",
|
|
345
|
+
"outputs": [
|
|
346
|
+
{
|
|
347
|
+
"internalType": "bytes",
|
|
348
|
+
"name": "dataValue",
|
|
349
|
+
"type": "bytes"
|
|
350
|
+
}
|
|
351
|
+
],
|
|
352
|
+
"stateMutability": "view",
|
|
353
|
+
"type": "function"
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
"inputs": [],
|
|
357
|
+
"name": "owner",
|
|
358
|
+
"outputs": [
|
|
359
|
+
{
|
|
360
|
+
"internalType": "address",
|
|
361
|
+
"name": "",
|
|
362
|
+
"type": "address"
|
|
363
|
+
}
|
|
364
|
+
],
|
|
365
|
+
"stateMutability": "view",
|
|
366
|
+
"type": "function"
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
"inputs": [],
|
|
370
|
+
"name": "renounceOwnership",
|
|
371
|
+
"outputs": [],
|
|
372
|
+
"stateMutability": "nonpayable",
|
|
373
|
+
"type": "function"
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
"inputs": [
|
|
377
|
+
{
|
|
378
|
+
"internalType": "address",
|
|
379
|
+
"name": "operator",
|
|
380
|
+
"type": "address"
|
|
381
|
+
}
|
|
382
|
+
],
|
|
383
|
+
"name": "revokeOperator",
|
|
384
|
+
"outputs": [],
|
|
385
|
+
"stateMutability": "nonpayable",
|
|
386
|
+
"type": "function"
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
"inputs": [
|
|
390
|
+
{
|
|
391
|
+
"internalType": "bytes32[]",
|
|
392
|
+
"name": "dataKeys",
|
|
393
|
+
"type": "bytes32[]"
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
"internalType": "bytes[]",
|
|
397
|
+
"name": "dataValues",
|
|
398
|
+
"type": "bytes[]"
|
|
399
|
+
}
|
|
400
|
+
],
|
|
401
|
+
"name": "setData",
|
|
402
|
+
"outputs": [],
|
|
403
|
+
"stateMutability": "nonpayable",
|
|
404
|
+
"type": "function"
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
"inputs": [
|
|
408
|
+
{
|
|
409
|
+
"internalType": "bytes32",
|
|
410
|
+
"name": "dataKey",
|
|
411
|
+
"type": "bytes32"
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
"internalType": "bytes",
|
|
415
|
+
"name": "dataValue",
|
|
416
|
+
"type": "bytes"
|
|
417
|
+
}
|
|
418
|
+
],
|
|
419
|
+
"name": "setData",
|
|
420
|
+
"outputs": [],
|
|
421
|
+
"stateMutability": "nonpayable",
|
|
422
|
+
"type": "function"
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
"inputs": [
|
|
426
|
+
{
|
|
427
|
+
"internalType": "bytes4",
|
|
428
|
+
"name": "interfaceId",
|
|
429
|
+
"type": "bytes4"
|
|
430
|
+
}
|
|
431
|
+
],
|
|
432
|
+
"name": "supportsInterface",
|
|
433
|
+
"outputs": [
|
|
434
|
+
{
|
|
435
|
+
"internalType": "bool",
|
|
436
|
+
"name": "",
|
|
437
|
+
"type": "bool"
|
|
438
|
+
}
|
|
439
|
+
],
|
|
440
|
+
"stateMutability": "view",
|
|
441
|
+
"type": "function"
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
"inputs": [],
|
|
445
|
+
"name": "totalSupply",
|
|
446
|
+
"outputs": [
|
|
447
|
+
{
|
|
448
|
+
"internalType": "uint256",
|
|
449
|
+
"name": "",
|
|
450
|
+
"type": "uint256"
|
|
451
|
+
}
|
|
452
|
+
],
|
|
453
|
+
"stateMutability": "view",
|
|
454
|
+
"type": "function"
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
"inputs": [
|
|
458
|
+
{
|
|
459
|
+
"internalType": "address",
|
|
460
|
+
"name": "from",
|
|
461
|
+
"type": "address"
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
"internalType": "address",
|
|
465
|
+
"name": "to",
|
|
466
|
+
"type": "address"
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
"internalType": "uint256",
|
|
470
|
+
"name": "amount",
|
|
471
|
+
"type": "uint256"
|
|
472
|
+
},
|
|
473
|
+
{
|
|
474
|
+
"internalType": "bool",
|
|
475
|
+
"name": "force",
|
|
476
|
+
"type": "bool"
|
|
477
|
+
},
|
|
478
|
+
{
|
|
479
|
+
"internalType": "bytes",
|
|
480
|
+
"name": "data",
|
|
481
|
+
"type": "bytes"
|
|
482
|
+
}
|
|
483
|
+
],
|
|
484
|
+
"name": "transfer",
|
|
485
|
+
"outputs": [],
|
|
486
|
+
"stateMutability": "nonpayable",
|
|
487
|
+
"type": "function"
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
"inputs": [
|
|
491
|
+
{
|
|
492
|
+
"internalType": "address[]",
|
|
493
|
+
"name": "from",
|
|
494
|
+
"type": "address[]"
|
|
495
|
+
},
|
|
496
|
+
{
|
|
497
|
+
"internalType": "address[]",
|
|
498
|
+
"name": "to",
|
|
499
|
+
"type": "address[]"
|
|
500
|
+
},
|
|
501
|
+
{
|
|
502
|
+
"internalType": "uint256[]",
|
|
503
|
+
"name": "amount",
|
|
504
|
+
"type": "uint256[]"
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
"internalType": "bool",
|
|
508
|
+
"name": "force",
|
|
509
|
+
"type": "bool"
|
|
510
|
+
},
|
|
511
|
+
{
|
|
512
|
+
"internalType": "bytes[]",
|
|
513
|
+
"name": "data",
|
|
514
|
+
"type": "bytes[]"
|
|
515
|
+
}
|
|
516
|
+
],
|
|
517
|
+
"name": "transferBatch",
|
|
518
|
+
"outputs": [],
|
|
519
|
+
"stateMutability": "nonpayable",
|
|
520
|
+
"type": "function"
|
|
521
|
+
},
|
|
522
|
+
{
|
|
523
|
+
"inputs": [
|
|
524
|
+
{
|
|
525
|
+
"internalType": "address",
|
|
526
|
+
"name": "newOwner",
|
|
527
|
+
"type": "address"
|
|
528
|
+
}
|
|
529
|
+
],
|
|
530
|
+
"name": "transferOwnership",
|
|
531
|
+
"outputs": [],
|
|
532
|
+
"stateMutability": "nonpayable",
|
|
533
|
+
"type": "function"
|
|
534
|
+
}
|
|
535
|
+
],
|
|
536
|
+
"bytecode": "0x",
|
|
537
|
+
"deployedBytecode": "0x",
|
|
538
|
+
"linkReferences": {},
|
|
539
|
+
"deployedLinkReferences": {}
|
|
540
|
+
}
|