@etherisc/gif-next 0.0.2-8d47fa1-080 → 0.0.2-8d6e553-386

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