@etherisc/gif-next 0.0.2-b9b3e89 → 0.0.2-d250c72
Sign up to get free protection for your applications and to get access to all the features.
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +1 -1
- package/artifacts/contracts/components/Component.sol/Component.json +7 -7
- package/artifacts/contracts/components/Component.sol/InstanceLinked.dbg.json +1 -1
- package/artifacts/contracts/components/Component.sol/InstanceLinked.json +2 -2
- package/artifacts/contracts/components/IPool.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPool.sol/IPoolComponent.json +6 -6
- package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProduct.sol/IProductComponent.json +8 -8
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +29 -11
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +31 -13
- package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +4 -0
- package/artifacts/contracts/experiment/errors/Require.sol/Require.json +105 -0
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +4 -0
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +105 -0
- package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +4 -0
- package/artifacts/contracts/experiment/inheritance/A.sol/A.json +128 -0
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +4 -0
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +42 -0
- package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +4 -0
- package/artifacts/contracts/experiment/inheritance/B.sol/B.json +76 -0
- package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +4 -0
- package/artifacts/contracts/experiment/inheritance/C.sol/C.json +89 -0
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +4 -0
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +128 -0
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +4 -0
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +37 -0
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +4 -0
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +50 -0
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +4 -0
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +63 -0
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +4 -0
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +10 -0
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +4 -0
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +10 -0
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +60 -60
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +122 -64
- package/artifacts/contracts/instance/access/Access.sol/AccessModule.dbg.json +1 -1
- package/artifacts/contracts/instance/access/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.dbg.json +1 -1
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.dbg.json +1 -1
- package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.dbg.json +1 -1
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.dbg.json +1 -1
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.json +24 -24
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +1 -1
- package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json +48 -6
- package/artifacts/contracts/instance/component/IComponent.sol/IComponent.dbg.json +1 -1
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.dbg.json +1 -1
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.json +6 -6
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +1 -1
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.json +26 -26
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +1 -1
- package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.json +3 -3
- package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +1 -1
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.dbg.json +1 -1
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +1 -1
- package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.json +18 -18
- package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +1 -1
- package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.json +18 -18
- package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.dbg.json +1 -1
- package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.dbg.json +1 -1
- package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.json +10 -10
- package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +1 -1
- package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.json +10 -10
- package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.dbg.json +1 -1
- package/artifacts/contracts/instance/product/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/product/IProductService.sol/IProductService.json +8 -8
- package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.dbg.json +1 -1
- package/artifacts/contracts/instance/product/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/product/ProductService.sol/ProductService.json +54 -12
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +4 -0
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +534 -0
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +4 -0
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +452 -0
- package/artifacts/contracts/registry/IRegistry.sol/IOwnable.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.json +6 -6
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +41 -33
- package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registerable.json +7 -7
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +100 -42
- package/artifacts/contracts/registry/Registry.sol/RegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/RegistryLinked.json +2 -2
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +10 -0
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/NftId.sol/NftIdLib.json +92 -0
- package/contracts/components/Component.sol +3 -3
- package/contracts/components/IProduct.sol +2 -1
- package/contracts/components/Product.sol +5 -4
- package/contracts/experiment/errors/Require.sol +33 -0
- package/contracts/experiment/errors/Revert.sol +39 -0
- package/contracts/experiment/inheritance/A.sol +56 -0
- package/contracts/experiment/inheritance/B.sol +23 -0
- package/contracts/experiment/inheritance/C.sol +28 -0
- package/contracts/experiment/inheritance/IA.sol +18 -0
- package/contracts/experiment/inheritance/IB.sol +9 -0
- package/contracts/experiment/inheritance/IC.sol +11 -0
- package/contracts/experiment/types/TypeA.sol +42 -0
- package/contracts/experiment/types/TypeB.sol +24 -0
- package/contracts/instance/IInstance.sol +3 -3
- package/contracts/instance/Instance.sol +4 -3
- package/contracts/instance/component/ComponentModule.sol +32 -43
- package/contracts/instance/component/IComponent.sol +11 -10
- package/contracts/instance/policy/IPolicy.sol +8 -8
- package/contracts/instance/policy/PolicyModule.sol +12 -11
- package/contracts/instance/pool/IPoolModule.sol +6 -5
- package/contracts/instance/pool/PoolModule.sol +9 -6
- package/contracts/instance/product/IProductService.sol +5 -4
- package/contracts/instance/product/ProductService.sol +14 -11
- package/contracts/registry/ChainNft.sol +173 -0
- package/contracts/registry/IChainNft.sol +18 -0
- package/contracts/registry/IRegistry.sol +16 -12
- package/contracts/registry/Registry.sol +43 -58
- package/contracts/types/ChainId.sol +24 -0
- package/contracts/types/NftId.sol +35 -0
- package/package.json +1 -1
@@ -0,0 +1,452 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "IChainNft",
|
4
|
+
"sourceName": "contracts/registry/IChainNft.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"anonymous": false,
|
8
|
+
"inputs": [
|
9
|
+
{
|
10
|
+
"indexed": true,
|
11
|
+
"internalType": "address",
|
12
|
+
"name": "owner",
|
13
|
+
"type": "address"
|
14
|
+
},
|
15
|
+
{
|
16
|
+
"indexed": true,
|
17
|
+
"internalType": "address",
|
18
|
+
"name": "approved",
|
19
|
+
"type": "address"
|
20
|
+
},
|
21
|
+
{
|
22
|
+
"indexed": true,
|
23
|
+
"internalType": "uint256",
|
24
|
+
"name": "tokenId",
|
25
|
+
"type": "uint256"
|
26
|
+
}
|
27
|
+
],
|
28
|
+
"name": "Approval",
|
29
|
+
"type": "event"
|
30
|
+
},
|
31
|
+
{
|
32
|
+
"anonymous": false,
|
33
|
+
"inputs": [
|
34
|
+
{
|
35
|
+
"indexed": true,
|
36
|
+
"internalType": "address",
|
37
|
+
"name": "owner",
|
38
|
+
"type": "address"
|
39
|
+
},
|
40
|
+
{
|
41
|
+
"indexed": true,
|
42
|
+
"internalType": "address",
|
43
|
+
"name": "operator",
|
44
|
+
"type": "address"
|
45
|
+
},
|
46
|
+
{
|
47
|
+
"indexed": false,
|
48
|
+
"internalType": "bool",
|
49
|
+
"name": "approved",
|
50
|
+
"type": "bool"
|
51
|
+
}
|
52
|
+
],
|
53
|
+
"name": "ApprovalForAll",
|
54
|
+
"type": "event"
|
55
|
+
},
|
56
|
+
{
|
57
|
+
"anonymous": false,
|
58
|
+
"inputs": [
|
59
|
+
{
|
60
|
+
"indexed": true,
|
61
|
+
"internalType": "address",
|
62
|
+
"name": "from",
|
63
|
+
"type": "address"
|
64
|
+
},
|
65
|
+
{
|
66
|
+
"indexed": true,
|
67
|
+
"internalType": "address",
|
68
|
+
"name": "to",
|
69
|
+
"type": "address"
|
70
|
+
},
|
71
|
+
{
|
72
|
+
"indexed": true,
|
73
|
+
"internalType": "uint256",
|
74
|
+
"name": "tokenId",
|
75
|
+
"type": "uint256"
|
76
|
+
}
|
77
|
+
],
|
78
|
+
"name": "Transfer",
|
79
|
+
"type": "event"
|
80
|
+
},
|
81
|
+
{
|
82
|
+
"inputs": [
|
83
|
+
{
|
84
|
+
"internalType": "address",
|
85
|
+
"name": "to",
|
86
|
+
"type": "address"
|
87
|
+
},
|
88
|
+
{
|
89
|
+
"internalType": "uint256",
|
90
|
+
"name": "tokenId",
|
91
|
+
"type": "uint256"
|
92
|
+
}
|
93
|
+
],
|
94
|
+
"name": "approve",
|
95
|
+
"outputs": [],
|
96
|
+
"stateMutability": "nonpayable",
|
97
|
+
"type": "function"
|
98
|
+
},
|
99
|
+
{
|
100
|
+
"inputs": [
|
101
|
+
{
|
102
|
+
"internalType": "address",
|
103
|
+
"name": "owner",
|
104
|
+
"type": "address"
|
105
|
+
}
|
106
|
+
],
|
107
|
+
"name": "balanceOf",
|
108
|
+
"outputs": [
|
109
|
+
{
|
110
|
+
"internalType": "uint256",
|
111
|
+
"name": "balance",
|
112
|
+
"type": "uint256"
|
113
|
+
}
|
114
|
+
],
|
115
|
+
"stateMutability": "view",
|
116
|
+
"type": "function"
|
117
|
+
},
|
118
|
+
{
|
119
|
+
"inputs": [
|
120
|
+
{
|
121
|
+
"internalType": "uint256",
|
122
|
+
"name": "tokenId",
|
123
|
+
"type": "uint256"
|
124
|
+
}
|
125
|
+
],
|
126
|
+
"name": "burn",
|
127
|
+
"outputs": [],
|
128
|
+
"stateMutability": "nonpayable",
|
129
|
+
"type": "function"
|
130
|
+
},
|
131
|
+
{
|
132
|
+
"inputs": [
|
133
|
+
{
|
134
|
+
"internalType": "uint256",
|
135
|
+
"name": "tokenId",
|
136
|
+
"type": "uint256"
|
137
|
+
}
|
138
|
+
],
|
139
|
+
"name": "exists",
|
140
|
+
"outputs": [
|
141
|
+
{
|
142
|
+
"internalType": "bool",
|
143
|
+
"name": "",
|
144
|
+
"type": "bool"
|
145
|
+
}
|
146
|
+
],
|
147
|
+
"stateMutability": "view",
|
148
|
+
"type": "function"
|
149
|
+
},
|
150
|
+
{
|
151
|
+
"inputs": [
|
152
|
+
{
|
153
|
+
"internalType": "uint256",
|
154
|
+
"name": "tokenId",
|
155
|
+
"type": "uint256"
|
156
|
+
}
|
157
|
+
],
|
158
|
+
"name": "getApproved",
|
159
|
+
"outputs": [
|
160
|
+
{
|
161
|
+
"internalType": "address",
|
162
|
+
"name": "operator",
|
163
|
+
"type": "address"
|
164
|
+
}
|
165
|
+
],
|
166
|
+
"stateMutability": "view",
|
167
|
+
"type": "function"
|
168
|
+
},
|
169
|
+
{
|
170
|
+
"inputs": [],
|
171
|
+
"name": "getRegistryAddress",
|
172
|
+
"outputs": [
|
173
|
+
{
|
174
|
+
"internalType": "address",
|
175
|
+
"name": "registry",
|
176
|
+
"type": "address"
|
177
|
+
}
|
178
|
+
],
|
179
|
+
"stateMutability": "view",
|
180
|
+
"type": "function"
|
181
|
+
},
|
182
|
+
{
|
183
|
+
"inputs": [
|
184
|
+
{
|
185
|
+
"internalType": "address",
|
186
|
+
"name": "owner",
|
187
|
+
"type": "address"
|
188
|
+
},
|
189
|
+
{
|
190
|
+
"internalType": "address",
|
191
|
+
"name": "operator",
|
192
|
+
"type": "address"
|
193
|
+
}
|
194
|
+
],
|
195
|
+
"name": "isApprovedForAll",
|
196
|
+
"outputs": [
|
197
|
+
{
|
198
|
+
"internalType": "bool",
|
199
|
+
"name": "",
|
200
|
+
"type": "bool"
|
201
|
+
}
|
202
|
+
],
|
203
|
+
"stateMutability": "view",
|
204
|
+
"type": "function"
|
205
|
+
},
|
206
|
+
{
|
207
|
+
"inputs": [
|
208
|
+
{
|
209
|
+
"internalType": "address",
|
210
|
+
"name": "to",
|
211
|
+
"type": "address"
|
212
|
+
},
|
213
|
+
{
|
214
|
+
"internalType": "string",
|
215
|
+
"name": "uri",
|
216
|
+
"type": "string"
|
217
|
+
}
|
218
|
+
],
|
219
|
+
"name": "mint",
|
220
|
+
"outputs": [
|
221
|
+
{
|
222
|
+
"internalType": "uint256",
|
223
|
+
"name": "tokenId",
|
224
|
+
"type": "uint256"
|
225
|
+
}
|
226
|
+
],
|
227
|
+
"stateMutability": "nonpayable",
|
228
|
+
"type": "function"
|
229
|
+
},
|
230
|
+
{
|
231
|
+
"inputs": [
|
232
|
+
{
|
233
|
+
"internalType": "uint256",
|
234
|
+
"name": "tokenId",
|
235
|
+
"type": "uint256"
|
236
|
+
}
|
237
|
+
],
|
238
|
+
"name": "ownerOf",
|
239
|
+
"outputs": [
|
240
|
+
{
|
241
|
+
"internalType": "address",
|
242
|
+
"name": "owner",
|
243
|
+
"type": "address"
|
244
|
+
}
|
245
|
+
],
|
246
|
+
"stateMutability": "view",
|
247
|
+
"type": "function"
|
248
|
+
},
|
249
|
+
{
|
250
|
+
"inputs": [
|
251
|
+
{
|
252
|
+
"internalType": "address",
|
253
|
+
"name": "from",
|
254
|
+
"type": "address"
|
255
|
+
},
|
256
|
+
{
|
257
|
+
"internalType": "address",
|
258
|
+
"name": "to",
|
259
|
+
"type": "address"
|
260
|
+
},
|
261
|
+
{
|
262
|
+
"internalType": "uint256",
|
263
|
+
"name": "tokenId",
|
264
|
+
"type": "uint256"
|
265
|
+
}
|
266
|
+
],
|
267
|
+
"name": "safeTransferFrom",
|
268
|
+
"outputs": [],
|
269
|
+
"stateMutability": "nonpayable",
|
270
|
+
"type": "function"
|
271
|
+
},
|
272
|
+
{
|
273
|
+
"inputs": [
|
274
|
+
{
|
275
|
+
"internalType": "address",
|
276
|
+
"name": "from",
|
277
|
+
"type": "address"
|
278
|
+
},
|
279
|
+
{
|
280
|
+
"internalType": "address",
|
281
|
+
"name": "to",
|
282
|
+
"type": "address"
|
283
|
+
},
|
284
|
+
{
|
285
|
+
"internalType": "uint256",
|
286
|
+
"name": "tokenId",
|
287
|
+
"type": "uint256"
|
288
|
+
},
|
289
|
+
{
|
290
|
+
"internalType": "bytes",
|
291
|
+
"name": "data",
|
292
|
+
"type": "bytes"
|
293
|
+
}
|
294
|
+
],
|
295
|
+
"name": "safeTransferFrom",
|
296
|
+
"outputs": [],
|
297
|
+
"stateMutability": "nonpayable",
|
298
|
+
"type": "function"
|
299
|
+
},
|
300
|
+
{
|
301
|
+
"inputs": [
|
302
|
+
{
|
303
|
+
"internalType": "address",
|
304
|
+
"name": "operator",
|
305
|
+
"type": "address"
|
306
|
+
},
|
307
|
+
{
|
308
|
+
"internalType": "bool",
|
309
|
+
"name": "approved",
|
310
|
+
"type": "bool"
|
311
|
+
}
|
312
|
+
],
|
313
|
+
"name": "setApprovalForAll",
|
314
|
+
"outputs": [],
|
315
|
+
"stateMutability": "nonpayable",
|
316
|
+
"type": "function"
|
317
|
+
},
|
318
|
+
{
|
319
|
+
"inputs": [
|
320
|
+
{
|
321
|
+
"internalType": "uint256",
|
322
|
+
"name": "tokenId",
|
323
|
+
"type": "uint256"
|
324
|
+
},
|
325
|
+
{
|
326
|
+
"internalType": "string",
|
327
|
+
"name": "uri",
|
328
|
+
"type": "string"
|
329
|
+
}
|
330
|
+
],
|
331
|
+
"name": "setURI",
|
332
|
+
"outputs": [],
|
333
|
+
"stateMutability": "nonpayable",
|
334
|
+
"type": "function"
|
335
|
+
},
|
336
|
+
{
|
337
|
+
"inputs": [
|
338
|
+
{
|
339
|
+
"internalType": "bytes4",
|
340
|
+
"name": "interfaceId",
|
341
|
+
"type": "bytes4"
|
342
|
+
}
|
343
|
+
],
|
344
|
+
"name": "supportsInterface",
|
345
|
+
"outputs": [
|
346
|
+
{
|
347
|
+
"internalType": "bool",
|
348
|
+
"name": "",
|
349
|
+
"type": "bool"
|
350
|
+
}
|
351
|
+
],
|
352
|
+
"stateMutability": "view",
|
353
|
+
"type": "function"
|
354
|
+
},
|
355
|
+
{
|
356
|
+
"inputs": [
|
357
|
+
{
|
358
|
+
"internalType": "uint256",
|
359
|
+
"name": "index",
|
360
|
+
"type": "uint256"
|
361
|
+
}
|
362
|
+
],
|
363
|
+
"name": "tokenByIndex",
|
364
|
+
"outputs": [
|
365
|
+
{
|
366
|
+
"internalType": "uint256",
|
367
|
+
"name": "",
|
368
|
+
"type": "uint256"
|
369
|
+
}
|
370
|
+
],
|
371
|
+
"stateMutability": "view",
|
372
|
+
"type": "function"
|
373
|
+
},
|
374
|
+
{
|
375
|
+
"inputs": [
|
376
|
+
{
|
377
|
+
"internalType": "address",
|
378
|
+
"name": "owner",
|
379
|
+
"type": "address"
|
380
|
+
},
|
381
|
+
{
|
382
|
+
"internalType": "uint256",
|
383
|
+
"name": "index",
|
384
|
+
"type": "uint256"
|
385
|
+
}
|
386
|
+
],
|
387
|
+
"name": "tokenOfOwnerByIndex",
|
388
|
+
"outputs": [
|
389
|
+
{
|
390
|
+
"internalType": "uint256",
|
391
|
+
"name": "",
|
392
|
+
"type": "uint256"
|
393
|
+
}
|
394
|
+
],
|
395
|
+
"stateMutability": "view",
|
396
|
+
"type": "function"
|
397
|
+
},
|
398
|
+
{
|
399
|
+
"inputs": [],
|
400
|
+
"name": "totalMinted",
|
401
|
+
"outputs": [
|
402
|
+
{
|
403
|
+
"internalType": "uint256",
|
404
|
+
"name": "",
|
405
|
+
"type": "uint256"
|
406
|
+
}
|
407
|
+
],
|
408
|
+
"stateMutability": "view",
|
409
|
+
"type": "function"
|
410
|
+
},
|
411
|
+
{
|
412
|
+
"inputs": [],
|
413
|
+
"name": "totalSupply",
|
414
|
+
"outputs": [
|
415
|
+
{
|
416
|
+
"internalType": "uint256",
|
417
|
+
"name": "",
|
418
|
+
"type": "uint256"
|
419
|
+
}
|
420
|
+
],
|
421
|
+
"stateMutability": "view",
|
422
|
+
"type": "function"
|
423
|
+
},
|
424
|
+
{
|
425
|
+
"inputs": [
|
426
|
+
{
|
427
|
+
"internalType": "address",
|
428
|
+
"name": "from",
|
429
|
+
"type": "address"
|
430
|
+
},
|
431
|
+
{
|
432
|
+
"internalType": "address",
|
433
|
+
"name": "to",
|
434
|
+
"type": "address"
|
435
|
+
},
|
436
|
+
{
|
437
|
+
"internalType": "uint256",
|
438
|
+
"name": "tokenId",
|
439
|
+
"type": "uint256"
|
440
|
+
}
|
441
|
+
],
|
442
|
+
"name": "transferFrom",
|
443
|
+
"outputs": [],
|
444
|
+
"stateMutability": "nonpayable",
|
445
|
+
"type": "function"
|
446
|
+
}
|
447
|
+
],
|
448
|
+
"bytecode": "0x",
|
449
|
+
"deployedBytecode": "0x",
|
450
|
+
"linkReferences": {},
|
451
|
+
"deployedLinkReferences": {}
|
452
|
+
}
|
@@ -59,9 +59,9 @@
|
|
59
59
|
"name": "getNftId",
|
60
60
|
"outputs": [
|
61
61
|
{
|
62
|
-
"internalType": "
|
62
|
+
"internalType": "NftId",
|
63
63
|
"name": "nftId",
|
64
|
-
"type": "
|
64
|
+
"type": "uint96"
|
65
65
|
}
|
66
66
|
],
|
67
67
|
"stateMutability": "view",
|
@@ -85,9 +85,9 @@
|
|
85
85
|
"name": "getParentNftId",
|
86
86
|
"outputs": [
|
87
87
|
{
|
88
|
-
"internalType": "
|
88
|
+
"internalType": "NftId",
|
89
89
|
"name": "parentNftId",
|
90
|
-
"type": "
|
90
|
+
"type": "uint96"
|
91
91
|
}
|
92
92
|
],
|
93
93
|
"stateMutability": "view",
|
@@ -150,9 +150,9 @@
|
|
150
150
|
"name": "register",
|
151
151
|
"outputs": [
|
152
152
|
{
|
153
|
-
"internalType": "
|
153
|
+
"internalType": "NftId",
|
154
154
|
"name": "nftId",
|
155
|
-
"type": "
|
155
|
+
"type": "uint96"
|
156
156
|
}
|
157
157
|
],
|
158
158
|
"stateMutability": "nonpayable",
|
@@ -97,9 +97,9 @@
|
|
97
97
|
{
|
98
98
|
"inputs": [
|
99
99
|
{
|
100
|
-
"internalType": "
|
100
|
+
"internalType": "NftId",
|
101
101
|
"name": "nftId",
|
102
|
-
"type": "
|
102
|
+
"type": "uint96"
|
103
103
|
}
|
104
104
|
],
|
105
105
|
"name": "getInfo",
|
@@ -107,14 +107,14 @@
|
|
107
107
|
{
|
108
108
|
"components": [
|
109
109
|
{
|
110
|
-
"internalType": "
|
110
|
+
"internalType": "NftId",
|
111
111
|
"name": "nftId",
|
112
|
-
"type": "
|
112
|
+
"type": "uint96"
|
113
113
|
},
|
114
114
|
{
|
115
|
-
"internalType": "
|
115
|
+
"internalType": "NftId",
|
116
116
|
"name": "parentNftId",
|
117
|
-
"type": "
|
117
|
+
"type": "uint96"
|
118
118
|
},
|
119
119
|
{
|
120
120
|
"internalType": "uint256",
|
@@ -140,6 +140,19 @@
|
|
140
140
|
"stateMutability": "view",
|
141
141
|
"type": "function"
|
142
142
|
},
|
143
|
+
{
|
144
|
+
"inputs": [],
|
145
|
+
"name": "getNftAddress",
|
146
|
+
"outputs": [
|
147
|
+
{
|
148
|
+
"internalType": "address",
|
149
|
+
"name": "nft",
|
150
|
+
"type": "address"
|
151
|
+
}
|
152
|
+
],
|
153
|
+
"stateMutability": "view",
|
154
|
+
"type": "function"
|
155
|
+
},
|
143
156
|
{
|
144
157
|
"inputs": [
|
145
158
|
{
|
@@ -151,8 +164,21 @@
|
|
151
164
|
"name": "getNftId",
|
152
165
|
"outputs": [
|
153
166
|
{
|
154
|
-
"internalType": "
|
167
|
+
"internalType": "NftId",
|
155
168
|
"name": "nftId",
|
169
|
+
"type": "uint96"
|
170
|
+
}
|
171
|
+
],
|
172
|
+
"stateMutability": "view",
|
173
|
+
"type": "function"
|
174
|
+
},
|
175
|
+
{
|
176
|
+
"inputs": [],
|
177
|
+
"name": "getObjectCount",
|
178
|
+
"outputs": [
|
179
|
+
{
|
180
|
+
"internalType": "uint256",
|
181
|
+
"name": "",
|
156
182
|
"type": "uint256"
|
157
183
|
}
|
158
184
|
],
|
@@ -162,9 +188,9 @@
|
|
162
188
|
{
|
163
189
|
"inputs": [
|
164
190
|
{
|
165
|
-
"internalType": "
|
191
|
+
"internalType": "NftId",
|
166
192
|
"name": "nftId",
|
167
|
-
"type": "
|
193
|
+
"type": "uint96"
|
168
194
|
}
|
169
195
|
],
|
170
196
|
"name": "getOwner",
|
@@ -208,9 +234,9 @@
|
|
208
234
|
"name": "register",
|
209
235
|
"outputs": [
|
210
236
|
{
|
211
|
-
"internalType": "
|
237
|
+
"internalType": "NftId",
|
212
238
|
"name": "nftId",
|
213
|
-
"type": "
|
239
|
+
"type": "uint96"
|
214
240
|
}
|
215
241
|
],
|
216
242
|
"stateMutability": "nonpayable",
|
@@ -219,9 +245,9 @@
|
|
219
245
|
{
|
220
246
|
"inputs": [
|
221
247
|
{
|
222
|
-
"internalType": "
|
248
|
+
"internalType": "NftId",
|
223
249
|
"name": "parentNftid",
|
224
|
-
"type": "
|
250
|
+
"type": "uint96"
|
225
251
|
},
|
226
252
|
{
|
227
253
|
"internalType": "uint256",
|
@@ -237,29 +263,11 @@
|
|
237
263
|
"name": "registerObjectForInstance",
|
238
264
|
"outputs": [
|
239
265
|
{
|
240
|
-
"internalType": "
|
241
|
-
"name": "nftId",
|
242
|
-
"type": "uint256"
|
243
|
-
}
|
244
|
-
],
|
245
|
-
"stateMutability": "nonpayable",
|
246
|
-
"type": "function"
|
247
|
-
},
|
248
|
-
{
|
249
|
-
"inputs": [
|
250
|
-
{
|
251
|
-
"internalType": "uint256",
|
266
|
+
"internalType": "NftId",
|
252
267
|
"name": "nftId",
|
253
|
-
"type": "
|
254
|
-
},
|
255
|
-
{
|
256
|
-
"internalType": "address",
|
257
|
-
"name": "newOwner",
|
258
|
-
"type": "address"
|
268
|
+
"type": "uint96"
|
259
269
|
}
|
260
270
|
],
|
261
|
-
"name": "transfer",
|
262
|
-
"outputs": [],
|
263
271
|
"stateMutability": "nonpayable",
|
264
272
|
"type": "function"
|
265
273
|
}
|
@@ -59,9 +59,9 @@
|
|
59
59
|
"name": "getNftId",
|
60
60
|
"outputs": [
|
61
61
|
{
|
62
|
-
"internalType": "
|
63
|
-
"name": "
|
64
|
-
"type": "
|
62
|
+
"internalType": "NftId",
|
63
|
+
"name": "nftId",
|
64
|
+
"type": "uint96"
|
65
65
|
}
|
66
66
|
],
|
67
67
|
"stateMutability": "view",
|
@@ -85,9 +85,9 @@
|
|
85
85
|
"name": "getParentNftId",
|
86
86
|
"outputs": [
|
87
87
|
{
|
88
|
-
"internalType": "
|
88
|
+
"internalType": "NftId",
|
89
89
|
"name": "parentNftId",
|
90
|
-
"type": "
|
90
|
+
"type": "uint96"
|
91
91
|
}
|
92
92
|
],
|
93
93
|
"stateMutability": "view",
|
@@ -150,9 +150,9 @@
|
|
150
150
|
"name": "register",
|
151
151
|
"outputs": [
|
152
152
|
{
|
153
|
-
"internalType": "
|
153
|
+
"internalType": "NftId",
|
154
154
|
"name": "nftId",
|
155
|
-
"type": "
|
155
|
+
"type": "uint96"
|
156
156
|
}
|
157
157
|
],
|
158
158
|
"stateMutability": "nonpayable",
|