@etherisc/gif-next 0.0.2-f29e479-370 → 0.0.2-f30e0eb-805

Sign up to get free protection for your applications and to get access to all the features.
Files changed (250) hide show
  1. package/artifacts/contracts/components/Component.sol/Component.dbg.json +1 -1
  2. package/artifacts/contracts/components/Component.sol/Component.json +68 -89
  3. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.json +113 -140
  5. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +1 -1
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.json +65 -73
  7. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +91 -122
  9. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +256 -189
  11. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +69 -145
  13. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  14. package/artifacts/contracts/components/Pool.sol/Pool.json +279 -245
  15. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  16. package/artifacts/contracts/components/Product.sol/Product.json +73 -162
  17. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  18. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  19. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
  20. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +64 -50
  21. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +1 -1
  22. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +5 -0
  23. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  24. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +171 -308
  25. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  26. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +98 -40
  27. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  28. package/artifacts/contracts/instance/Instance.sol/Instance.json +260 -379
  29. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  30. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +448 -121
  31. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  32. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +120 -227
  33. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  34. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +148 -161
  35. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  36. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +31 -23
  37. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +1 -1
  38. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +8 -13
  39. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +1 -1
  40. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +1 -1
  41. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  42. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  43. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  44. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +40 -10
  45. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  46. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +36 -11
  47. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  48. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +54 -71
  49. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  50. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  51. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
  52. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  53. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  54. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  55. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  56. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  57. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  58. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +161 -62
  59. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  60. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +33 -25
  61. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +1 -1
  62. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +137 -140
  63. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  64. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +12 -12
  65. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +1 -1
  66. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +3 -3
  67. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  68. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +2 -2
  69. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  70. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +505 -91
  71. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  72. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +78 -42
  73. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  74. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +110 -27
  75. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +1 -1
  76. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +93 -96
  77. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +1 -1
  78. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  79. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +350 -8
  80. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  81. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +21 -64
  82. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  83. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +81 -0
  84. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  85. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +1 -1
  86. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +58 -157
  87. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  88. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +19 -47
  89. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  90. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +114 -17
  91. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  92. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +17 -9
  93. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  94. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +7 -7
  95. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
  96. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +4 -4
  97. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  98. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
  99. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  100. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +19 -0
  101. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  102. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  103. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  104. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  105. package/artifacts/contracts/registry/Registry.sol/Registry.json +31 -12
  106. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +1 -1
  107. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +2 -2
  108. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  109. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +5 -5
  110. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  111. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +3 -3
  112. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
  113. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +7 -7
  114. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  115. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +2 -2
  116. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  117. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  118. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  119. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  120. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  121. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  122. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  123. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  124. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  125. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +2 -2
  126. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  127. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +2 -2
  128. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  129. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +2 -2
  130. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  131. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +3 -3
  132. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  133. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -2
  134. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  135. package/artifacts/contracts/shared/Service.sol/Service.json +1 -1
  136. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  137. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
  138. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  139. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  140. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  141. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  142. package/artifacts/contracts/test/TestFee.sol/TestFee.json +2 -2
  143. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  144. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +3 -3
  145. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  146. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +6 -6
  147. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  148. package/artifacts/contracts/test/TestService.sol/TestService.json +3 -3
  149. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  150. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  151. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  152. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  153. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +2 -2
  154. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  155. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  156. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  157. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  158. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  159. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  160. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  161. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
  162. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  163. package/artifacts/contracts/types/Fee.sol/FeeLib.json +2 -2
  164. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  165. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
  166. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  167. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +17 -4
  168. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  169. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +2 -2
  170. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
  171. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  172. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  173. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  174. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
  175. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +23 -4
  176. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  177. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  178. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  179. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  180. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  181. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  182. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  183. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  184. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  185. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +25 -7
  186. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
  187. package/artifacts/contracts/types/UFixed.sol/MathLib.json +2 -2
  188. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
  189. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +2 -2
  190. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  191. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  192. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  193. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +2 -2
  194. package/contracts/components/Component.sol +95 -85
  195. package/contracts/components/Distribution.sol +12 -19
  196. package/contracts/components/IComponent.sol +37 -17
  197. package/contracts/components/IDistributionComponent.sol +1 -22
  198. package/contracts/components/IPoolComponent.sol +73 -47
  199. package/contracts/components/IProductComponent.sol +3 -2
  200. package/contracts/components/Pool.sol +171 -126
  201. package/contracts/components/Product.sol +26 -18
  202. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +13 -0
  203. package/contracts/instance/BundleManager.sol +7 -5
  204. package/contracts/instance/Cloneable.sol +7 -2
  205. package/contracts/instance/IInstance.sol +16 -10
  206. package/contracts/instance/IInstanceService.sol +18 -5
  207. package/contracts/instance/Instance.sol +45 -9
  208. package/contracts/instance/InstanceAccessManager.sol +382 -157
  209. package/contracts/instance/InstanceReader.sol +7 -10
  210. package/contracts/instance/InstanceService.sol +174 -155
  211. package/contracts/instance/ObjectManager.sol +6 -8
  212. package/contracts/instance/base/ComponentService.sol +5 -5
  213. package/contracts/instance/base/KeyValueStore.sol +5 -2
  214. package/contracts/instance/base/Lifecycle.sol +11 -2
  215. package/contracts/instance/module/IAccess.sol +20 -13
  216. package/contracts/instance/module/IBundle.sol +2 -1
  217. package/contracts/instance/module/IComponents.sol +35 -0
  218. package/contracts/instance/module/IDistribution.sol +2 -1
  219. package/contracts/instance/module/IPolicy.sol +26 -1
  220. package/contracts/instance/module/ISetup.sol +7 -22
  221. package/contracts/instance/service/ApplicationService.sol +123 -41
  222. package/contracts/instance/service/BundleService.sol +76 -38
  223. package/contracts/instance/service/DistributionService.sol +139 -47
  224. package/contracts/instance/service/IApplicationService.sol +7 -7
  225. package/contracts/instance/service/IBundleService.sol +19 -11
  226. package/contracts/instance/service/IDistributionService.sol +19 -4
  227. package/contracts/instance/service/IPolicyService.sol +3 -20
  228. package/contracts/instance/service/IPoolService.sol +17 -2
  229. package/contracts/instance/service/PolicyService.sol +59 -132
  230. package/contracts/instance/service/PoolService.sol +128 -17
  231. package/contracts/instance/service/ProductService.sol +10 -2
  232. package/contracts/registry/ChainNft.sol +8 -0
  233. package/contracts/registry/IRegistry.sol +2 -0
  234. package/contracts/registry/ITransferInterceptor.sol +1 -0
  235. package/contracts/registry/Registry.sol +23 -20
  236. package/contracts/registry/RegistryService.sol +5 -5
  237. package/contracts/shared/Registerable.sol +2 -2
  238. package/contracts/shared/TokenHandler.sol +11 -5
  239. package/contracts/types/Blocknumber.sol +1 -0
  240. package/contracts/types/Fee.sol +1 -0
  241. package/contracts/types/NftId.sol +8 -0
  242. package/contracts/types/ObjectType.sol +1 -0
  243. package/contracts/types/Referral.sol +4 -0
  244. package/contracts/types/RoleId.sol +13 -6
  245. package/contracts/types/Seconds.sol +54 -0
  246. package/contracts/types/StateId.sol +1 -0
  247. package/contracts/types/Timestamp.sol +13 -13
  248. package/contracts/types/UFixed.sol +1 -0
  249. package/contracts/types/Version.sol +1 -0
  250. package/package.json +1 -1
@@ -327,9 +327,9 @@
327
327
  "type": "uint256"
328
328
  },
329
329
  {
330
- "internalType": "uint256",
330
+ "internalType": "Seconds",
331
331
  "name": "lifetime",
332
- "type": "uint256"
332
+ "type": "uint40"
333
333
  },
334
334
  {
335
335
  "internalType": "bytes",
@@ -434,9 +434,9 @@
434
434
  "type": "uint256"
435
435
  },
436
436
  {
437
- "internalType": "uint256",
437
+ "internalType": "Seconds",
438
438
  "name": "lifetime",
439
- "type": "uint256"
439
+ "type": "uint40"
440
440
  },
441
441
  {
442
442
  "internalType": "Timestamp",
@@ -478,6 +478,23 @@
478
478
  "name": "tokenHandler",
479
479
  "type": "address"
480
480
  },
481
+ {
482
+ "components": [
483
+ {
484
+ "internalType": "UFixed",
485
+ "name": "fractionalFee",
486
+ "type": "uint256"
487
+ },
488
+ {
489
+ "internalType": "uint256",
490
+ "name": "fixedFee",
491
+ "type": "uint256"
492
+ }
493
+ ],
494
+ "internalType": "struct Fee",
495
+ "name": "minDistributionOwnerFee",
496
+ "type": "tuple"
497
+ },
481
498
  {
482
499
  "components": [
483
500
  {
@@ -499,6 +516,11 @@
499
516
  "internalType": "address",
500
517
  "name": "wallet",
501
518
  "type": "address"
519
+ },
520
+ {
521
+ "internalType": "uint256",
522
+ "name": "sumDistributionOwnerFees",
523
+ "type": "uint256"
502
524
  }
503
525
  ],
504
526
  "internalType": "struct ISetup.DistributionSetupInfo",
@@ -534,6 +556,16 @@
534
556
  "internalType": "bytes",
535
557
  "name": "data",
536
558
  "type": "bytes"
559
+ },
560
+ {
561
+ "internalType": "uint256",
562
+ "name": "sumCommisions",
563
+ "type": "uint256"
564
+ },
565
+ {
566
+ "internalType": "uint256",
567
+ "name": "numPoliciesSold",
568
+ "type": "uint256"
537
569
  }
538
570
  ],
539
571
  "internalType": "struct IDistribution.DistributorInfo",
@@ -621,99 +653,33 @@
621
653
  {
622
654
  "components": [
623
655
  {
624
- "internalType": "NftId",
625
- "name": "productNftId",
626
- "type": "uint96"
656
+ "internalType": "string",
657
+ "name": "name",
658
+ "type": "string"
627
659
  },
628
660
  {
629
- "internalType": "contract TokenHandler",
630
- "name": "tokenHandler",
661
+ "internalType": "contract IERC20Metadata",
662
+ "name": "token",
631
663
  "type": "address"
632
664
  },
633
665
  {
634
- "internalType": "bool",
635
- "name": "isInterceptingBundleTransfers",
636
- "type": "bool"
637
- },
638
- {
639
- "internalType": "bool",
640
- "name": "isExternallyManaged",
641
- "type": "bool"
642
- },
643
- {
644
- "internalType": "bool",
645
- "name": "isVerifyingApplications",
646
- "type": "bool"
647
- },
648
- {
649
- "internalType": "UFixed",
650
- "name": "collateralizationLevel",
651
- "type": "uint256"
652
- },
653
- {
654
- "internalType": "UFixed",
655
- "name": "retentionLevel",
656
- "type": "uint256"
657
- },
658
- {
659
- "components": [
660
- {
661
- "internalType": "UFixed",
662
- "name": "fractionalFee",
663
- "type": "uint256"
664
- },
665
- {
666
- "internalType": "uint256",
667
- "name": "fixedFee",
668
- "type": "uint256"
669
- }
670
- ],
671
- "internalType": "struct Fee",
672
- "name": "poolFee",
673
- "type": "tuple"
674
- },
675
- {
676
- "components": [
677
- {
678
- "internalType": "UFixed",
679
- "name": "fractionalFee",
680
- "type": "uint256"
681
- },
682
- {
683
- "internalType": "uint256",
684
- "name": "fixedFee",
685
- "type": "uint256"
686
- }
687
- ],
688
- "internalType": "struct Fee",
689
- "name": "stakingFee",
690
- "type": "tuple"
691
- },
692
- {
693
- "components": [
694
- {
695
- "internalType": "UFixed",
696
- "name": "fractionalFee",
697
- "type": "uint256"
698
- },
699
- {
700
- "internalType": "uint256",
701
- "name": "fixedFee",
702
- "type": "uint256"
703
- }
704
- ],
705
- "internalType": "struct Fee",
706
- "name": "performanceFee",
707
- "type": "tuple"
666
+ "internalType": "contract TokenHandler",
667
+ "name": "tokenHandler",
668
+ "type": "address"
708
669
  },
709
670
  {
710
671
  "internalType": "address",
711
672
  "name": "wallet",
712
673
  "type": "address"
674
+ },
675
+ {
676
+ "internalType": "bytes",
677
+ "name": "data",
678
+ "type": "bytes"
713
679
  }
714
680
  ],
715
- "internalType": "struct ISetup.PoolSetupInfo",
716
- "name": "setup",
681
+ "internalType": "struct IComponents.ComponentInfo",
682
+ "name": "info",
717
683
  "type": "tuple"
718
684
  }
719
685
  ],
@@ -751,23 +717,6 @@
751
717
  "name": "poolNftId",
752
718
  "type": "uint96"
753
719
  },
754
- {
755
- "components": [
756
- {
757
- "internalType": "UFixed",
758
- "name": "fractionalFee",
759
- "type": "uint256"
760
- },
761
- {
762
- "internalType": "uint256",
763
- "name": "fixedFee",
764
- "type": "uint256"
765
- }
766
- ],
767
- "internalType": "struct Fee",
768
- "name": "distributionFee",
769
- "type": "tuple"
770
- },
771
720
  {
772
721
  "components": [
773
722
  {
@@ -802,57 +751,6 @@
802
751
  "name": "processingFee",
803
752
  "type": "tuple"
804
753
  },
805
- {
806
- "components": [
807
- {
808
- "internalType": "UFixed",
809
- "name": "fractionalFee",
810
- "type": "uint256"
811
- },
812
- {
813
- "internalType": "uint256",
814
- "name": "fixedFee",
815
- "type": "uint256"
816
- }
817
- ],
818
- "internalType": "struct Fee",
819
- "name": "poolFee",
820
- "type": "tuple"
821
- },
822
- {
823
- "components": [
824
- {
825
- "internalType": "UFixed",
826
- "name": "fractionalFee",
827
- "type": "uint256"
828
- },
829
- {
830
- "internalType": "uint256",
831
- "name": "fixedFee",
832
- "type": "uint256"
833
- }
834
- ],
835
- "internalType": "struct Fee",
836
- "name": "stakingFee",
837
- "type": "tuple"
838
- },
839
- {
840
- "components": [
841
- {
842
- "internalType": "UFixed",
843
- "name": "fractionalFee",
844
- "type": "uint256"
845
- },
846
- {
847
- "internalType": "uint256",
848
- "name": "fixedFee",
849
- "type": "uint256"
850
- }
851
- ],
852
- "internalType": "struct Fee",
853
- "name": "performanceFee",
854
- "type": "tuple"
855
- },
856
754
  {
857
755
  "internalType": "bool",
858
756
  "name": "isIntercepting",
@@ -1163,6 +1061,19 @@
1163
1061
  "stateMutability": "view",
1164
1062
  "type": "function"
1165
1063
  },
1064
+ {
1065
+ "inputs": [],
1066
+ "name": "getInstanceAccessManager",
1067
+ "outputs": [
1068
+ {
1069
+ "internalType": "contract InstanceAccessManager",
1070
+ "name": "",
1071
+ "type": "address"
1072
+ }
1073
+ ],
1074
+ "stateMutability": "view",
1075
+ "type": "function"
1076
+ },
1166
1077
  {
1167
1078
  "inputs": [],
1168
1079
  "name": "getInstanceReader",
@@ -1413,6 +1324,47 @@
1413
1324
  "stateMutability": "nonpayable",
1414
1325
  "type": "function"
1415
1326
  },
1327
+ {
1328
+ "inputs": [
1329
+ {
1330
+ "internalType": "address",
1331
+ "name": "to",
1332
+ "type": "address"
1333
+ },
1334
+ {
1335
+ "internalType": "uint256",
1336
+ "name": "tokenId",
1337
+ "type": "uint256"
1338
+ }
1339
+ ],
1340
+ "name": "nftMint",
1341
+ "outputs": [],
1342
+ "stateMutability": "nonpayable",
1343
+ "type": "function"
1344
+ },
1345
+ {
1346
+ "inputs": [
1347
+ {
1348
+ "internalType": "address",
1349
+ "name": "from",
1350
+ "type": "address"
1351
+ },
1352
+ {
1353
+ "internalType": "address",
1354
+ "name": "to",
1355
+ "type": "address"
1356
+ },
1357
+ {
1358
+ "internalType": "uint256",
1359
+ "name": "tokenId",
1360
+ "type": "uint256"
1361
+ }
1362
+ ],
1363
+ "name": "nftTransferFrom",
1364
+ "outputs": [],
1365
+ "stateMutability": "nonpayable",
1366
+ "type": "function"
1367
+ },
1416
1368
  {
1417
1369
  "inputs": [
1418
1370
  {
@@ -1426,6 +1378,19 @@
1426
1378
  "stateMutability": "nonpayable",
1427
1379
  "type": "function"
1428
1380
  },
1381
+ {
1382
+ "inputs": [
1383
+ {
1384
+ "internalType": "contract InstanceAccessManager",
1385
+ "name": "accessManager",
1386
+ "type": "address"
1387
+ }
1388
+ ],
1389
+ "name": "setInstanceAccessManager",
1390
+ "outputs": [],
1391
+ "stateMutability": "nonpayable",
1392
+ "type": "function"
1393
+ },
1429
1394
  {
1430
1395
  "inputs": [
1431
1396
  {
@@ -1514,9 +1479,9 @@
1514
1479
  "type": "uint256"
1515
1480
  },
1516
1481
  {
1517
- "internalType": "uint256",
1482
+ "internalType": "Seconds",
1518
1483
  "name": "lifetime",
1519
- "type": "uint256"
1484
+ "type": "uint40"
1520
1485
  },
1521
1486
  {
1522
1487
  "internalType": "bytes",
@@ -1644,9 +1609,9 @@
1644
1609
  "type": "uint256"
1645
1610
  },
1646
1611
  {
1647
- "internalType": "uint256",
1612
+ "internalType": "Seconds",
1648
1613
  "name": "lifetime",
1649
- "type": "uint256"
1614
+ "type": "uint40"
1650
1615
  },
1651
1616
  {
1652
1617
  "internalType": "Timestamp",
@@ -1711,6 +1676,23 @@
1711
1676
  "name": "tokenHandler",
1712
1677
  "type": "address"
1713
1678
  },
1679
+ {
1680
+ "components": [
1681
+ {
1682
+ "internalType": "UFixed",
1683
+ "name": "fractionalFee",
1684
+ "type": "uint256"
1685
+ },
1686
+ {
1687
+ "internalType": "uint256",
1688
+ "name": "fixedFee",
1689
+ "type": "uint256"
1690
+ }
1691
+ ],
1692
+ "internalType": "struct Fee",
1693
+ "name": "minDistributionOwnerFee",
1694
+ "type": "tuple"
1695
+ },
1714
1696
  {
1715
1697
  "components": [
1716
1698
  {
@@ -1732,6 +1714,11 @@
1732
1714
  "internalType": "address",
1733
1715
  "name": "wallet",
1734
1716
  "type": "address"
1717
+ },
1718
+ {
1719
+ "internalType": "uint256",
1720
+ "name": "sumDistributionOwnerFees",
1721
+ "type": "uint256"
1735
1722
  }
1736
1723
  ],
1737
1724
  "internalType": "struct ISetup.DistributionSetupInfo",
@@ -1790,6 +1777,16 @@
1790
1777
  "internalType": "bytes",
1791
1778
  "name": "data",
1792
1779
  "type": "bytes"
1780
+ },
1781
+ {
1782
+ "internalType": "uint256",
1783
+ "name": "sumCommisions",
1784
+ "type": "uint256"
1785
+ },
1786
+ {
1787
+ "internalType": "uint256",
1788
+ "name": "numPoliciesSold",
1789
+ "type": "uint256"
1793
1790
  }
1794
1791
  ],
1795
1792
  "internalType": "struct IDistribution.DistributorInfo",
@@ -1958,9 +1955,9 @@
1958
1955
  "type": "uint256"
1959
1956
  },
1960
1957
  {
1961
- "internalType": "uint256",
1958
+ "internalType": "Seconds",
1962
1959
  "name": "lifetime",
1963
- "type": "uint256"
1960
+ "type": "uint40"
1964
1961
  },
1965
1962
  {
1966
1963
  "internalType": "bytes",
@@ -2046,99 +2043,33 @@
2046
2043
  {
2047
2044
  "components": [
2048
2045
  {
2049
- "internalType": "NftId",
2050
- "name": "productNftId",
2051
- "type": "uint96"
2046
+ "internalType": "string",
2047
+ "name": "name",
2048
+ "type": "string"
2052
2049
  },
2053
2050
  {
2054
- "internalType": "contract TokenHandler",
2055
- "name": "tokenHandler",
2051
+ "internalType": "contract IERC20Metadata",
2052
+ "name": "token",
2056
2053
  "type": "address"
2057
2054
  },
2058
2055
  {
2059
- "internalType": "bool",
2060
- "name": "isInterceptingBundleTransfers",
2061
- "type": "bool"
2062
- },
2063
- {
2064
- "internalType": "bool",
2065
- "name": "isExternallyManaged",
2066
- "type": "bool"
2067
- },
2068
- {
2069
- "internalType": "bool",
2070
- "name": "isVerifyingApplications",
2071
- "type": "bool"
2072
- },
2073
- {
2074
- "internalType": "UFixed",
2075
- "name": "collateralizationLevel",
2076
- "type": "uint256"
2077
- },
2078
- {
2079
- "internalType": "UFixed",
2080
- "name": "retentionLevel",
2081
- "type": "uint256"
2082
- },
2083
- {
2084
- "components": [
2085
- {
2086
- "internalType": "UFixed",
2087
- "name": "fractionalFee",
2088
- "type": "uint256"
2089
- },
2090
- {
2091
- "internalType": "uint256",
2092
- "name": "fixedFee",
2093
- "type": "uint256"
2094
- }
2095
- ],
2096
- "internalType": "struct Fee",
2097
- "name": "poolFee",
2098
- "type": "tuple"
2099
- },
2100
- {
2101
- "components": [
2102
- {
2103
- "internalType": "UFixed",
2104
- "name": "fractionalFee",
2105
- "type": "uint256"
2106
- },
2107
- {
2108
- "internalType": "uint256",
2109
- "name": "fixedFee",
2110
- "type": "uint256"
2111
- }
2112
- ],
2113
- "internalType": "struct Fee",
2114
- "name": "stakingFee",
2115
- "type": "tuple"
2116
- },
2117
- {
2118
- "components": [
2119
- {
2120
- "internalType": "UFixed",
2121
- "name": "fractionalFee",
2122
- "type": "uint256"
2123
- },
2124
- {
2125
- "internalType": "uint256",
2126
- "name": "fixedFee",
2127
- "type": "uint256"
2128
- }
2129
- ],
2130
- "internalType": "struct Fee",
2131
- "name": "performanceFee",
2132
- "type": "tuple"
2056
+ "internalType": "contract TokenHandler",
2057
+ "name": "tokenHandler",
2058
+ "type": "address"
2133
2059
  },
2134
2060
  {
2135
2061
  "internalType": "address",
2136
2062
  "name": "wallet",
2137
2063
  "type": "address"
2064
+ },
2065
+ {
2066
+ "internalType": "bytes",
2067
+ "name": "data",
2068
+ "type": "bytes"
2138
2069
  }
2139
2070
  ],
2140
- "internalType": "struct ISetup.PoolSetupInfo",
2141
- "name": "setup",
2071
+ "internalType": "struct IComponents.ComponentInfo",
2072
+ "name": "info",
2142
2073
  "type": "tuple"
2143
2074
  },
2144
2075
  {
@@ -2199,23 +2130,6 @@
2199
2130
  "name": "poolNftId",
2200
2131
  "type": "uint96"
2201
2132
  },
2202
- {
2203
- "components": [
2204
- {
2205
- "internalType": "UFixed",
2206
- "name": "fractionalFee",
2207
- "type": "uint256"
2208
- },
2209
- {
2210
- "internalType": "uint256",
2211
- "name": "fixedFee",
2212
- "type": "uint256"
2213
- }
2214
- ],
2215
- "internalType": "struct Fee",
2216
- "name": "distributionFee",
2217
- "type": "tuple"
2218
- },
2219
2133
  {
2220
2134
  "components": [
2221
2135
  {
@@ -2250,57 +2164,6 @@
2250
2164
  "name": "processingFee",
2251
2165
  "type": "tuple"
2252
2166
  },
2253
- {
2254
- "components": [
2255
- {
2256
- "internalType": "UFixed",
2257
- "name": "fractionalFee",
2258
- "type": "uint256"
2259
- },
2260
- {
2261
- "internalType": "uint256",
2262
- "name": "fixedFee",
2263
- "type": "uint256"
2264
- }
2265
- ],
2266
- "internalType": "struct Fee",
2267
- "name": "poolFee",
2268
- "type": "tuple"
2269
- },
2270
- {
2271
- "components": [
2272
- {
2273
- "internalType": "UFixed",
2274
- "name": "fractionalFee",
2275
- "type": "uint256"
2276
- },
2277
- {
2278
- "internalType": "uint256",
2279
- "name": "fixedFee",
2280
- "type": "uint256"
2281
- }
2282
- ],
2283
- "internalType": "struct Fee",
2284
- "name": "stakingFee",
2285
- "type": "tuple"
2286
- },
2287
- {
2288
- "components": [
2289
- {
2290
- "internalType": "UFixed",
2291
- "name": "fractionalFee",
2292
- "type": "uint256"
2293
- },
2294
- {
2295
- "internalType": "uint256",
2296
- "name": "fixedFee",
2297
- "type": "uint256"
2298
- }
2299
- ],
2300
- "internalType": "struct Fee",
2301
- "name": "performanceFee",
2302
- "type": "tuple"
2303
- },
2304
2167
  {
2305
2168
  "internalType": "bool",
2306
2169
  "name": "isIntercepting",
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/359f7e46bc71a5341d1c43865ca79553.json"
3
+ "buildInfo": "../../../build-info/95371df5f28c49f1193e96df62dcfc87.json"
4
4
  }