@etherisc/gif-next 0.0.2-0ccea38-539 → 0.0.2-0db3195-901

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 (149) hide show
  1. package/artifacts/contracts/components/Component.sol/Component.dbg.json +1 -1
  2. package/artifacts/contracts/components/Component.sol/Component.json +90 -0
  3. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.json +90 -0
  5. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +1 -1
  6. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  7. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  8. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -102
  9. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  10. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  11. package/artifacts/contracts/components/Pool.sol/Pool.json +73 -85
  12. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  13. package/artifacts/contracts/components/Product.sol/Product.json +90 -0
  14. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +1 -1
  15. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +1 -1
  16. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +1 -1
  17. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
  18. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
  19. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
  20. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
  21. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
  22. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
  23. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
  24. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
  25. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
  26. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
  27. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
  28. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
  29. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
  30. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
  31. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
  32. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
  33. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
  34. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
  35. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +1 -1
  36. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  37. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  38. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +21 -0
  39. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  40. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  41. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  42. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  43. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +151 -76
  44. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  45. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +20 -20
  46. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +1 -1
  47. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +1 -1
  48. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  49. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  50. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  51. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  52. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  53. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  54. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  55. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  56. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  57. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  58. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  59. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +1 -1
  60. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +2 -2
  61. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  62. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +2 -2
  63. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  64. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +16 -16
  65. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  66. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +9 -9
  67. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +1 -1
  68. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  69. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  70. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  71. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  72. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +1 -1
  73. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +2 -2
  74. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  75. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +2 -2
  76. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  77. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +16 -16
  78. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  79. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +9 -9
  80. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  81. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +4 -4
  82. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
  83. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +3 -3
  84. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  85. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  86. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  87. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  88. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  89. package/artifacts/contracts/registry/Registry.sol/Registry.json +2 -2
  90. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +1 -1
  91. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +2 -2
  92. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  93. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +2 -2
  94. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  95. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +2 -2
  96. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
  97. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +2 -2
  98. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  99. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  100. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  101. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  102. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  103. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  104. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  105. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  106. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  107. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  108. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  109. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  110. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  111. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  112. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  113. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  114. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  115. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  116. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  117. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  118. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  119. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  120. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  121. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  122. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  123. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  124. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  125. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  126. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  127. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  128. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
  129. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  130. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
  131. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  132. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  133. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  134. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  135. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
  136. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
  137. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  138. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  139. package/contracts/components/Component.sol +19 -37
  140. package/contracts/components/Distribution.sol +15 -6
  141. package/contracts/components/IPoolComponent.sol +0 -19
  142. package/contracts/components/Pool.sol +15 -52
  143. package/contracts/components/Product.sol +11 -6
  144. package/contracts/instance/IInstanceService.sol +1 -0
  145. package/contracts/instance/InstanceService.sol +87 -14
  146. package/contracts/instance/service/DistributionService.sol +2 -2
  147. package/contracts/instance/service/PoolService.sol +2 -1
  148. package/contracts/instance/service/ProductService.sol +2 -1
  149. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/439d956b78e08751871f23356b948817.json"
3
+ "buildInfo": "../../../build-info/48cfd1681999c5c2e2d70537a45818a3.json"
4
4
  }
@@ -3,6 +3,44 @@
3
3
  "contractName": "Component",
4
4
  "sourceName": "contracts/components/Component.sol",
5
5
  "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "authority",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "name": "AccessManagedInvalidAuthority",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "address",
21
+ "name": "caller",
22
+ "type": "address"
23
+ },
24
+ {
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
28
+ }
29
+ ],
30
+ "name": "AccessManagedRequiredDelay",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "caller",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "AccessManagedUnauthorized",
42
+ "type": "error"
43
+ },
6
44
  {
7
45
  "inputs": [
8
46
  {
@@ -222,6 +260,19 @@
222
260
  "name": "SafeERC20FailedOperation",
223
261
  "type": "error"
224
262
  },
263
+ {
264
+ "anonymous": false,
265
+ "inputs": [
266
+ {
267
+ "indexed": false,
268
+ "internalType": "address",
269
+ "name": "authority",
270
+ "type": "address"
271
+ }
272
+ ],
273
+ "name": "AuthorityUpdated",
274
+ "type": "event"
275
+ },
225
276
  {
226
277
  "anonymous": false,
227
278
  "inputs": [
@@ -299,6 +350,19 @@
299
350
  "stateMutability": "view",
300
351
  "type": "function"
301
352
  },
353
+ {
354
+ "inputs": [],
355
+ "name": "authority",
356
+ "outputs": [
357
+ {
358
+ "internalType": "address",
359
+ "name": "",
360
+ "type": "address"
361
+ }
362
+ ],
363
+ "stateMutability": "view",
364
+ "type": "function"
365
+ },
302
366
  {
303
367
  "inputs": [],
304
368
  "name": "getInitialInfo",
@@ -492,6 +556,19 @@
492
556
  "stateMutability": "view",
493
557
  "type": "function"
494
558
  },
559
+ {
560
+ "inputs": [],
561
+ "name": "isConsumingScheduledOp",
562
+ "outputs": [
563
+ {
564
+ "internalType": "bytes4",
565
+ "name": "",
566
+ "type": "bytes4"
567
+ }
568
+ ],
569
+ "stateMutability": "view",
570
+ "type": "function"
571
+ },
495
572
  {
496
573
  "inputs": [],
497
574
  "name": "linkToRegisteredNftId",
@@ -506,6 +583,19 @@
506
583
  "stateMutability": "nonpayable",
507
584
  "type": "function"
508
585
  },
586
+ {
587
+ "inputs": [
588
+ {
589
+ "internalType": "address",
590
+ "name": "newAuthority",
591
+ "type": "address"
592
+ }
593
+ ],
594
+ "name": "setAuthority",
595
+ "outputs": [],
596
+ "stateMutability": "nonpayable",
597
+ "type": "function"
598
+ },
509
599
  {
510
600
  "inputs": [
511
601
  {
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/439d956b78e08751871f23356b948817.json"
3
+ "buildInfo": "../../../build-info/48cfd1681999c5c2e2d70537a45818a3.json"
4
4
  }
@@ -3,6 +3,44 @@
3
3
  "contractName": "Distribution",
4
4
  "sourceName": "contracts/components/Distribution.sol",
5
5
  "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "authority",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "name": "AccessManagedInvalidAuthority",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "address",
21
+ "name": "caller",
22
+ "type": "address"
23
+ },
24
+ {
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
28
+ }
29
+ ],
30
+ "name": "AccessManagedRequiredDelay",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "caller",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "AccessManagedUnauthorized",
42
+ "type": "error"
43
+ },
6
44
  {
7
45
  "inputs": [
8
46
  {
@@ -222,6 +260,19 @@
222
260
  "name": "SafeERC20FailedOperation",
223
261
  "type": "error"
224
262
  },
263
+ {
264
+ "anonymous": false,
265
+ "inputs": [
266
+ {
267
+ "indexed": false,
268
+ "internalType": "address",
269
+ "name": "authority",
270
+ "type": "address"
271
+ }
272
+ ],
273
+ "name": "AuthorityUpdated",
274
+ "type": "event"
275
+ },
225
276
  {
226
277
  "anonymous": false,
227
278
  "inputs": [
@@ -299,6 +350,19 @@
299
350
  "stateMutability": "view",
300
351
  "type": "function"
301
352
  },
353
+ {
354
+ "inputs": [],
355
+ "name": "authority",
356
+ "outputs": [
357
+ {
358
+ "internalType": "address",
359
+ "name": "",
360
+ "type": "address"
361
+ }
362
+ ],
363
+ "stateMutability": "view",
364
+ "type": "function"
365
+ },
302
366
  {
303
367
  "inputs": [
304
368
  {
@@ -592,6 +656,19 @@
592
656
  "stateMutability": "view",
593
657
  "type": "function"
594
658
  },
659
+ {
660
+ "inputs": [],
661
+ "name": "isConsumingScheduledOp",
662
+ "outputs": [
663
+ {
664
+ "internalType": "bytes4",
665
+ "name": "",
666
+ "type": "bytes4"
667
+ }
668
+ ],
669
+ "stateMutability": "view",
670
+ "type": "function"
671
+ },
595
672
  {
596
673
  "inputs": [],
597
674
  "name": "isVerifying",
@@ -674,6 +751,19 @@
674
751
  "stateMutability": "view",
675
752
  "type": "function"
676
753
  },
754
+ {
755
+ "inputs": [
756
+ {
757
+ "internalType": "address",
758
+ "name": "newAuthority",
759
+ "type": "address"
760
+ }
761
+ ],
762
+ "name": "setAuthority",
763
+ "outputs": [],
764
+ "stateMutability": "nonpayable",
765
+ "type": "function"
766
+ },
677
767
  {
678
768
  "inputs": [
679
769
  {
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/439d956b78e08751871f23356b948817.json"
3
+ "buildInfo": "../../../build-info/48cfd1681999c5c2e2d70537a45818a3.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/439d956b78e08751871f23356b948817.json"
3
+ "buildInfo": "../../../build-info/48cfd1681999c5c2e2d70537a45818a3.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/439d956b78e08751871f23356b948817.json"
3
+ "buildInfo": "../../../build-info/48cfd1681999c5c2e2d70537a45818a3.json"
4
4
  }
@@ -226,52 +226,6 @@
226
226
  "name": "LogUnderwrittenByPool",
227
227
  "type": "event"
228
228
  },
229
- {
230
- "inputs": [
231
- {
232
- "components": [
233
- {
234
- "internalType": "UFixed",
235
- "name": "fractionalFee",
236
- "type": "uint256"
237
- },
238
- {
239
- "internalType": "uint256",
240
- "name": "fixedFee",
241
- "type": "uint256"
242
- }
243
- ],
244
- "internalType": "struct Fee",
245
- "name": "fee",
246
- "type": "tuple"
247
- },
248
- {
249
- "internalType": "uint256",
250
- "name": "initialAmount",
251
- "type": "uint256"
252
- },
253
- {
254
- "internalType": "uint256",
255
- "name": "lifetime",
256
- "type": "uint256"
257
- },
258
- {
259
- "internalType": "bytes",
260
- "name": "filter",
261
- "type": "bytes"
262
- }
263
- ],
264
- "name": "createBundle",
265
- "outputs": [
266
- {
267
- "internalType": "NftId",
268
- "name": "bundleNftId",
269
- "type": "uint96"
270
- }
271
- ],
272
- "stateMutability": "nonpayable",
273
- "type": "function"
274
- },
275
229
  {
276
230
  "inputs": [],
277
231
  "name": "getCollateralizationLevel",
@@ -588,19 +542,6 @@
588
542
  "stateMutability": "nonpayable",
589
543
  "type": "function"
590
544
  },
591
- {
592
- "inputs": [
593
- {
594
- "internalType": "NftId",
595
- "name": "bundleNftId",
596
- "type": "uint96"
597
- }
598
- ],
599
- "name": "lockBundle",
600
- "outputs": [],
601
- "stateMutability": "nonpayable",
602
- "type": "function"
603
- },
604
545
  {
605
546
  "inputs": [
606
547
  {
@@ -625,36 +566,6 @@
625
566
  "stateMutability": "view",
626
567
  "type": "function"
627
568
  },
628
- {
629
- "inputs": [
630
- {
631
- "internalType": "NftId",
632
- "name": "policyNftId",
633
- "type": "uint96"
634
- },
635
- {
636
- "components": [
637
- {
638
- "internalType": "UFixed",
639
- "name": "fractionalFee",
640
- "type": "uint256"
641
- },
642
- {
643
- "internalType": "uint256",
644
- "name": "fixedFee",
645
- "type": "uint256"
646
- }
647
- ],
648
- "internalType": "struct Fee",
649
- "name": "fee",
650
- "type": "tuple"
651
- }
652
- ],
653
- "name": "setBundleFee",
654
- "outputs": [],
655
- "stateMutability": "nonpayable",
656
- "type": "function"
657
- },
658
569
  {
659
570
  "inputs": [
660
571
  {
@@ -793,19 +704,6 @@
793
704
  "outputs": [],
794
705
  "stateMutability": "nonpayable",
795
706
  "type": "function"
796
- },
797
- {
798
- "inputs": [
799
- {
800
- "internalType": "NftId",
801
- "name": "bundleNftId",
802
- "type": "uint96"
803
- }
804
- ],
805
- "name": "unlockBundle",
806
- "outputs": [],
807
- "stateMutability": "nonpayable",
808
- "type": "function"
809
707
  }
810
708
  ],
811
709
  "bytecode": "0x",
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/439d956b78e08751871f23356b948817.json"
3
+ "buildInfo": "../../../build-info/48cfd1681999c5c2e2d70537a45818a3.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/439d956b78e08751871f23356b948817.json"
3
+ "buildInfo": "../../../build-info/48cfd1681999c5c2e2d70537a45818a3.json"
4
4
  }
@@ -3,6 +3,44 @@
3
3
  "contractName": "Pool",
4
4
  "sourceName": "contracts/components/Pool.sol",
5
5
  "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "authority",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "name": "AccessManagedInvalidAuthority",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "address",
21
+ "name": "caller",
22
+ "type": "address"
23
+ },
24
+ {
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
28
+ }
29
+ ],
30
+ "name": "AccessManagedRequiredDelay",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "caller",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "AccessManagedUnauthorized",
42
+ "type": "error"
43
+ },
6
44
  {
7
45
  "inputs": [
8
46
  {
@@ -222,6 +260,19 @@
222
260
  "name": "SafeERC20FailedOperation",
223
261
  "type": "error"
224
262
  },
263
+ {
264
+ "anonymous": false,
265
+ "inputs": [
266
+ {
267
+ "indexed": false,
268
+ "internalType": "address",
269
+ "name": "authority",
270
+ "type": "address"
271
+ }
272
+ ],
273
+ "name": "AuthorityUpdated",
274
+ "type": "event"
275
+ },
225
276
  {
226
277
  "anonymous": false,
227
278
  "inputs": [
@@ -325,49 +376,16 @@
325
376
  "type": "function"
326
377
  },
327
378
  {
328
- "inputs": [
329
- {
330
- "components": [
331
- {
332
- "internalType": "UFixed",
333
- "name": "fractionalFee",
334
- "type": "uint256"
335
- },
336
- {
337
- "internalType": "uint256",
338
- "name": "fixedFee",
339
- "type": "uint256"
340
- }
341
- ],
342
- "internalType": "struct Fee",
343
- "name": "fee",
344
- "type": "tuple"
345
- },
346
- {
347
- "internalType": "uint256",
348
- "name": "initialAmount",
349
- "type": "uint256"
350
- },
351
- {
352
- "internalType": "uint256",
353
- "name": "lifetime",
354
- "type": "uint256"
355
- },
356
- {
357
- "internalType": "bytes",
358
- "name": "filter",
359
- "type": "bytes"
360
- }
361
- ],
362
- "name": "createBundle",
379
+ "inputs": [],
380
+ "name": "authority",
363
381
  "outputs": [
364
382
  {
365
- "internalType": "NftId",
366
- "name": "bundleNftId",
367
- "type": "uint96"
383
+ "internalType": "address",
384
+ "name": "",
385
+ "type": "address"
368
386
  }
369
387
  ],
370
- "stateMutability": "nonpayable",
388
+ "stateMutability": "view",
371
389
  "type": "function"
372
390
  },
373
391
  {
@@ -687,27 +705,27 @@
687
705
  },
688
706
  {
689
707
  "inputs": [],
690
- "name": "linkToRegisteredNftId",
691
- "outputs": [],
692
- "stateMutability": "nonpayable",
708
+ "name": "isConsumingScheduledOp",
709
+ "outputs": [
710
+ {
711
+ "internalType": "bytes4",
712
+ "name": "",
713
+ "type": "bytes4"
714
+ }
715
+ ],
716
+ "stateMutability": "view",
693
717
  "type": "function"
694
718
  },
695
719
  {
696
720
  "inputs": [],
697
- "name": "lock",
721
+ "name": "linkToRegisteredNftId",
698
722
  "outputs": [],
699
723
  "stateMutability": "nonpayable",
700
724
  "type": "function"
701
725
  },
702
726
  {
703
- "inputs": [
704
- {
705
- "internalType": "NftId",
706
- "name": "bundleNftId",
707
- "type": "uint96"
708
- }
709
- ],
710
- "name": "lockBundle",
727
+ "inputs": [],
728
+ "name": "lock",
711
729
  "outputs": [],
712
730
  "stateMutability": "nonpayable",
713
731
  "type": "function"
@@ -739,29 +757,12 @@
739
757
  {
740
758
  "inputs": [
741
759
  {
742
- "internalType": "NftId",
743
- "name": "bundleNftId",
744
- "type": "uint96"
745
- },
746
- {
747
- "components": [
748
- {
749
- "internalType": "UFixed",
750
- "name": "fractionalFee",
751
- "type": "uint256"
752
- },
753
- {
754
- "internalType": "uint256",
755
- "name": "fixedFee",
756
- "type": "uint256"
757
- }
758
- ],
759
- "internalType": "struct Fee",
760
- "name": "fee",
761
- "type": "tuple"
760
+ "internalType": "address",
761
+ "name": "newAuthority",
762
+ "type": "address"
762
763
  }
763
764
  ],
764
- "name": "setBundleFee",
765
+ "name": "setAuthority",
765
766
  "outputs": [],
766
767
  "stateMutability": "nonpayable",
767
768
  "type": "function"
@@ -904,19 +905,6 @@
904
905
  "outputs": [],
905
906
  "stateMutability": "nonpayable",
906
907
  "type": "function"
907
- },
908
- {
909
- "inputs": [
910
- {
911
- "internalType": "NftId",
912
- "name": "bundleNftId",
913
- "type": "uint96"
914
- }
915
- ],
916
- "name": "unlockBundle",
917
- "outputs": [],
918
- "stateMutability": "nonpayable",
919
- "type": "function"
920
908
  }
921
909
  ],
922
910
  "bytecode": "0x",
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/439d956b78e08751871f23356b948817.json"
3
+ "buildInfo": "../../../build-info/48cfd1681999c5c2e2d70537a45818a3.json"
4
4
  }