@etherisc/gif-next 0.0.2-eadf4ad-932 → 0.0.2-eae5e95-691

Sign up to get free protection for your applications and to get access to all the features.
Files changed (527) hide show
  1. package/README.md +51 -5
  2. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  3. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1293 -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 +414 -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 +1060 -0
  12. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +295 -0
  14. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +167 -0
  16. package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.dbg.json +4 -0
  17. package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.json +1196 -0
  18. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +253 -0
  20. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  21. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1415 -0
  22. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +470 -0
  24. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  25. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +230 -545
  26. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  27. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +315 -432
  28. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  29. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +120 -109
  30. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  31. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +214 -290
  32. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  33. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +215 -94
  34. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  35. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  36. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  37. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1551 -0
  38. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  39. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +470 -0
  40. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2090 -0
  42. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +470 -0
  44. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  46. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  47. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1484 -0
  48. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  49. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1244 -0
  50. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  51. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1605 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2108 -0
  54. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  55. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +703 -0
  56. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  57. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +113 -97
  58. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  59. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +171 -85
  60. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  61. package/artifacts/contracts/instance/Instance.sol/Instance.json +120 -207
  62. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  63. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1653 -0
  64. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  65. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +561 -0
  66. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  67. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +850 -366
  68. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  69. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +245 -229
  70. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  71. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +106 -79
  72. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  73. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +1212 -381
  74. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  75. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  76. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  77. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.json +0 -53
  78. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  79. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  80. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  81. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
  82. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  83. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +181 -0
  84. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  85. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +8 -116
  86. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  87. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  88. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  89. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  90. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  91. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  92. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  93. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  94. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +1052 -0
  95. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  96. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +478 -0
  97. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  98. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  99. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  100. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +783 -0
  101. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  102. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +709 -0
  103. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  104. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +920 -0
  105. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  106. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +966 -0
  107. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  108. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +722 -0
  109. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  110. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1312 -0
  111. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  112. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +470 -0
  113. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  114. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +494 -317
  115. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  116. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +186 -87
  117. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  118. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +256 -31
  119. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  120. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +235 -375
  121. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  122. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +460 -254
  123. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  124. package/artifacts/contracts/pool/Pool.sol/Pool.json +269 -565
  125. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  126. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +572 -569
  127. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  128. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +112 -93
  129. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  130. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +117 -264
  131. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  132. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +99 -76
  133. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  134. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1186 -0
  135. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  136. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +470 -0
  137. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  138. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +329 -284
  139. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  140. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +141 -90
  141. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  142. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +54 -1
  143. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  144. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +196 -7
  145. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  146. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +354 -80
  147. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  148. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +154 -86
  149. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  150. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +355 -209
  151. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  152. package/artifacts/contracts/product/{IProductService.sol/IProductService.json → IRiskService.sol/IRiskService.json} +44 -57
  153. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  154. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +418 -397
  155. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  156. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +124 -121
  157. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  158. package/artifacts/contracts/product/PricingService.sol/PricingService.json +233 -330
  159. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  160. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +128 -93
  161. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  162. package/artifacts/contracts/product/Product.sol/Product.json +377 -431
  163. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  164. package/artifacts/contracts/product/RiskService.sol/RiskService.json +622 -0
  165. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  166. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +694 -0
  167. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  168. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  169. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  170. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +391 -45
  171. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  172. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +123 -64
  173. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  174. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +0 -18
  175. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  176. package/artifacts/contracts/registry/Registry.sol/Registry.json +789 -60
  177. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  178. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1886 -0
  179. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  180. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +179 -185
  181. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  182. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +86 -74
  183. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  184. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  185. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  186. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1067 -0
  187. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  188. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +272 -0
  189. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  190. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +314 -138
  191. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  192. package/artifacts/contracts/shared/Component.sol/Component.json +136 -271
  193. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  194. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1335 -198
  195. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  196. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +814 -0
  197. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  198. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +474 -0
  199. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  200. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +92 -0
  201. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  202. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +105 -114
  203. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  204. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1335 -0
  205. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  206. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +718 -0
  207. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  208. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +46 -14
  209. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  210. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
  211. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  212. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +23 -1
  213. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  214. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +16 -30
  215. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  216. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +36 -1
  217. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  218. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  219. package/artifacts/contracts/shared/IService.sol/IService.json +49 -1
  220. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  221. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  222. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  223. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +842 -0
  224. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  225. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +538 -0
  226. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  227. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  228. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  229. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  230. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  231. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +26 -55
  232. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  233. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +20 -124
  234. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  235. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +68 -85
  236. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  237. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  238. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  239. package/artifacts/contracts/shared/Service.sol/Service.json +55 -101
  240. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  241. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +362 -7
  242. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  243. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +108 -0
  244. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  245. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1460 -0
  246. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  247. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +573 -53
  248. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  249. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +440 -0
  250. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  251. package/artifacts/contracts/staking/Staking.sol/Staking.json +1901 -0
  252. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  253. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
  254. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  255. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +776 -0
  256. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  257. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +587 -0
  258. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  259. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +658 -176
  260. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  261. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +109 -66
  262. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  263. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2283 -0
  264. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  265. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +607 -0
  266. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  267. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +2 -2
  268. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  269. package/artifacts/contracts/type/Amount.sol/AmountLib.json +121 -4
  270. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  271. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +53 -2
  272. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  273. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
  274. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  275. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +4 -4
  276. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  277. package/artifacts/contracts/type/Fee.sol/FeeLib.json +39 -34
  278. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  279. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  280. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  281. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +47 -4
  282. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  283. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  284. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  285. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +149 -2
  286. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  287. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
  288. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  289. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +4 -4
  290. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  291. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  292. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  293. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +60 -4
  294. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  295. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +219 -6
  296. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  297. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +124 -2
  298. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  299. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
  300. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  301. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  302. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  303. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
  304. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  305. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  306. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  307. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +36 -4
  308. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +1 -1
  309. package/artifacts/contracts/type/UFixed.sol/MathLib.json +9 -3
  310. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  311. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +71 -2
  312. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  313. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -2
  314. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  315. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +21 -2
  316. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  317. package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +1 -1
  318. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  319. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +602 -0
  320. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  321. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  322. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  323. package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +1 -1
  324. package/contracts/authorization/AccessAdmin.sol +596 -0
  325. package/contracts/authorization/AccessManagerCloneable.sol +16 -0
  326. package/contracts/authorization/Authorization.sol +289 -0
  327. package/contracts/authorization/IAccess.sol +49 -0
  328. package/contracts/authorization/IAccessAdmin.sol +137 -0
  329. package/contracts/authorization/IAuthorization.sol +60 -0
  330. package/contracts/authorization/IServiceAuthorization.sol +40 -0
  331. package/contracts/authorization/ReleaseAccessManager.sol +38 -0
  332. package/contracts/authorization/ServiceAuthorization.sol +106 -0
  333. package/contracts/distribution/BasicDistribution.sol +139 -0
  334. package/contracts/distribution/BasicDistributionAuthorization.sol +47 -0
  335. package/contracts/distribution/Distribution.sol +154 -154
  336. package/contracts/distribution/DistributionService.sol +175 -172
  337. package/contracts/distribution/DistributionServiceManager.sol +8 -23
  338. package/contracts/distribution/IDistributionComponent.sol +28 -47
  339. package/contracts/distribution/IDistributionService.sol +24 -10
  340. package/contracts/examples/fire/DamageLevel.sol +59 -0
  341. package/contracts/examples/fire/FirePool.sol +75 -0
  342. package/contracts/examples/fire/FirePoolAuthorization.sol +34 -0
  343. package/contracts/examples/fire/FireProduct.sol +412 -0
  344. package/contracts/examples/fire/FireProductAuthorization.sol +44 -0
  345. package/contracts/examples/fire/FireUSD.sol +26 -0
  346. package/contracts/examples/unpermissioned/SimpleDistribution.sol +50 -0
  347. package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
  348. package/contracts/examples/unpermissioned/SimplePool.sol +76 -0
  349. package/contracts/examples/unpermissioned/SimpleProduct.sol +351 -0
  350. package/contracts/instance/{BundleManager.sol → BundleSet.sol} +23 -23
  351. package/contracts/instance/IInstance.sol +33 -44
  352. package/contracts/instance/IInstanceService.sol +32 -33
  353. package/contracts/instance/Instance.sol +131 -122
  354. package/contracts/instance/InstanceAdmin.sol +277 -0
  355. package/contracts/instance/InstanceAuthorizationV3.sol +194 -0
  356. package/contracts/instance/InstanceReader.sol +194 -67
  357. package/contracts/instance/InstanceService.sol +243 -134
  358. package/contracts/instance/InstanceServiceManager.sol +8 -13
  359. package/contracts/instance/InstanceStore.sol +142 -66
  360. package/contracts/instance/base/BalanceStore.sol +123 -0
  361. package/contracts/instance/base/Cloneable.sol +2 -25
  362. package/contracts/instance/base/ObjectCounter.sol +21 -0
  363. package/contracts/instance/base/ObjectLifecycle.sol +111 -0
  364. package/contracts/instance/base/{ObjectManager.sol → ObjectSet.sol} +11 -14
  365. package/contracts/instance/module/IAccess.sol +2 -10
  366. package/contracts/instance/module/IBundle.sol +1 -4
  367. package/contracts/instance/module/IComponents.sol +21 -11
  368. package/contracts/instance/module/IDistribution.sol +0 -1
  369. package/contracts/instance/module/IPolicy.sol +31 -25
  370. package/contracts/mock/Dip.sol +26 -0
  371. package/contracts/oracle/BasicOracle.sol +47 -0
  372. package/contracts/oracle/BasicOracleAuthorization.sol +46 -0
  373. package/contracts/oracle/IOracle.sol +36 -0
  374. package/contracts/oracle/IOracleComponent.sol +33 -0
  375. package/contracts/oracle/IOracleService.sol +66 -0
  376. package/contracts/oracle/Oracle.sol +156 -0
  377. package/contracts/oracle/OracleService.sol +291 -0
  378. package/contracts/oracle/OracleServiceManager.sol +39 -0
  379. package/contracts/pool/BasicPool.sol +154 -0
  380. package/contracts/pool/BasicPoolAuthorization.sol +57 -0
  381. package/contracts/pool/BundleService.sol +278 -201
  382. package/contracts/pool/BundleServiceManager.sol +8 -11
  383. package/contracts/pool/IBundleService.sol +44 -19
  384. package/contracts/pool/IPoolComponent.sol +27 -73
  385. package/contracts/pool/IPoolService.sol +93 -40
  386. package/contracts/pool/Pool.sol +186 -153
  387. package/contracts/pool/PoolService.sol +357 -236
  388. package/contracts/pool/PoolServiceManager.sol +6 -9
  389. package/contracts/product/ApplicationService.sol +148 -84
  390. package/contracts/product/ApplicationServiceManager.sol +6 -6
  391. package/contracts/product/BasicProduct.sol +53 -0
  392. package/contracts/product/BasicProductAuthorization.sol +42 -0
  393. package/contracts/product/ClaimService.sol +293 -145
  394. package/contracts/product/ClaimServiceManager.sol +6 -6
  395. package/contracts/product/IApplicationService.sol +2 -1
  396. package/contracts/product/IClaimService.sol +35 -5
  397. package/contracts/product/IPolicyService.sol +38 -38
  398. package/contracts/product/IPricingService.sol +13 -11
  399. package/contracts/product/IProductComponent.sol +28 -10
  400. package/contracts/product/{IProductService.sol → IRiskService.sol} +2 -9
  401. package/contracts/product/PolicyService.sol +504 -199
  402. package/contracts/product/PolicyServiceManager.sol +6 -9
  403. package/contracts/product/PricingService.sol +103 -82
  404. package/contracts/product/PricingServiceManager.sol +5 -8
  405. package/contracts/product/Product.sol +222 -146
  406. package/contracts/product/RiskService.sol +96 -0
  407. package/contracts/product/RiskServiceManager.sol +39 -0
  408. package/contracts/registry/ChainNft.sol +72 -36
  409. package/contracts/registry/IRegistry.sol +85 -22
  410. package/contracts/registry/IRegistryService.sol +10 -6
  411. package/contracts/registry/ITransferInterceptor.sol +0 -1
  412. package/contracts/registry/Registry.sol +433 -187
  413. package/contracts/registry/RegistryAdmin.sol +448 -0
  414. package/contracts/registry/RegistryService.sol +76 -66
  415. package/contracts/registry/RegistryServiceManager.sol +6 -25
  416. package/contracts/registry/ReleaseLifecycle.sol +30 -0
  417. package/contracts/registry/ReleaseRegistry.sol +501 -0
  418. package/contracts/registry/ServiceAuthorizationV3.sol +194 -0
  419. package/contracts/registry/TokenRegistry.sol +261 -62
  420. package/contracts/shared/Component.sol +153 -148
  421. package/contracts/shared/ComponentService.sol +688 -94
  422. package/contracts/shared/ComponentServiceManager.sol +38 -0
  423. package/contracts/shared/ComponentVerifyingService.sol +126 -0
  424. package/contracts/shared/ContractLib.sol +38 -0
  425. package/contracts/shared/IComponent.sol +25 -41
  426. package/contracts/shared/IComponentService.sol +120 -0
  427. package/contracts/shared/IInstanceLinkedComponent.sol +41 -0
  428. package/contracts/{instance/base → shared}/IKeyValueStore.sol +7 -6
  429. package/contracts/{instance/base → shared}/ILifecycle.sol +5 -4
  430. package/contracts/shared/INftOwnable.sol +3 -1
  431. package/contracts/shared/IPolicyHolder.sol +12 -17
  432. package/contracts/shared/IRegisterable.sol +11 -0
  433. package/contracts/shared/IService.sol +9 -2
  434. package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +4 -4
  435. package/contracts/shared/InstanceLinkedComponent.sol +213 -0
  436. package/contracts/{instance/base → shared}/KeyValueStore.sol +36 -74
  437. package/contracts/shared/Lifecycle.sol +88 -0
  438. package/contracts/shared/NftIdSet.sol +65 -0
  439. package/contracts/shared/NftOwnable.sol +27 -22
  440. package/contracts/shared/PolicyHolder.sol +18 -50
  441. package/contracts/shared/Registerable.sol +21 -11
  442. package/contracts/shared/RegistryLinked.sol +3 -2
  443. package/contracts/shared/Service.sol +48 -36
  444. package/contracts/shared/TokenHandler.sol +112 -8
  445. package/contracts/shared/TokenHandlerDeployerLib.sol +12 -0
  446. package/contracts/staking/IStaking.sol +168 -0
  447. package/contracts/staking/IStakingService.sol +103 -48
  448. package/contracts/staking/StakeManagerLib.sol +224 -0
  449. package/contracts/staking/Staking.sol +497 -0
  450. package/contracts/staking/StakingLifecycle.sol +23 -0
  451. package/contracts/staking/StakingManager.sol +52 -0
  452. package/contracts/staking/StakingReader.sol +190 -0
  453. package/contracts/staking/StakingService.sol +273 -49
  454. package/contracts/staking/StakingServiceManager.sol +11 -7
  455. package/contracts/staking/StakingStore.sol +605 -0
  456. package/contracts/staking/TargetManagerLib.sol +211 -0
  457. package/contracts/type/AddressSet.sol +1 -1
  458. package/contracts/type/Amount.sol +44 -3
  459. package/contracts/type/Blocknumber.sol +26 -3
  460. package/contracts/type/ClaimId.sol +6 -1
  461. package/contracts/type/Fee.sol +17 -16
  462. package/contracts/type/NftId.sol +15 -16
  463. package/contracts/type/NftIdSet.sol +1 -1
  464. package/contracts/type/ObjectType.sol +176 -62
  465. package/contracts/type/PayoutId.sol +10 -10
  466. package/contracts/type/Referral.sol +2 -1
  467. package/contracts/type/RequestId.sol +75 -0
  468. package/contracts/type/RiskId.sol +16 -2
  469. package/contracts/type/RoleId.sol +98 -75
  470. package/contracts/type/Seconds.sol +48 -1
  471. package/contracts/type/Selector.sol +102 -0
  472. package/contracts/type/StateId.sol +41 -2
  473. package/contracts/type/String.sol +53 -0
  474. package/contracts/type/Timestamp.sol +17 -3
  475. package/contracts/type/UFixed.sol +38 -9
  476. package/contracts/type/Version.sol +4 -2
  477. package/contracts/{shared → upgradeability}/ProxyManager.sol +76 -39
  478. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
  479. package/contracts/{shared → upgradeability}/Versionable.sol +2 -2
  480. package/package.json +9 -5
  481. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  482. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -778
  483. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  484. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1348
  485. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +0 -4
  486. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +0 -124
  487. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  488. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  489. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  490. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -581
  491. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  492. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -194
  493. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  494. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +0 -256
  495. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  496. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  497. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +0 -10
  498. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
  499. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
  500. package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -864
  501. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  502. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -679
  503. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  504. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -238
  505. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  506. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -846
  507. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  508. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
  509. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  510. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
  511. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  512. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  513. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -598
  514. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  515. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  516. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  517. package/contracts/instance/InstanceAccessManager.sol +0 -543
  518. package/contracts/instance/InstanceAuthorizationsLib.sol +0 -308
  519. package/contracts/instance/base/Lifecycle.sol +0 -121
  520. package/contracts/instance/module/ISetup.sol +0 -33
  521. package/contracts/instance/module/ITreasury.sol +0 -23
  522. package/contracts/product/ProductService.sol +0 -212
  523. package/contracts/product/ProductServiceManager.sol +0 -42
  524. package/contracts/registry/RegistryAccessManager.sol +0 -132
  525. package/contracts/registry/ReleaseManager.sol +0 -382
  526. package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +0 -13
  527. /package/contracts/{shared → upgradeability}/IVersionable.sol +0 -0
@@ -42,63 +42,39 @@
42
42
  "type": "error"
43
43
  },
44
44
  {
45
- "inputs": [
46
- {
47
- "internalType": "address",
48
- "name": "target",
49
- "type": "address"
50
- }
51
- ],
52
- "name": "AddressEmptyCode",
45
+ "inputs": [],
46
+ "name": "ErrorComponentNameLengthZero",
53
47
  "type": "error"
54
48
  },
55
49
  {
56
50
  "inputs": [
57
51
  {
58
52
  "internalType": "address",
59
- "name": "account",
53
+ "name": "caller",
60
54
  "type": "address"
61
55
  }
62
56
  ],
63
- "name": "AddressInsufficientBalance",
57
+ "name": "ErrorComponentNotChainNft",
64
58
  "type": "error"
65
59
  },
66
60
  {
67
- "inputs": [
68
- {
69
- "internalType": "address",
70
- "name": "caller",
71
- "type": "address"
72
- }
73
- ],
74
- "name": "ErrorComponentNotChainNft",
61
+ "inputs": [],
62
+ "name": "ErrorComponentProductNftIdNonzero",
75
63
  "type": "error"
76
64
  },
77
65
  {
78
- "inputs": [
79
- {
80
- "internalType": "NftId",
81
- "name": "instanceNftId",
82
- "type": "uint96"
83
- }
84
- ],
85
- "name": "ErrorComponentNotInstance",
66
+ "inputs": [],
67
+ "name": "ErrorComponentProductNftIdZero",
86
68
  "type": "error"
87
69
  },
88
70
  {
89
- "inputs": [
90
- {
91
- "internalType": "address",
92
- "name": "caller",
93
- "type": "address"
94
- }
95
- ],
96
- "name": "ErrorComponentNotProductService",
71
+ "inputs": [],
72
+ "name": "ErrorComponentTokenAddressNonzero",
97
73
  "type": "error"
98
74
  },
99
75
  {
100
76
  "inputs": [],
101
- "name": "ErrorComponentProductNftAlreadySet",
77
+ "name": "ErrorComponentTokenAddressZero",
102
78
  "type": "error"
103
79
  },
104
80
  {
@@ -111,35 +87,41 @@
111
87
  "name": "ErrorComponentWalletAddressZero",
112
88
  "type": "error"
113
89
  },
90
+ {
91
+ "inputs": [],
92
+ "name": "ErrorComponentWalletNotComponent",
93
+ "type": "error"
94
+ },
114
95
  {
115
96
  "inputs": [
116
97
  {
117
- "internalType": "address",
118
- "name": "oldWallet",
119
- "type": "address"
120
- },
121
- {
122
- "internalType": "address",
123
- "name": "newWallet",
124
- "type": "address"
125
- },
126
- {
127
- "internalType": "uint256",
128
- "name": "allowance",
129
- "type": "uint256"
98
+ "internalType": "NftId",
99
+ "name": "nftId",
100
+ "type": "uint96"
130
101
  },
131
102
  {
132
- "internalType": "uint256",
133
- "name": "balance",
134
- "type": "uint256"
103
+ "internalType": "ObjectType",
104
+ "name": "objectType",
105
+ "type": "uint8"
135
106
  }
136
107
  ],
137
- "name": "ErrorComponentWalletAllowanceTooSmall",
108
+ "name": "ErrorInstanceLinkedComponentNotProduct",
138
109
  "type": "error"
139
110
  },
140
111
  {
141
- "inputs": [],
142
- "name": "ErrorComponentWalletNotComponent",
112
+ "inputs": [
113
+ {
114
+ "internalType": "ObjectType",
115
+ "name": "requiredType",
116
+ "type": "uint8"
117
+ },
118
+ {
119
+ "internalType": "ObjectType",
120
+ "name": "objectType",
121
+ "type": "uint8"
122
+ }
123
+ ],
124
+ "name": "ErrorInstanceLinkedComponentTypeMismatch",
143
125
  "type": "error"
144
126
  },
145
127
  {
@@ -169,6 +151,22 @@
169
151
  "name": "ErrorNftOwnableInitialOwnerZero",
170
152
  "type": "error"
171
153
  },
154
+ {
155
+ "inputs": [
156
+ {
157
+ "internalType": "NftId",
158
+ "name": "nftId",
159
+ "type": "uint96"
160
+ },
161
+ {
162
+ "internalType": "ObjectType",
163
+ "name": "expectedObjectType",
164
+ "type": "uint8"
165
+ }
166
+ ],
167
+ "name": "ErrorNftOwnableInvalidType",
168
+ "type": "error"
169
+ },
172
170
  {
173
171
  "inputs": [
174
172
  {
@@ -229,11 +227,6 @@
229
227
  "name": "ErrorPoolNotPoolService",
230
228
  "type": "error"
231
229
  },
232
- {
233
- "inputs": [],
234
- "name": "FailedInnerCall",
235
- "type": "error"
236
- },
237
230
  {
238
231
  "inputs": [],
239
232
  "name": "InvalidInitialization",
@@ -244,17 +237,6 @@
244
237
  "name": "NotInitializing",
245
238
  "type": "error"
246
239
  },
247
- {
248
- "inputs": [
249
- {
250
- "internalType": "address",
251
- "name": "token",
252
- "type": "address"
253
- }
254
- ],
255
- "name": "SafeERC20FailedOperation",
256
- "type": "error"
257
- },
258
240
  {
259
241
  "anonymous": false,
260
242
  "inputs": [
@@ -286,9 +268,21 @@
286
268
  "inputs": [
287
269
  {
288
270
  "indexed": false,
289
- "internalType": "uint256",
271
+ "internalType": "address",
272
+ "name": "token",
273
+ "type": "address"
274
+ },
275
+ {
276
+ "indexed": false,
277
+ "internalType": "Amount",
290
278
  "name": "limit",
291
- "type": "uint256"
279
+ "type": "uint96"
280
+ },
281
+ {
282
+ "indexed": false,
283
+ "internalType": "bool",
284
+ "name": "isMaxAmount",
285
+ "type": "bool"
292
286
  }
293
287
  ],
294
288
  "name": "LogComponentTokenHandlerApproved",
@@ -376,6 +370,32 @@
376
370
  "stateMutability": "view",
377
371
  "type": "function"
378
372
  },
373
+ {
374
+ "inputs": [],
375
+ "name": "GIF_RELEASE",
376
+ "outputs": [
377
+ {
378
+ "internalType": "uint256",
379
+ "name": "",
380
+ "type": "uint256"
381
+ }
382
+ ],
383
+ "stateMutability": "view",
384
+ "type": "function"
385
+ },
386
+ {
387
+ "inputs": [],
388
+ "name": "INSTANCE_LINKED_COMPONENT_LOCATION_V1",
389
+ "outputs": [
390
+ {
391
+ "internalType": "bytes32",
392
+ "name": "",
393
+ "type": "bytes32"
394
+ }
395
+ ],
396
+ "stateMutability": "view",
397
+ "type": "function"
398
+ },
379
399
  {
380
400
  "inputs": [],
381
401
  "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
@@ -457,9 +477,27 @@
457
477
  {
458
478
  "inputs": [
459
479
  {
460
- "internalType": "uint256",
480
+ "internalType": "address",
481
+ "name": "token",
482
+ "type": "address"
483
+ },
484
+ {
485
+ "internalType": "Amount",
461
486
  "name": "spendingLimitAmount",
462
- "type": "uint256"
487
+ "type": "uint96"
488
+ }
489
+ ],
490
+ "name": "approveTokenHandler",
491
+ "outputs": [],
492
+ "stateMutability": "nonpayable",
493
+ "type": "function"
494
+ },
495
+ {
496
+ "inputs": [
497
+ {
498
+ "internalType": "Amount",
499
+ "name": "spendingLimitAmount",
500
+ "type": "uint96"
463
501
  }
464
502
  ],
465
503
  "name": "approveTokenHandler",
@@ -481,34 +519,16 @@
481
519
  "type": "function"
482
520
  },
483
521
  {
484
- "inputs": [
485
- {
486
- "internalType": "NftId",
487
- "name": "bundleNftId",
488
- "type": "uint96"
489
- }
490
- ],
491
- "name": "close",
492
- "outputs": [],
493
- "stateMutability": "nonpayable",
494
- "type": "function"
495
- },
496
- {
497
- "inputs": [
498
- {
499
- "internalType": "NftId",
500
- "name": "bundleNftId",
501
- "type": "uint96"
502
- },
522
+ "inputs": [],
523
+ "name": "getAuthorization",
524
+ "outputs": [
503
525
  {
504
- "internalType": "Seconds",
505
- "name": "lifetimeExtension",
506
- "type": "uint40"
526
+ "internalType": "contract IAuthorization",
527
+ "name": "authorization",
528
+ "type": "address"
507
529
  }
508
530
  ],
509
- "name": "extend",
510
- "outputs": [],
511
- "stateMutability": "nonpayable",
531
+ "stateMutability": "view",
512
532
  "type": "function"
513
533
  },
514
534
  {
@@ -537,16 +557,6 @@
537
557
  "name": "wallet",
538
558
  "type": "address"
539
559
  },
540
- {
541
- "internalType": "Amount",
542
- "name": "balanceAmount",
543
- "type": "uint96"
544
- },
545
- {
546
- "internalType": "Amount",
547
- "name": "feeAmount",
548
- "type": "uint96"
549
- },
550
560
  {
551
561
  "internalType": "bytes",
552
562
  "name": "data",
@@ -580,6 +590,46 @@
580
590
  "stateMutability": "pure",
581
591
  "type": "function"
582
592
  },
593
+ {
594
+ "inputs": [],
595
+ "name": "getInitialComponentInfo",
596
+ "outputs": [
597
+ {
598
+ "components": [
599
+ {
600
+ "internalType": "string",
601
+ "name": "name",
602
+ "type": "string"
603
+ },
604
+ {
605
+ "internalType": "contract IERC20Metadata",
606
+ "name": "token",
607
+ "type": "address"
608
+ },
609
+ {
610
+ "internalType": "contract TokenHandler",
611
+ "name": "tokenHandler",
612
+ "type": "address"
613
+ },
614
+ {
615
+ "internalType": "address",
616
+ "name": "wallet",
617
+ "type": "address"
618
+ },
619
+ {
620
+ "internalType": "bytes",
621
+ "name": "data",
622
+ "type": "bytes"
623
+ }
624
+ ],
625
+ "internalType": "struct IComponents.ComponentInfo",
626
+ "name": "info",
627
+ "type": "tuple"
628
+ }
629
+ ],
630
+ "stateMutability": "view",
631
+ "type": "function"
632
+ },
583
633
  {
584
634
  "inputs": [],
585
635
  "name": "getInitialInfo",
@@ -632,65 +682,13 @@
632
682
  },
633
683
  {
634
684
  "inputs": [],
635
- "name": "getInstance",
636
- "outputs": [
637
- {
638
- "internalType": "contract IInstance",
639
- "name": "instance",
640
- "type": "address"
641
- }
642
- ],
643
- "stateMutability": "view",
644
- "type": "function"
645
- },
646
- {
647
- "inputs": [],
648
- "name": "getName",
649
- "outputs": [
650
- {
651
- "internalType": "string",
652
- "name": "name",
653
- "type": "string"
654
- }
655
- ],
656
- "stateMutability": "view",
657
- "type": "function"
658
- },
659
- {
660
- "inputs": [],
661
- "name": "getNftId",
662
- "outputs": [
663
- {
664
- "internalType": "NftId",
665
- "name": "",
666
- "type": "uint96"
667
- }
668
- ],
669
- "stateMutability": "view",
670
- "type": "function"
671
- },
672
- {
673
- "inputs": [],
674
- "name": "getOwner",
675
- "outputs": [
676
- {
677
- "internalType": "address",
678
- "name": "",
679
- "type": "address"
680
- }
681
- ],
682
- "stateMutability": "view",
683
- "type": "function"
684
- },
685
- {
686
- "inputs": [],
687
- "name": "getPoolInfo",
685
+ "name": "getInitialPoolInfo",
688
686
  "outputs": [
689
687
  {
690
688
  "components": [
691
689
  {
692
- "internalType": "NftId",
693
- "name": "productNftId",
690
+ "internalType": "Amount",
691
+ "name": "maxBalanceAmount",
694
692
  "type": "uint96"
695
693
  },
696
694
  {
@@ -699,23 +697,13 @@
699
697
  "type": "uint64"
700
698
  },
701
699
  {
702
- "internalType": "Amount",
703
- "name": "maxCapitalAmount",
704
- "type": "uint96"
705
- },
706
- {
707
- "internalType": "Amount",
708
- "name": "balanceAmount",
709
- "type": "uint96"
710
- },
711
- {
712
- "internalType": "Amount",
713
- "name": "feeAmount",
714
- "type": "uint96"
700
+ "internalType": "bool",
701
+ "name": "isInterceptingBundleTransfers",
702
+ "type": "bool"
715
703
  },
716
704
  {
717
705
  "internalType": "bool",
718
- "name": "isInterceptingBundleTransfers",
706
+ "name": "isProcessingConfirmedClaims",
719
707
  "type": "bool"
720
708
  },
721
709
  {
@@ -737,57 +725,6 @@
737
725
  "internalType": "UFixed",
738
726
  "name": "retentionLevel",
739
727
  "type": "uint256"
740
- },
741
- {
742
- "components": [
743
- {
744
- "internalType": "UFixed",
745
- "name": "fractionalFee",
746
- "type": "uint256"
747
- },
748
- {
749
- "internalType": "uint256",
750
- "name": "fixedFee",
751
- "type": "uint256"
752
- }
753
- ],
754
- "internalType": "struct Fee",
755
- "name": "poolFee",
756
- "type": "tuple"
757
- },
758
- {
759
- "components": [
760
- {
761
- "internalType": "UFixed",
762
- "name": "fractionalFee",
763
- "type": "uint256"
764
- },
765
- {
766
- "internalType": "uint256",
767
- "name": "fixedFee",
768
- "type": "uint256"
769
- }
770
- ],
771
- "internalType": "struct Fee",
772
- "name": "stakingFee",
773
- "type": "tuple"
774
- },
775
- {
776
- "components": [
777
- {
778
- "internalType": "UFixed",
779
- "name": "fractionalFee",
780
- "type": "uint256"
781
- },
782
- {
783
- "internalType": "uint256",
784
- "name": "fixedFee",
785
- "type": "uint256"
786
- }
787
- ],
788
- "internalType": "struct Fee",
789
- "name": "performanceFee",
790
- "type": "tuple"
791
728
  }
792
729
  ],
793
730
  "internalType": "struct IComponents.PoolInfo",
@@ -800,12 +737,12 @@
800
737
  },
801
738
  {
802
739
  "inputs": [],
803
- "name": "getProductNftId",
740
+ "name": "getInstance",
804
741
  "outputs": [
805
742
  {
806
- "internalType": "NftId",
807
- "name": "productNftId",
808
- "type": "uint96"
743
+ "internalType": "contract IInstance",
744
+ "name": "instance",
745
+ "type": "address"
809
746
  }
810
747
  ],
811
748
  "stateMutability": "view",
@@ -813,12 +750,12 @@
813
750
  },
814
751
  {
815
752
  "inputs": [],
816
- "name": "getRegistry",
753
+ "name": "getName",
817
754
  "outputs": [
818
755
  {
819
- "internalType": "contract IRegistry",
820
- "name": "",
821
- "type": "address"
756
+ "internalType": "string",
757
+ "name": "name",
758
+ "type": "string"
822
759
  }
823
760
  ],
824
761
  "stateMutability": "view",
@@ -826,12 +763,12 @@
826
763
  },
827
764
  {
828
765
  "inputs": [],
829
- "name": "getToken",
766
+ "name": "getNftId",
830
767
  "outputs": [
831
768
  {
832
- "internalType": "contract IERC20Metadata",
833
- "name": "token",
834
- "type": "address"
769
+ "internalType": "NftId",
770
+ "name": "",
771
+ "type": "uint96"
835
772
  }
836
773
  ],
837
774
  "stateMutability": "view",
@@ -839,11 +776,11 @@
839
776
  },
840
777
  {
841
778
  "inputs": [],
842
- "name": "getTokenHandler",
779
+ "name": "getOwner",
843
780
  "outputs": [
844
781
  {
845
- "internalType": "contract TokenHandler",
846
- "name": "tokenHandler",
782
+ "internalType": "address",
783
+ "name": "",
847
784
  "type": "address"
848
785
  }
849
786
  ],
@@ -852,11 +789,11 @@
852
789
  },
853
790
  {
854
791
  "inputs": [],
855
- "name": "getWallet",
792
+ "name": "getRegistry",
856
793
  "outputs": [
857
794
  {
858
- "internalType": "address",
859
- "name": "walletAddress",
795
+ "internalType": "contract IRegistry",
796
+ "name": "",
860
797
  "type": "address"
861
798
  }
862
799
  ],
@@ -864,170 +801,55 @@
864
801
  "type": "function"
865
802
  },
866
803
  {
867
- "inputs": [
868
- {
869
- "internalType": "address",
870
- "name": "registry",
871
- "type": "address"
872
- },
873
- {
874
- "internalType": "NftId",
875
- "name": "instanceNftId",
876
- "type": "uint96"
877
- },
878
- {
879
- "internalType": "string",
880
- "name": "name",
881
- "type": "string"
882
- },
883
- {
884
- "internalType": "address",
885
- "name": "token",
886
- "type": "address"
887
- },
804
+ "inputs": [],
805
+ "name": "getRelease",
806
+ "outputs": [
888
807
  {
889
- "internalType": "ObjectType",
890
- "name": "componentType",
808
+ "internalType": "VersionPart",
809
+ "name": "release",
891
810
  "type": "uint8"
892
- },
893
- {
894
- "internalType": "bool",
895
- "name": "isInterceptor",
896
- "type": "bool"
897
- },
898
- {
899
- "internalType": "address",
900
- "name": "initialOwner",
901
- "type": "address"
902
- },
903
- {
904
- "internalType": "bytes",
905
- "name": "registryData",
906
- "type": "bytes"
907
811
  }
908
812
  ],
909
- "name": "initializeComponent",
910
- "outputs": [],
911
- "stateMutability": "nonpayable",
813
+ "stateMutability": "pure",
912
814
  "type": "function"
913
815
  },
914
816
  {
915
817
  "inputs": [],
916
- "name": "initializeERC165",
917
- "outputs": [],
918
- "stateMutability": "nonpayable",
919
- "type": "function"
920
- },
921
- {
922
- "inputs": [
923
- {
924
- "internalType": "address",
925
- "name": "initialOwner",
926
- "type": "address"
927
- },
928
- {
929
- "internalType": "address",
930
- "name": "registryAddress",
931
- "type": "address"
932
- }
933
- ],
934
- "name": "initializeNftOwnable",
935
- "outputs": [],
936
- "stateMutability": "nonpayable",
937
- "type": "function"
938
- },
939
- {
940
- "inputs": [
941
- {
942
- "internalType": "address",
943
- "name": "registry",
944
- "type": "address"
945
- },
946
- {
947
- "internalType": "NftId",
948
- "name": "instanceNftId",
949
- "type": "uint96"
950
- },
951
- {
952
- "internalType": "string",
953
- "name": "name",
954
- "type": "string"
955
- },
818
+ "name": "getToken",
819
+ "outputs": [
956
820
  {
957
- "internalType": "address",
821
+ "internalType": "contract IERC20Metadata",
958
822
  "name": "token",
959
823
  "type": "address"
960
- },
961
- {
962
- "internalType": "bool",
963
- "name": "isInterceptingNftTransfers",
964
- "type": "bool"
965
- },
966
- {
967
- "internalType": "address",
968
- "name": "initialOwner",
969
- "type": "address"
970
- },
971
- {
972
- "internalType": "bytes",
973
- "name": "registryData",
974
- "type": "bytes"
975
824
  }
976
825
  ],
977
- "name": "initializePool",
978
- "outputs": [],
979
- "stateMutability": "nonpayable",
826
+ "stateMutability": "view",
980
827
  "type": "function"
981
828
  },
982
829
  {
983
- "inputs": [
984
- {
985
- "internalType": "address",
986
- "name": "registryAddress",
987
- "type": "address"
988
- },
989
- {
990
- "internalType": "NftId",
991
- "name": "parentNftId",
992
- "type": "uint96"
993
- },
994
- {
995
- "internalType": "ObjectType",
996
- "name": "objectType",
997
- "type": "uint8"
998
- },
999
- {
1000
- "internalType": "bool",
1001
- "name": "isInterceptor",
1002
- "type": "bool"
1003
- },
830
+ "inputs": [],
831
+ "name": "getTokenHandler",
832
+ "outputs": [
1004
833
  {
1005
- "internalType": "address",
1006
- "name": "initialOwner",
834
+ "internalType": "contract TokenHandler",
835
+ "name": "tokenHandler",
1007
836
  "type": "address"
1008
- },
1009
- {
1010
- "internalType": "bytes",
1011
- "name": "registryData",
1012
- "type": "bytes"
1013
837
  }
1014
838
  ],
1015
- "name": "initializeRegisterable",
1016
- "outputs": [],
1017
- "stateMutability": "nonpayable",
839
+ "stateMutability": "view",
1018
840
  "type": "function"
1019
841
  },
1020
842
  {
1021
- "inputs": [
843
+ "inputs": [],
844
+ "name": "getWallet",
845
+ "outputs": [
1022
846
  {
1023
847
  "internalType": "address",
1024
- "name": "registryAddress",
848
+ "name": "walletAddress",
1025
849
  "type": "address"
1026
850
  }
1027
851
  ],
1028
- "name": "initializeRegistryLinked",
1029
- "outputs": [],
1030
- "stateMutability": "nonpayable",
852
+ "stateMutability": "view",
1031
853
  "type": "function"
1032
854
  },
1033
855
  {
@@ -1058,27 +880,33 @@
1058
880
  },
1059
881
  {
1060
882
  "inputs": [],
1061
- "name": "linkToRegisteredNftId",
1062
- "outputs": [],
1063
- "stateMutability": "nonpayable",
883
+ "name": "isRegistered",
884
+ "outputs": [
885
+ {
886
+ "internalType": "bool",
887
+ "name": "",
888
+ "type": "bool"
889
+ }
890
+ ],
891
+ "stateMutability": "view",
1064
892
  "type": "function"
1065
893
  },
1066
894
  {
1067
895
  "inputs": [],
1068
- "name": "lock",
1069
- "outputs": [],
1070
- "stateMutability": "nonpayable",
1071
- "type": "function"
1072
- },
1073
- {
1074
- "inputs": [
896
+ "name": "linkToRegisteredNftId",
897
+ "outputs": [
1075
898
  {
1076
899
  "internalType": "NftId",
1077
- "name": "bundleNftId",
900
+ "name": "nftId",
1078
901
  "type": "uint96"
1079
902
  }
1080
903
  ],
1081
- "name": "lockBundle",
904
+ "stateMutability": "nonpayable",
905
+ "type": "function"
906
+ },
907
+ {
908
+ "inputs": [],
909
+ "name": "lock",
1082
910
  "outputs": [],
1083
911
  "stateMutability": "nonpayable",
1084
912
  "type": "function"
@@ -1124,143 +952,25 @@
1124
952
  "stateMutability": "nonpayable",
1125
953
  "type": "function"
1126
954
  },
1127
- {
1128
- "inputs": [
1129
- {
1130
- "internalType": "bytes4",
1131
- "name": "interfaceId",
1132
- "type": "bytes4"
1133
- }
1134
- ],
1135
- "name": "registerInterface",
1136
- "outputs": [],
1137
- "stateMutability": "nonpayable",
1138
- "type": "function"
1139
- },
1140
- {
1141
- "inputs": [
1142
- {
1143
- "internalType": "address",
1144
- "name": "newAuthority",
1145
- "type": "address"
1146
- }
1147
- ],
1148
- "name": "setAuthority",
1149
- "outputs": [],
1150
- "stateMutability": "nonpayable",
1151
- "type": "function"
1152
- },
1153
955
  {
1154
956
  "inputs": [
1155
957
  {
1156
958
  "internalType": "NftId",
1157
- "name": "bundleNftId",
959
+ "name": "policyNftId",
1158
960
  "type": "uint96"
1159
961
  },
1160
962
  {
1161
- "components": [
1162
- {
1163
- "internalType": "UFixed",
1164
- "name": "fractionalFee",
1165
- "type": "uint256"
1166
- },
1167
- {
1168
- "internalType": "uint256",
1169
- "name": "fixedFee",
1170
- "type": "uint256"
1171
- }
1172
- ],
1173
- "internalType": "struct Fee",
1174
- "name": "fee",
1175
- "type": "tuple"
1176
- }
1177
- ],
1178
- "name": "setBundleFee",
1179
- "outputs": [],
1180
- "stateMutability": "nonpayable",
1181
- "type": "function"
1182
- },
1183
- {
1184
- "inputs": [
1185
- {
1186
- "internalType": "RoleId",
1187
- "name": "bundleOwnerRole",
1188
- "type": "uint64"
1189
- }
1190
- ],
1191
- "name": "setBundleOwnerRole",
1192
- "outputs": [],
1193
- "stateMutability": "nonpayable",
1194
- "type": "function"
1195
- },
1196
- {
1197
- "inputs": [
1198
- {
1199
- "components": [
1200
- {
1201
- "internalType": "UFixed",
1202
- "name": "fractionalFee",
1203
- "type": "uint256"
1204
- },
1205
- {
1206
- "internalType": "uint256",
1207
- "name": "fixedFee",
1208
- "type": "uint256"
1209
- }
1210
- ],
1211
- "internalType": "struct Fee",
1212
- "name": "poolFee",
1213
- "type": "tuple"
1214
- },
1215
- {
1216
- "components": [
1217
- {
1218
- "internalType": "UFixed",
1219
- "name": "fractionalFee",
1220
- "type": "uint256"
1221
- },
1222
- {
1223
- "internalType": "uint256",
1224
- "name": "fixedFee",
1225
- "type": "uint256"
1226
- }
1227
- ],
1228
- "internalType": "struct Fee",
1229
- "name": "stakingFee",
1230
- "type": "tuple"
963
+ "internalType": "ClaimId",
964
+ "name": "claimId",
965
+ "type": "uint16"
1231
966
  },
1232
- {
1233
- "components": [
1234
- {
1235
- "internalType": "UFixed",
1236
- "name": "fractionalFee",
1237
- "type": "uint256"
1238
- },
1239
- {
1240
- "internalType": "uint256",
1241
- "name": "fixedFee",
1242
- "type": "uint256"
1243
- }
1244
- ],
1245
- "internalType": "struct Fee",
1246
- "name": "performanceFee",
1247
- "type": "tuple"
1248
- }
1249
- ],
1250
- "name": "setFees",
1251
- "outputs": [],
1252
- "stateMutability": "nonpayable",
1253
- "type": "function"
1254
- },
1255
- {
1256
- "inputs": [
1257
967
  {
1258
968
  "internalType": "Amount",
1259
- "name": "maxCapitalAmount",
969
+ "name": "amount",
1260
970
  "type": "uint96"
1261
971
  }
1262
972
  ],
1263
- "name": "setMaxCapitalAmount",
973
+ "name": "processConfirmedClaim",
1264
974
  "outputs": [],
1265
975
  "stateMutability": "nonpayable",
1266
976
  "type": "function"
@@ -1268,12 +978,12 @@
1268
978
  {
1269
979
  "inputs": [
1270
980
  {
1271
- "internalType": "NftId",
1272
- "name": "productNftId",
1273
- "type": "uint96"
981
+ "internalType": "address",
982
+ "name": "newAuthority",
983
+ "type": "address"
1274
984
  }
1275
985
  ],
1276
- "name": "setProductNftId",
986
+ "name": "setAuthority",
1277
987
  "outputs": [],
1278
988
  "stateMutability": "nonpayable",
1279
989
  "type": "function"
@@ -1291,24 +1001,6 @@
1291
1001
  "stateMutability": "nonpayable",
1292
1002
  "type": "function"
1293
1003
  },
1294
- {
1295
- "inputs": [
1296
- {
1297
- "internalType": "NftId",
1298
- "name": "bundleNftId",
1299
- "type": "uint96"
1300
- },
1301
- {
1302
- "internalType": "Amount",
1303
- "name": "amount",
1304
- "type": "uint96"
1305
- }
1306
- ],
1307
- "name": "stake",
1308
- "outputs": [],
1309
- "stateMutability": "nonpayable",
1310
- "type": "function"
1311
- },
1312
1004
  {
1313
1005
  "inputs": [
1314
1006
  {
@@ -1337,13 +1029,33 @@
1337
1029
  },
1338
1030
  {
1339
1031
  "inputs": [
1032
+ {
1033
+ "internalType": "NftId",
1034
+ "name": "applicationNftId",
1035
+ "type": "uint96"
1036
+ },
1037
+ {
1038
+ "internalType": "bytes",
1039
+ "name": "applicationData",
1040
+ "type": "bytes"
1041
+ },
1340
1042
  {
1341
1043
  "internalType": "NftId",
1342
1044
  "name": "bundleNftId",
1343
1045
  "type": "uint96"
1046
+ },
1047
+ {
1048
+ "internalType": "bytes",
1049
+ "name": "bundleFilter",
1050
+ "type": "bytes"
1051
+ },
1052
+ {
1053
+ "internalType": "Amount",
1054
+ "name": "collateralizationAmount",
1055
+ "type": "uint96"
1344
1056
  }
1345
1057
  ],
1346
- "name": "unlockBundle",
1058
+ "name": "verifyApplication",
1347
1059
  "outputs": [],
1348
1060
  "stateMutability": "nonpayable",
1349
1061
  "type": "function"
@@ -1361,41 +1073,33 @@
1361
1073
  "type": "uint96"
1362
1074
  }
1363
1075
  ],
1364
- "name": "unstake",
1365
- "outputs": [],
1076
+ "name": "withdrawBundleFees",
1077
+ "outputs": [
1078
+ {
1079
+ "internalType": "Amount",
1080
+ "name": "withdrawnAmount",
1081
+ "type": "uint96"
1082
+ }
1083
+ ],
1366
1084
  "stateMutability": "nonpayable",
1367
1085
  "type": "function"
1368
1086
  },
1369
1087
  {
1370
1088
  "inputs": [
1371
1089
  {
1372
- "internalType": "NftId",
1373
- "name": "applicationNftId",
1374
- "type": "uint96"
1375
- },
1376
- {
1377
- "internalType": "bytes",
1378
- "name": "applicationData",
1379
- "type": "bytes"
1380
- },
1381
- {
1382
- "internalType": "NftId",
1383
- "name": "bundleNftId",
1090
+ "internalType": "Amount",
1091
+ "name": "amount",
1384
1092
  "type": "uint96"
1385
- },
1386
- {
1387
- "internalType": "bytes",
1388
- "name": "bundleFilter",
1389
- "type": "bytes"
1390
- },
1093
+ }
1094
+ ],
1095
+ "name": "withdrawFees",
1096
+ "outputs": [
1391
1097
  {
1392
1098
  "internalType": "Amount",
1393
- "name": "collateralizationAmount",
1099
+ "name": "withdrawnAmount",
1394
1100
  "type": "uint96"
1395
1101
  }
1396
1102
  ],
1397
- "name": "verifyApplication",
1398
- "outputs": [],
1399
1103
  "stateMutability": "nonpayable",
1400
1104
  "type": "function"
1401
1105
  }