@etherisc/gif-next 0.0.2-e6a90b9 → 0.0.2-eb7397c
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 +1 -1
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
- 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 +1 -1
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +1 -1
- 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 +16 -16
- 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 +62 -20
- 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/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +174 -0
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +2 -2
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/NftId.sol/NftIdLib.json +85 -3
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +4 -0
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +174 -0
- package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +4 -0
- package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +440 -0
- package/contracts/components/Component.sol +3 -3
- package/contracts/components/IProduct.sol +2 -1
- package/contracts/components/Product.sol +5 -4
- package/contracts/instance/Instance.sol +4 -3
- package/contracts/instance/component/ComponentModule.sol +31 -29
- 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/IRegistry.sol +13 -11
- package/contracts/registry/Registry.sol +27 -21
- package/contracts/types/Blocknumber.sol +60 -0
- package/contracts/types/ChainId.sol +7 -1
- package/contracts/types/NftId.sol +12 -2
- package/contracts/types/Timestamp.sol +55 -0
- package/contracts/types/UFixed.sol +207 -0
- package/package.json +1 -1
@@ -70,9 +70,9 @@
|
|
70
70
|
{
|
71
71
|
"inputs": [
|
72
72
|
{
|
73
|
-
"internalType": "
|
73
|
+
"internalType": "NftId",
|
74
74
|
"name": "nftId",
|
75
|
-
"type": "
|
75
|
+
"type": "uint96"
|
76
76
|
}
|
77
77
|
],
|
78
78
|
"name": "activate",
|
@@ -98,14 +98,14 @@
|
|
98
98
|
{
|
99
99
|
"components": [
|
100
100
|
{
|
101
|
-
"internalType": "
|
101
|
+
"internalType": "NftId",
|
102
102
|
"name": "nftId",
|
103
|
-
"type": "
|
103
|
+
"type": "uint96"
|
104
104
|
},
|
105
105
|
{
|
106
|
-
"internalType": "
|
106
|
+
"internalType": "NftId",
|
107
107
|
"name": "parentNftId",
|
108
|
-
"type": "
|
108
|
+
"type": "uint96"
|
109
109
|
},
|
110
110
|
{
|
111
111
|
"internalType": "uint256",
|
@@ -148,17 +148,17 @@
|
|
148
148
|
"type": "uint256"
|
149
149
|
},
|
150
150
|
{
|
151
|
-
"internalType": "
|
151
|
+
"internalType": "NftId",
|
152
152
|
"name": "bundleNftId",
|
153
|
-
"type": "
|
153
|
+
"type": "uint96"
|
154
154
|
}
|
155
155
|
],
|
156
156
|
"name": "createApplication",
|
157
157
|
"outputs": [
|
158
158
|
{
|
159
|
-
"internalType": "
|
159
|
+
"internalType": "NftId",
|
160
160
|
"name": "nftId",
|
161
|
-
"type": "
|
161
|
+
"type": "uint96"
|
162
162
|
}
|
163
163
|
],
|
164
164
|
"stateMutability": "nonpayable",
|
@@ -167,9 +167,9 @@
|
|
167
167
|
{
|
168
168
|
"inputs": [
|
169
169
|
{
|
170
|
-
"internalType": "
|
170
|
+
"internalType": "NftId",
|
171
171
|
"name": "nftId",
|
172
|
-
"type": "
|
172
|
+
"type": "uint96"
|
173
173
|
},
|
174
174
|
{
|
175
175
|
"internalType": "address",
|
@@ -235,17 +235,17 @@
|
|
235
235
|
{
|
236
236
|
"inputs": [
|
237
237
|
{
|
238
|
-
"internalType": "
|
238
|
+
"internalType": "NftId",
|
239
239
|
"name": "nftId",
|
240
|
-
"type": "
|
240
|
+
"type": "uint96"
|
241
241
|
}
|
242
242
|
],
|
243
243
|
"name": "getBundleNftForPolicy",
|
244
244
|
"outputs": [
|
245
245
|
{
|
246
|
-
"internalType": "
|
246
|
+
"internalType": "NftId",
|
247
247
|
"name": "bundleNft",
|
248
|
-
"type": "
|
248
|
+
"type": "uint96"
|
249
249
|
}
|
250
250
|
],
|
251
251
|
"stateMutability": "view",
|
@@ -262,9 +262,9 @@
|
|
262
262
|
"name": "getComponentId",
|
263
263
|
"outputs": [
|
264
264
|
{
|
265
|
-
"internalType": "
|
266
|
-
"name": "
|
267
|
-
"type": "
|
265
|
+
"internalType": "NftId",
|
266
|
+
"name": "nftId",
|
267
|
+
"type": "uint96"
|
268
268
|
}
|
269
269
|
],
|
270
270
|
"stateMutability": "view",
|
@@ -281,9 +281,9 @@
|
|
281
281
|
"name": "getComponentId",
|
282
282
|
"outputs": [
|
283
283
|
{
|
284
|
-
"internalType": "
|
285
|
-
"name": "
|
286
|
-
"type": "
|
284
|
+
"internalType": "NftId",
|
285
|
+
"name": "nftId",
|
286
|
+
"type": "uint96"
|
287
287
|
}
|
288
288
|
],
|
289
289
|
"stateMutability": "view",
|
@@ -292,9 +292,9 @@
|
|
292
292
|
{
|
293
293
|
"inputs": [
|
294
294
|
{
|
295
|
-
"internalType": "
|
296
|
-
"name": "
|
297
|
-
"type": "
|
295
|
+
"internalType": "NftId",
|
296
|
+
"name": "nftId",
|
297
|
+
"type": "uint96"
|
298
298
|
}
|
299
299
|
],
|
300
300
|
"name": "getComponentInfo",
|
@@ -302,9 +302,9 @@
|
|
302
302
|
{
|
303
303
|
"components": [
|
304
304
|
{
|
305
|
-
"internalType": "
|
305
|
+
"internalType": "NftId",
|
306
306
|
"name": "nftId",
|
307
|
-
"type": "
|
307
|
+
"type": "uint96"
|
308
308
|
},
|
309
309
|
{
|
310
310
|
"internalType": "enum IComponent.CState",
|
@@ -323,9 +323,9 @@
|
|
323
323
|
{
|
324
324
|
"inputs": [
|
325
325
|
{
|
326
|
-
"internalType": "
|
327
|
-
"name": "
|
328
|
-
"type": "
|
326
|
+
"internalType": "NftId",
|
327
|
+
"name": "nftId",
|
328
|
+
"type": "uint96"
|
329
329
|
}
|
330
330
|
],
|
331
331
|
"name": "getComponentOwner",
|
@@ -383,9 +383,9 @@
|
|
383
383
|
"name": "getNftId",
|
384
384
|
"outputs": [
|
385
385
|
{
|
386
|
-
"internalType": "
|
386
|
+
"internalType": "NftId",
|
387
387
|
"name": "nftId",
|
388
|
-
"type": "
|
388
|
+
"type": "uint96"
|
389
389
|
}
|
390
390
|
],
|
391
391
|
"stateMutability": "view",
|
@@ -409,9 +409,9 @@
|
|
409
409
|
"name": "getParentNftId",
|
410
410
|
"outputs": [
|
411
411
|
{
|
412
|
-
"internalType": "
|
412
|
+
"internalType": "NftId",
|
413
413
|
"name": "parentNftId",
|
414
|
-
"type": "
|
414
|
+
"type": "uint96"
|
415
415
|
}
|
416
416
|
],
|
417
417
|
"stateMutability": "view",
|
@@ -420,9 +420,9 @@
|
|
420
420
|
{
|
421
421
|
"inputs": [
|
422
422
|
{
|
423
|
-
"internalType": "
|
423
|
+
"internalType": "NftId",
|
424
424
|
"name": "nftId",
|
425
|
-
"type": "
|
425
|
+
"type": "uint96"
|
426
426
|
}
|
427
427
|
],
|
428
428
|
"name": "getPolicyInfo",
|
@@ -430,9 +430,9 @@
|
|
430
430
|
{
|
431
431
|
"components": [
|
432
432
|
{
|
433
|
-
"internalType": "
|
433
|
+
"internalType": "NftId",
|
434
434
|
"name": "nftId",
|
435
|
-
"type": "
|
435
|
+
"type": "uint96"
|
436
436
|
},
|
437
437
|
{
|
438
438
|
"internalType": "enum IPolicy.PolicyState",
|
@@ -486,9 +486,9 @@
|
|
486
486
|
{
|
487
487
|
"inputs": [
|
488
488
|
{
|
489
|
-
"internalType": "
|
489
|
+
"internalType": "NftId",
|
490
490
|
"name": "nftId",
|
491
|
-
"type": "
|
491
|
+
"type": "uint96"
|
492
492
|
}
|
493
493
|
],
|
494
494
|
"name": "getPoolInfo",
|
@@ -496,9 +496,9 @@
|
|
496
496
|
{
|
497
497
|
"components": [
|
498
498
|
{
|
499
|
-
"internalType": "
|
499
|
+
"internalType": "NftId",
|
500
500
|
"name": "nftId",
|
501
|
-
"type": "
|
501
|
+
"type": "uint96"
|
502
502
|
},
|
503
503
|
{
|
504
504
|
"internalType": "address",
|
@@ -532,17 +532,17 @@
|
|
532
532
|
{
|
533
533
|
"inputs": [
|
534
534
|
{
|
535
|
-
"internalType": "
|
535
|
+
"internalType": "NftId",
|
536
536
|
"name": "productNftId",
|
537
|
-
"type": "
|
537
|
+
"type": "uint96"
|
538
538
|
}
|
539
539
|
],
|
540
540
|
"name": "getPoolNftId",
|
541
541
|
"outputs": [
|
542
542
|
{
|
543
|
-
"internalType": "
|
543
|
+
"internalType": "NftId",
|
544
544
|
"name": "poolNftId",
|
545
|
-
"type": "
|
545
|
+
"type": "uint96"
|
546
546
|
}
|
547
547
|
],
|
548
548
|
"stateMutability": "view",
|
@@ -790,9 +790,9 @@
|
|
790
790
|
"name": "register",
|
791
791
|
"outputs": [
|
792
792
|
{
|
793
|
-
"internalType": "
|
793
|
+
"internalType": "NftId",
|
794
794
|
"name": "nftId",
|
795
|
-
"type": "
|
795
|
+
"type": "uint96"
|
796
796
|
}
|
797
797
|
],
|
798
798
|
"stateMutability": "nonpayable",
|
@@ -809,9 +809,9 @@
|
|
809
809
|
"name": "registerComponent",
|
810
810
|
"outputs": [
|
811
811
|
{
|
812
|
-
"internalType": "
|
813
|
-
"name": "
|
814
|
-
"type": "
|
812
|
+
"internalType": "NftId",
|
813
|
+
"name": "nftId",
|
814
|
+
"type": "uint96"
|
815
815
|
}
|
816
816
|
],
|
817
817
|
"stateMutability": "nonpayable",
|
@@ -840,9 +840,9 @@
|
|
840
840
|
{
|
841
841
|
"components": [
|
842
842
|
{
|
843
|
-
"internalType": "
|
843
|
+
"internalType": "NftId",
|
844
844
|
"name": "nftId",
|
845
|
-
"type": "
|
845
|
+
"type": "uint96"
|
846
846
|
},
|
847
847
|
{
|
848
848
|
"internalType": "enum IComponent.CState",
|
@@ -858,9 +858,9 @@
|
|
858
858
|
"name": "setComponentInfo",
|
859
859
|
"outputs": [
|
860
860
|
{
|
861
|
-
"internalType": "
|
862
|
-
"name": "
|
863
|
-
"type": "
|
861
|
+
"internalType": "NftId",
|
862
|
+
"name": "componentNftId",
|
863
|
+
"type": "uint96"
|
864
864
|
}
|
865
865
|
],
|
866
866
|
"stateMutability": "nonpayable",
|
@@ -869,14 +869,14 @@
|
|
869
869
|
{
|
870
870
|
"inputs": [
|
871
871
|
{
|
872
|
-
"internalType": "
|
872
|
+
"internalType": "NftId",
|
873
873
|
"name": "poolNftId",
|
874
|
-
"type": "
|
874
|
+
"type": "uint96"
|
875
875
|
},
|
876
876
|
{
|
877
|
-
"internalType": "
|
877
|
+
"internalType": "NftId",
|
878
878
|
"name": "policyNftId",
|
879
|
-
"type": "
|
879
|
+
"type": "uint96"
|
880
880
|
}
|
881
881
|
],
|
882
882
|
"name": "underwrite",
|