@etherisc/gif-next 0.0.2-b9366f5-670 → 0.0.2-b98b2b0-875

Sign up to get free protection for your applications and to get access to all the features.
Files changed (382) hide show
  1. package/README.md +1 -1
  2. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
  3. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +33 -52
  4. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
  5. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
  6. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +2 -2
  7. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +1 -1
  8. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +1 -1
  9. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +0 -19
  10. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
  11. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +1 -1
  12. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
  13. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +1 -1
  14. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +2 -2
  15. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  16. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +2 -2
  17. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  18. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +51 -177
  19. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  20. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +16 -16
  21. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  22. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +21 -147
  23. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  24. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +85 -192
  25. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  26. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +84 -104
  27. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  28. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +21 -0
  29. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  30. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  31. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  32. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  33. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1512 -0
  34. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  35. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +410 -0
  36. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  37. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +1999 -0
  38. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  39. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +414 -0
  40. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  42. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  43. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1432 -0
  44. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  45. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1192 -0
  46. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  47. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1566 -0
  48. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  49. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2001 -0
  50. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
  51. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +2 -2
  52. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  53. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  54. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  55. package/artifacts/contracts/instance/Instance.sol/Instance.json +10 -99
  56. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  57. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +95 -98
  58. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  59. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +2 -2
  60. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  61. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +260 -67
  62. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  63. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +39 -146
  64. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  65. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +61 -81
  66. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  67. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +71 -51
  68. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  69. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +2 -2
  70. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  71. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  72. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  73. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
  74. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +2 -2
  75. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +1 -1
  76. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +2 -2
  77. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  78. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  79. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  80. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  81. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  82. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  83. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  84. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
  85. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +41 -167
  86. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  87. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +18 -18
  88. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  89. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  90. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +21 -0
  91. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  92. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  93. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +21 -147
  94. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  95. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +37 -144
  96. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  97. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +60 -80
  98. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  99. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +46 -144
  100. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  101. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +16 -16
  102. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  103. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +138 -181
  104. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  105. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +102 -102
  106. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  107. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +24 -0
  108. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  109. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +49 -0
  110. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  111. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +171 -102
  112. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  113. package/artifacts/contracts/pool/Pool.sol/Pool.json +46 -144
  114. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  115. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +276 -245
  116. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  117. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +95 -83
  118. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  119. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +31 -138
  120. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  121. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +57 -77
  122. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  123. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +46 -170
  124. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  125. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +16 -16
  126. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  127. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +154 -194
  128. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  129. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +101 -101
  130. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  131. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  132. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +35 -8
  133. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  134. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +111 -0
  135. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  136. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  137. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +49 -26
  138. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +1 -1
  139. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  140. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +212 -160
  141. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  142. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +92 -88
  143. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  144. package/artifacts/contracts/product/PricingService.sol/PricingService.json +55 -162
  145. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  146. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +68 -88
  147. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  148. package/artifacts/contracts/product/Product.sol/Product.json +46 -170
  149. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +1 -1
  150. package/artifacts/contracts/product/RiskService.sol/RiskService.json +25 -132
  151. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +1 -1
  152. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +54 -74
  153. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  154. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  155. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  156. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +239 -20
  157. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  158. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  159. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  160. package/artifacts/contracts/registry/Registry.sol/Registry.json +437 -81
  161. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  162. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +244 -132
  163. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  164. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +23 -313
  165. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  166. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +52 -72
  167. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  168. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +2 -2
  169. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
  170. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +24 -14
  171. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  172. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +6 -6
  173. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  174. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +2 -2
  175. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  176. package/artifacts/contracts/shared/Component.sol/Component.json +21 -147
  177. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  178. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +75 -182
  179. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  180. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +89 -99
  181. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +1 -1
  182. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +5 -112
  183. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  184. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +92 -0
  185. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  186. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +21 -0
  187. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  188. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  189. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +21 -0
  190. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  191. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  192. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  193. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  194. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +15 -47
  195. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  196. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  197. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  198. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
  199. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +2 -22
  200. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  201. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +21 -147
  202. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  203. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  204. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
  205. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
  206. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  207. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +6 -57
  208. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  209. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +19 -141
  210. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  211. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +8 -97
  212. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  213. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  214. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  215. package/artifacts/contracts/shared/Service.sol/Service.json +5 -112
  216. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  217. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
  218. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +1 -1
  219. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +2 -2
  220. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  221. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +21 -0
  222. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  223. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +1 -1
  224. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +2 -2
  225. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  226. package/artifacts/contracts/staking/Staking.sol/Staking.json +65 -191
  227. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +1 -1
  228. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +2 -2
  229. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  230. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +70 -85
  231. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  232. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +7 -12
  233. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  234. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +31 -138
  235. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  236. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +56 -76
  237. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  238. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2 -2
  239. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  240. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +2 -2
  241. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  242. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  243. package/artifacts/contracts/type/Amount.sol/AmountLib.json +32 -8
  244. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  245. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  246. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
  247. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  248. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  249. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  250. package/artifacts/contracts/type/Fee.sol/FeeLib.json +2 -2
  251. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  252. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  253. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  254. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +2 -2
  255. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  256. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  257. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  258. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +2 -2
  259. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  260. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
  261. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  262. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +2 -2
  263. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  264. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
  265. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  266. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +60 -4
  267. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  268. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +2 -2
  269. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  270. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  271. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  272. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  273. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  274. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  275. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +1 -1
  276. package/artifacts/contracts/type/UFixed.sol/MathLib.json +2 -2
  277. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  278. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +15 -2
  279. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  280. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  281. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
  282. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  283. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +39 -70
  284. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  285. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
  286. package/contracts/authorization/AccessAdmin.sol +25 -24
  287. package/contracts/authorization/Authorization.sol +5 -1
  288. package/contracts/authorization/IAccessAdmin.sol +0 -1
  289. package/contracts/distribution/Distribution.sol +1 -1
  290. package/contracts/distribution/DistributionService.sol +9 -9
  291. package/contracts/distribution/DistributionServiceManager.sol +6 -6
  292. package/contracts/examples/fire/DamageLevel.sol +59 -0
  293. package/contracts/examples/fire/FirePool.sol +75 -0
  294. package/contracts/examples/fire/FirePoolAuthorization.sol +34 -0
  295. package/contracts/examples/fire/FireProduct.sol +413 -0
  296. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  297. package/contracts/examples/fire/FireUSD.sol +26 -0
  298. package/contracts/instance/Instance.sol +2 -2
  299. package/contracts/instance/InstanceAdmin.sol +6 -3
  300. package/contracts/instance/InstanceReader.sol +83 -18
  301. package/contracts/instance/InstanceService.sol +6 -8
  302. package/contracts/instance/InstanceServiceManager.sol +6 -7
  303. package/contracts/instance/module/IComponents.sol +3 -1
  304. package/contracts/instance/module/IPolicy.sol +2 -2
  305. package/contracts/oracle/Oracle.sol +1 -1
  306. package/contracts/oracle/OracleService.sol +10 -8
  307. package/contracts/oracle/OracleServiceManager.sol +6 -6
  308. package/contracts/pool/BundleService.sol +32 -9
  309. package/contracts/pool/BundleServiceManager.sol +6 -6
  310. package/contracts/pool/IBundleService.sol +9 -0
  311. package/contracts/pool/IPoolComponent.sol +18 -8
  312. package/contracts/pool/IPoolService.sol +21 -10
  313. package/contracts/pool/Pool.sol +38 -11
  314. package/contracts/pool/PoolService.sol +81 -27
  315. package/contracts/pool/PoolServiceManager.sol +4 -4
  316. package/contracts/product/ApplicationService.sol +11 -8
  317. package/contracts/product/ApplicationServiceManager.sol +4 -4
  318. package/contracts/product/ClaimService.sol +164 -70
  319. package/contracts/product/ClaimServiceManager.sol +4 -4
  320. package/contracts/product/IClaimService.sol +3 -2
  321. package/contracts/product/IPolicyService.sol +10 -3
  322. package/contracts/product/IProductComponent.sol +17 -3
  323. package/contracts/product/PolicyService.sol +145 -32
  324. package/contracts/product/PolicyServiceManager.sol +4 -4
  325. package/contracts/product/PricingService.sol +4 -5
  326. package/contracts/product/PricingServiceManager.sol +3 -3
  327. package/contracts/product/Product.sol +26 -19
  328. package/contracts/product/RiskService.sol +4 -5
  329. package/contracts/product/RiskServiceManager.sol +4 -4
  330. package/contracts/registry/ChainNft.sol +65 -32
  331. package/contracts/registry/IRegistry.sol +50 -14
  332. package/contracts/registry/IRegistryService.sol +0 -9
  333. package/contracts/registry/Registry.sol +327 -196
  334. package/contracts/registry/RegistryAdmin.sol +140 -50
  335. package/contracts/registry/RegistryService.sol +55 -48
  336. package/contracts/registry/RegistryServiceManager.sol +2 -2
  337. package/contracts/registry/ReleaseRegistry.sol +11 -5
  338. package/contracts/registry/ServiceAuthorizationV3.sol +4 -5
  339. package/contracts/shared/Component.sol +13 -5
  340. package/contracts/shared/ComponentService.sol +6 -6
  341. package/contracts/shared/ComponentServiceManager.sol +8 -5
  342. package/contracts/shared/ComponentVerifyingService.sol +1 -2
  343. package/contracts/shared/ContractLib.sol +38 -0
  344. package/contracts/shared/IComponent.sol +3 -0
  345. package/contracts/shared/IPolicyHolder.sol +12 -22
  346. package/contracts/shared/InitializableERC165.sol +2 -2
  347. package/contracts/shared/InstanceLinkedComponent.sol +4 -5
  348. package/contracts/shared/NftOwnable.sol +4 -4
  349. package/contracts/shared/PolicyHolder.sol +15 -52
  350. package/contracts/shared/Registerable.sol +4 -4
  351. package/contracts/shared/RegistryLinked.sol +3 -2
  352. package/contracts/shared/Service.sol +16 -11
  353. package/contracts/staking/Staking.sol +3 -3
  354. package/contracts/staking/StakingManager.sol +8 -6
  355. package/contracts/staking/StakingReader.sol +12 -5
  356. package/contracts/staking/StakingService.sol +2 -2
  357. package/contracts/staking/StakingServiceManager.sol +2 -2
  358. package/contracts/type/Amount.sol +15 -0
  359. package/contracts/type/ClaimId.sol +6 -1
  360. package/contracts/type/NftId.sol +1 -0
  361. package/contracts/type/ObjectType.sol +1 -0
  362. package/contracts/type/PayoutId.sol +10 -10
  363. package/contracts/type/RiskId.sol +15 -1
  364. package/contracts/type/UFixed.sol +4 -0
  365. package/contracts/upgradeability/ProxyManager.sol +67 -34
  366. package/contracts/upgradeability/Versionable.sol +2 -2
  367. package/package.json +1 -1
  368. package/artifacts/contracts/example_components/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +0 -4
  369. package/artifacts/contracts/example_components/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +0 -1558
  370. package/artifacts/contracts/example_components/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +0 -4
  371. package/artifacts/contracts/example_components/unpermissioned/SimpleOracle.sol/SimpleOracle.json +0 -1318
  372. package/artifacts/contracts/example_components/unpermissioned/SimplePool.sol/SimplePool.dbg.json +0 -4
  373. package/artifacts/contracts/example_components/unpermissioned/SimplePool.sol/SimplePool.json +0 -1664
  374. package/artifacts/contracts/example_components/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +0 -4
  375. package/artifacts/contracts/example_components/unpermissioned/SimpleProduct.sol/SimpleProduct.json +0 -2125
  376. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +0 -4
  377. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +0 -39
  378. package/contracts/shared/InitializableCustom.sol +0 -177
  379. /package/contracts/{example_components → examples}/unpermissioned/SimpleDistribution.sol +0 -0
  380. /package/contracts/{example_components → examples}/unpermissioned/SimpleOracle.sol +0 -0
  381. /package/contracts/{example_components → examples}/unpermissioned/SimplePool.sol +0 -0
  382. /package/contracts/{example_components → examples}/unpermissioned/SimpleProduct.sol +0 -0
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/b7c93da4e4e3fe75470b90730d7e45bd.json"
3
+ "buildInfo": "../../../build-info/04cc1f605b5f20d789ecc2030eb68e27.json"
4
4
  }
@@ -689,6 +689,30 @@
689
689
  "stateMutability": "nonpayable",
690
690
  "type": "function"
691
691
  },
692
+ {
693
+ "inputs": [
694
+ {
695
+ "internalType": "contract IInstance",
696
+ "name": "instance",
697
+ "type": "address"
698
+ },
699
+ {
700
+ "internalType": "NftId",
701
+ "name": "policyNftId",
702
+ "type": "uint96"
703
+ }
704
+ ],
705
+ "name": "policyIsCloseable",
706
+ "outputs": [
707
+ {
708
+ "internalType": "bool",
709
+ "name": "isCloseable",
710
+ "type": "bool"
711
+ }
712
+ ],
713
+ "stateMutability": "view",
714
+ "type": "function"
715
+ },
692
716
  {
693
717
  "inputs": [
694
718
  {
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/b7c93da4e4e3fe75470b90730d7e45bd.json"
3
+ "buildInfo": "../../../build-info/04cc1f605b5f20d789ecc2030eb68e27.json"
4
4
  }
@@ -93,6 +93,27 @@
93
93
  "name": "ErrorComponentWalletNotComponent",
94
94
  "type": "error"
95
95
  },
96
+ {
97
+ "inputs": [
98
+ {
99
+ "internalType": "NftId",
100
+ "name": "nftId",
101
+ "type": "uint96"
102
+ },
103
+ {
104
+ "internalType": "ObjectType",
105
+ "name": "objectType",
106
+ "type": "uint8"
107
+ },
108
+ {
109
+ "internalType": "ObjectType",
110
+ "name": "expectedObjectType",
111
+ "type": "uint8"
112
+ }
113
+ ],
114
+ "name": "ErrorNftNotObjectType",
115
+ "type": "error"
116
+ },
96
117
  {
97
118
  "inputs": [
98
119
  {
@@ -520,6 +541,11 @@
520
541
  "name": "isInterceptingBundleTransfers",
521
542
  "type": "bool"
522
543
  },
544
+ {
545
+ "internalType": "bool",
546
+ "name": "isProcessingConfirmedClaims",
547
+ "type": "bool"
548
+ },
523
549
  {
524
550
  "internalType": "bool",
525
551
  "name": "isExternallyManaged",
@@ -766,6 +792,29 @@
766
792
  "stateMutability": "nonpayable",
767
793
  "type": "function"
768
794
  },
795
+ {
796
+ "inputs": [
797
+ {
798
+ "internalType": "NftId",
799
+ "name": "policyNftId",
800
+ "type": "uint96"
801
+ },
802
+ {
803
+ "internalType": "ClaimId",
804
+ "name": "claimId",
805
+ "type": "uint16"
806
+ },
807
+ {
808
+ "internalType": "Amount",
809
+ "name": "amount",
810
+ "type": "uint96"
811
+ }
812
+ ],
813
+ "name": "processConfirmedClaim",
814
+ "outputs": [],
815
+ "stateMutability": "nonpayable",
816
+ "type": "function"
817
+ },
769
818
  {
770
819
  "inputs": [],
771
820
  "name": "register",
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/b7c93da4e4e3fe75470b90730d7e45bd.json"
3
+ "buildInfo": "../../../build-info/04cc1f605b5f20d789ecc2030eb68e27.json"
4
4
  }
@@ -159,6 +159,27 @@
159
159
  "name": "ErrorPoolServiceMaxBalanceAmountExceeded",
160
160
  "type": "error"
161
161
  },
162
+ {
163
+ "inputs": [
164
+ {
165
+ "internalType": "NftId",
166
+ "name": "policyNftId",
167
+ "type": "uint96"
168
+ },
169
+ {
170
+ "internalType": "NftId",
171
+ "name": "productNftId",
172
+ "type": "uint96"
173
+ },
174
+ {
175
+ "internalType": "NftId",
176
+ "name": "expectedProductNftId",
177
+ "type": "uint96"
178
+ }
179
+ ],
180
+ "name": "ErrorPoolServicePolicyPoolMismatch",
181
+ "type": "error"
182
+ },
162
183
  {
163
184
  "inputs": [],
164
185
  "name": "ErrorServiceNotImplemented",
@@ -339,6 +360,31 @@
339
360
  "name": "LogPoolServiceMaxBalanceAmountUpdated",
340
361
  "type": "event"
341
362
  },
363
+ {
364
+ "anonymous": false,
365
+ "inputs": [
366
+ {
367
+ "indexed": false,
368
+ "internalType": "NftId",
369
+ "name": "policyNftId",
370
+ "type": "uint96"
371
+ },
372
+ {
373
+ "indexed": false,
374
+ "internalType": "ClaimId",
375
+ "name": "claimId",
376
+ "type": "uint16"
377
+ },
378
+ {
379
+ "indexed": false,
380
+ "internalType": "Amount",
381
+ "name": "availableAmount",
382
+ "type": "uint96"
383
+ }
384
+ ],
385
+ "name": "LogPoolServiceProcessFundedClaim",
386
+ "type": "event"
387
+ },
342
388
  {
343
389
  "inputs": [],
344
390
  "name": "authority",
@@ -374,12 +420,12 @@
374
420
  "outputs": [
375
421
  {
376
422
  "internalType": "Amount",
377
- "name": "localCollateralAmount",
423
+ "name": "totalCollateralAmount",
378
424
  "type": "uint96"
379
425
  },
380
426
  {
381
427
  "internalType": "Amount",
382
- "name": "totalCollateralAmount",
428
+ "name": "localCollateralAmount",
383
429
  "type": "uint96"
384
430
  }
385
431
  ],
@@ -408,12 +454,12 @@
408
454
  "outputs": [
409
455
  {
410
456
  "internalType": "Amount",
411
- "name": "localCollateralAmount",
457
+ "name": "totalCollateralAmount",
412
458
  "type": "uint96"
413
459
  },
414
460
  {
415
461
  "internalType": "Amount",
416
- "name": "totalCollateralAmount",
462
+ "name": "localCollateralAmount",
417
463
  "type": "uint96"
418
464
  }
419
465
  ],
@@ -740,108 +786,21 @@
740
786
  "inputs": [
741
787
  {
742
788
  "internalType": "NftId",
743
- "name": "bundleNftId",
789
+ "name": "policyNftId",
744
790
  "type": "uint96"
745
791
  },
746
792
  {
747
- "components": [
748
- {
749
- "internalType": "Amount",
750
- "name": "productFeeAmount",
751
- "type": "uint96"
752
- },
753
- {
754
- "internalType": "Amount",
755
- "name": "distributionFeeAndCommissionAmount",
756
- "type": "uint96"
757
- },
758
- {
759
- "internalType": "Amount",
760
- "name": "poolPremiumAndFeeAmount",
761
- "type": "uint96"
762
- },
763
- {
764
- "internalType": "Amount",
765
- "name": "netPremiumAmount",
766
- "type": "uint96"
767
- },
768
- {
769
- "internalType": "Amount",
770
- "name": "fullPremiumAmount",
771
- "type": "uint96"
772
- },
773
- {
774
- "internalType": "Amount",
775
- "name": "premiumAmount",
776
- "type": "uint96"
777
- },
778
- {
779
- "internalType": "Amount",
780
- "name": "productFeeFixAmount",
781
- "type": "uint96"
782
- },
783
- {
784
- "internalType": "Amount",
785
- "name": "poolFeeFixAmount",
786
- "type": "uint96"
787
- },
788
- {
789
- "internalType": "Amount",
790
- "name": "bundleFeeFixAmount",
791
- "type": "uint96"
792
- },
793
- {
794
- "internalType": "Amount",
795
- "name": "distributionFeeFixAmount",
796
- "type": "uint96"
797
- },
798
- {
799
- "internalType": "Amount",
800
- "name": "productFeeVarAmount",
801
- "type": "uint96"
802
- },
803
- {
804
- "internalType": "Amount",
805
- "name": "poolFeeVarAmount",
806
- "type": "uint96"
807
- },
808
- {
809
- "internalType": "Amount",
810
- "name": "bundleFeeVarAmount",
811
- "type": "uint96"
812
- },
813
- {
814
- "internalType": "Amount",
815
- "name": "distributionFeeVarAmount",
816
- "type": "uint96"
817
- },
818
- {
819
- "internalType": "Amount",
820
- "name": "distributionOwnerFeeFixAmount",
821
- "type": "uint96"
822
- },
823
- {
824
- "internalType": "Amount",
825
- "name": "distributionOwnerFeeVarAmount",
826
- "type": "uint96"
827
- },
828
- {
829
- "internalType": "Amount",
830
- "name": "commissionAmount",
831
- "type": "uint96"
832
- },
833
- {
834
- "internalType": "Amount",
835
- "name": "discountAmount",
836
- "type": "uint96"
837
- }
838
- ],
839
- "internalType": "struct IPolicy.PremiumInfo",
840
- "name": "premium",
841
- "type": "tuple"
793
+ "internalType": "ClaimId",
794
+ "name": "claimId",
795
+ "type": "uint16"
796
+ },
797
+ {
798
+ "internalType": "Amount",
799
+ "name": "availableAmount",
800
+ "type": "uint96"
842
801
  }
843
802
  ],
844
- "name": "processSale",
803
+ "name": "processFundedClaim",
845
804
  "outputs": [],
846
805
  "stateMutability": "nonpayable",
847
806
  "type": "function"
@@ -956,7 +915,117 @@
956
915
  "type": "uint96"
957
916
  }
958
917
  ],
959
- "name": "reduceCollateral",
918
+ "name": "processPayout",
919
+ "outputs": [],
920
+ "stateMutability": "nonpayable",
921
+ "type": "function"
922
+ },
923
+ {
924
+ "inputs": [
925
+ {
926
+ "internalType": "NftId",
927
+ "name": "bundleNftId",
928
+ "type": "uint96"
929
+ },
930
+ {
931
+ "components": [
932
+ {
933
+ "internalType": "Amount",
934
+ "name": "productFeeAmount",
935
+ "type": "uint96"
936
+ },
937
+ {
938
+ "internalType": "Amount",
939
+ "name": "distributionFeeAndCommissionAmount",
940
+ "type": "uint96"
941
+ },
942
+ {
943
+ "internalType": "Amount",
944
+ "name": "poolPremiumAndFeeAmount",
945
+ "type": "uint96"
946
+ },
947
+ {
948
+ "internalType": "Amount",
949
+ "name": "netPremiumAmount",
950
+ "type": "uint96"
951
+ },
952
+ {
953
+ "internalType": "Amount",
954
+ "name": "fullPremiumAmount",
955
+ "type": "uint96"
956
+ },
957
+ {
958
+ "internalType": "Amount",
959
+ "name": "premiumAmount",
960
+ "type": "uint96"
961
+ },
962
+ {
963
+ "internalType": "Amount",
964
+ "name": "productFeeFixAmount",
965
+ "type": "uint96"
966
+ },
967
+ {
968
+ "internalType": "Amount",
969
+ "name": "poolFeeFixAmount",
970
+ "type": "uint96"
971
+ },
972
+ {
973
+ "internalType": "Amount",
974
+ "name": "bundleFeeFixAmount",
975
+ "type": "uint96"
976
+ },
977
+ {
978
+ "internalType": "Amount",
979
+ "name": "distributionFeeFixAmount",
980
+ "type": "uint96"
981
+ },
982
+ {
983
+ "internalType": "Amount",
984
+ "name": "productFeeVarAmount",
985
+ "type": "uint96"
986
+ },
987
+ {
988
+ "internalType": "Amount",
989
+ "name": "poolFeeVarAmount",
990
+ "type": "uint96"
991
+ },
992
+ {
993
+ "internalType": "Amount",
994
+ "name": "bundleFeeVarAmount",
995
+ "type": "uint96"
996
+ },
997
+ {
998
+ "internalType": "Amount",
999
+ "name": "distributionFeeVarAmount",
1000
+ "type": "uint96"
1001
+ },
1002
+ {
1003
+ "internalType": "Amount",
1004
+ "name": "distributionOwnerFeeFixAmount",
1005
+ "type": "uint96"
1006
+ },
1007
+ {
1008
+ "internalType": "Amount",
1009
+ "name": "distributionOwnerFeeVarAmount",
1010
+ "type": "uint96"
1011
+ },
1012
+ {
1013
+ "internalType": "Amount",
1014
+ "name": "commissionAmount",
1015
+ "type": "uint96"
1016
+ },
1017
+ {
1018
+ "internalType": "Amount",
1019
+ "name": "discountAmount",
1020
+ "type": "uint96"
1021
+ }
1022
+ ],
1023
+ "internalType": "struct IPolicy.PremiumInfo",
1024
+ "name": "premium",
1025
+ "type": "tuple"
1026
+ }
1027
+ ],
1028
+ "name": "processSale",
960
1029
  "outputs": [],
961
1030
  "stateMutability": "nonpayable",
962
1031
  "type": "function"
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/b7c93da4e4e3fe75470b90730d7e45bd.json"
3
+ "buildInfo": "../../../build-info/04cc1f605b5f20d789ecc2030eb68e27.json"
4
4
  }
@@ -93,6 +93,27 @@
93
93
  "name": "ErrorComponentWalletNotComponent",
94
94
  "type": "error"
95
95
  },
96
+ {
97
+ "inputs": [
98
+ {
99
+ "internalType": "NftId",
100
+ "name": "nftId",
101
+ "type": "uint96"
102
+ },
103
+ {
104
+ "internalType": "ObjectType",
105
+ "name": "objectType",
106
+ "type": "uint8"
107
+ },
108
+ {
109
+ "internalType": "ObjectType",
110
+ "name": "expectedObjectType",
111
+ "type": "uint8"
112
+ }
113
+ ],
114
+ "name": "ErrorNftNotObjectType",
115
+ "type": "error"
116
+ },
96
117
  {
97
118
  "inputs": [
98
119
  {
@@ -645,6 +666,11 @@
645
666
  "name": "isInterceptingBundleTransfers",
646
667
  "type": "bool"
647
668
  },
669
+ {
670
+ "internalType": "bool",
671
+ "name": "isProcessingConfirmedClaims",
672
+ "type": "bool"
673
+ },
648
674
  {
649
675
  "internalType": "bool",
650
676
  "name": "isExternallyManaged",
@@ -791,140 +817,6 @@
791
817
  "stateMutability": "view",
792
818
  "type": "function"
793
819
  },
794
- {
795
- "inputs": [
796
- {
797
- "internalType": "address",
798
- "name": "authority",
799
- "type": "address"
800
- },
801
- {
802
- "internalType": "address",
803
- "name": "registry",
804
- "type": "address"
805
- },
806
- {
807
- "internalType": "NftId",
808
- "name": "parentNftId",
809
- "type": "uint96"
810
- },
811
- {
812
- "internalType": "string",
813
- "name": "name",
814
- "type": "string"
815
- },
816
- {
817
- "internalType": "address",
818
- "name": "token",
819
- "type": "address"
820
- },
821
- {
822
- "internalType": "ObjectType",
823
- "name": "componentType",
824
- "type": "uint8"
825
- },
826
- {
827
- "internalType": "bool",
828
- "name": "isInterceptor",
829
- "type": "bool"
830
- },
831
- {
832
- "internalType": "address",
833
- "name": "initialOwner",
834
- "type": "address"
835
- },
836
- {
837
- "internalType": "bytes",
838
- "name": "registryData",
839
- "type": "bytes"
840
- },
841
- {
842
- "internalType": "bytes",
843
- "name": "componentData",
844
- "type": "bytes"
845
- }
846
- ],
847
- "name": "initializeComponent",
848
- "outputs": [],
849
- "stateMutability": "nonpayable",
850
- "type": "function"
851
- },
852
- {
853
- "inputs": [],
854
- "name": "initializeERC165",
855
- "outputs": [],
856
- "stateMutability": "nonpayable",
857
- "type": "function"
858
- },
859
- {
860
- "inputs": [
861
- {
862
- "internalType": "address",
863
- "name": "initialOwner",
864
- "type": "address"
865
- },
866
- {
867
- "internalType": "address",
868
- "name": "registryAddress",
869
- "type": "address"
870
- }
871
- ],
872
- "name": "initializeNftOwnable",
873
- "outputs": [],
874
- "stateMutability": "nonpayable",
875
- "type": "function"
876
- },
877
- {
878
- "inputs": [
879
- {
880
- "internalType": "address",
881
- "name": "registryAddress",
882
- "type": "address"
883
- },
884
- {
885
- "internalType": "NftId",
886
- "name": "parentNftId",
887
- "type": "uint96"
888
- },
889
- {
890
- "internalType": "ObjectType",
891
- "name": "objectType",
892
- "type": "uint8"
893
- },
894
- {
895
- "internalType": "bool",
896
- "name": "isInterceptor",
897
- "type": "bool"
898
- },
899
- {
900
- "internalType": "address",
901
- "name": "initialOwner",
902
- "type": "address"
903
- },
904
- {
905
- "internalType": "bytes",
906
- "name": "registryData",
907
- "type": "bytes"
908
- }
909
- ],
910
- "name": "initializeRegisterable",
911
- "outputs": [],
912
- "stateMutability": "nonpayable",
913
- "type": "function"
914
- },
915
- {
916
- "inputs": [
917
- {
918
- "internalType": "address",
919
- "name": "registryAddress",
920
- "type": "address"
921
- }
922
- ],
923
- "name": "initializeRegistryLinked",
924
- "outputs": [],
925
- "stateMutability": "nonpayable",
926
- "type": "function"
927
- },
928
820
  {
929
821
  "inputs": [],
930
822
  "name": "isConsumingScheduledOp",
@@ -1026,21 +918,31 @@
1026
918
  "type": "function"
1027
919
  },
1028
920
  {
1029
- "inputs": [],
1030
- "name": "register",
921
+ "inputs": [
922
+ {
923
+ "internalType": "NftId",
924
+ "name": "policyNftId",
925
+ "type": "uint96"
926
+ },
927
+ {
928
+ "internalType": "ClaimId",
929
+ "name": "claimId",
930
+ "type": "uint16"
931
+ },
932
+ {
933
+ "internalType": "Amount",
934
+ "name": "amount",
935
+ "type": "uint96"
936
+ }
937
+ ],
938
+ "name": "processConfirmedClaim",
1031
939
  "outputs": [],
1032
940
  "stateMutability": "nonpayable",
1033
941
  "type": "function"
1034
942
  },
1035
943
  {
1036
- "inputs": [
1037
- {
1038
- "internalType": "bytes4",
1039
- "name": "interfaceId",
1040
- "type": "bytes4"
1041
- }
1042
- ],
1043
- "name": "registerInterface",
944
+ "inputs": [],
945
+ "name": "register",
1044
946
  "outputs": [],
1045
947
  "stateMutability": "nonpayable",
1046
948
  "type": "function"
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/b7c93da4e4e3fe75470b90730d7e45bd.json"
3
+ "buildInfo": "../../../build-info/04cc1f605b5f20d789ecc2030eb68e27.json"
4
4
  }