@etherisc/gif-next 0.0.2-790d44b-698 → 0.0.2-79d46a9-598

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 (688) hide show
  1. package/README.md +219 -39
  2. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  3. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +1416 -0
  4. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  5. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1378 -0
  6. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  7. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +826 -0
  8. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +975 -0
  10. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  11. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +827 -0
  12. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  13. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +709 -0
  14. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  15. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +258 -1641
  16. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  17. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +769 -0
  18. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  19. package/artifacts/contracts/instance/Instance.sol/Instance.json +399 -1887
  20. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  21. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +708 -0
  22. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +4 -0
  23. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +228 -0
  24. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  25. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1701 -0
  26. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  27. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1220 -0
  28. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  29. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +758 -0
  30. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  31. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3598 -0
  32. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  33. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  34. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  35. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.json +137 -0
  36. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  37. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  38. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  39. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +187 -0
  40. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  41. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +129 -0
  42. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  43. package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
  44. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  45. package/artifacts/contracts/instance/module/{access/IAccess.sol/IAccess.json → IComponents.sol/IComponents.json} +2 -2
  46. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  47. package/artifacts/contracts/instance/module/{distribution/IDistribution.sol → IDistribution.sol}/IDistribution.json +1 -1
  48. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  49. package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
  50. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  51. package/artifacts/contracts/instance/module/{risk/IRisk.sol → IRisk.sol}/IRisk.json +1 -1
  52. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  53. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  54. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  55. package/artifacts/contracts/{instance/base/ModuleBase.sol/ModuleBase.json → oracle/IOracle.sol/IOracle.json} +2 -2
  56. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  57. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +759 -0
  58. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  59. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +675 -0
  60. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  61. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +1146 -0
  62. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  63. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1034 -0
  64. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  65. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +730 -0
  66. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  67. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1134 -0
  68. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  69. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +754 -0
  70. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  71. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → pool/IBundleService.sol/IBundleService.json} +360 -328
  72. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  73. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +1154 -0
  74. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  75. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1078 -0
  76. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  77. package/artifacts/contracts/pool/Pool.sol/Pool.json +1565 -0
  78. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  79. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1453 -0
  80. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  81. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +742 -0
  82. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  83. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +863 -0
  84. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  85. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +730 -0
  86. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  87. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1315 -0
  88. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  89. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +822 -0
  90. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  91. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → product/IApplicationService.sol/IApplicationService.json} +279 -248
  92. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  93. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +772 -0
  94. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  95. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +720 -0
  96. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  97. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +549 -0
  98. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  99. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +995 -0
  100. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +4 -0
  101. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → product/IProductService.sol/IProductService.json} +187 -192
  102. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  103. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1183 -0
  104. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  105. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +766 -0
  106. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  107. package/artifacts/contracts/product/PricingService.sol/PricingService.json +1012 -0
  108. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  109. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +786 -0
  110. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  111. package/artifacts/contracts/product/Product.sol/Product.json +1397 -0
  112. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +4 -0
  113. package/artifacts/contracts/product/ProductService.sol/ProductService.json +708 -0
  114. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  115. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +702 -0
  116. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  117. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +199 -12
  118. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  119. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +678 -77
  120. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  121. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +1123 -0
  122. package/artifacts/contracts/registry/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  123. package/artifacts/contracts/registry/IServiceAuthorization.sol/IServiceAuthorization.json +129 -0
  124. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  125. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +52 -0
  126. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  127. package/artifacts/contracts/registry/Registry.sol/Registry.json +769 -263
  128. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  129. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1901 -0
  130. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  131. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1452 -0
  132. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  133. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +721 -0
  134. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  135. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +1218 -0
  136. package/artifacts/contracts/registry/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  137. package/artifacts/contracts/registry/ServiceAuthorization.sol/ServiceAuthorization.json +171 -0
  138. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  139. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +187 -0
  140. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  141. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +661 -0
  142. package/artifacts/contracts/shared/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  143. package/artifacts/contracts/shared/AccessAdmin.sol/AccessAdmin.json +1559 -0
  144. package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.dbg.json +4 -0
  145. package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.json +1193 -0
  146. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.dbg.json +4 -0
  147. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.json +1747 -0
  148. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.dbg.json +4 -0
  149. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.json +1760 -0
  150. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.dbg.json +4 -0
  151. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.json +1838 -0
  152. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.dbg.json +4 -0
  153. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.json +1856 -0
  154. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  155. package/artifacts/contracts/shared/Component.sol/Component.json +896 -0
  156. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  157. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1511 -0
  158. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  159. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +796 -0
  160. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  161. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +539 -0
  162. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  163. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  164. package/artifacts/contracts/shared/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  165. package/artifacts/contracts/shared/IAccessAdmin.sol/IAccessAdmin.json +1189 -0
  166. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.dbg.json +4 -0
  167. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.json +1562 -0
  168. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.dbg.json +4 -0
  169. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.json +1600 -0
  170. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  171. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +631 -0
  172. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  173. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +880 -0
  174. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  175. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +705 -0
  176. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  177. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +77 -169
  178. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  179. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +1 -1
  180. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  181. package/artifacts/contracts/{instance/module/component/IComponent.sol/IComponentModule.json → shared/INftOwnable.sol/INftOwnable.json} +66 -52
  182. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  183. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +207 -0
  184. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  185. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +91 -31
  186. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  187. package/artifacts/contracts/{registry → shared}/IRegistryLinked.sol/IRegistryLinked.json +13 -2
  188. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  189. package/artifacts/contracts/{instance/base → shared}/IService.sol/IService.json +159 -154
  190. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  191. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  192. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +4 -0
  193. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +39 -0
  194. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  195. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +1036 -0
  196. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  197. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +571 -0
  198. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  199. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +194 -0
  200. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.dbg.json +4 -0
  201. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.json +306 -0
  202. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  203. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +244 -0
  204. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  205. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +320 -0
  206. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  207. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +617 -0
  208. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  209. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +255 -23
  210. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  211. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +71 -0
  212. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  213. package/artifacts/contracts/{instance/base/InstanceBase.sol/InstanceBase.json → shared/Service.sol/Service.json} +260 -193
  214. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  215. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +150 -0
  216. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  217. package/artifacts/contracts/shared/{Proxy.sol/ProxyWithProxyAdminGetter.json → UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json} +4 -4
  218. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  219. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  220. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  221. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1438 -0
  222. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  223. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1035 -0
  224. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  225. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +460 -0
  226. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  227. package/artifacts/contracts/staking/Staking.sol/Staking.json +2005 -0
  228. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  229. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +761 -0
  230. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  231. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +592 -0
  232. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  233. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1343 -0
  234. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  235. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +718 -0
  236. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  237. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2261 -0
  238. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  239. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +571 -0
  240. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  241. package/artifacts/contracts/{types → type}/AddressSet.sol/LibAddressSet.json +3 -3
  242. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  243. package/artifacts/contracts/type/Amount.sol/AmountLib.json +345 -0
  244. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  245. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  246. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  247. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +179 -0
  248. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  249. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  250. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  251. package/artifacts/contracts/type/Fee.sol/FeeLib.json +312 -0
  252. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  253. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  254. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  255. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +209 -0
  256. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  257. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  258. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  259. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +186 -0
  260. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  261. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  262. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  263. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  264. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  265. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  266. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  267. package/artifacts/contracts/{types → type}/RiskId.sol/RiskIdLib.json +5 -5
  268. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  269. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +266 -0
  270. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  271. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +198 -0
  272. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  273. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
  274. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  275. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  276. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  277. package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
  278. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  279. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  280. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  281. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +293 -0
  282. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  283. package/artifacts/contracts/{types/ChainId.sol/ChainIdLib.json → type/UFixed.sol/MathLib.json} +4 -4
  284. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  285. package/artifacts/contracts/{types/UFixed.sol/UFixedMathLib.json → type/UFixed.sol/UFixedLib.json} +4 -4
  286. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  287. package/artifacts/contracts/{types → type}/Version.sol/VersionLib.json +3 -3
  288. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  289. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +49 -0
  290. package/contracts/distribution/Distribution.sol +261 -0
  291. package/contracts/distribution/DistributionService.sol +297 -0
  292. package/contracts/distribution/DistributionServiceManager.sol +42 -0
  293. package/contracts/distribution/IDistributionComponent.sol +66 -0
  294. package/contracts/distribution/IDistributionService.sol +81 -0
  295. package/contracts/instance/BundleManager.sol +126 -0
  296. package/contracts/instance/IInstance.sol +80 -46
  297. package/contracts/instance/IInstanceService.sol +97 -0
  298. package/contracts/instance/Instance.sol +248 -59
  299. package/contracts/instance/InstanceAdmin.sol +331 -0
  300. package/contracts/instance/InstanceAuthorizationsLib.sol +377 -0
  301. package/contracts/instance/InstanceReader.sol +392 -0
  302. package/contracts/instance/InstanceService.sol +439 -0
  303. package/contracts/instance/InstanceServiceManager.sol +44 -0
  304. package/contracts/instance/InstanceStore.sol +269 -0
  305. package/contracts/instance/base/BalanceStore.sol +123 -0
  306. package/contracts/instance/base/Cloneable.sol +28 -0
  307. package/contracts/instance/base/ObjectCounter.sol +21 -0
  308. package/contracts/instance/base/ObjectManager.sol +80 -0
  309. package/contracts/instance/module/IAccess.sol +46 -0
  310. package/contracts/instance/module/IBundle.sol +20 -0
  311. package/contracts/instance/module/IComponents.sol +52 -0
  312. package/contracts/instance/module/IDistribution.sol +42 -0
  313. package/contracts/instance/module/IPolicy.sol +84 -0
  314. package/contracts/instance/module/IRisk.sol +11 -0
  315. package/contracts/{test/Usdc.sol → mock/Dip.sol} +5 -5
  316. package/contracts/oracle/IOracle.sol +20 -0
  317. package/contracts/oracle/IOracleComponent.sol +32 -0
  318. package/contracts/oracle/IOracleService.sol +65 -0
  319. package/contracts/oracle/Oracle.sol +145 -0
  320. package/contracts/oracle/OracleService.sol +278 -0
  321. package/contracts/oracle/OracleServiceManager.sol +42 -0
  322. package/contracts/pool/BundleService.sol +296 -0
  323. package/contracts/pool/BundleServiceManager.sol +42 -0
  324. package/contracts/pool/IBundleService.sol +106 -0
  325. package/contracts/pool/IPoolComponent.sol +112 -0
  326. package/contracts/pool/IPoolService.sol +150 -0
  327. package/contracts/pool/Pool.sol +299 -0
  328. package/contracts/pool/PoolService.sol +452 -0
  329. package/contracts/pool/PoolServiceManager.sol +42 -0
  330. package/contracts/product/ApplicationService.sol +254 -0
  331. package/contracts/product/ApplicationServiceManager.sol +38 -0
  332. package/contracts/product/ClaimService.sol +442 -0
  333. package/contracts/product/ClaimServiceManager.sol +38 -0
  334. package/contracts/product/IApplicationService.sol +62 -0
  335. package/contracts/product/IClaimService.sol +99 -0
  336. package/contracts/product/IPolicyService.sol +78 -0
  337. package/contracts/product/IPricingService.sol +39 -0
  338. package/contracts/product/IProductComponent.sol +42 -0
  339. package/contracts/product/IProductService.sol +33 -0
  340. package/contracts/product/PolicyService.sol +475 -0
  341. package/contracts/product/PolicyServiceManager.sol +42 -0
  342. package/contracts/product/PricingService.sol +300 -0
  343. package/contracts/product/PricingServiceManager.sol +42 -0
  344. package/contracts/product/Product.sol +377 -0
  345. package/contracts/product/ProductService.sol +124 -0
  346. package/contracts/product/ProductServiceManager.sol +42 -0
  347. package/contracts/registry/ChainNft.sol +95 -37
  348. package/contracts/registry/IRegistry.sol +95 -28
  349. package/contracts/registry/IRegistryService.sol +69 -0
  350. package/contracts/registry/IServiceAuthorization.sol +35 -0
  351. package/contracts/registry/ITransferInterceptor.sol +7 -0
  352. package/contracts/registry/Registry.sol +473 -349
  353. package/contracts/registry/RegistryAdmin.sol +333 -0
  354. package/contracts/registry/RegistryService.sol +266 -0
  355. package/contracts/registry/RegistryServiceManager.sol +53 -0
  356. package/contracts/registry/ReleaseManager.sol +527 -0
  357. package/contracts/registry/ServiceAuthorization.sol +86 -0
  358. package/contracts/registry/ServiceAuthorizationV3.sol +200 -0
  359. package/contracts/registry/TokenRegistry.sol +315 -0
  360. package/contracts/shared/AccessAdmin.sol +759 -0
  361. package/contracts/shared/AccessManagerCustom.sol +741 -0
  362. package/contracts/shared/AccessManagerExtended.sol +481 -0
  363. package/contracts/shared/AccessManagerExtendedInitializeable.sol +13 -0
  364. package/contracts/shared/AccessManagerExtendedWithDisable.sol +137 -0
  365. package/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol +14 -0
  366. package/contracts/shared/Component.sol +281 -0
  367. package/contracts/shared/ComponentService.sol +617 -0
  368. package/contracts/shared/ComponentServiceManager.sol +35 -0
  369. package/contracts/shared/ComponentVerifyingService.sol +117 -0
  370. package/contracts/shared/ERC165.sol +15 -9
  371. package/contracts/shared/IAccessAdmin.sol +168 -0
  372. package/contracts/shared/IAccessManagerExtended.sol +74 -0
  373. package/contracts/shared/IAccessManagerExtendedWithDisable.sol +18 -0
  374. package/contracts/shared/IComponent.sol +70 -0
  375. package/contracts/shared/IComponentService.sol +102 -0
  376. package/contracts/shared/IInstanceLinkedComponent.sol +46 -0
  377. package/contracts/shared/IKeyValueStore.sol +53 -0
  378. package/contracts/{instance/base → shared}/ILifecycle.sol +4 -4
  379. package/contracts/shared/INftOwnable.sol +23 -0
  380. package/contracts/shared/IPolicyHolder.sol +45 -0
  381. package/contracts/shared/IRegisterable.sol +10 -19
  382. package/contracts/shared/IRegistryLinked.sol +11 -0
  383. package/contracts/shared/IService.sol +25 -0
  384. package/contracts/shared/IVersionable.sol +17 -58
  385. package/contracts/shared/InitializableCustom.sol +177 -0
  386. package/contracts/shared/InstanceLinkedComponent.sol +144 -0
  387. package/contracts/shared/KeyValueStore.sol +127 -0
  388. package/contracts/{instance/base → shared}/Lifecycle.sol +38 -8
  389. package/contracts/shared/NftIdSetManager.sol +65 -0
  390. package/contracts/shared/NftOwnable.sol +107 -0
  391. package/contracts/shared/PolicyHolder.sol +102 -0
  392. package/contracts/shared/ProxyManager.sol +199 -0
  393. package/contracts/shared/Registerable.sol +54 -65
  394. package/contracts/shared/RegistryLinked.sol +43 -0
  395. package/contracts/shared/Service.sol +83 -0
  396. package/contracts/shared/TokenHandler.sol +58 -0
  397. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  398. package/contracts/shared/Versionable.sol +15 -97
  399. package/contracts/staking/IStaking.sol +168 -0
  400. package/contracts/staking/IStakingService.sol +153 -0
  401. package/contracts/staking/StakeManagerLib.sol +231 -0
  402. package/contracts/staking/Staking.sol +513 -0
  403. package/contracts/staking/StakingManager.sol +54 -0
  404. package/contracts/staking/StakingReader.sol +187 -0
  405. package/contracts/staking/StakingService.sol +411 -0
  406. package/contracts/staking/StakingServiceManager.sol +44 -0
  407. package/contracts/staking/StakingStore.sol +613 -0
  408. package/contracts/staking/TargetManagerLib.sol +207 -0
  409. package/contracts/{types → type}/AddressSet.sol +1 -1
  410. package/contracts/type/Amount.sol +128 -0
  411. package/contracts/{types → type}/Blocknumber.sol +21 -3
  412. package/contracts/type/ClaimId.sol +75 -0
  413. package/contracts/type/DistributorType.sol +55 -0
  414. package/contracts/type/Fee.sol +66 -0
  415. package/contracts/{types → type}/Key32.sol +8 -3
  416. package/contracts/{types → type}/NftId.sol +21 -15
  417. package/contracts/type/NftIdSet.sol +62 -0
  418. package/contracts/type/ObjectType.sol +241 -0
  419. package/contracts/type/PayoutId.sol +82 -0
  420. package/contracts/type/Referral.sol +89 -0
  421. package/contracts/type/RequestId.sol +75 -0
  422. package/contracts/{types → type}/RiskId.sol +1 -1
  423. package/contracts/type/RoleId.sol +201 -0
  424. package/contracts/type/Seconds.sol +81 -0
  425. package/contracts/type/Selector.sol +102 -0
  426. package/contracts/{types → type}/StateId.sol +39 -5
  427. package/contracts/type/String.sol +53 -0
  428. package/contracts/{types → type}/Timestamp.sol +27 -14
  429. package/contracts/{types → type}/UFixed.sol +129 -12
  430. package/contracts/{types → type}/Version.sol +7 -2
  431. package/package.json +8 -7
  432. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  433. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -174
  434. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  435. package/artifacts/contracts/components/Distribution.sol/Distribution.json +0 -405
  436. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  437. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -174
  438. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  439. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -340
  440. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  441. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -487
  442. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  443. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -370
  444. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  445. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -578
  446. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  447. package/artifacts/contracts/components/Product.sol/Product.json +0 -444
  448. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  449. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  450. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  451. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  452. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  453. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  454. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  455. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  456. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  457. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  458. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  459. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  460. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  461. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  462. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  463. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  464. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  465. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  466. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  467. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  468. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  469. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  470. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  471. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  472. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  473. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  474. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  475. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  476. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  477. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  478. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  479. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  480. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  481. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  482. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  483. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.json +0 -24
  484. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  485. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +0 -364
  486. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  487. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  488. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  489. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  490. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  491. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  492. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  493. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -710
  494. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  495. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  496. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  497. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  498. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.json +0 -364
  499. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  500. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  501. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  502. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  503. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  504. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  505. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -297
  506. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  507. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  508. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -297
  509. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  510. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -117
  511. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  512. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  513. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  514. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.dbg.json +0 -4
  515. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.json +0 -10
  516. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistribution.dbg.json +0 -4
  517. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.dbg.json +0 -4
  518. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.json +0 -10
  519. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  520. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  521. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -284
  522. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  523. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -284
  524. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  525. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
  526. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  527. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -144
  528. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  529. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -144
  530. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  531. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  532. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -113
  533. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  534. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -131
  535. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  536. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.json +0 -10
  537. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  538. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -511
  539. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  540. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  541. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  542. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -511
  543. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  544. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -595
  545. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  546. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -484
  547. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  548. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  549. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +0 -366
  550. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  551. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  552. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  553. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -607
  554. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  555. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -922
  556. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  557. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -452
  558. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
  559. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  560. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.json +0 -24
  561. package/artifacts/contracts/shared/Proxy.sol/ProxyDeployer.dbg.json +0 -4
  562. package/artifacts/contracts/shared/Proxy.sol/ProxyDeployer.json +0 -248
  563. package/artifacts/contracts/shared/Proxy.sol/ProxyWithProxyAdminGetter.dbg.json +0 -4
  564. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.dbg.json +0 -4
  565. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.json +0 -405
  566. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  567. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  568. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  569. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -578
  570. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  571. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -575
  572. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  573. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -137
  574. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  575. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  576. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  577. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -443
  578. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  579. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -338
  580. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  581. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  582. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  583. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -270
  584. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  585. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -338
  586. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  587. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  588. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  589. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  590. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  591. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  592. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  593. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -111
  594. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  595. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  596. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  597. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -10
  598. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  599. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  600. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.dbg.json +0 -4
  601. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.json +0 -99
  602. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  603. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  604. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -30
  605. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  606. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  607. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -236
  608. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  609. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  610. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  611. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -30
  612. package/contracts/components/BaseComponent.sol +0 -94
  613. package/contracts/components/Distribution.sol +0 -132
  614. package/contracts/components/IBaseComponent.sol +0 -19
  615. package/contracts/components/IDistributionComponent.sol +0 -47
  616. package/contracts/components/IPoolComponent.sol +0 -71
  617. package/contracts/components/IProductComponent.sol +0 -38
  618. package/contracts/components/Pool.sol +0 -235
  619. package/contracts/components/Product.sol +0 -227
  620. package/contracts/experiment/errors/Require.sol +0 -38
  621. package/contracts/experiment/errors/Revert.sol +0 -44
  622. package/contracts/experiment/inheritance/A.sol +0 -53
  623. package/contracts/experiment/inheritance/B.sol +0 -28
  624. package/contracts/experiment/inheritance/C.sol +0 -34
  625. package/contracts/experiment/inheritance/IA.sol +0 -13
  626. package/contracts/experiment/inheritance/IB.sol +0 -10
  627. package/contracts/experiment/inheritance/IC.sol +0 -12
  628. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  629. package/contracts/experiment/statemachine/ISM.sol +0 -25
  630. package/contracts/experiment/statemachine/README.md +0 -112
  631. package/contracts/experiment/statemachine/SM.sol +0 -57
  632. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  633. package/contracts/experiment/types/TypeA.sol +0 -47
  634. package/contracts/experiment/types/TypeB.sol +0 -29
  635. package/contracts/instance/IInstanceLinked.sol +0 -8
  636. package/contracts/instance/base/ComponentServiceBase.sol +0 -42
  637. package/contracts/instance/base/IInstanceBase.sol +0 -22
  638. package/contracts/instance/base/IKeyValueStore.sol +0 -50
  639. package/contracts/instance/base/IService.sol +0 -15
  640. package/contracts/instance/base/InstanceBase.sol +0 -91
  641. package/contracts/instance/base/KeyValueStore.sol +0 -161
  642. package/contracts/instance/base/ModuleBase.sol +0 -57
  643. package/contracts/instance/base/ServiceBase.sol +0 -37
  644. package/contracts/instance/module/access/Access.sol +0 -149
  645. package/contracts/instance/module/access/IAccess.sol +0 -53
  646. package/contracts/instance/module/bundle/BundleModule.sol +0 -134
  647. package/contracts/instance/module/bundle/IBundle.sol +0 -53
  648. package/contracts/instance/module/component/ComponentModule.sol +0 -70
  649. package/contracts/instance/module/component/IComponent.sol +0 -28
  650. package/contracts/instance/module/distribution/DistributionModule.sol +0 -17
  651. package/contracts/instance/module/distribution/IDistribution.sol +0 -10
  652. package/contracts/instance/module/policy/IPolicy.sol +0 -63
  653. package/contracts/instance/module/policy/PolicyModule.sol +0 -91
  654. package/contracts/instance/module/pool/IPoolModule.sol +0 -40
  655. package/contracts/instance/module/pool/PoolModule.sol +0 -90
  656. package/contracts/instance/module/risk/IRisk.sol +0 -26
  657. package/contracts/instance/module/risk/RiskModule.sol +0 -62
  658. package/contracts/instance/module/treasury/ITreasury.sol +0 -82
  659. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  660. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -138
  661. package/contracts/instance/service/ComponentOwnerService.sol +0 -157
  662. package/contracts/instance/service/DistributionService.sol +0 -59
  663. package/contracts/instance/service/IComponentOwnerService.sol +0 -22
  664. package/contracts/instance/service/IDistributionService.sol +0 -12
  665. package/contracts/instance/service/IPoolService.sol +0 -37
  666. package/contracts/instance/service/IProductService.sol +0 -107
  667. package/contracts/instance/service/PoolService.sol +0 -149
  668. package/contracts/instance/service/ProductService.sol +0 -509
  669. package/contracts/registry/IChainNft.sol +0 -21
  670. package/contracts/registry/IRegistryLinked.sol +0 -8
  671. package/contracts/shared/IOwnable.sol +0 -6
  672. package/contracts/shared/Proxy.sol +0 -94
  673. package/contracts/test/TestDistribution.sol +0 -21
  674. package/contracts/test/TestFee.sol +0 -25
  675. package/contracts/test/TestPool.sol +0 -25
  676. package/contracts/test/TestProduct.sol +0 -72
  677. package/contracts/test/TestRegisterable.sol +0 -19
  678. package/contracts/test/TestRoleId.sol +0 -14
  679. package/contracts/test/TestService.sol +0 -32
  680. package/contracts/test/TestToken.sol +0 -26
  681. package/contracts/test/TestVersion.sol +0 -44
  682. package/contracts/test/TestVersionable.sol +0 -17
  683. package/contracts/types/ChainId.sol +0 -38
  684. package/contracts/types/Fee.sol +0 -56
  685. package/contracts/types/NftIdSet.sol +0 -60
  686. package/contracts/types/ObjectType.sol +0 -131
  687. package/contracts/types/ReferralId.sol +0 -48
  688. package/contracts/types/RoleId.sol +0 -38
@@ -3,983 +3,207 @@
3
3
  "contractName": "IInstance",
4
4
  "sourceName": "contracts/instance/IInstance.sol",
5
5
  "abi": [
6
- {
7
- "anonymous": false,
8
- "inputs": [
9
- {
10
- "indexed": false,
11
- "internalType": "RoleId",
12
- "name": "role",
13
- "type": "bytes8"
14
- },
15
- {
16
- "indexed": false,
17
- "internalType": "string",
18
- "name": "roleName",
19
- "type": "string"
20
- }
21
- ],
22
- "name": "LogAccessRoleCreated",
23
- "type": "event"
24
- },
25
- {
26
- "anonymous": false,
27
- "inputs": [
28
- {
29
- "indexed": false,
30
- "internalType": "RoleId",
31
- "name": "role",
32
- "type": "bytes8"
33
- },
34
- {
35
- "indexed": false,
36
- "internalType": "address",
37
- "name": "member",
38
- "type": "address"
39
- },
40
- {
41
- "indexed": false,
42
- "internalType": "bool",
43
- "name": "isMember",
44
- "type": "bool"
45
- }
46
- ],
47
- "name": "LogAccessRoleGranted",
48
- "type": "event"
49
- },
50
- {
51
- "anonymous": false,
52
- "inputs": [
53
- {
54
- "indexed": false,
55
- "internalType": "RoleId",
56
- "name": "role",
57
- "type": "bytes8"
58
- },
59
- {
60
- "indexed": false,
61
- "internalType": "bool",
62
- "name": "active",
63
- "type": "bool"
64
- }
65
- ],
66
- "name": "LogAccessRoleStateSet",
67
- "type": "event"
68
- },
69
- {
70
- "anonymous": false,
71
- "inputs": [
72
- {
73
- "indexed": false,
74
- "internalType": "Version",
75
- "name": "version",
76
- "type": "uint24"
77
- },
78
- {
79
- "indexed": false,
80
- "internalType": "address",
81
- "name": "implementation",
82
- "type": "address"
83
- },
84
- {
85
- "indexed": false,
86
- "internalType": "address",
87
- "name": "activatedBy",
88
- "type": "address"
89
- }
90
- ],
91
- "name": "LogVersionableInitialized",
92
- "type": "event"
93
- },
94
- {
95
- "inputs": [
96
- {
97
- "internalType": "NftId",
98
- "name": "bundleNftId",
99
- "type": "uint96"
100
- },
101
- {
102
- "internalType": "NftId",
103
- "name": "poolNftId",
104
- "type": "uint96"
105
- },
106
- {
107
- "internalType": "uint256",
108
- "name": "amount",
109
- "type": "uint256"
110
- }
111
- ],
112
- "name": "addBundleToPool",
113
- "outputs": [],
114
- "stateMutability": "nonpayable",
115
- "type": "function"
116
- },
117
- {
118
- "inputs": [
119
- {
120
- "internalType": "uint256",
121
- "name": "amount",
122
- "type": "uint256"
123
- },
124
- {
125
- "components": [
126
- {
127
- "internalType": "UFixed",
128
- "name": "fractionalFee",
129
- "type": "uint256"
130
- },
131
- {
132
- "internalType": "uint256",
133
- "name": "fixedFee",
134
- "type": "uint256"
135
- }
136
- ],
137
- "internalType": "struct Fee",
138
- "name": "fee",
139
- "type": "tuple"
140
- }
141
- ],
142
- "name": "calculateFeeAmount",
143
- "outputs": [
144
- {
145
- "internalType": "uint256",
146
- "name": "feeAmount",
147
- "type": "uint256"
148
- },
149
- {
150
- "internalType": "uint256",
151
- "name": "netAmount",
152
- "type": "uint256"
153
- }
154
- ],
155
- "stateMutability": "pure",
156
- "type": "function"
157
- },
158
- {
159
- "inputs": [
160
- {
161
- "internalType": "NftId",
162
- "name": "bundleNftId",
163
- "type": "uint96"
164
- },
165
- {
166
- "internalType": "NftId",
167
- "name": "policyNftId",
168
- "type": "uint96"
169
- },
170
- {
171
- "internalType": "uint256",
172
- "name": "amount",
173
- "type": "uint256"
174
- }
175
- ],
176
- "name": "collateralizePolicy",
177
- "outputs": [],
178
- "stateMutability": "nonpayable",
179
- "type": "function"
180
- },
181
- {
182
- "inputs": [
183
- {
184
- "internalType": "NftId",
185
- "name": "bundleNftId",
186
- "type": "uint96"
187
- },
188
- {
189
- "internalType": "NftId",
190
- "name": "poolNftId",
191
- "type": "uint96"
192
- },
193
- {
194
- "components": [
195
- {
196
- "internalType": "UFixed",
197
- "name": "fractionalFee",
198
- "type": "uint256"
199
- },
200
- {
201
- "internalType": "uint256",
202
- "name": "fixedFee",
203
- "type": "uint256"
204
- }
205
- ],
206
- "internalType": "struct Fee",
207
- "name": "fee",
208
- "type": "tuple"
209
- },
210
- {
211
- "internalType": "uint256",
212
- "name": "amount",
213
- "type": "uint256"
214
- },
215
- {
216
- "internalType": "uint256",
217
- "name": "lifetime",
218
- "type": "uint256"
219
- },
220
- {
221
- "internalType": "bytes",
222
- "name": "filter",
223
- "type": "bytes"
224
- }
225
- ],
226
- "name": "createBundleInfo",
227
- "outputs": [],
228
- "stateMutability": "nonpayable",
229
- "type": "function"
230
- },
231
- {
232
- "inputs": [
233
- {
234
- "internalType": "NftId",
235
- "name": "policyNftId",
236
- "type": "uint96"
237
- },
238
- {
239
- "internalType": "NftId",
240
- "name": "productNftId",
241
- "type": "uint96"
242
- },
243
- {
244
- "internalType": "ReferralId",
245
- "name": "referralId",
246
- "type": "bytes8"
247
- },
248
- {
249
- "internalType": "RiskId",
250
- "name": "riskId",
251
- "type": "bytes8"
252
- },
253
- {
254
- "internalType": "uint256",
255
- "name": "sumInsuredAmount",
256
- "type": "uint256"
257
- },
258
- {
259
- "internalType": "uint256",
260
- "name": "premiumAmount",
261
- "type": "uint256"
262
- },
263
- {
264
- "internalType": "uint256",
265
- "name": "lifetime",
266
- "type": "uint256"
267
- },
268
- {
269
- "internalType": "NftId",
270
- "name": "bundleNftId",
271
- "type": "uint96"
272
- }
273
- ],
274
- "name": "createPolicyInfo",
275
- "outputs": [],
276
- "stateMutability": "nonpayable",
277
- "type": "function"
278
- },
279
- {
280
- "inputs": [
281
- {
282
- "internalType": "RiskId",
283
- "name": "riskId",
284
- "type": "bytes8"
285
- },
286
- {
287
- "internalType": "NftId",
288
- "name": "productNftId",
289
- "type": "uint96"
290
- },
291
- {
292
- "internalType": "bytes",
293
- "name": "data",
294
- "type": "bytes"
295
- }
296
- ],
297
- "name": "createRisk",
298
- "outputs": [],
299
- "stateMutability": "nonpayable",
300
- "type": "function"
301
- },
302
- {
303
- "inputs": [
304
- {
305
- "internalType": "string",
306
- "name": "roleName",
307
- "type": "string"
308
- }
309
- ],
310
- "name": "createRole",
311
- "outputs": [
312
- {
313
- "internalType": "RoleId",
314
- "name": "role",
315
- "type": "bytes8"
316
- }
317
- ],
318
- "stateMutability": "nonpayable",
319
- "type": "function"
320
- },
321
- {
322
- "inputs": [
323
- {
324
- "internalType": "NftId",
325
- "name": "poolNftId",
326
- "type": "uint96"
327
- }
328
- ],
329
- "name": "getBundleCount",
330
- "outputs": [
331
- {
332
- "internalType": "uint256",
333
- "name": "bundleCount",
334
- "type": "uint256"
335
- }
336
- ],
337
- "stateMutability": "view",
338
- "type": "function"
339
- },
340
- {
341
- "inputs": [
342
- {
343
- "internalType": "NftId",
344
- "name": "nftId",
345
- "type": "uint96"
346
- }
347
- ],
348
- "name": "getBundleInfo",
349
- "outputs": [
350
- {
351
- "components": [
352
- {
353
- "internalType": "NftId",
354
- "name": "poolNftId",
355
- "type": "uint96"
356
- },
357
- {
358
- "components": [
359
- {
360
- "internalType": "UFixed",
361
- "name": "fractionalFee",
362
- "type": "uint256"
363
- },
364
- {
365
- "internalType": "uint256",
366
- "name": "fixedFee",
367
- "type": "uint256"
368
- }
369
- ],
370
- "internalType": "struct Fee",
371
- "name": "fee",
372
- "type": "tuple"
373
- },
374
- {
375
- "internalType": "bytes",
376
- "name": "filter",
377
- "type": "bytes"
378
- },
379
- {
380
- "internalType": "uint256",
381
- "name": "capitalAmount",
382
- "type": "uint256"
383
- },
384
- {
385
- "internalType": "uint256",
386
- "name": "lockedAmount",
387
- "type": "uint256"
388
- },
389
- {
390
- "internalType": "uint256",
391
- "name": "balanceAmount",
392
- "type": "uint256"
393
- },
394
- {
395
- "internalType": "Timestamp",
396
- "name": "expiredAt",
397
- "type": "uint40"
398
- },
399
- {
400
- "internalType": "Timestamp",
401
- "name": "closedAt",
402
- "type": "uint40"
403
- }
404
- ],
405
- "internalType": "struct IBundle.BundleInfo",
406
- "name": "bundleInfo",
407
- "type": "tuple"
408
- }
409
- ],
410
- "stateMutability": "view",
411
- "type": "function"
412
- },
413
- {
414
- "inputs": [
415
- {
416
- "internalType": "NftId",
417
- "name": "poolNftId",
418
- "type": "uint96"
419
- },
420
- {
421
- "internalType": "uint256",
422
- "name": "index",
423
- "type": "uint256"
424
- }
425
- ],
426
- "name": "getBundleNftId",
427
- "outputs": [
428
- {
429
- "internalType": "NftId",
430
- "name": "bundleNftId",
431
- "type": "uint96"
432
- }
433
- ],
434
- "stateMutability": "view",
435
- "type": "function"
436
- },
437
- {
438
- "inputs": [],
439
- "name": "getComponentCount",
440
- "outputs": [
441
- {
442
- "internalType": "uint256",
443
- "name": "numberOfCompnents",
444
- "type": "uint256"
445
- }
446
- ],
447
- "stateMutability": "view",
448
- "type": "function"
449
- },
450
- {
451
- "inputs": [
452
- {
453
- "internalType": "uint256",
454
- "name": "idx",
455
- "type": "uint256"
456
- }
457
- ],
458
- "name": "getComponentId",
459
- "outputs": [
460
- {
461
- "internalType": "NftId",
462
- "name": "nftId",
463
- "type": "uint96"
464
- }
465
- ],
466
- "stateMutability": "view",
467
- "type": "function"
468
- },
469
- {
470
- "inputs": [],
471
- "name": "getComponentOwnerService",
472
- "outputs": [
473
- {
474
- "internalType": "contract IComponentOwnerService",
475
- "name": "",
476
- "type": "address"
477
- }
478
- ],
479
- "stateMutability": "view",
480
- "type": "function"
481
- },
482
- {
483
- "inputs": [
484
- {
485
- "internalType": "NftId",
486
- "name": "nftId",
487
- "type": "uint96"
488
- }
489
- ],
490
- "name": "getComponentToken",
491
- "outputs": [
492
- {
493
- "internalType": "contract IERC20Metadata",
494
- "name": "token",
495
- "type": "address"
496
- }
497
- ],
498
- "stateMutability": "view",
499
- "type": "function"
500
- },
501
6
  {
502
7
  "inputs": [
503
- {
504
- "internalType": "NftId",
505
- "name": "nftId",
506
- "type": "uint96"
507
- }
508
- ],
509
- "name": "getComponentWallet",
510
- "outputs": [
511
8
  {
512
9
  "internalType": "address",
513
- "name": "wallet",
514
- "type": "address"
515
- }
516
- ],
517
- "stateMutability": "view",
518
- "type": "function"
519
- },
520
- {
521
- "inputs": [],
522
- "name": "getData",
523
- "outputs": [
524
- {
525
- "internalType": "bytes",
526
- "name": "data",
527
- "type": "bytes"
528
- }
529
- ],
530
- "stateMutability": "view",
531
- "type": "function"
532
- },
533
- {
534
- "inputs": [],
535
- "name": "getDistributionService",
536
- "outputs": [
537
- {
538
- "internalType": "contract IDistributionService",
539
- "name": "",
10
+ "name": "authority",
540
11
  "type": "address"
541
12
  }
542
13
  ],
543
- "stateMutability": "view",
544
- "type": "function"
14
+ "name": "AccessManagedInvalidAuthority",
15
+ "type": "error"
545
16
  },
546
17
  {
547
18
  "inputs": [
548
19
  {
549
- "internalType": "UFixed",
550
- "name": "fractionalFee",
551
- "type": "uint256"
20
+ "internalType": "address",
21
+ "name": "caller",
22
+ "type": "address"
552
23
  },
553
24
  {
554
- "internalType": "uint256",
555
- "name": "fixedFee",
556
- "type": "uint256"
557
- }
558
- ],
559
- "name": "getFee",
560
- "outputs": [
561
- {
562
- "components": [
563
- {
564
- "internalType": "UFixed",
565
- "name": "fractionalFee",
566
- "type": "uint256"
567
- },
568
- {
569
- "internalType": "uint256",
570
- "name": "fixedFee",
571
- "type": "uint256"
572
- }
573
- ],
574
- "internalType": "struct Fee",
575
- "name": "fee",
576
- "type": "tuple"
577
- }
578
- ],
579
- "stateMutability": "pure",
580
- "type": "function"
581
- },
582
- {
583
- "inputs": [],
584
- "name": "getInitializedVersion",
585
- "outputs": [
586
- {
587
- "internalType": "uint64",
588
- "name": "",
589
- "type": "uint64"
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
590
28
  }
591
29
  ],
592
- "stateMutability": "view",
593
- "type": "function"
30
+ "name": "AccessManagedRequiredDelay",
31
+ "type": "error"
594
32
  },
595
33
  {
596
- "inputs": [],
597
- "name": "getKeyValueStore",
598
- "outputs": [
34
+ "inputs": [
599
35
  {
600
- "internalType": "contract IKeyValueStore",
601
- "name": "keyValueStore",
36
+ "internalType": "address",
37
+ "name": "caller",
602
38
  "type": "address"
603
39
  }
604
40
  ],
605
- "stateMutability": "view",
606
- "type": "function"
607
- },
608
- {
609
- "inputs": [],
610
- "name": "getNftId",
611
- "outputs": [
612
- {
613
- "internalType": "NftId",
614
- "name": "nftId",
615
- "type": "uint96"
616
- }
617
- ],
618
- "stateMutability": "view",
619
- "type": "function"
41
+ "name": "AccessManagedUnauthorized",
42
+ "type": "error"
620
43
  },
621
44
  {
622
- "inputs": [],
623
- "name": "getOwner",
624
- "outputs": [
45
+ "inputs": [
625
46
  {
626
47
  "internalType": "address",
627
- "name": "owner",
48
+ "name": "instanceBundleManager",
628
49
  "type": "address"
629
50
  }
630
51
  ],
631
- "stateMutability": "view",
632
- "type": "function"
633
- },
634
- {
635
- "inputs": [],
636
- "name": "getParentNftId",
637
- "outputs": [
638
- {
639
- "internalType": "NftId",
640
- "name": "nftId",
641
- "type": "uint96"
642
- }
643
- ],
644
- "stateMutability": "view",
645
- "type": "function"
52
+ "name": "ErrorInstanceBundleManagerAlreadySet",
53
+ "type": "error"
646
54
  },
647
55
  {
648
56
  "inputs": [
649
57
  {
650
- "internalType": "NftId",
651
- "name": "nftId",
652
- "type": "uint96"
653
- }
654
- ],
655
- "name": "getPolicyInfo",
656
- "outputs": [
657
- {
658
- "components": [
659
- {
660
- "internalType": "NftId",
661
- "name": "productNftId",
662
- "type": "uint96"
663
- },
664
- {
665
- "internalType": "NftId",
666
- "name": "bundleNftId",
667
- "type": "uint96"
668
- },
669
- {
670
- "internalType": "ReferralId",
671
- "name": "referralId",
672
- "type": "bytes8"
673
- },
674
- {
675
- "internalType": "address",
676
- "name": "beneficiary",
677
- "type": "address"
678
- },
679
- {
680
- "internalType": "RiskId",
681
- "name": "riskId",
682
- "type": "bytes8"
683
- },
684
- {
685
- "internalType": "uint256",
686
- "name": "sumInsuredAmount",
687
- "type": "uint256"
688
- },
689
- {
690
- "internalType": "uint256",
691
- "name": "premiumAmount",
692
- "type": "uint256"
693
- },
694
- {
695
- "internalType": "uint256",
696
- "name": "premiumPaidAmount",
697
- "type": "uint256"
698
- },
699
- {
700
- "internalType": "uint256",
701
- "name": "lifetime",
702
- "type": "uint256"
703
- },
704
- {
705
- "internalType": "bytes",
706
- "name": "applicationData",
707
- "type": "bytes"
708
- },
709
- {
710
- "internalType": "bytes",
711
- "name": "policyData",
712
- "type": "bytes"
713
- },
714
- {
715
- "internalType": "Timestamp",
716
- "name": "activatedAt",
717
- "type": "uint40"
718
- },
719
- {
720
- "internalType": "Timestamp",
721
- "name": "expiredAt",
722
- "type": "uint40"
723
- },
724
- {
725
- "internalType": "Timestamp",
726
- "name": "closedAt",
727
- "type": "uint40"
728
- }
729
- ],
730
- "internalType": "struct IPolicy.PolicyInfo",
731
- "name": "info",
732
- "type": "tuple"
58
+ "internalType": "address",
59
+ "name": "instanceAuthority",
60
+ "type": "address"
733
61
  }
734
62
  ],
735
- "stateMutability": "view",
736
- "type": "function"
63
+ "name": "ErrorInstanceBundleManagerAuthorityMismatch",
64
+ "type": "error"
737
65
  },
738
66
  {
739
67
  "inputs": [
740
68
  {
741
- "internalType": "NftId",
742
- "name": "nftId",
743
- "type": "uint96"
744
- }
745
- ],
746
- "name": "getPoolInfo",
747
- "outputs": [
748
- {
749
- "components": [
750
- {
751
- "internalType": "bool",
752
- "name": "isVerifying",
753
- "type": "bool"
754
- },
755
- {
756
- "internalType": "UFixed",
757
- "name": "collateralizationLevel",
758
- "type": "uint256"
759
- }
760
- ],
761
- "internalType": "struct IPool.PoolInfo",
762
- "name": "info",
763
- "type": "tuple"
764
- }
765
- ],
766
- "stateMutability": "view",
767
- "type": "function"
768
- },
769
- {
770
- "inputs": [],
771
- "name": "getPoolService",
772
- "outputs": [
773
- {
774
- "internalType": "contract IPoolService",
775
- "name": "",
69
+ "internalType": "address",
70
+ "name": "instance",
776
71
  "type": "address"
777
72
  }
778
73
  ],
779
- "stateMutability": "view",
780
- "type": "function"
74
+ "name": "ErrorInstanceBundleManagerInstanceMismatch",
75
+ "type": "error"
781
76
  },
782
77
  {
783
78
  "inputs": [
784
79
  {
785
- "internalType": "NftId",
786
- "name": "componentNftId",
787
- "type": "uint96"
788
- }
789
- ],
790
- "name": "getProductNftId",
791
- "outputs": [
792
- {
793
- "internalType": "NftId",
794
- "name": "productNftId",
795
- "type": "uint96"
80
+ "internalType": "address",
81
+ "name": "InstanceAdmin",
82
+ "type": "address"
796
83
  }
797
84
  ],
798
- "stateMutability": "view",
799
- "type": "function"
85
+ "name": "ErrorInstanceInstanceAdminAlreadySet",
86
+ "type": "error"
800
87
  },
801
88
  {
802
- "inputs": [],
803
- "name": "getProductService",
804
- "outputs": [
89
+ "inputs": [
805
90
  {
806
- "internalType": "contract IProductService",
807
- "name": "",
91
+ "internalType": "address",
92
+ "name": "instanceAuthority",
808
93
  "type": "address"
809
94
  }
810
95
  ],
811
- "stateMutability": "view",
812
- "type": "function"
96
+ "name": "ErrorInstanceInstanceAdminAuthorityMismatch",
97
+ "type": "error"
813
98
  },
814
99
  {
815
100
  "inputs": [],
816
- "name": "getRegistry",
817
- "outputs": [
818
- {
819
- "internalType": "contract IRegistry",
820
- "name": "registry",
821
- "type": "address"
822
- }
823
- ],
824
- "stateMutability": "view",
825
- "type": "function"
101
+ "name": "ErrorInstanceInstanceAdminZero",
102
+ "type": "error"
826
103
  },
827
104
  {
828
105
  "inputs": [
829
106
  {
830
- "internalType": "RiskId",
831
- "name": "riskId",
832
- "type": "bytes8"
833
- }
834
- ],
835
- "name": "getRiskInfo",
836
- "outputs": [
837
- {
838
- "components": [
839
- {
840
- "internalType": "NftId",
841
- "name": "productNftId",
842
- "type": "uint96"
843
- },
844
- {
845
- "internalType": "bytes",
846
- "name": "data",
847
- "type": "bytes"
848
- }
849
- ],
850
- "internalType": "struct IRisk.RiskInfo",
851
- "name": "info",
852
- "type": "tuple"
107
+ "internalType": "address",
108
+ "name": "instanceAuthority",
109
+ "type": "address"
853
110
  }
854
111
  ],
855
- "stateMutability": "view",
856
- "type": "function"
112
+ "name": "ErrorInstanceInstanceReaderInstanceMismatch",
113
+ "type": "error"
857
114
  },
858
115
  {
859
116
  "inputs": [
860
117
  {
861
- "internalType": "uint256",
862
- "name": "idx",
863
- "type": "uint256"
864
- }
865
- ],
866
- "name": "getRole",
867
- "outputs": [
868
- {
869
- "internalType": "RoleId",
870
- "name": "role",
871
- "type": "bytes8"
872
- }
873
- ],
874
- "stateMutability": "view",
875
- "type": "function"
876
- },
877
- {
878
- "inputs": [],
879
- "name": "getRoleCount",
880
- "outputs": [
881
- {
882
- "internalType": "uint256",
883
- "name": "roles",
884
- "type": "uint256"
118
+ "internalType": "address",
119
+ "name": "instanceStore",
120
+ "type": "address"
885
121
  }
886
122
  ],
887
- "stateMutability": "view",
888
- "type": "function"
123
+ "name": "ErrorInstanceInstanceStoreAlreadySet",
124
+ "type": "error"
889
125
  },
890
126
  {
891
- "inputs": [
892
- {
893
- "internalType": "string",
894
- "name": "roleName",
895
- "type": "string"
896
- }
897
- ],
898
- "name": "getRoleId",
899
- "outputs": [
127
+ "inputs": [
900
128
  {
901
- "internalType": "RoleId",
902
- "name": "role",
903
- "type": "bytes8"
129
+ "internalType": "address",
130
+ "name": "instanceAuthority",
131
+ "type": "address"
904
132
  }
905
133
  ],
906
- "stateMutability": "pure",
907
- "type": "function"
134
+ "name": "ErrorInstanceInstanceStoreAuthorityMismatch",
135
+ "type": "error"
908
136
  },
909
137
  {
910
138
  "inputs": [
911
139
  {
912
- "internalType": "RoleId",
913
- "name": "role",
914
- "type": "bytes8"
140
+ "internalType": "NftId",
141
+ "name": "nftId",
142
+ "type": "uint96"
915
143
  }
916
144
  ],
917
- "name": "getRoleInfo",
918
- "outputs": [
145
+ "name": "ErrorNftOwnableAlreadyLinked",
146
+ "type": "error"
147
+ },
148
+ {
149
+ "inputs": [
919
150
  {
920
- "components": [
921
- {
922
- "internalType": "RoleId",
923
- "name": "id",
924
- "type": "bytes8"
925
- },
926
- {
927
- "internalType": "string",
928
- "name": "name",
929
- "type": "string"
930
- },
931
- {
932
- "internalType": "bool",
933
- "name": "isActive",
934
- "type": "bool"
935
- }
936
- ],
937
- "internalType": "struct IAccess.RoleInfo",
938
- "name": "info",
939
- "type": "tuple"
151
+ "internalType": "address",
152
+ "name": "contractAddress",
153
+ "type": "address"
940
154
  }
941
155
  ],
942
- "stateMutability": "view",
943
- "type": "function"
156
+ "name": "ErrorNftOwnableContractNotRegistered",
157
+ "type": "error"
158
+ },
159
+ {
160
+ "inputs": [],
161
+ "name": "ErrorNftOwnableInitialOwnerZero",
162
+ "type": "error"
944
163
  },
945
164
  {
946
165
  "inputs": [
947
166
  {
948
- "internalType": "RoleId",
949
- "name": "role",
950
- "type": "bytes8"
951
- },
952
- {
953
- "internalType": "uint256",
954
- "name": "idx",
955
- "type": "uint256"
167
+ "internalType": "address",
168
+ "name": "account",
169
+ "type": "address"
956
170
  }
957
171
  ],
958
- "name": "getRoleMember",
959
- "outputs": [
172
+ "name": "ErrorNftOwnableNotOwner",
173
+ "type": "error"
174
+ },
175
+ {
176
+ "inputs": [
960
177
  {
961
178
  "internalType": "address",
962
- "name": "roleMember",
179
+ "name": "registryAddress",
963
180
  "type": "address"
964
181
  }
965
182
  ],
966
- "stateMutability": "view",
967
- "type": "function"
183
+ "name": "ErrorNotRegistry",
184
+ "type": "error"
968
185
  },
969
186
  {
187
+ "anonymous": false,
970
188
  "inputs": [
971
189
  {
972
- "internalType": "RoleId",
973
- "name": "role",
974
- "type": "bytes8"
190
+ "indexed": false,
191
+ "internalType": "address",
192
+ "name": "authority",
193
+ "type": "address"
975
194
  }
976
195
  ],
977
- "name": "getRoleMemberCount",
196
+ "name": "AuthorityUpdated",
197
+ "type": "event"
198
+ },
199
+ {
200
+ "inputs": [],
201
+ "name": "authority",
978
202
  "outputs": [
979
203
  {
980
- "internalType": "uint256",
981
- "name": "roleMembers",
982
- "type": "uint256"
204
+ "internalType": "address",
205
+ "name": "",
206
+ "type": "address"
983
207
  }
984
208
  ],
985
209
  "stateMutability": "view",
@@ -988,35 +212,57 @@
988
212
  {
989
213
  "inputs": [
990
214
  {
991
- "internalType": "Key32",
992
- "name": "key",
993
- "type": "bytes32"
215
+ "internalType": "string",
216
+ "name": "roleName",
217
+ "type": "string"
218
+ },
219
+ {
220
+ "internalType": "string",
221
+ "name": "adminName",
222
+ "type": "string"
994
223
  }
995
224
  ],
996
- "name": "getState",
225
+ "name": "createRole",
997
226
  "outputs": [
998
227
  {
999
- "internalType": "StateId",
1000
- "name": "state",
1001
- "type": "uint8"
228
+ "internalType": "RoleId",
229
+ "name": "roleId",
230
+ "type": "uint64"
231
+ },
232
+ {
233
+ "internalType": "RoleId",
234
+ "name": "admin",
235
+ "type": "uint64"
1002
236
  }
1003
237
  ],
1004
- "stateMutability": "view",
238
+ "stateMutability": "nonpayable",
1005
239
  "type": "function"
1006
240
  },
1007
241
  {
1008
242
  "inputs": [
1009
243
  {
1010
- "internalType": "NftId",
1011
- "name": "componentNftId",
1012
- "type": "uint96"
244
+ "internalType": "address",
245
+ "name": "target",
246
+ "type": "address"
247
+ },
248
+ {
249
+ "internalType": "string",
250
+ "name": "name",
251
+ "type": "string"
1013
252
  }
1014
253
  ],
1015
- "name": "getTokenHandler",
254
+ "name": "createTarget",
255
+ "outputs": [],
256
+ "stateMutability": "nonpayable",
257
+ "type": "function"
258
+ },
259
+ {
260
+ "inputs": [],
261
+ "name": "getBundleManager",
1016
262
  "outputs": [
1017
263
  {
1018
- "internalType": "contract TokenHandler",
1019
- "name": "tokenHandler",
264
+ "internalType": "contract BundleManager",
265
+ "name": "",
1020
266
  "type": "address"
1021
267
  }
1022
268
  ],
@@ -1024,137 +270,49 @@
1024
270
  "type": "function"
1025
271
  },
1026
272
  {
1027
- "inputs": [
1028
- {
1029
- "internalType": "NftId",
1030
- "name": "productNftId",
1031
- "type": "uint96"
1032
- }
1033
- ],
1034
- "name": "getTreasuryInfo",
273
+ "inputs": [],
274
+ "name": "getInitialInfo",
1035
275
  "outputs": [
1036
276
  {
1037
277
  "components": [
1038
278
  {
1039
279
  "internalType": "NftId",
1040
- "name": "poolNftId",
280
+ "name": "nftId",
1041
281
  "type": "uint96"
1042
282
  },
1043
283
  {
1044
284
  "internalType": "NftId",
1045
- "name": "distributionNftId",
285
+ "name": "parentNftId",
1046
286
  "type": "uint96"
1047
287
  },
1048
288
  {
1049
- "internalType": "contract IERC20Metadata",
1050
- "name": "token",
1051
- "type": "address"
1052
- },
1053
- {
1054
- "components": [
1055
- {
1056
- "internalType": "UFixed",
1057
- "name": "fractionalFee",
1058
- "type": "uint256"
1059
- },
1060
- {
1061
- "internalType": "uint256",
1062
- "name": "fixedFee",
1063
- "type": "uint256"
1064
- }
1065
- ],
1066
- "internalType": "struct Fee",
1067
- "name": "productFee",
1068
- "type": "tuple"
1069
- },
1070
- {
1071
- "components": [
1072
- {
1073
- "internalType": "UFixed",
1074
- "name": "fractionalFee",
1075
- "type": "uint256"
1076
- },
1077
- {
1078
- "internalType": "uint256",
1079
- "name": "fixedFee",
1080
- "type": "uint256"
1081
- }
1082
- ],
1083
- "internalType": "struct Fee",
1084
- "name": "processingFee",
1085
- "type": "tuple"
289
+ "internalType": "ObjectType",
290
+ "name": "objectType",
291
+ "type": "uint8"
1086
292
  },
1087
293
  {
1088
- "components": [
1089
- {
1090
- "internalType": "UFixed",
1091
- "name": "fractionalFee",
1092
- "type": "uint256"
1093
- },
1094
- {
1095
- "internalType": "uint256",
1096
- "name": "fixedFee",
1097
- "type": "uint256"
1098
- }
1099
- ],
1100
- "internalType": "struct Fee",
1101
- "name": "poolFee",
1102
- "type": "tuple"
294
+ "internalType": "bool",
295
+ "name": "isInterceptor",
296
+ "type": "bool"
1103
297
  },
1104
298
  {
1105
- "components": [
1106
- {
1107
- "internalType": "UFixed",
1108
- "name": "fractionalFee",
1109
- "type": "uint256"
1110
- },
1111
- {
1112
- "internalType": "uint256",
1113
- "name": "fixedFee",
1114
- "type": "uint256"
1115
- }
1116
- ],
1117
- "internalType": "struct Fee",
1118
- "name": "stakingFee",
1119
- "type": "tuple"
299
+ "internalType": "address",
300
+ "name": "objectAddress",
301
+ "type": "address"
1120
302
  },
1121
303
  {
1122
- "components": [
1123
- {
1124
- "internalType": "UFixed",
1125
- "name": "fractionalFee",
1126
- "type": "uint256"
1127
- },
1128
- {
1129
- "internalType": "uint256",
1130
- "name": "fixedFee",
1131
- "type": "uint256"
1132
- }
1133
- ],
1134
- "internalType": "struct Fee",
1135
- "name": "performanceFee",
1136
- "type": "tuple"
304
+ "internalType": "address",
305
+ "name": "initialOwner",
306
+ "type": "address"
1137
307
  },
1138
308
  {
1139
- "components": [
1140
- {
1141
- "internalType": "UFixed",
1142
- "name": "fractionalFee",
1143
- "type": "uint256"
1144
- },
1145
- {
1146
- "internalType": "uint256",
1147
- "name": "fixedFee",
1148
- "type": "uint256"
1149
- }
1150
- ],
1151
- "internalType": "struct Fee",
1152
- "name": "distributionFee",
1153
- "type": "tuple"
309
+ "internalType": "bytes",
310
+ "name": "data",
311
+ "type": "bytes"
1154
312
  }
1155
313
  ],
1156
- "internalType": "struct ITreasury.TreasuryInfo",
1157
- "name": "info",
314
+ "internalType": "struct IRegistry.ObjectInfo",
315
+ "name": "",
1158
316
  "type": "tuple"
1159
317
  }
1160
318
  ],
@@ -1163,87 +321,38 @@
1163
321
  },
1164
322
  {
1165
323
  "inputs": [],
1166
- "name": "getType",
1167
- "outputs": [
1168
- {
1169
- "internalType": "ObjectType",
1170
- "name": "objectType",
1171
- "type": "uint8"
1172
- }
1173
- ],
1174
- "stateMutability": "pure",
1175
- "type": "function"
1176
- },
1177
- {
1178
- "inputs": [
1179
- {
1180
- "internalType": "uint256",
1181
- "name": "a",
1182
- "type": "uint256"
1183
- },
1184
- {
1185
- "internalType": "int8",
1186
- "name": "exp",
1187
- "type": "int8"
1188
- }
1189
- ],
1190
- "name": "getUFixed",
324
+ "name": "getInstanceAccessManager",
1191
325
  "outputs": [
1192
326
  {
1193
- "internalType": "UFixed",
327
+ "internalType": "contract AccessManagerExtendedInitializeable",
1194
328
  "name": "",
1195
- "type": "uint256"
329
+ "type": "address"
1196
330
  }
1197
331
  ],
1198
- "stateMutability": "pure",
332
+ "stateMutability": "view",
1199
333
  "type": "function"
1200
334
  },
1201
335
  {
1202
- "inputs": [
1203
- {
1204
- "internalType": "uint256",
1205
- "name": "a",
1206
- "type": "uint256"
1207
- }
1208
- ],
1209
- "name": "getUFixed",
336
+ "inputs": [],
337
+ "name": "getInstanceAdmin",
1210
338
  "outputs": [
1211
339
  {
1212
- "internalType": "UFixed",
340
+ "internalType": "contract InstanceAdmin",
1213
341
  "name": "",
1214
- "type": "uint256"
342
+ "type": "address"
1215
343
  }
1216
344
  ],
1217
- "stateMutability": "pure",
345
+ "stateMutability": "view",
1218
346
  "type": "function"
1219
347
  },
1220
348
  {
1221
349
  "inputs": [],
1222
- "name": "getVersion",
350
+ "name": "getInstanceReader",
1223
351
  "outputs": [
1224
352
  {
1225
- "internalType": "Version",
353
+ "internalType": "contract InstanceReader",
1226
354
  "name": "",
1227
- "type": "uint24"
1228
- }
1229
- ],
1230
- "stateMutability": "pure",
1231
- "type": "function"
1232
- },
1233
- {
1234
- "inputs": [
1235
- {
1236
- "internalType": "uint256",
1237
- "name": "index",
1238
- "type": "uint256"
1239
- }
1240
- ],
1241
- "name": "getVersion",
1242
- "outputs": [
1243
- {
1244
- "internalType": "Version",
1245
- "name": "version",
1246
- "type": "uint24"
355
+ "type": "address"
1247
356
  }
1248
357
  ],
1249
358
  "stateMutability": "view",
@@ -1251,144 +360,64 @@
1251
360
  },
1252
361
  {
1253
362
  "inputs": [],
1254
- "name": "getVersionCount",
363
+ "name": "getInstanceStore",
1255
364
  "outputs": [
1256
365
  {
1257
- "internalType": "uint256",
1258
- "name": "numberOfVersions",
1259
- "type": "uint256"
366
+ "internalType": "contract InstanceStore",
367
+ "name": "",
368
+ "type": "address"
1260
369
  }
1261
370
  ],
1262
371
  "stateMutability": "view",
1263
372
  "type": "function"
1264
373
  },
1265
374
  {
1266
- "inputs": [
1267
- {
1268
- "internalType": "Version",
1269
- "name": "version",
1270
- "type": "uint24"
1271
- }
1272
- ],
1273
- "name": "getVersionInfo",
375
+ "inputs": [],
376
+ "name": "getMajorVersion",
1274
377
  "outputs": [
1275
378
  {
1276
- "components": [
1277
- {
1278
- "internalType": "Version",
1279
- "name": "version",
1280
- "type": "uint24"
1281
- },
1282
- {
1283
- "internalType": "address",
1284
- "name": "implementation",
1285
- "type": "address"
1286
- },
1287
- {
1288
- "internalType": "address",
1289
- "name": "activatedBy",
1290
- "type": "address"
1291
- },
1292
- {
1293
- "internalType": "Timestamp",
1294
- "name": "activatedAt",
1295
- "type": "uint40"
1296
- },
1297
- {
1298
- "internalType": "Blocknumber",
1299
- "name": "activatedIn",
1300
- "type": "uint32"
1301
- }
1302
- ],
1303
- "internalType": "struct IVersionable.VersionInfo",
1304
- "name": "versionInfo",
1305
- "type": "tuple"
379
+ "internalType": "VersionPart",
380
+ "name": "majorVersion",
381
+ "type": "uint8"
1306
382
  }
1307
383
  ],
1308
- "stateMutability": "view",
384
+ "stateMutability": "pure",
1309
385
  "type": "function"
1310
386
  },
1311
387
  {
1312
388
  "inputs": [],
1313
- "name": "getZeroFee",
389
+ "name": "getNftId",
1314
390
  "outputs": [
1315
391
  {
1316
- "components": [
1317
- {
1318
- "internalType": "UFixed",
1319
- "name": "fractionalFee",
1320
- "type": "uint256"
1321
- },
1322
- {
1323
- "internalType": "uint256",
1324
- "name": "fixedFee",
1325
- "type": "uint256"
1326
- }
1327
- ],
1328
- "internalType": "struct Fee",
1329
- "name": "fee",
1330
- "type": "tuple"
392
+ "internalType": "NftId",
393
+ "name": "",
394
+ "type": "uint96"
1331
395
  }
1332
396
  ],
1333
397
  "stateMutability": "view",
1334
398
  "type": "function"
1335
399
  },
1336
400
  {
1337
- "inputs": [
1338
- {
1339
- "internalType": "RoleId",
1340
- "name": "role",
1341
- "type": "bytes8"
1342
- },
1343
- {
1344
- "internalType": "address",
1345
- "name": "member",
1346
- "type": "address"
1347
- }
1348
- ],
1349
- "name": "grantRole",
1350
- "outputs": [],
1351
- "stateMutability": "nonpayable",
1352
- "type": "function"
1353
- },
1354
- {
1355
- "inputs": [
1356
- {
1357
- "internalType": "RoleId",
1358
- "name": "role",
1359
- "type": "bytes8"
1360
- },
1361
- {
1362
- "internalType": "address",
1363
- "name": "member",
1364
- "type": "address"
1365
- }
1366
- ],
1367
- "name": "hasRole",
401
+ "inputs": [],
402
+ "name": "getOwner",
1368
403
  "outputs": [
1369
404
  {
1370
- "internalType": "bool",
405
+ "internalType": "address",
1371
406
  "name": "",
1372
- "type": "bool"
407
+ "type": "address"
1373
408
  }
1374
409
  ],
1375
410
  "stateMutability": "view",
1376
411
  "type": "function"
1377
412
  },
1378
413
  {
1379
- "inputs": [
1380
- {
1381
- "internalType": "NftId",
1382
- "name": "productNftId",
1383
- "type": "uint96"
1384
- }
1385
- ],
1386
- "name": "hasTreasuryInfo",
414
+ "inputs": [],
415
+ "name": "getRegistry",
1387
416
  "outputs": [
1388
417
  {
1389
- "internalType": "bool",
1390
- "name": "hasInfo",
1391
- "type": "bool"
418
+ "internalType": "contract IRegistry",
419
+ "name": "",
420
+ "type": "address"
1392
421
  }
1393
422
  ],
1394
423
  "stateMutability": "view",
@@ -1397,40 +426,29 @@
1397
426
  {
1398
427
  "inputs": [
1399
428
  {
1400
- "internalType": "address",
1401
- "name": "implementation",
1402
- "type": "address"
429
+ "internalType": "RoleId",
430
+ "name": "roleId",
431
+ "type": "uint64"
1403
432
  },
1404
433
  {
1405
434
  "internalType": "address",
1406
- "name": "activatedBy",
435
+ "name": "account",
1407
436
  "type": "address"
1408
- },
1409
- {
1410
- "internalType": "bytes",
1411
- "name": "activationData",
1412
- "type": "bytes"
1413
437
  }
1414
438
  ],
1415
- "name": "initialize",
439
+ "name": "grantRole",
1416
440
  "outputs": [],
1417
441
  "stateMutability": "nonpayable",
1418
442
  "type": "function"
1419
443
  },
1420
444
  {
1421
- "inputs": [
1422
- {
1423
- "internalType": "Version",
1424
- "name": "version",
1425
- "type": "uint24"
1426
- }
1427
- ],
1428
- "name": "isInitialized",
445
+ "inputs": [],
446
+ "name": "isConsumingScheduledOp",
1429
447
  "outputs": [
1430
448
  {
1431
- "internalType": "bool",
449
+ "internalType": "bytes4",
1432
450
  "name": "",
1433
- "type": "bool"
451
+ "type": "bytes4"
1434
452
  }
1435
453
  ],
1436
454
  "stateMutability": "view",
@@ -1438,11 +456,11 @@
1438
456
  },
1439
457
  {
1440
458
  "inputs": [],
1441
- "name": "register",
459
+ "name": "linkToRegisteredNftId",
1442
460
  "outputs": [
1443
461
  {
1444
462
  "internalType": "NftId",
1445
- "name": "nftId",
463
+ "name": "",
1446
464
  "type": "uint96"
1447
465
  }
1448
466
  ],
@@ -1451,46 +469,18 @@
1451
469
  },
1452
470
  {
1453
471
  "inputs": [
1454
- {
1455
- "internalType": "NftId",
1456
- "name": "nftId",
1457
- "type": "uint96"
1458
- },
1459
- {
1460
- "internalType": "contract IERC20Metadata",
1461
- "name": "token",
1462
- "type": "address"
1463
- },
1464
472
  {
1465
473
  "internalType": "address",
1466
- "name": "wallet",
474
+ "name": "to",
1467
475
  "type": "address"
1468
- }
1469
- ],
1470
- "name": "registerComponent",
1471
- "outputs": [],
1472
- "stateMutability": "nonpayable",
1473
- "type": "function"
1474
- },
1475
- {
1476
- "inputs": [
1477
- {
1478
- "internalType": "NftId",
1479
- "name": "poolNftId",
1480
- "type": "uint96"
1481
- },
1482
- {
1483
- "internalType": "bool",
1484
- "name": "isVerifying",
1485
- "type": "bool"
1486
476
  },
1487
477
  {
1488
- "internalType": "UFixed",
1489
- "name": "collateralizationLevel",
478
+ "internalType": "uint256",
479
+ "name": "tokenId",
1490
480
  "type": "uint256"
1491
481
  }
1492
482
  ],
1493
- "name": "registerPool",
483
+ "name": "nftMint",
1494
484
  "outputs": [],
1495
485
  "stateMutability": "nonpayable",
1496
486
  "type": "function"
@@ -1498,22 +488,22 @@
1498
488
  {
1499
489
  "inputs": [
1500
490
  {
1501
- "internalType": "contract IProductComponent",
1502
- "name": "product",
491
+ "internalType": "address",
492
+ "name": "from",
1503
493
  "type": "address"
1504
494
  },
1505
495
  {
1506
- "internalType": "contract IPoolComponent",
1507
- "name": "pool",
496
+ "internalType": "address",
497
+ "name": "to",
1508
498
  "type": "address"
1509
499
  },
1510
500
  {
1511
- "internalType": "contract IDistributionComponent",
1512
- "name": "distribution",
1513
- "type": "address"
501
+ "internalType": "uint256",
502
+ "name": "tokenId",
503
+ "type": "uint256"
1514
504
  }
1515
505
  ],
1516
- "name": "registerProductSetup",
506
+ "name": "nftTransferFrom",
1517
507
  "outputs": [],
1518
508
  "stateMutability": "nonpayable",
1519
509
  "type": "function"
@@ -1521,24 +511,13 @@
1521
511
  {
1522
512
  "inputs": [
1523
513
  {
1524
- "internalType": "NftId",
1525
- "name": "bundleNftId",
1526
- "type": "uint96"
1527
- },
1528
- {
1529
- "internalType": "NftId",
1530
- "name": "policyNftId",
514
+ "internalType": "Amount",
515
+ "name": "dipAmount",
1531
516
  "type": "uint96"
1532
517
  }
1533
518
  ],
1534
- "name": "releasePolicy",
1535
- "outputs": [
1536
- {
1537
- "internalType": "uint256",
1538
- "name": "collateralAmount",
1539
- "type": "uint256"
1540
- }
1541
- ],
519
+ "name": "refillStakingRewardReserves",
520
+ "outputs": [],
1542
521
  "stateMutability": "nonpayable",
1543
522
  "type": "function"
1544
523
  },
@@ -1546,12 +525,12 @@
1546
525
  "inputs": [
1547
526
  {
1548
527
  "internalType": "RoleId",
1549
- "name": "role",
1550
- "type": "bytes8"
528
+ "name": "roleId",
529
+ "type": "uint64"
1551
530
  },
1552
531
  {
1553
532
  "internalType": "address",
1554
- "name": "member",
533
+ "name": "account",
1555
534
  "type": "address"
1556
535
  }
1557
536
  ],
@@ -1563,90 +542,12 @@
1563
542
  {
1564
543
  "inputs": [
1565
544
  {
1566
- "internalType": "RoleId",
1567
- "name": "role",
1568
- "type": "bytes8"
1569
- }
1570
- ],
1571
- "name": "roleExists",
1572
- "outputs": [
1573
- {
1574
- "internalType": "bool",
545
+ "internalType": "address",
1575
546
  "name": "",
1576
- "type": "bool"
1577
- }
1578
- ],
1579
- "stateMutability": "view",
1580
- "type": "function"
1581
- },
1582
- {
1583
- "inputs": [
1584
- {
1585
- "internalType": "NftId",
1586
- "name": "nftId",
1587
- "type": "uint96"
1588
- },
1589
- {
1590
- "components": [
1591
- {
1592
- "internalType": "NftId",
1593
- "name": "poolNftId",
1594
- "type": "uint96"
1595
- },
1596
- {
1597
- "components": [
1598
- {
1599
- "internalType": "UFixed",
1600
- "name": "fractionalFee",
1601
- "type": "uint256"
1602
- },
1603
- {
1604
- "internalType": "uint256",
1605
- "name": "fixedFee",
1606
- "type": "uint256"
1607
- }
1608
- ],
1609
- "internalType": "struct Fee",
1610
- "name": "fee",
1611
- "type": "tuple"
1612
- },
1613
- {
1614
- "internalType": "bytes",
1615
- "name": "filter",
1616
- "type": "bytes"
1617
- },
1618
- {
1619
- "internalType": "uint256",
1620
- "name": "capitalAmount",
1621
- "type": "uint256"
1622
- },
1623
- {
1624
- "internalType": "uint256",
1625
- "name": "lockedAmount",
1626
- "type": "uint256"
1627
- },
1628
- {
1629
- "internalType": "uint256",
1630
- "name": "balanceAmount",
1631
- "type": "uint256"
1632
- },
1633
- {
1634
- "internalType": "Timestamp",
1635
- "name": "expiredAt",
1636
- "type": "uint40"
1637
- },
1638
- {
1639
- "internalType": "Timestamp",
1640
- "name": "closedAt",
1641
- "type": "uint40"
1642
- }
1643
- ],
1644
- "internalType": "struct IBundle.BundleInfo",
1645
- "name": "bundleInfo",
1646
- "type": "tuple"
547
+ "type": "address"
1647
548
  }
1648
549
  ],
1649
- "name": "setBundleInfo",
550
+ "name": "setAuthority",
1650
551
  "outputs": [],
1651
552
  "stateMutability": "nonpayable",
1652
553
  "type": "function"
@@ -1654,89 +555,12 @@
1654
555
  {
1655
556
  "inputs": [
1656
557
  {
1657
- "internalType": "NftId",
1658
- "name": "policyNftId",
1659
- "type": "uint96"
1660
- },
1661
- {
1662
- "components": [
1663
- {
1664
- "internalType": "NftId",
1665
- "name": "productNftId",
1666
- "type": "uint96"
1667
- },
1668
- {
1669
- "internalType": "NftId",
1670
- "name": "bundleNftId",
1671
- "type": "uint96"
1672
- },
1673
- {
1674
- "internalType": "ReferralId",
1675
- "name": "referralId",
1676
- "type": "bytes8"
1677
- },
1678
- {
1679
- "internalType": "address",
1680
- "name": "beneficiary",
1681
- "type": "address"
1682
- },
1683
- {
1684
- "internalType": "RiskId",
1685
- "name": "riskId",
1686
- "type": "bytes8"
1687
- },
1688
- {
1689
- "internalType": "uint256",
1690
- "name": "sumInsuredAmount",
1691
- "type": "uint256"
1692
- },
1693
- {
1694
- "internalType": "uint256",
1695
- "name": "premiumAmount",
1696
- "type": "uint256"
1697
- },
1698
- {
1699
- "internalType": "uint256",
1700
- "name": "premiumPaidAmount",
1701
- "type": "uint256"
1702
- },
1703
- {
1704
- "internalType": "uint256",
1705
- "name": "lifetime",
1706
- "type": "uint256"
1707
- },
1708
- {
1709
- "internalType": "bytes",
1710
- "name": "applicationData",
1711
- "type": "bytes"
1712
- },
1713
- {
1714
- "internalType": "bytes",
1715
- "name": "policyData",
1716
- "type": "bytes"
1717
- },
1718
- {
1719
- "internalType": "Timestamp",
1720
- "name": "activatedAt",
1721
- "type": "uint40"
1722
- },
1723
- {
1724
- "internalType": "Timestamp",
1725
- "name": "expiredAt",
1726
- "type": "uint40"
1727
- },
1728
- {
1729
- "internalType": "Timestamp",
1730
- "name": "closedAt",
1731
- "type": "uint40"
1732
- }
1733
- ],
1734
- "internalType": "struct IPolicy.PolicyInfo",
1735
- "name": "info",
1736
- "type": "tuple"
558
+ "internalType": "Seconds",
559
+ "name": "stakeLockingPeriod",
560
+ "type": "uint40"
1737
561
  }
1738
562
  ],
1739
- "name": "setPolicyInfo",
563
+ "name": "setStakingLockingPeriod",
1740
564
  "outputs": [],
1741
565
  "stateMutability": "nonpayable",
1742
566
  "type": "function"
@@ -1744,29 +568,12 @@
1744
568
  {
1745
569
  "inputs": [
1746
570
  {
1747
- "internalType": "RiskId",
1748
- "name": "riskId",
1749
- "type": "bytes8"
1750
- },
1751
- {
1752
- "components": [
1753
- {
1754
- "internalType": "NftId",
1755
- "name": "productNftId",
1756
- "type": "uint96"
1757
- },
1758
- {
1759
- "internalType": "bytes",
1760
- "name": "data",
1761
- "type": "bytes"
1762
- }
1763
- ],
1764
- "internalType": "struct IRisk.RiskInfo",
1765
- "name": "info",
1766
- "type": "tuple"
571
+ "internalType": "UFixed",
572
+ "name": "rewardRate",
573
+ "type": "uint256"
1767
574
  }
1768
575
  ],
1769
- "name": "setRiskInfo",
576
+ "name": "setStakingRewardRate",
1770
577
  "outputs": [],
1771
578
  "stateMutability": "nonpayable",
1772
579
  "type": "function"
@@ -1774,17 +581,22 @@
1774
581
  {
1775
582
  "inputs": [
1776
583
  {
1777
- "internalType": "RoleId",
1778
- "name": "role",
1779
- "type": "bytes8"
584
+ "internalType": "string",
585
+ "name": "targetName",
586
+ "type": "string"
1780
587
  },
1781
588
  {
1782
- "internalType": "bool",
1783
- "name": "active",
1784
- "type": "bool"
589
+ "internalType": "bytes4[]",
590
+ "name": "selectors",
591
+ "type": "bytes4[]"
592
+ },
593
+ {
594
+ "internalType": "RoleId",
595
+ "name": "roleId",
596
+ "type": "uint64"
1785
597
  }
1786
598
  ],
1787
- "name": "setRoleState",
599
+ "name": "setTargetFunctionRole",
1788
600
  "outputs": [],
1789
601
  "stateMutability": "nonpayable",
1790
602
  "type": "function"
@@ -1792,136 +604,17 @@
1792
604
  {
1793
605
  "inputs": [
1794
606
  {
1795
- "internalType": "NftId",
1796
- "name": "productNftId",
1797
- "type": "uint96"
607
+ "internalType": "address",
608
+ "name": "target",
609
+ "type": "address"
1798
610
  },
1799
611
  {
1800
- "components": [
1801
- {
1802
- "internalType": "NftId",
1803
- "name": "poolNftId",
1804
- "type": "uint96"
1805
- },
1806
- {
1807
- "internalType": "NftId",
1808
- "name": "distributionNftId",
1809
- "type": "uint96"
1810
- },
1811
- {
1812
- "internalType": "contract IERC20Metadata",
1813
- "name": "token",
1814
- "type": "address"
1815
- },
1816
- {
1817
- "components": [
1818
- {
1819
- "internalType": "UFixed",
1820
- "name": "fractionalFee",
1821
- "type": "uint256"
1822
- },
1823
- {
1824
- "internalType": "uint256",
1825
- "name": "fixedFee",
1826
- "type": "uint256"
1827
- }
1828
- ],
1829
- "internalType": "struct Fee",
1830
- "name": "productFee",
1831
- "type": "tuple"
1832
- },
1833
- {
1834
- "components": [
1835
- {
1836
- "internalType": "UFixed",
1837
- "name": "fractionalFee",
1838
- "type": "uint256"
1839
- },
1840
- {
1841
- "internalType": "uint256",
1842
- "name": "fixedFee",
1843
- "type": "uint256"
1844
- }
1845
- ],
1846
- "internalType": "struct Fee",
1847
- "name": "processingFee",
1848
- "type": "tuple"
1849
- },
1850
- {
1851
- "components": [
1852
- {
1853
- "internalType": "UFixed",
1854
- "name": "fractionalFee",
1855
- "type": "uint256"
1856
- },
1857
- {
1858
- "internalType": "uint256",
1859
- "name": "fixedFee",
1860
- "type": "uint256"
1861
- }
1862
- ],
1863
- "internalType": "struct Fee",
1864
- "name": "poolFee",
1865
- "type": "tuple"
1866
- },
1867
- {
1868
- "components": [
1869
- {
1870
- "internalType": "UFixed",
1871
- "name": "fractionalFee",
1872
- "type": "uint256"
1873
- },
1874
- {
1875
- "internalType": "uint256",
1876
- "name": "fixedFee",
1877
- "type": "uint256"
1878
- }
1879
- ],
1880
- "internalType": "struct Fee",
1881
- "name": "stakingFee",
1882
- "type": "tuple"
1883
- },
1884
- {
1885
- "components": [
1886
- {
1887
- "internalType": "UFixed",
1888
- "name": "fractionalFee",
1889
- "type": "uint256"
1890
- },
1891
- {
1892
- "internalType": "uint256",
1893
- "name": "fixedFee",
1894
- "type": "uint256"
1895
- }
1896
- ],
1897
- "internalType": "struct Fee",
1898
- "name": "performanceFee",
1899
- "type": "tuple"
1900
- },
1901
- {
1902
- "components": [
1903
- {
1904
- "internalType": "UFixed",
1905
- "name": "fractionalFee",
1906
- "type": "uint256"
1907
- },
1908
- {
1909
- "internalType": "uint256",
1910
- "name": "fixedFee",
1911
- "type": "uint256"
1912
- }
1913
- ],
1914
- "internalType": "struct Fee",
1915
- "name": "distributionFee",
1916
- "type": "tuple"
1917
- }
1918
- ],
1919
- "internalType": "struct ITreasury.TreasuryInfo",
1920
- "name": "info",
1921
- "type": "tuple"
612
+ "internalType": "bool",
613
+ "name": "locked",
614
+ "type": "bool"
1922
615
  }
1923
616
  ],
1924
- "name": "setTreasuryInfo",
617
+ "name": "setTargetLocked",
1925
618
  "outputs": [],
1926
619
  "stateMutability": "nonpayable",
1927
620
  "type": "function"
@@ -1948,95 +641,19 @@
1948
641
  {
1949
642
  "inputs": [
1950
643
  {
1951
- "internalType": "NftId",
1952
- "name": "nftId",
644
+ "internalType": "Amount",
645
+ "name": "dipAmount",
1953
646
  "type": "uint96"
1954
- },
1955
- {
1956
- "internalType": "StateId",
1957
- "name": "state",
1958
- "type": "uint8"
1959
647
  }
1960
648
  ],
1961
- "name": "updateBundleState",
1962
- "outputs": [],
1963
- "stateMutability": "nonpayable",
1964
- "type": "function"
1965
- },
1966
- {
1967
- "inputs": [
649
+ "name": "withdrawStakingRewardReserves",
650
+ "outputs": [
1968
651
  {
1969
- "internalType": "NftId",
1970
- "name": "nftId",
652
+ "internalType": "Amount",
653
+ "name": "newBalance",
1971
654
  "type": "uint96"
1972
- },
1973
- {
1974
- "internalType": "StateId",
1975
- "name": "state",
1976
- "type": "uint8"
1977
- }
1978
- ],
1979
- "name": "updatePolicyState",
1980
- "outputs": [],
1981
- "stateMutability": "nonpayable",
1982
- "type": "function"
1983
- },
1984
- {
1985
- "inputs": [
1986
- {
1987
- "internalType": "RiskId",
1988
- "name": "riskId",
1989
- "type": "bytes8"
1990
- },
1991
- {
1992
- "internalType": "StateId",
1993
- "name": "state",
1994
- "type": "uint8"
1995
- }
1996
- ],
1997
- "name": "updateRiskState",
1998
- "outputs": [],
1999
- "stateMutability": "nonpayable",
2000
- "type": "function"
2001
- },
2002
- {
2003
- "inputs": [
2004
- {
2005
- "internalType": "Key32",
2006
- "name": "key",
2007
- "type": "bytes32"
2008
- },
2009
- {
2010
- "internalType": "StateId",
2011
- "name": "state",
2012
- "type": "uint8"
2013
- }
2014
- ],
2015
- "name": "updateState",
2016
- "outputs": [],
2017
- "stateMutability": "nonpayable",
2018
- "type": "function"
2019
- },
2020
- {
2021
- "inputs": [
2022
- {
2023
- "internalType": "address",
2024
- "name": "implementation",
2025
- "type": "address"
2026
- },
2027
- {
2028
- "internalType": "address",
2029
- "name": "activatedBy",
2030
- "type": "address"
2031
- },
2032
- {
2033
- "internalType": "bytes",
2034
- "name": "upgradeData",
2035
- "type": "bytes"
2036
655
  }
2037
656
  ],
2038
- "name": "upgrade",
2039
- "outputs": [],
2040
657
  "stateMutability": "nonpayable",
2041
658
  "type": "function"
2042
659
  }