@etherisc/gif-next 0.0.2-f1e0c66-773 → 0.0.2-f1f3b2c-994

Sign up to get free protection for your applications and to get access to all the features.
Files changed (423) hide show
  1. package/README.md +7 -2
  2. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
  3. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +81 -63
  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 +48 -30
  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/IServiceAuthorization.sol/IServiceAuthorization.json +21 -2
  14. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +1 -1
  15. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +2 -2
  16. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  17. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +72 -9
  18. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  19. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +63 -248
  20. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  21. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +16 -16
  22. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  23. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +21 -222
  24. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  25. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +134 -286
  26. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  27. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +84 -120
  28. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  29. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +21 -37
  30. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  31. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +49 -62
  32. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  33. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  34. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  35. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1512 -0
  36. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  37. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +410 -0
  38. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  39. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +1999 -0
  40. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +414 -0
  42. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  44. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  45. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1432 -0
  46. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  47. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1192 -0
  48. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  49. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1566 -0
  50. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  51. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2001 -0
  52. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
  53. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +2 -2
  54. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  55. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  56. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  57. package/artifacts/contracts/instance/Instance.sol/Instance.json +10 -99
  58. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  59. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +145 -111
  60. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  61. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +14 -14
  62. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  63. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +437 -124
  64. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  65. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +39 -146
  66. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  67. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +61 -81
  68. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  69. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +285 -218
  70. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  71. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +2 -2
  72. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  73. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  74. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  75. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
  76. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +45 -4
  77. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +1 -1
  78. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +2 -2
  79. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  80. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  81. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  82. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  83. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  84. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  85. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  86. package/artifacts/contracts/mock/Dip.sol/Dip.json +2 -2
  87. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
  88. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +47 -232
  89. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  90. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +18 -18
  91. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  92. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  93. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +15 -31
  94. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  95. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  96. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +15 -216
  97. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  98. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +37 -144
  99. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  100. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +60 -80
  101. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  102. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +51 -274
  103. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  104. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +16 -16
  105. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  106. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +319 -188
  107. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  108. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +130 -94
  109. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  110. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +149 -23
  111. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  112. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +44 -88
  113. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  114. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +360 -171
  115. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  116. package/artifacts/contracts/pool/Pool.sol/Pool.json +41 -270
  117. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  118. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +492 -333
  119. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  120. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +98 -82
  121. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  122. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +36 -162
  123. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  124. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +57 -89
  125. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  126. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +43 -242
  127. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  128. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +16 -16
  129. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  130. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +263 -181
  131. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  132. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +104 -100
  133. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  134. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +5 -0
  135. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  136. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +147 -6
  137. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  138. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +282 -119
  139. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  140. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +43 -43
  141. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  142. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +43 -57
  143. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  144. package/artifacts/contracts/product/{IProductService.sol/IProductService.json → IRiskService.sol/IRiskService.json} +2 -2
  145. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  146. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +399 -327
  147. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  148. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +104 -100
  149. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  150. package/artifacts/contracts/product/PricingService.sol/PricingService.json +115 -267
  151. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  152. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +80 -120
  153. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  154. package/artifacts/contracts/product/Product.sol/Product.json +43 -242
  155. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  156. package/artifacts/contracts/product/RiskService.sol/RiskService.json +588 -0
  157. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  158. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +682 -0
  159. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  160. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  161. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  162. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +238 -34
  163. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  164. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  165. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  166. package/artifacts/contracts/registry/Registry.sol/Registry.json +436 -95
  167. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  168. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +261 -143
  169. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  170. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +23 -313
  171. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  172. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +52 -72
  173. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  174. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +46 -5
  175. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
  176. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +117 -215
  177. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  178. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +70 -12
  179. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  180. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +2 -2
  181. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  182. package/artifacts/contracts/shared/Component.sol/Component.json +15 -205
  183. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  184. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +89 -212
  185. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  186. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +96 -114
  187. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +1 -1
  188. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +5 -112
  189. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  190. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +92 -0
  191. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  192. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +15 -20
  193. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  194. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  195. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +15 -31
  196. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  197. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +36 -0
  198. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  199. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +36 -0
  200. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  201. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  202. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +15 -47
  203. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  204. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  205. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  206. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
  207. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +2 -22
  208. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  209. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +15 -216
  210. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  211. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +41 -0
  212. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  213. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +41 -0
  214. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
  215. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
  216. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  217. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +6 -57
  218. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  219. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +19 -141
  220. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  221. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +8 -97
  222. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  223. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  224. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  225. package/artifacts/contracts/shared/Service.sol/Service.json +5 -112
  226. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  227. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +330 -11
  228. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  229. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +108 -0
  230. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  231. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +42 -21
  232. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  233. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +1 -1
  234. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +63 -93
  235. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  236. package/artifacts/contracts/staking/Staking.sol/Staking.json +100 -256
  237. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +1 -1
  238. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +45 -4
  239. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  240. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +77 -88
  241. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  242. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +6 -11
  243. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  244. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +31 -138
  245. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  246. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +56 -76
  247. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  248. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +168 -127
  249. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  250. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +54 -23
  251. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  252. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  253. package/artifacts/contracts/type/Amount.sol/AmountLib.json +32 -8
  254. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  255. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +2 -2
  256. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  257. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
  258. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  259. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  260. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  261. package/artifacts/contracts/type/Fee.sol/FeeLib.json +2 -2
  262. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  263. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  264. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  265. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +2 -2
  266. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  267. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  268. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  269. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +2 -2
  270. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  271. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
  272. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  273. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +2 -2
  274. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  275. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
  276. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  277. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +60 -4
  278. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  279. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +2 -2
  280. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  281. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +50 -2
  282. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  283. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  284. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  285. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
  286. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  287. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  288. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +23 -4
  289. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +1 -1
  290. package/artifacts/contracts/type/UFixed.sol/MathLib.json +2 -2
  291. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  292. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +15 -2
  293. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  294. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  295. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
  296. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  297. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +39 -70
  298. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  299. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
  300. package/contracts/authorization/AccessAdmin.sol +31 -24
  301. package/contracts/authorization/Authorization.sol +5 -2
  302. package/contracts/authorization/IAccessAdmin.sol +3 -2
  303. package/contracts/authorization/IServiceAuthorization.sol +4 -2
  304. package/contracts/authorization/ServiceAuthorization.sol +27 -11
  305. package/contracts/distribution/Distribution.sol +1 -1
  306. package/contracts/distribution/DistributionService.sol +32 -33
  307. package/contracts/distribution/DistributionServiceManager.sol +6 -6
  308. package/contracts/distribution/IDistributionService.sol +9 -5
  309. package/contracts/examples/fire/DamageLevel.sol +59 -0
  310. package/contracts/examples/fire/FirePool.sol +75 -0
  311. package/contracts/examples/fire/FirePoolAuthorization.sol +34 -0
  312. package/contracts/examples/fire/FireProduct.sol +411 -0
  313. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  314. package/contracts/examples/fire/FireUSD.sol +26 -0
  315. package/contracts/examples/unpermissioned/SimpleDistribution.sol +50 -0
  316. package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
  317. package/contracts/examples/unpermissioned/SimplePool.sol +76 -0
  318. package/contracts/examples/unpermissioned/SimpleProduct.sol +351 -0
  319. package/contracts/instance/IInstance.sol +7 -30
  320. package/contracts/instance/Instance.sol +10 -35
  321. package/contracts/instance/InstanceAdmin.sol +29 -7
  322. package/contracts/instance/InstanceAuthorizationV3.sol +3 -3
  323. package/contracts/instance/InstanceReader.sol +115 -25
  324. package/contracts/instance/InstanceService.sol +63 -41
  325. package/contracts/instance/InstanceServiceManager.sol +6 -7
  326. package/contracts/instance/InstanceStore.sol +11 -1
  327. package/contracts/instance/base/ObjectLifecycle.sol +9 -4
  328. package/contracts/instance/module/IBundle.sol +1 -1
  329. package/contracts/instance/module/IComponents.sol +4 -7
  330. package/contracts/instance/module/IPolicy.sol +24 -24
  331. package/contracts/mock/Dip.sol +1 -1
  332. package/contracts/oracle/Oracle.sol +2 -1
  333. package/contracts/oracle/OracleService.sol +11 -8
  334. package/contracts/oracle/OracleServiceManager.sol +6 -6
  335. package/contracts/pool/BasicPool.sol +7 -5
  336. package/contracts/pool/BasicPoolAuthorization.sol +5 -2
  337. package/contracts/pool/BundleService.sol +166 -46
  338. package/contracts/pool/BundleServiceManager.sol +6 -6
  339. package/contracts/pool/IBundleService.sol +31 -8
  340. package/contracts/pool/IPoolComponent.sol +18 -8
  341. package/contracts/pool/IPoolService.sol +57 -36
  342. package/contracts/pool/Pool.sol +59 -34
  343. package/contracts/pool/PoolService.sol +231 -102
  344. package/contracts/pool/PoolServiceManager.sol +4 -4
  345. package/contracts/product/ApplicationService.sol +50 -29
  346. package/contracts/product/ApplicationServiceManager.sol +4 -4
  347. package/contracts/product/BasicProduct.sol +1 -0
  348. package/contracts/product/ClaimService.sol +251 -87
  349. package/contracts/product/ClaimServiceManager.sol +4 -4
  350. package/contracts/product/IApplicationService.sol +1 -0
  351. package/contracts/product/IClaimService.sol +31 -7
  352. package/contracts/product/IPolicyService.sol +34 -34
  353. package/contracts/product/IPricingService.sol +7 -7
  354. package/contracts/product/IProductComponent.sol +17 -4
  355. package/contracts/product/{IProductService.sol → IRiskService.sol} +1 -1
  356. package/contracts/product/PolicyService.sol +379 -192
  357. package/contracts/product/PolicyServiceManager.sol +4 -4
  358. package/contracts/product/PricingService.sol +46 -46
  359. package/contracts/product/PricingServiceManager.sol +3 -3
  360. package/contracts/product/Product.sol +81 -50
  361. package/contracts/product/{ProductService.sol → RiskService.sol} +7 -10
  362. package/contracts/product/RiskServiceManager.sol +39 -0
  363. package/contracts/registry/ChainNft.sol +65 -32
  364. package/contracts/registry/IRegistry.sol +51 -18
  365. package/contracts/registry/IRegistryService.sol +0 -9
  366. package/contracts/registry/Registry.sol +328 -197
  367. package/contracts/registry/RegistryAdmin.sol +134 -51
  368. package/contracts/registry/RegistryService.sol +55 -48
  369. package/contracts/registry/RegistryServiceManager.sol +2 -2
  370. package/contracts/registry/ReleaseLifecycle.sol +6 -3
  371. package/contracts/registry/ReleaseRegistry.sol +194 -183
  372. package/contracts/registry/ServiceAuthorizationV3.sol +8 -10
  373. package/contracts/shared/Component.sol +25 -29
  374. package/contracts/shared/ComponentService.sol +20 -30
  375. package/contracts/shared/ComponentServiceManager.sol +8 -5
  376. package/contracts/shared/ComponentVerifyingService.sol +2 -3
  377. package/contracts/shared/ContractLib.sol +38 -0
  378. package/contracts/shared/IComponent.sol +7 -4
  379. package/contracts/shared/IInstanceLinkedComponent.sol +8 -15
  380. package/contracts/shared/ILifecycle.sol +3 -1
  381. package/contracts/shared/IPolicyHolder.sol +12 -22
  382. package/contracts/shared/InitializableERC165.sol +2 -2
  383. package/contracts/shared/InstanceLinkedComponent.sol +5 -6
  384. package/contracts/shared/KeyValueStore.sol +1 -1
  385. package/contracts/shared/Lifecycle.sol +13 -2
  386. package/contracts/shared/NftOwnable.sol +5 -5
  387. package/contracts/shared/PolicyHolder.sol +15 -52
  388. package/contracts/shared/Registerable.sol +4 -4
  389. package/contracts/shared/RegistryLinked.sol +3 -2
  390. package/contracts/shared/Service.sol +16 -11
  391. package/contracts/shared/TokenHandler.sol +100 -19
  392. package/contracts/shared/TokenHandlerDeployerLib.sol +12 -0
  393. package/contracts/staking/IStaking.sol +2 -1
  394. package/contracts/staking/StakeManagerLib.sol +18 -25
  395. package/contracts/staking/Staking.sol +11 -29
  396. package/contracts/staking/StakingManager.sol +8 -6
  397. package/contracts/staking/StakingReader.sol +12 -5
  398. package/contracts/staking/StakingService.sol +10 -14
  399. package/contracts/staking/StakingServiceManager.sol +2 -2
  400. package/contracts/staking/TargetManagerLib.sol +7 -3
  401. package/contracts/type/Amount.sol +15 -0
  402. package/contracts/type/Blocknumber.sol +7 -1
  403. package/contracts/type/ClaimId.sol +6 -1
  404. package/contracts/type/NftId.sol +1 -0
  405. package/contracts/type/ObjectType.sol +16 -11
  406. package/contracts/type/PayoutId.sol +10 -10
  407. package/contracts/type/RiskId.sol +15 -1
  408. package/contracts/type/Seconds.sol +21 -1
  409. package/contracts/type/StateId.sol +15 -1
  410. package/contracts/type/Timestamp.sol +11 -1
  411. package/contracts/type/UFixed.sol +4 -0
  412. package/contracts/upgradeability/ProxyManager.sol +67 -34
  413. package/contracts/upgradeability/Versionable.sol +2 -2
  414. package/package.json +2 -1
  415. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
  416. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
  417. package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -708
  418. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  419. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -702
  420. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +0 -4
  421. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +0 -39
  422. package/contracts/product/ProductServiceManager.sol +0 -39
  423. package/contracts/shared/InitializableCustom.sol +0 -177
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/8dd0451613123196cbb8bbbf43a69f7a.json"
3
+ "buildInfo": "../../../build-info/ecd4c94dd2b822154cd70506f32403f1.json"
4
4
  }
@@ -41,28 +41,6 @@
41
41
  "name": "AccessManagedUnauthorized",
42
42
  "type": "error"
43
43
  },
44
- {
45
- "inputs": [
46
- {
47
- "internalType": "address",
48
- "name": "target",
49
- "type": "address"
50
- }
51
- ],
52
- "name": "AddressEmptyCode",
53
- "type": "error"
54
- },
55
- {
56
- "inputs": [
57
- {
58
- "internalType": "address",
59
- "name": "account",
60
- "type": "address"
61
- }
62
- ],
63
- "name": "AddressInsufficientBalance",
64
- "type": "error"
65
- },
66
44
  {
67
45
  "inputs": [],
68
46
  "name": "ErrorComponentNameLengthZero",
@@ -90,17 +68,6 @@
90
68
  "name": "ErrorComponentNotInstance",
91
69
  "type": "error"
92
70
  },
93
- {
94
- "inputs": [
95
- {
96
- "internalType": "address",
97
- "name": "caller",
98
- "type": "address"
99
- }
100
- ],
101
- "name": "ErrorComponentNotProductService",
102
- "type": "error"
103
- },
104
71
  {
105
72
  "inputs": [],
106
73
  "name": "ErrorComponentProductNftAlreadySet",
@@ -121,35 +88,30 @@
121
88
  "name": "ErrorComponentWalletAddressZero",
122
89
  "type": "error"
123
90
  },
91
+ {
92
+ "inputs": [],
93
+ "name": "ErrorComponentWalletNotComponent",
94
+ "type": "error"
95
+ },
124
96
  {
125
97
  "inputs": [
126
98
  {
127
- "internalType": "address",
128
- "name": "oldWallet",
129
- "type": "address"
130
- },
131
- {
132
- "internalType": "address",
133
- "name": "newWallet",
134
- "type": "address"
99
+ "internalType": "NftId",
100
+ "name": "nftId",
101
+ "type": "uint96"
135
102
  },
136
103
  {
137
- "internalType": "uint256",
138
- "name": "allowance",
139
- "type": "uint256"
104
+ "internalType": "ObjectType",
105
+ "name": "objectType",
106
+ "type": "uint8"
140
107
  },
141
108
  {
142
- "internalType": "uint256",
143
- "name": "balance",
144
- "type": "uint256"
109
+ "internalType": "ObjectType",
110
+ "name": "expectedObjectType",
111
+ "type": "uint8"
145
112
  }
146
113
  ],
147
- "name": "ErrorComponentWalletAllowanceTooSmall",
148
- "type": "error"
149
- },
150
- {
151
- "inputs": [],
152
- "name": "ErrorComponentWalletNotComponent",
114
+ "name": "ErrorNftNotObjectType",
153
115
  "type": "error"
154
116
  },
155
117
  {
@@ -239,11 +201,6 @@
239
201
  "name": "ErrorPoolNotPoolService",
240
202
  "type": "error"
241
203
  },
242
- {
243
- "inputs": [],
244
- "name": "FailedInnerCall",
245
- "type": "error"
246
- },
247
204
  {
248
205
  "inputs": [],
249
206
  "name": "InvalidInitialization",
@@ -254,17 +211,6 @@
254
211
  "name": "NotInitializing",
255
212
  "type": "error"
256
213
  },
257
- {
258
- "inputs": [
259
- {
260
- "internalType": "address",
261
- "name": "token",
262
- "type": "address"
263
- }
264
- ],
265
- "name": "SafeERC20FailedOperation",
266
- "type": "error"
267
- },
268
214
  {
269
215
  "anonymous": false,
270
216
  "inputs": [
@@ -535,7 +481,7 @@
535
481
  "type": "uint96"
536
482
  }
537
483
  ],
538
- "name": "close",
484
+ "name": "closeBundle",
539
485
  "outputs": [],
540
486
  "stateMutability": "nonpayable",
541
487
  "type": "function"
@@ -554,7 +500,13 @@
554
500
  }
555
501
  ],
556
502
  "name": "extend",
557
- "outputs": [],
503
+ "outputs": [
504
+ {
505
+ "internalType": "Timestamp",
506
+ "name": "newExpiredAt",
507
+ "type": "uint40"
508
+ }
509
+ ],
558
510
  "stateMutability": "nonpayable",
559
511
  "type": "function"
560
512
  },
@@ -737,8 +689,8 @@
737
689
  {
738
690
  "components": [
739
691
  {
740
- "internalType": "NftId",
741
- "name": "productNftId",
692
+ "internalType": "Amount",
693
+ "name": "maxBalanceAmount",
742
694
  "type": "uint96"
743
695
  },
744
696
  {
@@ -747,13 +699,13 @@
747
699
  "type": "uint64"
748
700
  },
749
701
  {
750
- "internalType": "Amount",
751
- "name": "maxCapitalAmount",
752
- "type": "uint96"
702
+ "internalType": "bool",
703
+ "name": "isInterceptingBundleTransfers",
704
+ "type": "bool"
753
705
  },
754
706
  {
755
707
  "internalType": "bool",
756
- "name": "isInterceptingBundleTransfers",
708
+ "name": "isProcessingConfirmedClaims",
757
709
  "type": "bool"
758
710
  },
759
711
  {
@@ -775,57 +727,6 @@
775
727
  "internalType": "UFixed",
776
728
  "name": "retentionLevel",
777
729
  "type": "uint256"
778
- },
779
- {
780
- "components": [
781
- {
782
- "internalType": "UFixed",
783
- "name": "fractionalFee",
784
- "type": "uint256"
785
- },
786
- {
787
- "internalType": "uint256",
788
- "name": "fixedFee",
789
- "type": "uint256"
790
- }
791
- ],
792
- "internalType": "struct Fee",
793
- "name": "poolFee",
794
- "type": "tuple"
795
- },
796
- {
797
- "components": [
798
- {
799
- "internalType": "UFixed",
800
- "name": "fractionalFee",
801
- "type": "uint256"
802
- },
803
- {
804
- "internalType": "uint256",
805
- "name": "fixedFee",
806
- "type": "uint256"
807
- }
808
- ],
809
- "internalType": "struct Fee",
810
- "name": "stakingFee",
811
- "type": "tuple"
812
- },
813
- {
814
- "components": [
815
- {
816
- "internalType": "UFixed",
817
- "name": "fractionalFee",
818
- "type": "uint256"
819
- },
820
- {
821
- "internalType": "uint256",
822
- "name": "fixedFee",
823
- "type": "uint256"
824
- }
825
- ],
826
- "internalType": "struct Fee",
827
- "name": "performanceFee",
828
- "type": "tuple"
829
730
  }
830
731
  ],
831
732
  "internalType": "struct IComponents.PoolInfo",
@@ -953,140 +854,6 @@
953
854
  "stateMutability": "view",
954
855
  "type": "function"
955
856
  },
956
- {
957
- "inputs": [
958
- {
959
- "internalType": "address",
960
- "name": "authority",
961
- "type": "address"
962
- },
963
- {
964
- "internalType": "address",
965
- "name": "registry",
966
- "type": "address"
967
- },
968
- {
969
- "internalType": "NftId",
970
- "name": "parentNftId",
971
- "type": "uint96"
972
- },
973
- {
974
- "internalType": "string",
975
- "name": "name",
976
- "type": "string"
977
- },
978
- {
979
- "internalType": "address",
980
- "name": "token",
981
- "type": "address"
982
- },
983
- {
984
- "internalType": "ObjectType",
985
- "name": "componentType",
986
- "type": "uint8"
987
- },
988
- {
989
- "internalType": "bool",
990
- "name": "isInterceptor",
991
- "type": "bool"
992
- },
993
- {
994
- "internalType": "address",
995
- "name": "initialOwner",
996
- "type": "address"
997
- },
998
- {
999
- "internalType": "bytes",
1000
- "name": "registryData",
1001
- "type": "bytes"
1002
- },
1003
- {
1004
- "internalType": "bytes",
1005
- "name": "componentData",
1006
- "type": "bytes"
1007
- }
1008
- ],
1009
- "name": "initializeComponent",
1010
- "outputs": [],
1011
- "stateMutability": "nonpayable",
1012
- "type": "function"
1013
- },
1014
- {
1015
- "inputs": [],
1016
- "name": "initializeERC165",
1017
- "outputs": [],
1018
- "stateMutability": "nonpayable",
1019
- "type": "function"
1020
- },
1021
- {
1022
- "inputs": [
1023
- {
1024
- "internalType": "address",
1025
- "name": "initialOwner",
1026
- "type": "address"
1027
- },
1028
- {
1029
- "internalType": "address",
1030
- "name": "registryAddress",
1031
- "type": "address"
1032
- }
1033
- ],
1034
- "name": "initializeNftOwnable",
1035
- "outputs": [],
1036
- "stateMutability": "nonpayable",
1037
- "type": "function"
1038
- },
1039
- {
1040
- "inputs": [
1041
- {
1042
- "internalType": "address",
1043
- "name": "registryAddress",
1044
- "type": "address"
1045
- },
1046
- {
1047
- "internalType": "NftId",
1048
- "name": "parentNftId",
1049
- "type": "uint96"
1050
- },
1051
- {
1052
- "internalType": "ObjectType",
1053
- "name": "objectType",
1054
- "type": "uint8"
1055
- },
1056
- {
1057
- "internalType": "bool",
1058
- "name": "isInterceptor",
1059
- "type": "bool"
1060
- },
1061
- {
1062
- "internalType": "address",
1063
- "name": "initialOwner",
1064
- "type": "address"
1065
- },
1066
- {
1067
- "internalType": "bytes",
1068
- "name": "registryData",
1069
- "type": "bytes"
1070
- }
1071
- ],
1072
- "name": "initializeRegisterable",
1073
- "outputs": [],
1074
- "stateMutability": "nonpayable",
1075
- "type": "function"
1076
- },
1077
- {
1078
- "inputs": [
1079
- {
1080
- "internalType": "address",
1081
- "name": "registryAddress",
1082
- "type": "address"
1083
- }
1084
- ],
1085
- "name": "initializeRegistryLinked",
1086
- "outputs": [],
1087
- "stateMutability": "nonpayable",
1088
- "type": "function"
1089
- },
1090
857
  {
1091
858
  "inputs": [],
1092
859
  "name": "isConsumingScheduledOp",
@@ -1201,21 +968,31 @@
1201
968
  "type": "function"
1202
969
  },
1203
970
  {
1204
- "inputs": [],
1205
- "name": "register",
971
+ "inputs": [
972
+ {
973
+ "internalType": "NftId",
974
+ "name": "policyNftId",
975
+ "type": "uint96"
976
+ },
977
+ {
978
+ "internalType": "ClaimId",
979
+ "name": "claimId",
980
+ "type": "uint16"
981
+ },
982
+ {
983
+ "internalType": "Amount",
984
+ "name": "amount",
985
+ "type": "uint96"
986
+ }
987
+ ],
988
+ "name": "processConfirmedClaim",
1206
989
  "outputs": [],
1207
990
  "stateMutability": "nonpayable",
1208
991
  "type": "function"
1209
992
  },
1210
993
  {
1211
- "inputs": [
1212
- {
1213
- "internalType": "bytes4",
1214
- "name": "interfaceId",
1215
- "type": "bytes4"
1216
- }
1217
- ],
1218
- "name": "registerInterface",
994
+ "inputs": [],
995
+ "name": "register",
1219
996
  "outputs": [],
1220
997
  "stateMutability": "nonpayable",
1221
998
  "type": "function"
@@ -1339,11 +1116,11 @@
1339
1116
  "inputs": [
1340
1117
  {
1341
1118
  "internalType": "Amount",
1342
- "name": "maxCapitalAmount",
1119
+ "name": "maxBalanceAmount",
1343
1120
  "type": "uint96"
1344
1121
  }
1345
1122
  ],
1346
- "name": "setMaxCapitalAmount",
1123
+ "name": "setMaxBalanceAmount",
1347
1124
  "outputs": [],
1348
1125
  "stateMutability": "nonpayable",
1349
1126
  "type": "function"
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/8dd0451613123196cbb8bbbf43a69f7a.json"
3
+ "buildInfo": "../../../build-info/ecd4c94dd2b822154cd70506f32403f1.json"
4
4
  }
@@ -301,30 +301,30 @@
301
301
  "type": "function"
302
302
  }
303
303
  ],
304
- "bytecode": "0x60c0604052600960809081526810dbdb5c1bdb995b9d60ba1b60a0525f906100279082610d1d565b50348015610033575f80fd5b50604051611ab2380380611ab283398101604081905261005291610dd7565b805f61005e8282610d1d565b50610067610078565b61006f610082565b5050610f92565b565b610076600f610336565b5f61009b61008e6103d0565b61009661045f565b6104df565b90506100d281636c1e9dff60e01b604051806040016040528060058152602001647374616b6560d81b8152506105bc60201b60201c565b604080518082019091526007815266756e7374616b6560c81b60208201526101049082906326889b0960e01b906105bc565b604080518082019091526006815265195e1d195b9960d21b60208201526101359082906379e872e960e11b906105bc565b60408051808201909152600a8152696c6f636b42756e646c6560b01b602082015261016a90829063fde0a3cd60e01b906105bc565b60408051808201909152600c81526b756e6c6f636b42756e646c6560a01b60208201526101a1908290630378874560e51b906105bc565b604080518082019091526005815264636c6f736560d81b60208201526101d1908290630155751d60e31b906105bc565b60408051808201909152600c81526b73657442756e646c6546656560a01b602082015261020890829063636450f560e01b906105bc565b60408051808201909152601381527f7365744d61784361706974616c416d6f756e7400000000000000000000000000602082015261025090829063673ad94f60e01b906105bc565b60408051808201909152601281527173657442756e646c654f776e6572526f6c6560701b602082015261028d9082906351e1302960e11b906105bc565b6040805180820190915260078152667365744665657360c81b60208201526102bf908290634133c3b360e11b906105bc565b60408051808201909152600c81526b77697468647261774665657360a01b60208201526102f69082906301c6b21960e41b906105bc565b604080518082019091526012815271776974686472617742756e646c654665657360701b60208201526103339082906354e5077960e01b906105bc565b50565b6103336103416103d0565b6040516311da4a5b60e31b815260ff841660048201525f602482015273__$1d92393fa9ccd763988368ce8a1cb90d26$__90638ed252d890604401602060405180830381865af4158015610397573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103bb9190610e87565b6103cb6103c66103d0565b610799565b6107e0565b60605f80546103de90610c99565b80601f016020809104026020016040519081016040528092919081815260200182805461040a90610c99565b80156104555780601f1061042c57610100808354040283529160200191610455565b820191905f5260205f20905b81548152906001019060200180831161043857829003601f168201915b5050505050905090565b604051637c3940bf60e01b81526001600160401b0360048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__90637c3940bf906024015b602060405180830381865af41580156104b6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104da9190610e87565b905090565b5f8073__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b81526004016105189190610eb4565b602060405180830381865af4158015610533573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105579190610ee9565b5f8181526006602090815260408083208054600181018255908452828420600482040180546001600160401b03808b1660086003909516949094026101000a848102910219909116179055938352600782528083209383529290522091505092915050565b60408051606081019182905263cdc23e6960e01b90915283908073__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e696105fd8660648501610eb4565b602060405180830381865af4158015610618573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061063c9190610ee9565b8152604051636b15ee8b60e01b81526001600160e01b03198616600482015260209091019073__$0904195350e4c23ecb1d51df0a32586dcd$__90636b15ee8b90602401602060405180830381865af415801561069b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106bf9190610f00565b6001600160e01b031916815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610715573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107399190610f27565b64ffffffffff9081169091528254600181810185555f94855260209485902084516002909302019182559383015193018054604090930151909116640100000000026001600160481b031990921660e09390931c92909217179055505050565b60608160405180604001604052806004815260200163526f6c6560e01b8152506040516020016107ca929190610f62565b6040516020818303038152906040529050919050565b60405163cdc23e6960e01b81525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e6990610819908790600401610eb4565b602060405180830381865af4158015610834573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108589190610ee9565b6001805480820182557fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6018290555f82815260036020908152604091829020805460ff1916909317909255805163bc1b392d60e01b8152905192935061092a92869273__$1d92393fa9ccd763988368ce8a1cb90d26$__9263bc1b392d92600480830193928290030181865af41580156108f4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109189190610e87565b6001600160401b039081169116141590565b1561096d5761093883610973565b6109465761094683836109b5565b5f81815260026020526040902080546001600160401b0319166001600160401b0385161790555b50505050565b5f806001600160401b0383165f9081526005602052604090205468010000000000000000900460ff1660038111156109ad576109ad610f7e565b141592915050565b6109d2826109cd6109c46109d6565b60018086610a10565b610b6f565b5050565b604051637c3940bf60e01b81525f600482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__90637c3940bf9060240161049b565b6040805160a0810182525f808252602082018190529181018290526060810182905260808101919091526040518060a00160405280866001600160401b03168152602001856003811115610a6657610a66610f7e565b81526020018463ffffffff16815260200173__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b8152600401610aae9190610eb4565b602060405180830381865af4158015610ac9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610aed9190610ee9565b815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610b39573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b5d9190610f27565b64ffffffffff16905295945050505050565b600480546001810182559081047f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b0180546001600160401b0380861660086003958616026101000a81810290830219909316929092179092555f9081526005602090815260409091208451815493166001600160401b03198416811782559185015185949193909284926001600160481b0319909216179068010000000000000000908490811115610c2357610c23610f7e565b02179055506040820151815463ffffffff60481b1916690100000000000000000063ffffffff90921691909102178155606082015160018201556080909101516002909101805464ffffffffff191664ffffffffff9092169190911790555050565b634e487b7160e01b5f52604160045260245ffd5b600181811c90821680610cad57607f821691505b602082108103610ccb57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610d1857805f5260205f20601f840160051c81016020851015610cf65750805b601f840160051c820191505b81811015610d15575f8155600101610d02565b50505b505050565b81516001600160401b03811115610d3657610d36610c85565b610d4a81610d448454610c99565b84610cd1565b6020601f821160018114610d7c575f8315610d655750848201515b5f19600385901b1c1916600184901b178455610d15565b5f84815260208120601f198516915b82811015610dab5787850151825560209485019460019092019101610d8b565b5084821015610dc857868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f60208284031215610de7575f80fd5b81516001600160401b03811115610dfc575f80fd5b8201601f81018413610e0c575f80fd5b80516001600160401b03811115610e2557610e25610c85565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610e5357610e53610c85565b604052818152828201602001861015610e6a575f80fd5b8160208401602083015e5f91810160200191909152949350505050565b5f60208284031215610e97575f80fd5b81516001600160401b0381168114610ead575f80fd5b9392505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f60208284031215610ef9575f80fd5b5051919050565b5f60208284031215610f10575f80fd5b81516001600160e01b031981168114610ead575f80fd5b5f60208284031215610f37575f80fd5b815164ffffffffff81168114610ead575f80fd5b5f81518060208401855e5f93019283525090919050565b5f610f76610f708386610f4b565b84610f4b565b949350505050565b634e487b7160e01b5f52602160045260245ffd5b610b1380610f9f5f395ff3fe608060405234801561000f575f80fd5b50600436106100f0575f3560e01c806376b707b711610093578063c5f3484411610063578063c5f3484414610259578063c6a001791461027c578063e8eba4351461028f578063f00e6a2a146102a2575f80fd5b806376b707b7146101c0578063775f14b1146101da5780638c5397b01461021c578063c143892b1461022f575f80fd5b80635bfa5027116100ce5780635bfa5027146101445780635c935ce01461016457806363fe3b561461019657806371061398146101ab575f80fd5b806318029ab4146100f45780631e4afbbf1461010f578063433f95d61461012f575b5f80fd5b6100fc600381565b6040519081526020015b60405180910390f35b61012261011d36600461081b565b6102aa565b6040516101069190610849565b610137610358565b60405161010691906108b5565b6101576101523660046108ea565b6103e7565b6040516101069190610920565b61018661017236600461098c565b5f9081526003602052604090205460ff1690565b6040519015158152602001610106565b61019e6104a9565b60405161010691906109a3565b6101b36104fe565b60405161010691906109da565b6101c8610586565b60405160ff9091168152602001610106565b6102036101e836600461098c565b5f9081526002602052604090205467ffffffffffffffff1690565b60405167ffffffffffffffff9091168152602001610106565b6101b361022a36600461098c565b6105ff565b6101376040518060400160405280600b81526020016a53657276696365526f6c6560a81b81525081565b61013760405180604001604052806004815260200163526f6c6560e01b81525081565b61018661028a3660046108ea565b610691565b61020361029d366004610a29565b6106cf565b6100fc610760565b5f82815260076020908152604080832067ffffffffffffffff851684528252808320805482518185028101850190935280835260609492939192909184015b8282101561034c575f84815260209081902060408051606081018252600286029092018054835260019081015460e081901b6001600160e01b03191684860152640100000000900464ffffffffff169183019190915290835290920191016102e9565b50505050905092915050565b60605f805461036690610a44565b80601f016020809104026020016040519081016040528092919081815260200182805461039290610a44565b80156103dd5780601f106103b4576101008083540402835291602001916103dd565b820191905f5260205f20905b8154815290600101906020018083116103c057829003601f168201915b5050505050905090565b6040805160a080820183525f8083526020808401829052838501829052606084018290526080840182905267ffffffffffffffff8681168352600582529185902085519384019095528454918216835292939192830190600160401b900460ff1660038111156104595761045961090c565b600381111561046a5761046a61090c565b815281546901000000000000000000900463ffffffff1660208201526001820154604082015260029091015464ffffffffff1660609091015292915050565b606060018054806020026020016040519081016040528092919081815260200182805480156103dd57602002820191905f5260205f20905b8154815260200190600101908083116104e1575050505050905090565b606060048054806020026020016040519081016040528092919081815260200182805480156103dd57602002820191905f5260205f20905f905b82829054906101000a900467ffffffffffffffff1667ffffffffffffffff16815260200190600801906020826007010492830192600103820291508084116105385790505050505050905090565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156105d6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105fa9190610a7c565b905090565b5f8181526006602090815260409182902080548351818402810184019094528084526060939283018282801561068557602002820191905f5260205f20905f905b82829054906101000a900467ffffffffffffffff1667ffffffffffffffff16815260200190600801906020826007010492830192600103820291508084116106405790505b50505050509050919050565b5f8067ffffffffffffffff83165f90815260056020526040902054600160401b900460ff1660038111156106c7576106c761090c565b141592915050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d3836106f3610586565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610736573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061075a9190610a97565b92915050565b6001545f901561078b5760015f8154811061077d5761077d610ab2565b905f5260205f200154905090565b60405163cdc23e6960e01b8152602060048201525f602482015273__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e6990604401602060405180830381865af41580156107df573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105fa9190610ac6565b67ffffffffffffffff81168114610818575f80fd5b50565b5f806040838503121561082c575f80fd5b82359150602083013561083e81610803565b809150509250929050565b602080825282518282018190525f918401906040840190835b818110156108aa578351805184526020808201516001600160e01b0319168186015260409182015164ffffffffff169185019190915290930192606090920191600101610862565b509095945050505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f602082840312156108fa575f80fd5b813561090581610803565b9392505050565b634e487b7160e01b5f52602160045260245ffd5b815167ffffffffffffffff168152602082015160a08201906004811061095457634e487b7160e01b5f52602160045260245ffd5b8060208401525063ffffffff60408401511660408301526060830151606083015264ffffffffff608084015116608083015292915050565b5f6020828403121561099c575f80fd5b5035919050565b602080825282518282018190525f918401906040840190835b818110156108aa5783518352602093840193909201916001016109bc565b602080825282518282018190525f918401906040840190835b818110156108aa57835167ffffffffffffffff168352602093840193909201916001016109f3565b60ff81168114610818575f80fd5b5f60208284031215610a39575f80fd5b813561090581610a1b565b600181811c90821680610a5857607f821691505b602082108103610a7657634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215610a8c575f80fd5b815161090581610a1b565b5f60208284031215610aa7575f80fd5b815161090581610803565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215610ad6575f80fd5b505191905056fea2646970667358221220432b025f2ceddc2028a2e1b84737ed3ec5bc60ec0e10d956fc662df72c572b5664736f6c634300081a0033",
305
- "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106100f0575f3560e01c806376b707b711610093578063c5f3484411610063578063c5f3484414610259578063c6a001791461027c578063e8eba4351461028f578063f00e6a2a146102a2575f80fd5b806376b707b7146101c0578063775f14b1146101da5780638c5397b01461021c578063c143892b1461022f575f80fd5b80635bfa5027116100ce5780635bfa5027146101445780635c935ce01461016457806363fe3b561461019657806371061398146101ab575f80fd5b806318029ab4146100f45780631e4afbbf1461010f578063433f95d61461012f575b5f80fd5b6100fc600381565b6040519081526020015b60405180910390f35b61012261011d36600461081b565b6102aa565b6040516101069190610849565b610137610358565b60405161010691906108b5565b6101576101523660046108ea565b6103e7565b6040516101069190610920565b61018661017236600461098c565b5f9081526003602052604090205460ff1690565b6040519015158152602001610106565b61019e6104a9565b60405161010691906109a3565b6101b36104fe565b60405161010691906109da565b6101c8610586565b60405160ff9091168152602001610106565b6102036101e836600461098c565b5f9081526002602052604090205467ffffffffffffffff1690565b60405167ffffffffffffffff9091168152602001610106565b6101b361022a36600461098c565b6105ff565b6101376040518060400160405280600b81526020016a53657276696365526f6c6560a81b81525081565b61013760405180604001604052806004815260200163526f6c6560e01b81525081565b61018661028a3660046108ea565b610691565b61020361029d366004610a29565b6106cf565b6100fc610760565b5f82815260076020908152604080832067ffffffffffffffff851684528252808320805482518185028101850190935280835260609492939192909184015b8282101561034c575f84815260209081902060408051606081018252600286029092018054835260019081015460e081901b6001600160e01b03191684860152640100000000900464ffffffffff169183019190915290835290920191016102e9565b50505050905092915050565b60605f805461036690610a44565b80601f016020809104026020016040519081016040528092919081815260200182805461039290610a44565b80156103dd5780601f106103b4576101008083540402835291602001916103dd565b820191905f5260205f20905b8154815290600101906020018083116103c057829003601f168201915b5050505050905090565b6040805160a080820183525f8083526020808401829052838501829052606084018290526080840182905267ffffffffffffffff8681168352600582529185902085519384019095528454918216835292939192830190600160401b900460ff1660038111156104595761045961090c565b600381111561046a5761046a61090c565b815281546901000000000000000000900463ffffffff1660208201526001820154604082015260029091015464ffffffffff1660609091015292915050565b606060018054806020026020016040519081016040528092919081815260200182805480156103dd57602002820191905f5260205f20905b8154815260200190600101908083116104e1575050505050905090565b606060048054806020026020016040519081016040528092919081815260200182805480156103dd57602002820191905f5260205f20905f905b82829054906101000a900467ffffffffffffffff1667ffffffffffffffff16815260200190600801906020826007010492830192600103820291508084116105385790505050505050905090565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156105d6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105fa9190610a7c565b905090565b5f8181526006602090815260409182902080548351818402810184019094528084526060939283018282801561068557602002820191905f5260205f20905f905b82829054906101000a900467ffffffffffffffff1667ffffffffffffffff16815260200190600801906020826007010492830192600103820291508084116106405790505b50505050509050919050565b5f8067ffffffffffffffff83165f90815260056020526040902054600160401b900460ff1660038111156106c7576106c761090c565b141592915050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d3836106f3610586565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610736573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061075a9190610a97565b92915050565b6001545f901561078b5760015f8154811061077d5761077d610ab2565b905f5260205f200154905090565b60405163cdc23e6960e01b8152602060048201525f602482015273__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e6990604401602060405180830381865af41580156107df573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105fa9190610ac6565b67ffffffffffffffff81168114610818575f80fd5b50565b5f806040838503121561082c575f80fd5b82359150602083013561083e81610803565b809150509250929050565b602080825282518282018190525f918401906040840190835b818110156108aa578351805184526020808201516001600160e01b0319168186015260409182015164ffffffffff169185019190915290930192606090920191600101610862565b509095945050505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f602082840312156108fa575f80fd5b813561090581610803565b9392505050565b634e487b7160e01b5f52602160045260245ffd5b815167ffffffffffffffff168152602082015160a08201906004811061095457634e487b7160e01b5f52602160045260245ffd5b8060208401525063ffffffff60408401511660408301526060830151606083015264ffffffffff608084015116608083015292915050565b5f6020828403121561099c575f80fd5b5035919050565b602080825282518282018190525f918401906040840190835b818110156108aa5783518352602093840193909201916001016109bc565b602080825282518282018190525f918401906040840190835b818110156108aa57835167ffffffffffffffff168352602093840193909201916001016109f3565b60ff81168114610818575f80fd5b5f60208284031215610a39575f80fd5b813561090581610a1b565b600181811c90821680610a5857607f821691505b602082108103610a7657634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215610a8c575f80fd5b815161090581610a1b565b5f60208284031215610aa7575f80fd5b815161090581610803565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215610ad6575f80fd5b505191905056fea2646970667358221220432b025f2ceddc2028a2e1b84737ed3ec5bc60ec0e10d956fc662df72c572b5664736f6c634300081a0033",
304
+ "bytecode": "0x60c0604052600960809081526810dbdb5c1bdb995b9d60ba1b60a0525f906100279082610dc9565b50348015610033575f80fd5b50604051611b5e380380611b5e83398101604081905261005291610e83565b805f61005e8282610dc9565b50610067610078565b61006f610082565b505061103e565b565b610076600f6103cf565b5f61009b61008e6103d9565b610096610468565b6104e8565b90506100d281636c1e9dff60e01b604051806040016040528060058152602001647374616b6560d81b8152506105c560201b60201c565b604080518082019091526007815266756e7374616b6560c81b60208201526101049082906326889b0960e01b906105c5565b604080518082019091526006815265195e1d195b9960d21b60208201526101359082906379e872e960e11b906105c5565b60408051808201909152600a8152696c6f636b42756e646c6560b01b602082015261016a90829063fde0a3cd60e01b906105c5565b60408051808201909152600c81526b756e6c6f636b42756e646c6560a01b60208201526101a1908290630378874560e51b906105c5565b60408051808201909152600b81526a636c6f736542756e646c6560a81b60208201526101d790829063d0d63b0960e01b906105c5565b60408051808201909152600c81526b73657442756e646c6546656560a01b602082015261020e90829063636450f560e01b906105c5565b60408051808201909152601381527f7365744d617842616c616e6365416d6f756e7400000000000000000000000000602082015261025690829063bca99e3960e01b906105c5565b60408051808201909152601281527173657442756e646c654f776e6572526f6c6560701b60208201526102939082906351e1302960e11b906105c5565b6040805180820190915260078152667365744665657360c81b60208201526102c5908290634133c3b360e11b906105c5565b6040805180820190915260058152647374616b6560d81b60208201526102f5908290636c1e9dff60e01b906105c5565b604080518082019091526007815266756e7374616b6560c81b60208201526103279082906326889b0960e01b906105c5565b604080518082019091526006815265195e1d195b9960d21b60208201526103589082906379e872e960e11b906105c5565b60408051808201909152600c81526b77697468647261774665657360a01b602082015261038f9082906301c6b21960e41b906105c5565b604080518082019091526012815271776974686472617742756e646c654665657360701b60208201526103cc9082906354e5077960e01b906105c5565b50565b6103cc815f6107a2565b60605f80546103e790610d45565b80601f016020809104026020016040519081016040528092919081815260200182805461041390610d45565b801561045e5780601f106104355761010080835404028352916020019161045e565b820191905f5260205f20905b81548152906001019060200180831161044157829003601f168201915b5050505050905090565b604051637c3940bf60e01b81526001600160401b0360048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__90637c3940bf906024015b602060405180830381865af41580156104bf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104e39190610f33565b905090565b5f8073__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b81526004016105219190610f60565b602060405180830381865af415801561053c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105609190610f95565b5f8181526006602090815260408083208054600181018255908452828420600482040180546001600160401b03808b1660086003909516949094026101000a848102910219909116179055938352600782528083209383529290522091505092915050565b60408051606081019182905263cdc23e6960e01b90915283908073__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e696106068660648501610f60565b602060405180830381865af4158015610621573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106459190610f95565b8152604051636b15ee8b60e01b81526001600160e01b03198616600482015260209091019073__$0904195350e4c23ecb1d51df0a32586dcd$__90636b15ee8b90602401602060405180830381865af41580156106a4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106c89190610fac565b6001600160e01b031916815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561071e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107429190610fd3565b64ffffffffff9081169091528254600181810185555f94855260209485902084516002909302019182559383015193018054604090930151909116640100000000026001600160481b031990921660e09390931c92909217179055505050565b6108456107ad6103d9565b6040516311da4a5b60e31b815260ff851660048201526001600160401b038416602482015273__$1d92393fa9ccd763988368ce8a1cb90d26$__90638ed252d890604401602060405180830381865af415801561080c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108309190610f33565b61084061083b6103d9565b610849565b610890565b5050565b60608160405180604001604052806004815260200163526f6c6560e01b81525060405160200161087a92919061100e565b6040516020818303038152906040529050919050565b60405163cdc23e6960e01b81525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e69906108c9908790600401610f60565b602060405180830381865af41580156108e4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109089190610f95565b6001805480820182557fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6018290555f82815260036020908152604091829020805460ff1916909317909255805163bc1b392d60e01b815290519293506109da92869273__$1d92393fa9ccd763988368ce8a1cb90d26$__9263bc1b392d92600480830193928290030181865af41580156109a4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109c89190610f33565b6001600160401b039081169116141590565b15610a1d576109e883610a23565b6109f6576109f68383610a65565b5f81815260026020526040902080546001600160401b0319166001600160401b0385161790555b50505050565b5f806001600160401b0383165f9081526005602052604090205468010000000000000000900460ff166003811115610a5d57610a5d61102a565b141592915050565b61084582610a7d610a74610a82565b60018086610abc565b610c1b565b604051637c3940bf60e01b81525f600482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__90637c3940bf906024016104a4565b6040805160a0810182525f808252602082018190529181018290526060810182905260808101919091526040518060a00160405280866001600160401b03168152602001856003811115610b1257610b1261102a565b81526020018463ffffffff16815260200173__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b8152600401610b5a9190610f60565b602060405180830381865af4158015610b75573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b999190610f95565b815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610be5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c099190610fd3565b64ffffffffff16905295945050505050565b600480546001810182559081047f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b0180546001600160401b0380861660086003958616026101000a81810290830219909316929092179092555f9081526005602090815260409091208451815493166001600160401b03198416811782559185015185949193909284926001600160481b0319909216179068010000000000000000908490811115610ccf57610ccf61102a565b02179055506040820151815463ffffffff60481b1916690100000000000000000063ffffffff90921691909102178155606082015160018201556080909101516002909101805464ffffffffff191664ffffffffff9092169190911790555050565b634e487b7160e01b5f52604160045260245ffd5b600181811c90821680610d5957607f821691505b602082108103610d7757634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610dc457805f5260205f20601f840160051c81016020851015610da25750805b601f840160051c820191505b81811015610dc1575f8155600101610dae565b50505b505050565b81516001600160401b03811115610de257610de2610d31565b610df681610df08454610d45565b84610d7d565b6020601f821160018114610e28575f8315610e115750848201515b5f19600385901b1c1916600184901b178455610dc1565b5f84815260208120601f198516915b82811015610e575787850151825560209485019460019092019101610e37565b5084821015610e7457868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f60208284031215610e93575f80fd5b81516001600160401b03811115610ea8575f80fd5b8201601f81018413610eb8575f80fd5b80516001600160401b03811115610ed157610ed1610d31565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610eff57610eff610d31565b604052818152828201602001861015610f16575f80fd5b8160208401602083015e5f91810160200191909152949350505050565b5f60208284031215610f43575f80fd5b81516001600160401b0381168114610f59575f80fd5b9392505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f60208284031215610fa5575f80fd5b5051919050565b5f60208284031215610fbc575f80fd5b81516001600160e01b031981168114610f59575f80fd5b5f60208284031215610fe3575f80fd5b815164ffffffffff81168114610f59575f80fd5b5f81518060208401855e5f93019283525090919050565b5f61102261101c8386610ff7565b84610ff7565b949350505050565b634e487b7160e01b5f52602160045260245ffd5b610b138061104b5f395ff3fe608060405234801561000f575f80fd5b50600436106100f0575f3560e01c806376b707b711610093578063c5f3484411610063578063c5f3484414610259578063c6a001791461027c578063e8eba4351461028f578063f00e6a2a146102a2575f80fd5b806376b707b7146101c0578063775f14b1146101da5780638c5397b01461021c578063c143892b1461022f575f80fd5b80635bfa5027116100ce5780635bfa5027146101445780635c935ce01461016457806363fe3b561461019657806371061398146101ab575f80fd5b806318029ab4146100f45780631e4afbbf1461010f578063433f95d61461012f575b5f80fd5b6100fc600381565b6040519081526020015b60405180910390f35b61012261011d36600461081b565b6102aa565b6040516101069190610849565b610137610358565b60405161010691906108b5565b6101576101523660046108ea565b6103e7565b6040516101069190610920565b61018661017236600461098c565b5f9081526003602052604090205460ff1690565b6040519015158152602001610106565b61019e6104a9565b60405161010691906109a3565b6101b36104fe565b60405161010691906109da565b6101c8610586565b60405160ff9091168152602001610106565b6102036101e836600461098c565b5f9081526002602052604090205467ffffffffffffffff1690565b60405167ffffffffffffffff9091168152602001610106565b6101b361022a36600461098c565b6105ff565b6101376040518060400160405280600b81526020016a53657276696365526f6c6560a81b81525081565b61013760405180604001604052806004815260200163526f6c6560e01b81525081565b61018661028a3660046108ea565b610691565b61020361029d366004610a29565b6106cf565b6100fc610760565b5f82815260076020908152604080832067ffffffffffffffff851684528252808320805482518185028101850190935280835260609492939192909184015b8282101561034c575f84815260209081902060408051606081018252600286029092018054835260019081015460e081901b6001600160e01b03191684860152640100000000900464ffffffffff169183019190915290835290920191016102e9565b50505050905092915050565b60605f805461036690610a44565b80601f016020809104026020016040519081016040528092919081815260200182805461039290610a44565b80156103dd5780601f106103b4576101008083540402835291602001916103dd565b820191905f5260205f20905b8154815290600101906020018083116103c057829003601f168201915b5050505050905090565b6040805160a080820183525f8083526020808401829052838501829052606084018290526080840182905267ffffffffffffffff8681168352600582529185902085519384019095528454918216835292939192830190600160401b900460ff1660038111156104595761045961090c565b600381111561046a5761046a61090c565b815281546901000000000000000000900463ffffffff1660208201526001820154604082015260029091015464ffffffffff1660609091015292915050565b606060018054806020026020016040519081016040528092919081815260200182805480156103dd57602002820191905f5260205f20905b8154815260200190600101908083116104e1575050505050905090565b606060048054806020026020016040519081016040528092919081815260200182805480156103dd57602002820191905f5260205f20905f905b82829054906101000a900467ffffffffffffffff1667ffffffffffffffff16815260200190600801906020826007010492830192600103820291508084116105385790505050505050905090565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156105d6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105fa9190610a7c565b905090565b5f8181526006602090815260409182902080548351818402810184019094528084526060939283018282801561068557602002820191905f5260205f20905f905b82829054906101000a900467ffffffffffffffff1667ffffffffffffffff16815260200190600801906020826007010492830192600103820291508084116106405790505b50505050509050919050565b5f8067ffffffffffffffff83165f90815260056020526040902054600160401b900460ff1660038111156106c7576106c761090c565b141592915050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d3836106f3610586565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610736573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061075a9190610a97565b92915050565b6001545f901561078b5760015f8154811061077d5761077d610ab2565b905f5260205f200154905090565b60405163cdc23e6960e01b8152602060048201525f602482015273__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e6990604401602060405180830381865af41580156107df573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105fa9190610ac6565b67ffffffffffffffff81168114610818575f80fd5b50565b5f806040838503121561082c575f80fd5b82359150602083013561083e81610803565b809150509250929050565b602080825282518282018190525f918401906040840190835b818110156108aa578351805184526020808201516001600160e01b0319168186015260409182015164ffffffffff169185019190915290930192606090920191600101610862565b509095945050505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f602082840312156108fa575f80fd5b813561090581610803565b9392505050565b634e487b7160e01b5f52602160045260245ffd5b815167ffffffffffffffff168152602082015160a08201906004811061095457634e487b7160e01b5f52602160045260245ffd5b8060208401525063ffffffff60408401511660408301526060830151606083015264ffffffffff608084015116608083015292915050565b5f6020828403121561099c575f80fd5b5035919050565b602080825282518282018190525f918401906040840190835b818110156108aa5783518352602093840193909201916001016109bc565b602080825282518282018190525f918401906040840190835b818110156108aa57835167ffffffffffffffff168352602093840193909201916001016109f3565b60ff81168114610818575f80fd5b5f60208284031215610a39575f80fd5b813561090581610a1b565b600181811c90821680610a5857607f821691505b602082108103610a7657634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215610a8c575f80fd5b815161090581610a1b565b5f60208284031215610aa7575f80fd5b815161090581610803565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215610ad6575f80fd5b505191905056fea2646970667358221220a2d143baeca75065a57bddecc0c30b485a48697205ecf49fd0607fda7adf556d64736f6c634300081a0033",
305
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106100f0575f3560e01c806376b707b711610093578063c5f3484411610063578063c5f3484414610259578063c6a001791461027c578063e8eba4351461028f578063f00e6a2a146102a2575f80fd5b806376b707b7146101c0578063775f14b1146101da5780638c5397b01461021c578063c143892b1461022f575f80fd5b80635bfa5027116100ce5780635bfa5027146101445780635c935ce01461016457806363fe3b561461019657806371061398146101ab575f80fd5b806318029ab4146100f45780631e4afbbf1461010f578063433f95d61461012f575b5f80fd5b6100fc600381565b6040519081526020015b60405180910390f35b61012261011d36600461081b565b6102aa565b6040516101069190610849565b610137610358565b60405161010691906108b5565b6101576101523660046108ea565b6103e7565b6040516101069190610920565b61018661017236600461098c565b5f9081526003602052604090205460ff1690565b6040519015158152602001610106565b61019e6104a9565b60405161010691906109a3565b6101b36104fe565b60405161010691906109da565b6101c8610586565b60405160ff9091168152602001610106565b6102036101e836600461098c565b5f9081526002602052604090205467ffffffffffffffff1690565b60405167ffffffffffffffff9091168152602001610106565b6101b361022a36600461098c565b6105ff565b6101376040518060400160405280600b81526020016a53657276696365526f6c6560a81b81525081565b61013760405180604001604052806004815260200163526f6c6560e01b81525081565b61018661028a3660046108ea565b610691565b61020361029d366004610a29565b6106cf565b6100fc610760565b5f82815260076020908152604080832067ffffffffffffffff851684528252808320805482518185028101850190935280835260609492939192909184015b8282101561034c575f84815260209081902060408051606081018252600286029092018054835260019081015460e081901b6001600160e01b03191684860152640100000000900464ffffffffff169183019190915290835290920191016102e9565b50505050905092915050565b60605f805461036690610a44565b80601f016020809104026020016040519081016040528092919081815260200182805461039290610a44565b80156103dd5780601f106103b4576101008083540402835291602001916103dd565b820191905f5260205f20905b8154815290600101906020018083116103c057829003601f168201915b5050505050905090565b6040805160a080820183525f8083526020808401829052838501829052606084018290526080840182905267ffffffffffffffff8681168352600582529185902085519384019095528454918216835292939192830190600160401b900460ff1660038111156104595761045961090c565b600381111561046a5761046a61090c565b815281546901000000000000000000900463ffffffff1660208201526001820154604082015260029091015464ffffffffff1660609091015292915050565b606060018054806020026020016040519081016040528092919081815260200182805480156103dd57602002820191905f5260205f20905b8154815260200190600101908083116104e1575050505050905090565b606060048054806020026020016040519081016040528092919081815260200182805480156103dd57602002820191905f5260205f20905f905b82829054906101000a900467ffffffffffffffff1667ffffffffffffffff16815260200190600801906020826007010492830192600103820291508084116105385790505050505050905090565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156105d6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105fa9190610a7c565b905090565b5f8181526006602090815260409182902080548351818402810184019094528084526060939283018282801561068557602002820191905f5260205f20905f905b82829054906101000a900467ffffffffffffffff1667ffffffffffffffff16815260200190600801906020826007010492830192600103820291508084116106405790505b50505050509050919050565b5f8067ffffffffffffffff83165f90815260056020526040902054600160401b900460ff1660038111156106c7576106c761090c565b141592915050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d3836106f3610586565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610736573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061075a9190610a97565b92915050565b6001545f901561078b5760015f8154811061077d5761077d610ab2565b905f5260205f200154905090565b60405163cdc23e6960e01b8152602060048201525f602482015273__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e6990604401602060405180830381865af41580156107df573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105fa9190610ac6565b67ffffffffffffffff81168114610818575f80fd5b50565b5f806040838503121561082c575f80fd5b82359150602083013561083e81610803565b809150509250929050565b602080825282518282018190525f918401906040840190835b818110156108aa578351805184526020808201516001600160e01b0319168186015260409182015164ffffffffff169185019190915290930192606090920191600101610862565b509095945050505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f602082840312156108fa575f80fd5b813561090581610803565b9392505050565b634e487b7160e01b5f52602160045260245ffd5b815167ffffffffffffffff168152602082015160a08201906004811061095457634e487b7160e01b5f52602160045260245ffd5b8060208401525063ffffffff60408401511660408301526060830151606083015264ffffffffff608084015116608083015292915050565b5f6020828403121561099c575f80fd5b5035919050565b602080825282518282018190525f918401906040840190835b818110156108aa5783518352602093840193909201916001016109bc565b602080825282518282018190525f918401906040840190835b818110156108aa57835167ffffffffffffffff168352602093840193909201916001016109f3565b60ff81168114610818575f80fd5b5f60208284031215610a39575f80fd5b813561090581610a1b565b600181811c90821680610a5857607f821691505b602082108103610a7657634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215610a8c575f80fd5b815161090581610a1b565b5f60208284031215610aa7575f80fd5b815161090581610803565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215610ad6575f80fd5b505191905056fea2646970667358221220a2d143baeca75065a57bddecc0c30b485a48697205ecf49fd0607fda7adf556d64736f6c634300081a0033",
306
306
  "linkReferences": {
307
307
  "contracts/type/RoleId.sol": {
308
308
  "RoleIdLib": [
309
309
  {
310
310
  "length": 20,
311
- "start": 863
311
+ "start": 1158
312
312
  },
313
313
  {
314
314
  "length": 20,
315
- "start": 1149
315
+ "start": 2004
316
316
  },
317
317
  {
318
318
  "length": 20,
319
- "start": 2236
319
+ "start": 2412
320
320
  },
321
321
  {
322
322
  "length": 20,
323
- "start": 2542
323
+ "start": 2714
324
324
  },
325
325
  {
326
326
  "length": 20,
327
- "start": 5745
327
+ "start": 5917
328
328
  }
329
329
  ]
330
330
  },
@@ -332,7 +332,7 @@
332
332
  "SelectorLib": [
333
333
  {
334
334
  "length": 20,
335
- "start": 1635
335
+ "start": 1644
336
336
  }
337
337
  ]
338
338
  },
@@ -340,23 +340,23 @@
340
340
  "StrLib": [
341
341
  {
342
342
  "length": 20,
343
- "start": 1251
343
+ "start": 1260
344
344
  },
345
345
  {
346
346
  "length": 20,
347
- "start": 1496
347
+ "start": 1505
348
348
  },
349
349
  {
350
350
  "length": 20,
351
- "start": 2033
351
+ "start": 2209
352
352
  },
353
353
  {
354
354
  "length": 20,
355
- "start": 2681
355
+ "start": 2853
356
356
  },
357
357
  {
358
358
  "length": 20,
359
- "start": 5958
359
+ "start": 6130
360
360
  }
361
361
  ]
362
362
  },
@@ -364,11 +364,11 @@
364
364
  "TimestampLib": [
365
365
  {
366
366
  "length": 20,
367
- "start": 1744
367
+ "start": 1753
368
368
  },
369
369
  {
370
370
  "length": 20,
371
- "start": 2804
371
+ "start": 2976
372
372
  }
373
373
  ]
374
374
  },
@@ -376,7 +376,7 @@
376
376
  "VersionPartLib": [
377
377
  {
378
378
  "length": 20,
379
- "start": 5437
379
+ "start": 5609
380
380
  }
381
381
  ]
382
382
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/8dd0451613123196cbb8bbbf43a69f7a.json"
3
+ "buildInfo": "../../../build-info/ecd4c94dd2b822154cd70506f32403f1.json"
4
4
  }