@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.
Files changed (105) hide show
  1. package/artifacts/contracts/components/Component.sol/Component.dbg.json +1 -1
  2. package/artifacts/contracts/components/Component.sol/Component.json +7 -7
  3. package/artifacts/contracts/components/Component.sol/InstanceLinked.dbg.json +1 -1
  4. package/artifacts/contracts/components/Component.sol/InstanceLinked.json +2 -2
  5. package/artifacts/contracts/components/IPool.sol/IPoolComponent.dbg.json +1 -1
  6. package/artifacts/contracts/components/IPool.sol/IPoolComponent.json +6 -6
  7. package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +1 -1
  8. package/artifacts/contracts/components/IProduct.sol/IProductComponent.json +8 -8
  9. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  10. package/artifacts/contracts/components/Pool.sol/Pool.json +29 -11
  11. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  12. package/artifacts/contracts/components/Product.sol/Product.json +31 -13
  13. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
  14. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
  15. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
  16. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
  17. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
  18. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
  19. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
  20. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
  21. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
  22. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
  23. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
  24. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
  25. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  26. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +60 -60
  27. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  28. package/artifacts/contracts/instance/Instance.sol/Instance.json +122 -64
  29. package/artifacts/contracts/instance/access/Access.sol/AccessModule.dbg.json +1 -1
  30. package/artifacts/contracts/instance/access/IAccess.sol/IAccess.dbg.json +1 -1
  31. package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.dbg.json +1 -1
  32. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.dbg.json +1 -1
  33. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.dbg.json +1 -1
  34. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.dbg.json +1 -1
  35. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.json +24 -24
  36. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +1 -1
  37. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json +48 -6
  38. package/artifacts/contracts/instance/component/IComponent.sol/IComponent.dbg.json +1 -1
  39. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.dbg.json +1 -1
  40. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.json +6 -6
  41. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +1 -1
  42. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.json +26 -26
  43. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +1 -1
  44. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.json +3 -3
  45. package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +1 -1
  46. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.dbg.json +1 -1
  47. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +1 -1
  48. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.json +18 -18
  49. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +1 -1
  50. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.json +18 -18
  51. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.dbg.json +1 -1
  52. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.dbg.json +1 -1
  53. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.json +10 -10
  54. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +1 -1
  55. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.json +10 -10
  56. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.dbg.json +1 -1
  57. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.dbg.json +1 -1
  58. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.json +8 -8
  59. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.dbg.json +1 -1
  60. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.dbg.json +1 -1
  61. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.json +54 -12
  62. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  63. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +1 -1
  64. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.dbg.json +1 -1
  65. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +1 -1
  66. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.json +6 -6
  67. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  68. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +16 -16
  69. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +1 -1
  70. package/artifacts/contracts/registry/Registry.sol/Registerable.dbg.json +1 -1
  71. package/artifacts/contracts/registry/Registry.sol/Registerable.json +7 -7
  72. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  73. package/artifacts/contracts/registry/Registry.sol/Registry.json +62 -20
  74. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.dbg.json +1 -1
  75. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.json +2 -2
  76. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  77. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +174 -0
  78. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  79. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +2 -2
  80. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  81. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +85 -3
  82. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +4 -0
  83. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +174 -0
  84. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +4 -0
  85. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +440 -0
  86. package/contracts/components/Component.sol +3 -3
  87. package/contracts/components/IProduct.sol +2 -1
  88. package/contracts/components/Product.sol +5 -4
  89. package/contracts/instance/Instance.sol +4 -3
  90. package/contracts/instance/component/ComponentModule.sol +31 -29
  91. package/contracts/instance/component/IComponent.sol +11 -10
  92. package/contracts/instance/policy/IPolicy.sol +8 -8
  93. package/contracts/instance/policy/PolicyModule.sol +12 -11
  94. package/contracts/instance/pool/IPoolModule.sol +6 -5
  95. package/contracts/instance/pool/PoolModule.sol +9 -6
  96. package/contracts/instance/product/IProductService.sol +5 -4
  97. package/contracts/instance/product/ProductService.sol +14 -11
  98. package/contracts/registry/IRegistry.sol +13 -11
  99. package/contracts/registry/Registry.sol +27 -21
  100. package/contracts/types/Blocknumber.sol +60 -0
  101. package/contracts/types/ChainId.sol +7 -1
  102. package/contracts/types/NftId.sol +12 -2
  103. package/contracts/types/Timestamp.sol +55 -0
  104. package/contracts/types/UFixed.sol +207 -0
  105. package/package.json +1 -1
@@ -70,9 +70,9 @@
70
70
  {
71
71
  "inputs": [
72
72
  {
73
- "internalType": "uint256",
73
+ "internalType": "NftId",
74
74
  "name": "nftId",
75
- "type": "uint256"
75
+ "type": "uint96"
76
76
  }
77
77
  ],
78
78
  "name": "activate",
@@ -98,14 +98,14 @@
98
98
  {
99
99
  "components": [
100
100
  {
101
- "internalType": "uint256",
101
+ "internalType": "NftId",
102
102
  "name": "nftId",
103
- "type": "uint256"
103
+ "type": "uint96"
104
104
  },
105
105
  {
106
- "internalType": "uint256",
106
+ "internalType": "NftId",
107
107
  "name": "parentNftId",
108
- "type": "uint256"
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": "uint256",
151
+ "internalType": "NftId",
152
152
  "name": "bundleNftId",
153
- "type": "uint256"
153
+ "type": "uint96"
154
154
  }
155
155
  ],
156
156
  "name": "createApplication",
157
157
  "outputs": [
158
158
  {
159
- "internalType": "uint256",
159
+ "internalType": "NftId",
160
160
  "name": "nftId",
161
- "type": "uint256"
161
+ "type": "uint96"
162
162
  }
163
163
  ],
164
164
  "stateMutability": "nonpayable",
@@ -167,9 +167,9 @@
167
167
  {
168
168
  "inputs": [
169
169
  {
170
- "internalType": "uint256",
170
+ "internalType": "NftId",
171
171
  "name": "nftId",
172
- "type": "uint256"
172
+ "type": "uint96"
173
173
  },
174
174
  {
175
175
  "internalType": "address",
@@ -235,17 +235,17 @@
235
235
  {
236
236
  "inputs": [
237
237
  {
238
- "internalType": "uint256",
238
+ "internalType": "NftId",
239
239
  "name": "nftId",
240
- "type": "uint256"
240
+ "type": "uint96"
241
241
  }
242
242
  ],
243
243
  "name": "getBundleNftForPolicy",
244
244
  "outputs": [
245
245
  {
246
- "internalType": "uint256",
246
+ "internalType": "NftId",
247
247
  "name": "bundleNft",
248
- "type": "uint256"
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": "uint256",
266
- "name": "id",
267
- "type": "uint256"
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": "uint256",
285
- "name": "id",
286
- "type": "uint256"
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": "uint256",
296
- "name": "id",
297
- "type": "uint256"
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": "uint256",
305
+ "internalType": "NftId",
306
306
  "name": "nftId",
307
- "type": "uint256"
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": "uint256",
327
- "name": "id",
328
- "type": "uint256"
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": "uint256",
386
+ "internalType": "NftId",
387
387
  "name": "nftId",
388
- "type": "uint256"
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": "uint256",
412
+ "internalType": "NftId",
413
413
  "name": "parentNftId",
414
- "type": "uint256"
414
+ "type": "uint96"
415
415
  }
416
416
  ],
417
417
  "stateMutability": "view",
@@ -420,9 +420,9 @@
420
420
  {
421
421
  "inputs": [
422
422
  {
423
- "internalType": "uint256",
423
+ "internalType": "NftId",
424
424
  "name": "nftId",
425
- "type": "uint256"
425
+ "type": "uint96"
426
426
  }
427
427
  ],
428
428
  "name": "getPolicyInfo",
@@ -430,9 +430,9 @@
430
430
  {
431
431
  "components": [
432
432
  {
433
- "internalType": "uint256",
433
+ "internalType": "NftId",
434
434
  "name": "nftId",
435
- "type": "uint256"
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": "uint256",
489
+ "internalType": "NftId",
490
490
  "name": "nftId",
491
- "type": "uint256"
491
+ "type": "uint96"
492
492
  }
493
493
  ],
494
494
  "name": "getPoolInfo",
@@ -496,9 +496,9 @@
496
496
  {
497
497
  "components": [
498
498
  {
499
- "internalType": "uint256",
499
+ "internalType": "NftId",
500
500
  "name": "nftId",
501
- "type": "uint256"
501
+ "type": "uint96"
502
502
  },
503
503
  {
504
504
  "internalType": "address",
@@ -532,17 +532,17 @@
532
532
  {
533
533
  "inputs": [
534
534
  {
535
- "internalType": "uint256",
535
+ "internalType": "NftId",
536
536
  "name": "productNftId",
537
- "type": "uint256"
537
+ "type": "uint96"
538
538
  }
539
539
  ],
540
540
  "name": "getPoolNftId",
541
541
  "outputs": [
542
542
  {
543
- "internalType": "uint256",
543
+ "internalType": "NftId",
544
544
  "name": "poolNftId",
545
- "type": "uint256"
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": "uint256",
793
+ "internalType": "NftId",
794
794
  "name": "nftId",
795
- "type": "uint256"
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": "uint256",
813
- "name": "nftInfo",
814
- "type": "uint256"
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": "uint256",
843
+ "internalType": "NftId",
844
844
  "name": "nftId",
845
- "type": "uint256"
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": "uint256",
862
- "name": "componentId",
863
- "type": "uint256"
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": "uint256",
872
+ "internalType": "NftId",
873
873
  "name": "poolNftId",
874
- "type": "uint256"
874
+ "type": "uint96"
875
875
  },
876
876
  {
877
- "internalType": "uint256",
877
+ "internalType": "NftId",
878
878
  "name": "policyNftId",
879
- "type": "uint256"
879
+ "type": "uint96"
880
880
  }
881
881
  ],
882
882
  "name": "underwrite",
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/cdfdac031b65cf1cb7a27c60022b8fe2.json"
3
+ "buildInfo": "../../../build-info/5d58518916abd285d6742c7724f5c203.json"
4
4
  }