@etherisc/gif-next 0.0.2-9dd41ff-671 → 0.0.2-9ed3c41-176

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 (476) hide show
  1. package/README.md +30 -2
  2. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  3. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1253 -0
  4. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  5. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1206 -0
  6. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  7. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +358 -0
  8. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  9. package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
  10. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1032 -0
  12. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +258 -0
  14. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +290 -0
  16. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  17. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +148 -0
  18. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +390 -0
  20. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +190 -0
  22. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  23. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1505 -0
  24. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +410 -0
  26. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  27. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +148 -352
  28. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  29. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +154 -335
  30. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  31. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +72 -97
  32. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  33. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +151 -251
  34. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  35. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +67 -64
  36. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  37. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +703 -0
  38. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  39. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +71 -72
  40. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  41. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +190 -49
  42. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  43. package/artifacts/contracts/instance/Instance.sol/Instance.json +81 -141
  44. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  45. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1158 -278
  46. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  47. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +601 -0
  48. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  49. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +493 -332
  50. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  51. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +271 -109
  52. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  53. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +65 -58
  54. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  55. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +1103 -359
  56. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  57. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  58. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  59. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.json +0 -53
  60. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  61. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  62. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  63. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +182 -0
  64. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  65. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +181 -0
  66. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  67. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +21 -0
  68. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  69. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  70. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  71. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  72. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  73. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  74. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  75. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  76. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +1155 -0
  77. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  78. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +418 -0
  79. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  80. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  81. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  82. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +772 -0
  83. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  84. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +675 -0
  85. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  86. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +1063 -0
  87. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  88. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1034 -0
  89. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  90. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +730 -0
  91. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  92. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1477 -0
  93. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  94. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +410 -0
  95. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  96. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +95 -268
  97. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  98. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +60 -73
  99. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  100. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +19 -51
  101. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  102. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +149 -285
  103. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  104. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +134 -133
  105. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  106. package/artifacts/contracts/pool/Pool.sol/Pool.json +191 -348
  107. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  108. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +180 -368
  109. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  110. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +47 -84
  111. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  112. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +93 -167
  113. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  114. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +61 -50
  115. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  116. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1299 -0
  117. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  118. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +410 -0
  119. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  120. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +121 -211
  121. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  122. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +75 -72
  123. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  124. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +20 -1
  125. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  126. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +20 -1
  127. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  128. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +94 -25
  129. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  130. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +40 -1
  131. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  132. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +253 -148
  133. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +1 -1
  134. package/artifacts/contracts/product/IProductService.sol/IProductService.json +13 -55
  135. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  136. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +180 -297
  137. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  138. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +58 -103
  139. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  140. package/artifacts/contracts/product/PricingService.sol/PricingService.json +163 -174
  141. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  142. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +86 -59
  143. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  144. package/artifacts/contracts/product/Product.sol/Product.json +288 -248
  145. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +1 -1
  146. package/artifacts/contracts/product/ProductService.sol/ProductService.json +47 -222
  147. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
  148. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +39 -48
  149. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  150. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +2 -2
  151. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  152. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +106 -32
  153. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  154. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +42 -73
  155. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  156. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  157. package/artifacts/contracts/registry/Registry.sol/Registry.json +359 -47
  158. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  159. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1557 -116
  160. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  161. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +198 -28
  162. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  163. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +45 -42
  164. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  165. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +164 -0
  166. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  167. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1159 -0
  168. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  169. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +214 -0
  170. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  171. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +314 -136
  172. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  173. package/artifacts/contracts/shared/Component.sol/Component.json +100 -96
  174. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  175. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +892 -55
  176. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  177. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +784 -0
  178. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  179. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +539 -0
  180. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  181. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +2 -2
  182. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  183. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +76 -81
  184. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  185. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +880 -0
  186. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  187. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +718 -0
  188. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  189. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +12 -16
  190. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  191. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +1 -6
  192. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  193. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +7 -1
  194. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  195. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +21 -3
  196. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  197. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +7 -1
  198. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  199. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  200. package/artifacts/contracts/shared/IService.sol/IService.json +20 -1
  201. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  202. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +4 -0
  203. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +39 -0
  204. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  205. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +996 -0
  206. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  207. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +497 -0
  208. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  209. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +133 -0
  210. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  211. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  212. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  213. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +33 -20
  214. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  215. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +31 -13
  216. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  217. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +19 -32
  218. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  219. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +17 -22
  220. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  221. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -2
  222. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  223. package/artifacts/contracts/shared/Service.sol/Service.json +16 -16
  224. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  225. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +40 -4
  226. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  227. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  228. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  229. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  230. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1438 -0
  231. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  232. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +566 -54
  233. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  234. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +460 -0
  235. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  236. package/artifacts/contracts/staking/Staking.sol/Staking.json +2005 -0
  237. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  238. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +164 -0
  239. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  240. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +761 -0
  241. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  242. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +592 -0
  243. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  244. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +657 -100
  245. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  246. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +65 -46
  247. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  248. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2237 -0
  249. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  250. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +571 -0
  251. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  252. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +2 -2
  253. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  254. package/artifacts/contracts/type/Amount.sol/AmountLib.json +68 -4
  255. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  256. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +53 -2
  257. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  258. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +4 -4
  259. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  260. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +4 -4
  261. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  262. package/artifacts/contracts/type/Fee.sol/FeeLib.json +34 -34
  263. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  264. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  265. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  266. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +47 -4
  267. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  268. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  269. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  270. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +149 -2
  271. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  272. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +4 -4
  273. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  274. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +4 -4
  275. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  276. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  277. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  278. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +4 -4
  279. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  280. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +219 -6
  281. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  282. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +76 -2
  283. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  284. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
  285. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  286. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  287. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  288. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +2 -2
  289. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  290. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  291. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  292. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +17 -4
  293. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +1 -1
  294. package/artifacts/contracts/type/UFixed.sol/MathLib.json +2 -2
  295. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  296. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +21 -2
  297. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  298. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -2
  299. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  300. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +21 -2
  301. package/contracts/authorization/AccessAdmin.sol +591 -0
  302. package/contracts/authorization/AccessManagerCloneable.sol +16 -0
  303. package/contracts/authorization/Authorization.sol +218 -0
  304. package/contracts/authorization/IAccess.sol +48 -0
  305. package/contracts/authorization/IAccessAdmin.sol +136 -0
  306. package/contracts/authorization/IAuthorization.sol +54 -0
  307. package/contracts/authorization/IModuleAuthorization.sol +21 -0
  308. package/contracts/authorization/IServiceAuthorization.sol +38 -0
  309. package/contracts/authorization/ModuleAuthorization.sol +78 -0
  310. package/contracts/authorization/ServiceAuthorization.sol +90 -0
  311. package/contracts/distribution/BasicDistribution.sol +149 -0
  312. package/contracts/distribution/BasicDistributionAuthorization.sol +43 -0
  313. package/contracts/distribution/Distribution.sol +144 -146
  314. package/contracts/distribution/DistributionService.sol +69 -118
  315. package/contracts/distribution/IDistributionComponent.sol +20 -43
  316. package/contracts/distribution/IDistributionService.sol +7 -9
  317. package/contracts/instance/{BundleManager.sol → BundleSet.sol} +23 -23
  318. package/contracts/instance/IInstance.sol +21 -12
  319. package/contracts/instance/IInstanceService.sol +44 -25
  320. package/contracts/instance/Instance.sol +110 -86
  321. package/contracts/instance/InstanceAdmin.sol +194 -282
  322. package/contracts/instance/InstanceAuthorizationV3.sol +202 -0
  323. package/contracts/instance/InstanceReader.sol +84 -47
  324. package/contracts/instance/InstanceService.sol +253 -108
  325. package/contracts/instance/InstanceStore.sol +131 -66
  326. package/contracts/instance/base/BalanceStore.sol +123 -0
  327. package/contracts/instance/base/Cloneable.sol +2 -25
  328. package/contracts/instance/base/ObjectCounter.sol +21 -0
  329. package/contracts/instance/base/ObjectLifecycle.sol +106 -0
  330. package/contracts/instance/base/{ObjectManager.sol → ObjectSet.sol} +11 -14
  331. package/contracts/instance/module/IAccess.sol +2 -0
  332. package/contracts/instance/module/IBundle.sol +1 -4
  333. package/contracts/instance/module/IComponents.sol +15 -4
  334. package/contracts/instance/module/IPolicy.sol +8 -2
  335. package/contracts/mock/Dip.sol +26 -0
  336. package/contracts/oracle/BasicOracle.sol +48 -0
  337. package/contracts/oracle/BasicOracleAuthorization.sol +46 -0
  338. package/contracts/oracle/IOracle.sol +36 -0
  339. package/contracts/oracle/IOracleComponent.sol +32 -0
  340. package/contracts/oracle/IOracleService.sol +65 -0
  341. package/contracts/oracle/Oracle.sol +157 -0
  342. package/contracts/oracle/OracleService.sol +278 -0
  343. package/contracts/oracle/OracleServiceManager.sol +42 -0
  344. package/contracts/pool/BasicPool.sol +164 -0
  345. package/contracts/pool/BasicPoolAuthorization.sol +49 -0
  346. package/contracts/pool/BundleService.sol +86 -174
  347. package/contracts/pool/IBundleService.sol +4 -16
  348. package/contracts/pool/IPoolComponent.sol +4 -66
  349. package/contracts/pool/IPoolService.sol +45 -9
  350. package/contracts/pool/Pool.sol +150 -141
  351. package/contracts/pool/PoolService.sol +191 -144
  352. package/contracts/product/ApplicationService.sol +109 -42
  353. package/contracts/product/BasicProduct.sol +82 -0
  354. package/contracts/product/BasicProductAuthorization.sol +40 -0
  355. package/contracts/product/ClaimService.sol +18 -19
  356. package/contracts/product/IApplicationService.sol +1 -1
  357. package/contracts/product/IClaimService.sol +7 -1
  358. package/contracts/product/IPolicyService.sol +6 -8
  359. package/contracts/product/IPricingService.sol +3 -1
  360. package/contracts/product/IProductComponent.sol +9 -11
  361. package/contracts/product/IProductService.sol +1 -8
  362. package/contracts/product/PolicyService.sol +225 -128
  363. package/contracts/product/PricingService.sol +72 -48
  364. package/contracts/product/Product.sol +118 -105
  365. package/contracts/product/ProductService.sol +26 -114
  366. package/contracts/registry/ChainNft.sol +8 -1
  367. package/contracts/registry/IRegistry.sol +40 -18
  368. package/contracts/registry/IRegistryService.sol +15 -5
  369. package/contracts/registry/Registry.sol +221 -110
  370. package/contracts/registry/RegistryAdmin.sol +299 -77
  371. package/contracts/registry/RegistryService.sol +48 -14
  372. package/contracts/registry/RegistryServiceManager.sol +2 -9
  373. package/contracts/registry/ReleaseLifecycle.sol +27 -0
  374. package/contracts/registry/ReleaseRegistry.sol +487 -0
  375. package/contracts/registry/ServiceAuthorizationV3.sol +200 -0
  376. package/contracts/registry/TokenRegistry.sol +261 -64
  377. package/contracts/shared/Component.sol +139 -129
  378. package/contracts/shared/ComponentService.sol +527 -87
  379. package/contracts/shared/ComponentServiceManager.sol +35 -0
  380. package/contracts/shared/ComponentVerifyingService.sol +117 -0
  381. package/contracts/shared/ERC165.sol +1 -1
  382. package/contracts/shared/IComponent.sol +17 -37
  383. package/contracts/shared/IComponentService.sol +102 -0
  384. package/contracts/shared/IInstanceLinkedComponent.sol +50 -0
  385. package/contracts/{instance/base → shared}/IKeyValueStore.sol +7 -6
  386. package/contracts/{instance/base → shared}/ILifecycle.sol +3 -4
  387. package/contracts/shared/INftOwnable.sol +1 -1
  388. package/contracts/shared/IPolicyHolder.sol +6 -1
  389. package/contracts/shared/IService.sol +8 -1
  390. package/contracts/shared/InitializableCustom.sol +177 -0
  391. package/contracts/shared/InstanceLinkedComponent.sol +151 -0
  392. package/contracts/{instance/base → shared}/KeyValueStore.sol +36 -74
  393. package/contracts/shared/Lifecycle.sol +77 -0
  394. package/contracts/shared/NftIdSet.sol +65 -0
  395. package/contracts/shared/NftOwnable.sol +3 -13
  396. package/contracts/shared/PolicyHolder.sol +21 -13
  397. package/contracts/shared/ProxyManager.sol +2 -3
  398. package/contracts/shared/Registerable.sol +2 -2
  399. package/contracts/shared/Service.sol +32 -21
  400. package/contracts/shared/TokenHandler.sol +24 -1
  401. package/contracts/staking/IStaking.sol +167 -0
  402. package/contracts/staking/IStakingService.sol +105 -47
  403. package/contracts/staking/StakeManagerLib.sol +231 -0
  404. package/contracts/staking/Staking.sol +511 -0
  405. package/contracts/staking/StakingLifecycle.sol +23 -0
  406. package/contracts/staking/StakingManager.sol +53 -0
  407. package/contracts/staking/StakingReader.sol +186 -0
  408. package/contracts/staking/StakingService.sol +286 -44
  409. package/contracts/staking/StakingServiceManager.sol +7 -3
  410. package/contracts/staking/StakingStore.sol +615 -0
  411. package/contracts/staking/TargetManagerLib.sol +207 -0
  412. package/contracts/type/AddressSet.sol +1 -1
  413. package/contracts/type/Amount.sol +20 -1
  414. package/contracts/type/Blocknumber.sol +20 -3
  415. package/contracts/type/Fee.sol +17 -16
  416. package/contracts/type/NftId.sol +14 -16
  417. package/contracts/type/NftIdSet.sol +1 -1
  418. package/contracts/type/ObjectType.sol +172 -63
  419. package/contracts/type/Referral.sol +1 -1
  420. package/contracts/type/RequestId.sol +75 -0
  421. package/contracts/type/RiskId.sol +1 -1
  422. package/contracts/type/RoleId.sol +104 -69
  423. package/contracts/type/Seconds.sol +27 -0
  424. package/contracts/type/Selector.sol +102 -0
  425. package/contracts/type/StateId.sol +27 -2
  426. package/contracts/type/String.sol +53 -0
  427. package/contracts/type/Timestamp.sol +6 -2
  428. package/contracts/type/UFixed.sol +6 -0
  429. package/contracts/type/Version.sol +4 -2
  430. package/package.json +8 -5
  431. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  432. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -778
  433. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +0 -4
  434. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +0 -188
  435. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  436. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  437. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  438. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -581
  439. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  440. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -194
  441. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  442. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +0 -256
  443. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  444. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  445. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +0 -10
  446. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  447. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -1018
  448. package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.dbg.json +0 -4
  449. package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.json +0 -1193
  450. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.dbg.json +0 -4
  451. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.json +0 -1715
  452. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.dbg.json +0 -4
  453. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.json +0 -1728
  454. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.dbg.json +0 -4
  455. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.json +0 -1747
  456. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.dbg.json +0 -4
  457. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.json +0 -1765
  458. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  459. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
  460. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.dbg.json +0 -4
  461. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.json +0 -1562
  462. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.dbg.json +0 -4
  463. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.json +0 -1594
  464. package/contracts/instance/InstanceAuthorizationsLib.sol +0 -320
  465. package/contracts/instance/base/Lifecycle.sol +0 -121
  466. package/contracts/instance/module/ISetup.sol +0 -33
  467. package/contracts/instance/module/ITreasury.sol +0 -23
  468. package/contracts/registry/ReleaseManager.sol +0 -465
  469. package/contracts/shared/AccessManagerCustom.sol +0 -736
  470. package/contracts/shared/AccessManagerExtended.sol +0 -469
  471. package/contracts/shared/AccessManagerExtendedInitializeable.sol +0 -13
  472. package/contracts/shared/AccessManagerExtendedWithDisable.sol +0 -125
  473. package/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol +0 -14
  474. package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +0 -13
  475. package/contracts/shared/IAccessManagerExtended.sol +0 -74
  476. package/contracts/shared/IAccessManagerExtendedWithDisable.sol +0 -17
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/0f134175a99d7f626758a10361e1f9c3.json"
3
+ "buildInfo": "../../../build-info/8184b9bf6735d0fabf3de554db2eb1cf.json"
4
4
  }
@@ -63,6 +63,11 @@
63
63
  "name": "AddressInsufficientBalance",
64
64
  "type": "error"
65
65
  },
66
+ {
67
+ "inputs": [],
68
+ "name": "ErrorComponentNameLengthZero",
69
+ "type": "error"
70
+ },
66
71
  {
67
72
  "inputs": [
68
73
  {
@@ -101,6 +106,11 @@
101
106
  "name": "ErrorComponentProductNftAlreadySet",
102
107
  "type": "error"
103
108
  },
109
+ {
110
+ "inputs": [],
111
+ "name": "ErrorComponentTokenAddressZero",
112
+ "type": "error"
113
+ },
104
114
  {
105
115
  "inputs": [],
106
116
  "name": "ErrorComponentWalletAddressIsSameAsCurrent",
@@ -248,9 +258,15 @@
248
258
  "inputs": [
249
259
  {
250
260
  "indexed": false,
251
- "internalType": "uint256",
261
+ "internalType": "address",
262
+ "name": "token",
263
+ "type": "address"
264
+ },
265
+ {
266
+ "indexed": false,
267
+ "internalType": "Amount",
252
268
  "name": "limit",
253
- "type": "uint256"
269
+ "type": "uint96"
254
270
  }
255
271
  ],
256
272
  "name": "LogComponentTokenHandlerApproved",
@@ -313,6 +329,19 @@
313
329
  "stateMutability": "view",
314
330
  "type": "function"
315
331
  },
332
+ {
333
+ "inputs": [],
334
+ "name": "INSTANCE_LINKED_COMPONENT_LOCATION_V1",
335
+ "outputs": [
336
+ {
337
+ "internalType": "bytes32",
338
+ "name": "",
339
+ "type": "bytes32"
340
+ }
341
+ ],
342
+ "stateMutability": "view",
343
+ "type": "function"
344
+ },
316
345
  {
317
346
  "inputs": [],
318
347
  "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
@@ -355,9 +384,27 @@
355
384
  {
356
385
  "inputs": [
357
386
  {
358
- "internalType": "uint256",
387
+ "internalType": "address",
388
+ "name": "token",
389
+ "type": "address"
390
+ },
391
+ {
392
+ "internalType": "Amount",
359
393
  "name": "spendingLimitAmount",
360
- "type": "uint256"
394
+ "type": "uint96"
395
+ }
396
+ ],
397
+ "name": "approveTokenHandler",
398
+ "outputs": [],
399
+ "stateMutability": "nonpayable",
400
+ "type": "function"
401
+ },
402
+ {
403
+ "inputs": [
404
+ {
405
+ "internalType": "Amount",
406
+ "name": "spendingLimitAmount",
407
+ "type": "uint96"
361
408
  }
362
409
  ],
363
410
  "name": "approveTokenHandler",
@@ -456,6 +503,19 @@
456
503
  "stateMutability": "view",
457
504
  "type": "function"
458
505
  },
506
+ {
507
+ "inputs": [],
508
+ "name": "getAuthorization",
509
+ "outputs": [
510
+ {
511
+ "internalType": "contract IAuthorization",
512
+ "name": "authorization",
513
+ "type": "address"
514
+ }
515
+ ],
516
+ "stateMutability": "view",
517
+ "type": "function"
518
+ },
459
519
  {
460
520
  "inputs": [],
461
521
  "name": "getComponentInfo",
@@ -467,6 +527,11 @@
467
527
  "name": "name",
468
528
  "type": "string"
469
529
  },
530
+ {
531
+ "internalType": "NftId",
532
+ "name": "productNftId",
533
+ "type": "uint96"
534
+ },
470
535
  {
471
536
  "internalType": "contract IERC20Metadata",
472
537
  "name": "token",
@@ -482,16 +547,6 @@
482
547
  "name": "wallet",
483
548
  "type": "address"
484
549
  },
485
- {
486
- "internalType": "Amount",
487
- "name": "balanceAmount",
488
- "type": "uint96"
489
- },
490
- {
491
- "internalType": "Amount",
492
- "name": "feeAmount",
493
- "type": "uint96"
494
- },
495
550
  {
496
551
  "internalType": "bytes",
497
552
  "name": "data",
@@ -519,6 +574,51 @@
519
574
  "stateMutability": "view",
520
575
  "type": "function"
521
576
  },
577
+ {
578
+ "inputs": [],
579
+ "name": "getInitialComponentInfo",
580
+ "outputs": [
581
+ {
582
+ "components": [
583
+ {
584
+ "internalType": "string",
585
+ "name": "name",
586
+ "type": "string"
587
+ },
588
+ {
589
+ "internalType": "NftId",
590
+ "name": "productNftId",
591
+ "type": "uint96"
592
+ },
593
+ {
594
+ "internalType": "contract IERC20Metadata",
595
+ "name": "token",
596
+ "type": "address"
597
+ },
598
+ {
599
+ "internalType": "contract TokenHandler",
600
+ "name": "tokenHandler",
601
+ "type": "address"
602
+ },
603
+ {
604
+ "internalType": "address",
605
+ "name": "wallet",
606
+ "type": "address"
607
+ },
608
+ {
609
+ "internalType": "bytes",
610
+ "name": "data",
611
+ "type": "bytes"
612
+ }
613
+ ],
614
+ "internalType": "struct IComponents.ComponentInfo",
615
+ "name": "info",
616
+ "type": "tuple"
617
+ }
618
+ ],
619
+ "stateMutability": "view",
620
+ "type": "function"
621
+ },
522
622
  {
523
623
  "inputs": [],
524
624
  "name": "getInitialInfo",
@@ -569,6 +669,150 @@
569
669
  "stateMutability": "view",
570
670
  "type": "function"
571
671
  },
672
+ {
673
+ "inputs": [],
674
+ "name": "getInitialProductInfo",
675
+ "outputs": [
676
+ {
677
+ "components": [
678
+ {
679
+ "internalType": "NftId",
680
+ "name": "distributionNftId",
681
+ "type": "uint96"
682
+ },
683
+ {
684
+ "internalType": "NftId",
685
+ "name": "poolNftId",
686
+ "type": "uint96"
687
+ },
688
+ {
689
+ "components": [
690
+ {
691
+ "internalType": "UFixed",
692
+ "name": "fractionalFee",
693
+ "type": "uint256"
694
+ },
695
+ {
696
+ "internalType": "uint256",
697
+ "name": "fixedFee",
698
+ "type": "uint256"
699
+ }
700
+ ],
701
+ "internalType": "struct Fee",
702
+ "name": "productFee",
703
+ "type": "tuple"
704
+ },
705
+ {
706
+ "components": [
707
+ {
708
+ "internalType": "UFixed",
709
+ "name": "fractionalFee",
710
+ "type": "uint256"
711
+ },
712
+ {
713
+ "internalType": "uint256",
714
+ "name": "fixedFee",
715
+ "type": "uint256"
716
+ }
717
+ ],
718
+ "internalType": "struct Fee",
719
+ "name": "processingFee",
720
+ "type": "tuple"
721
+ },
722
+ {
723
+ "components": [
724
+ {
725
+ "internalType": "UFixed",
726
+ "name": "fractionalFee",
727
+ "type": "uint256"
728
+ },
729
+ {
730
+ "internalType": "uint256",
731
+ "name": "fixedFee",
732
+ "type": "uint256"
733
+ }
734
+ ],
735
+ "internalType": "struct Fee",
736
+ "name": "distributionFee",
737
+ "type": "tuple"
738
+ },
739
+ {
740
+ "components": [
741
+ {
742
+ "internalType": "UFixed",
743
+ "name": "fractionalFee",
744
+ "type": "uint256"
745
+ },
746
+ {
747
+ "internalType": "uint256",
748
+ "name": "fixedFee",
749
+ "type": "uint256"
750
+ }
751
+ ],
752
+ "internalType": "struct Fee",
753
+ "name": "minDistributionOwnerFee",
754
+ "type": "tuple"
755
+ },
756
+ {
757
+ "components": [
758
+ {
759
+ "internalType": "UFixed",
760
+ "name": "fractionalFee",
761
+ "type": "uint256"
762
+ },
763
+ {
764
+ "internalType": "uint256",
765
+ "name": "fixedFee",
766
+ "type": "uint256"
767
+ }
768
+ ],
769
+ "internalType": "struct Fee",
770
+ "name": "poolFee",
771
+ "type": "tuple"
772
+ },
773
+ {
774
+ "components": [
775
+ {
776
+ "internalType": "UFixed",
777
+ "name": "fractionalFee",
778
+ "type": "uint256"
779
+ },
780
+ {
781
+ "internalType": "uint256",
782
+ "name": "fixedFee",
783
+ "type": "uint256"
784
+ }
785
+ ],
786
+ "internalType": "struct Fee",
787
+ "name": "stakingFee",
788
+ "type": "tuple"
789
+ },
790
+ {
791
+ "components": [
792
+ {
793
+ "internalType": "UFixed",
794
+ "name": "fractionalFee",
795
+ "type": "uint256"
796
+ },
797
+ {
798
+ "internalType": "uint256",
799
+ "name": "fixedFee",
800
+ "type": "uint256"
801
+ }
802
+ ],
803
+ "internalType": "struct Fee",
804
+ "name": "performanceFee",
805
+ "type": "tuple"
806
+ }
807
+ ],
808
+ "internalType": "struct IComponents.ProductInfo",
809
+ "name": "poolInfo",
810
+ "type": "tuple"
811
+ }
812
+ ],
813
+ "stateMutability": "view",
814
+ "type": "function"
815
+ },
572
816
  {
573
817
  "inputs": [],
574
818
  "name": "getInstance",
@@ -660,85 +904,6 @@
660
904
  "stateMutability": "view",
661
905
  "type": "function"
662
906
  },
663
- {
664
- "inputs": [],
665
- "name": "getSetupInfo",
666
- "outputs": [
667
- {
668
- "components": [
669
- {
670
- "internalType": "contract IERC20Metadata",
671
- "name": "token",
672
- "type": "address"
673
- },
674
- {
675
- "internalType": "contract TokenHandler",
676
- "name": "tokenHandler",
677
- "type": "address"
678
- },
679
- {
680
- "internalType": "NftId",
681
- "name": "distributionNftId",
682
- "type": "uint96"
683
- },
684
- {
685
- "internalType": "NftId",
686
- "name": "poolNftId",
687
- "type": "uint96"
688
- },
689
- {
690
- "components": [
691
- {
692
- "internalType": "UFixed",
693
- "name": "fractionalFee",
694
- "type": "uint256"
695
- },
696
- {
697
- "internalType": "uint256",
698
- "name": "fixedFee",
699
- "type": "uint256"
700
- }
701
- ],
702
- "internalType": "struct Fee",
703
- "name": "productFee",
704
- "type": "tuple"
705
- },
706
- {
707
- "components": [
708
- {
709
- "internalType": "UFixed",
710
- "name": "fractionalFee",
711
- "type": "uint256"
712
- },
713
- {
714
- "internalType": "uint256",
715
- "name": "fixedFee",
716
- "type": "uint256"
717
- }
718
- ],
719
- "internalType": "struct Fee",
720
- "name": "processingFee",
721
- "type": "tuple"
722
- },
723
- {
724
- "internalType": "bool",
725
- "name": "isIntercepting",
726
- "type": "bool"
727
- },
728
- {
729
- "internalType": "address",
730
- "name": "wallet",
731
- "type": "address"
732
- }
733
- ],
734
- "internalType": "struct ISetup.ProductSetupInfo",
735
- "name": "setupInfo",
736
- "type": "tuple"
737
- }
738
- ],
739
- "stateMutability": "view",
740
- "type": "function"
741
- },
742
907
  {
743
908
  "inputs": [],
744
909
  "name": "getToken",
@@ -780,6 +945,11 @@
780
945
  },
781
946
  {
782
947
  "inputs": [
948
+ {
949
+ "internalType": "address",
950
+ "name": "authority",
951
+ "type": "address"
952
+ },
783
953
  {
784
954
  "internalType": "address",
785
955
  "name": "registry",
@@ -787,7 +957,7 @@
787
957
  },
788
958
  {
789
959
  "internalType": "NftId",
790
- "name": "instanceNftId",
960
+ "name": "parentNftId",
791
961
  "type": "uint96"
792
962
  },
793
963
  {
@@ -819,6 +989,11 @@
819
989
  "internalType": "bytes",
820
990
  "name": "registryData",
821
991
  "type": "bytes"
992
+ },
993
+ {
994
+ "internalType": "bytes",
995
+ "name": "componentData",
996
+ "type": "bytes"
822
997
  }
823
998
  ],
824
999
  "name": "initializeComponent",
@@ -851,93 +1026,6 @@
851
1026
  "stateMutability": "nonpayable",
852
1027
  "type": "function"
853
1028
  },
854
- {
855
- "inputs": [
856
- {
857
- "internalType": "address",
858
- "name": "registry",
859
- "type": "address"
860
- },
861
- {
862
- "internalType": "NftId",
863
- "name": "instanceNftId",
864
- "type": "uint96"
865
- },
866
- {
867
- "internalType": "string",
868
- "name": "name",
869
- "type": "string"
870
- },
871
- {
872
- "internalType": "address",
873
- "name": "token",
874
- "type": "address"
875
- },
876
- {
877
- "internalType": "bool",
878
- "name": "isInterceptor",
879
- "type": "bool"
880
- },
881
- {
882
- "internalType": "address",
883
- "name": "pool",
884
- "type": "address"
885
- },
886
- {
887
- "internalType": "address",
888
- "name": "distribution",
889
- "type": "address"
890
- },
891
- {
892
- "components": [
893
- {
894
- "internalType": "UFixed",
895
- "name": "fractionalFee",
896
- "type": "uint256"
897
- },
898
- {
899
- "internalType": "uint256",
900
- "name": "fixedFee",
901
- "type": "uint256"
902
- }
903
- ],
904
- "internalType": "struct Fee",
905
- "name": "productFee",
906
- "type": "tuple"
907
- },
908
- {
909
- "components": [
910
- {
911
- "internalType": "UFixed",
912
- "name": "fractionalFee",
913
- "type": "uint256"
914
- },
915
- {
916
- "internalType": "uint256",
917
- "name": "fixedFee",
918
- "type": "uint256"
919
- }
920
- ],
921
- "internalType": "struct Fee",
922
- "name": "processingFee",
923
- "type": "tuple"
924
- },
925
- {
926
- "internalType": "address",
927
- "name": "initialOwner",
928
- "type": "address"
929
- },
930
- {
931
- "internalType": "bytes",
932
- "name": "registryData",
933
- "type": "bytes"
934
- }
935
- ],
936
- "name": "initializeProduct",
937
- "outputs": [],
938
- "stateMutability": "nonpayable",
939
- "type": "function"
940
- },
941
1029
  {
942
1030
  "inputs": [
943
1031
  {
@@ -1016,28 +1104,28 @@
1016
1104
  "type": "function"
1017
1105
  },
1018
1106
  {
1019
- "inputs": [
1020
- {
1021
- "internalType": "address",
1022
- "name": "nftOwnableAddress",
1023
- "type": "address"
1024
- }
1025
- ],
1026
- "name": "linkToNftOwnable",
1107
+ "inputs": [],
1108
+ "name": "isRegistered",
1027
1109
  "outputs": [
1028
1110
  {
1029
- "internalType": "NftId",
1111
+ "internalType": "bool",
1030
1112
  "name": "",
1031
- "type": "uint96"
1113
+ "type": "bool"
1032
1114
  }
1033
1115
  ],
1034
- "stateMutability": "nonpayable",
1116
+ "stateMutability": "view",
1035
1117
  "type": "function"
1036
1118
  },
1037
1119
  {
1038
1120
  "inputs": [],
1039
1121
  "name": "linkToRegisteredNftId",
1040
- "outputs": [],
1122
+ "outputs": [
1123
+ {
1124
+ "internalType": "NftId",
1125
+ "name": "nftId",
1126
+ "type": "uint96"
1127
+ }
1128
+ ],
1041
1129
  "stateMutability": "nonpayable",
1042
1130
  "type": "function"
1043
1131
  },
@@ -1089,6 +1177,13 @@
1089
1177
  "stateMutability": "nonpayable",
1090
1178
  "type": "function"
1091
1179
  },
1180
+ {
1181
+ "inputs": [],
1182
+ "name": "register",
1183
+ "outputs": [],
1184
+ "stateMutability": "nonpayable",
1185
+ "type": "function"
1186
+ },
1092
1187
  {
1093
1188
  "inputs": [
1094
1189
  {
@@ -1115,61 +1210,6 @@
1115
1210
  "stateMutability": "nonpayable",
1116
1211
  "type": "function"
1117
1212
  },
1118
- {
1119
- "inputs": [
1120
- {
1121
- "components": [
1122
- {
1123
- "internalType": "UFixed",
1124
- "name": "fractionalFee",
1125
- "type": "uint256"
1126
- },
1127
- {
1128
- "internalType": "uint256",
1129
- "name": "fixedFee",
1130
- "type": "uint256"
1131
- }
1132
- ],
1133
- "internalType": "struct Fee",
1134
- "name": "productFee",
1135
- "type": "tuple"
1136
- },
1137
- {
1138
- "components": [
1139
- {
1140
- "internalType": "UFixed",
1141
- "name": "fractionalFee",
1142
- "type": "uint256"
1143
- },
1144
- {
1145
- "internalType": "uint256",
1146
- "name": "fixedFee",
1147
- "type": "uint256"
1148
- }
1149
- ],
1150
- "internalType": "struct Fee",
1151
- "name": "processingFee",
1152
- "type": "tuple"
1153
- }
1154
- ],
1155
- "name": "setFees",
1156
- "outputs": [],
1157
- "stateMutability": "nonpayable",
1158
- "type": "function"
1159
- },
1160
- {
1161
- "inputs": [
1162
- {
1163
- "internalType": "NftId",
1164
- "name": "productNftId",
1165
- "type": "uint96"
1166
- }
1167
- ],
1168
- "name": "setProductNftId",
1169
- "outputs": [],
1170
- "stateMutability": "nonpayable",
1171
- "type": "function"
1172
- },
1173
1213
  {
1174
1214
  "inputs": [
1175
1215
  {
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/0f134175a99d7f626758a10361e1f9c3.json"
3
+ "buildInfo": "../../../build-info/8184b9bf6735d0fabf3de554db2eb1cf.json"
4
4
  }