@etherisc/gif-next 0.0.2-e8b06c8-540 → 0.0.2-e8ea5fe-337

Sign up to get free protection for your applications and to get access to all the features.
Files changed (459) hide show
  1. package/README.md +32 -3
  2. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
  3. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +38 -33
  4. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  5. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1206 -0
  6. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
  7. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +8 -8
  8. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +1 -1
  9. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +1 -1
  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 +19 -0
  14. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +1 -1
  15. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +8 -8
  16. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  17. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +23 -4
  18. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  19. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +85 -101
  20. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  21. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +19 -19
  22. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  23. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +43 -75
  24. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  25. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +223 -105
  26. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  27. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +67 -55
  28. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  29. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +43 -37
  30. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  31. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +120 -31
  32. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  33. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +703 -0
  34. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  35. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +7 -7
  36. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  37. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +10 -5
  38. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  39. package/artifacts/contracts/instance/Instance.sol/Instance.json +19 -19
  40. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  41. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1208 -290
  42. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  43. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +31 -31
  44. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  45. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +238 -123
  46. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  47. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +44 -39
  48. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  49. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +35 -35
  50. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  51. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +226 -231
  52. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  53. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +2 -2
  54. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  55. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  56. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  57. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  58. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +182 -0
  59. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  60. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +181 -0
  61. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  62. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  63. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  64. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  65. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  66. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  67. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  68. package/artifacts/contracts/mock/Dip.sol/Dip.json +2 -2
  69. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
  70. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +59 -88
  71. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  72. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +21 -21
  73. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  74. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  75. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +30 -37
  76. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  77. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  78. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +27 -72
  79. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  80. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +32 -32
  81. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  82. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +34 -34
  83. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  84. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +55 -137
  85. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  86. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +19 -19
  87. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  88. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +402 -62
  89. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  90. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +111 -43
  91. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  92. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +205 -1
  93. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  94. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +45 -95
  95. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  96. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +220 -100
  97. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  98. package/artifacts/contracts/pool/Pool.sol/Pool.json +45 -133
  99. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  100. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +264 -136
  101. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  102. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +40 -36
  103. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  104. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +31 -50
  105. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  106. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +31 -43
  107. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  108. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +22 -78
  109. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  110. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +19 -19
  111. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  112. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +194 -72
  113. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  114. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +58 -54
  115. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  116. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +5 -0
  117. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  118. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +114 -0
  119. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  120. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +184 -119
  121. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  122. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +43 -43
  123. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  124. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +19 -37
  125. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  126. package/artifacts/contracts/product/{IProductService.sol/IProductService.json → IRiskService.sol/IRiskService.json} +2 -2
  127. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  128. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +242 -209
  129. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  130. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +55 -55
  131. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  132. package/artifacts/contracts/product/PricingService.sol/PricingService.json +113 -153
  133. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  134. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +55 -75
  135. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  136. package/artifacts/contracts/product/Product.sol/Product.json +22 -78
  137. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  138. package/artifacts/contracts/product/RiskService.sol/RiskService.json +695 -0
  139. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  140. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +702 -0
  141. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  142. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +2 -2
  143. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  144. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +51 -47
  145. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  146. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +0 -183
  147. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  148. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  149. package/artifacts/contracts/registry/Registry.sol/Registry.json +102 -74
  150. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  151. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +100 -95
  152. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  153. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +18 -18
  154. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  155. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +27 -27
  156. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  157. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +164 -0
  158. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  159. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1159 -0
  160. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  161. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +26 -7
  162. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  163. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +4 -4
  164. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  165. package/artifacts/contracts/shared/Component.sol/Component.json +0 -64
  166. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  167. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +255 -62
  168. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  169. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +69 -49
  170. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +1 -1
  171. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  172. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +0 -26
  173. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  174. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +153 -0
  175. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  176. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +19 -37
  177. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  178. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +11 -5
  179. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  180. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +0 -5
  181. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  182. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  183. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  184. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  185. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  186. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +1 -1
  187. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  188. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +73 -0
  189. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  190. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +19 -75
  191. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  192. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +15 -89
  193. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  194. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +4 -65
  195. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  196. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  197. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  198. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +6 -6
  199. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  200. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +6 -6
  201. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  202. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +8 -8
  203. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  204. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -2
  205. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  206. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  207. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +330 -11
  208. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  209. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +108 -0
  210. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  211. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +27 -27
  212. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  213. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +1 -1
  214. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +85 -105
  215. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  216. package/artifacts/contracts/staking/Staking.sol/Staking.json +84 -114
  217. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  218. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +164 -0
  219. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  220. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +47 -43
  221. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  222. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +6 -6
  223. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  224. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +26 -26
  225. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  226. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +31 -31
  227. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  228. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +146 -165
  229. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  230. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +58 -22
  231. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  232. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +2 -2
  233. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  234. package/artifacts/contracts/type/Amount.sol/AmountLib.json +37 -8
  235. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  236. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +2 -2
  237. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  238. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +4 -4
  239. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  240. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +4 -4
  241. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  242. package/artifacts/contracts/type/Fee.sol/FeeLib.json +17 -12
  243. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  244. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  245. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  246. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +4 -4
  247. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  248. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  249. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  250. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +2 -2
  251. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  252. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +4 -4
  253. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  254. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +4 -4
  255. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  256. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +4 -4
  257. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  258. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +4 -4
  259. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  260. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +14 -14
  261. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  262. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +50 -2
  263. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  264. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +2 -2
  265. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  266. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +2 -2
  267. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  268. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +2 -2
  269. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  270. package/artifacts/contracts/type/String.sol/StrLib.json +2 -2
  271. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  272. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +23 -4
  273. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +1 -1
  274. package/artifacts/contracts/type/UFixed.sol/MathLib.json +9 -3
  275. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  276. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +39 -2
  277. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  278. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -2
  279. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  280. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +21 -2
  281. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  282. package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +1 -1
  283. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  284. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +617 -0
  285. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  286. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  287. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  288. package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +1 -1
  289. package/contracts/authorization/AccessAdmin.sol +8 -39
  290. package/contracts/authorization/AccessManagerCloneable.sol +16 -0
  291. package/contracts/authorization/Authorization.sol +0 -1
  292. package/contracts/authorization/IServiceAuthorization.sol +3 -0
  293. package/contracts/authorization/ModuleAuthorization.sol +0 -125
  294. package/contracts/authorization/ServiceAuthorization.sol +4 -0
  295. package/contracts/distribution/BasicDistribution.sol +4 -15
  296. package/contracts/distribution/BasicDistributionAuthorization.sol +5 -1
  297. package/contracts/distribution/Distribution.sol +22 -10
  298. package/contracts/distribution/DistributionService.sol +67 -34
  299. package/contracts/distribution/DistributionServiceManager.sol +2 -5
  300. package/contracts/distribution/IDistributionComponent.sol +8 -34
  301. package/contracts/distribution/IDistributionService.sol +18 -2
  302. package/contracts/instance/{BundleManager.sol → BundleSet.sol} +23 -23
  303. package/contracts/instance/IInstance.sol +12 -35
  304. package/contracts/instance/IInstanceService.sol +6 -5
  305. package/contracts/instance/Instance.sol +15 -79
  306. package/contracts/instance/InstanceAdmin.sol +220 -269
  307. package/contracts/instance/InstanceAuthorizationV3.sol +19 -28
  308. package/contracts/instance/InstanceReader.sol +32 -12
  309. package/contracts/instance/InstanceService.sol +73 -122
  310. package/contracts/instance/InstanceServiceManager.sol +2 -6
  311. package/contracts/instance/InstanceStore.sol +18 -4
  312. package/contracts/instance/base/ObjectLifecycle.sol +111 -0
  313. package/contracts/instance/base/{ObjectManager.sol → ObjectSet.sol} +5 -5
  314. package/contracts/instance/module/IBundle.sol +1 -1
  315. package/contracts/instance/module/IComponents.sol +1 -7
  316. package/contracts/instance/module/IDistribution.sol +0 -1
  317. package/contracts/instance/module/IPolicy.sol +22 -22
  318. package/contracts/mock/Dip.sol +1 -1
  319. package/contracts/oracle/IOracleComponent.sol +2 -1
  320. package/contracts/oracle/Oracle.sol +16 -6
  321. package/contracts/oracle/OracleService.sol +1 -0
  322. package/contracts/oracle/OracleServiceManager.sol +2 -5
  323. package/contracts/pool/BasicPool.sol +7 -5
  324. package/contracts/pool/BasicPoolAuthorization.sol +11 -2
  325. package/contracts/pool/BundleService.sol +189 -47
  326. package/contracts/pool/BundleServiceManager.sol +2 -5
  327. package/contracts/pool/IBundleService.sol +33 -5
  328. package/contracts/pool/IPoolComponent.sol +6 -0
  329. package/contracts/pool/IPoolService.sol +36 -26
  330. package/contracts/pool/Pool.sol +39 -24
  331. package/contracts/pool/PoolService.sol +161 -104
  332. package/contracts/pool/PoolServiceManager.sol +2 -5
  333. package/contracts/product/ApplicationService.sol +51 -57
  334. package/contracts/product/ApplicationServiceManager.sol +2 -2
  335. package/contracts/product/BasicProduct.sol +3 -32
  336. package/contracts/product/BasicProductAuthorization.sol +3 -0
  337. package/contracts/product/ClaimService.sol +118 -73
  338. package/contracts/product/ClaimServiceManager.sol +2 -2
  339. package/contracts/product/IApplicationService.sol +1 -0
  340. package/contracts/product/IClaimService.sol +28 -5
  341. package/contracts/product/IPolicyService.sol +27 -32
  342. package/contracts/product/IPricingService.sol +7 -7
  343. package/contracts/product/IProductComponent.sol +1 -1
  344. package/contracts/product/{IProductService.sol → IRiskService.sol} +1 -1
  345. package/contracts/product/PolicyService.sol +278 -180
  346. package/contracts/product/PolicyServiceManager.sol +2 -5
  347. package/contracts/product/PricingService.sol +42 -41
  348. package/contracts/product/PricingServiceManager.sol +2 -5
  349. package/contracts/product/Product.sol +67 -34
  350. package/contracts/product/{ProductService.sol → RiskService.sol} +10 -37
  351. package/contracts/product/RiskServiceManager.sol +39 -0
  352. package/contracts/registry/IRegistry.sol +27 -17
  353. package/contracts/registry/IRegistryService.sol +6 -6
  354. package/contracts/registry/Registry.sol +81 -87
  355. package/contracts/registry/RegistryAdmin.sol +34 -23
  356. package/contracts/registry/RegistryService.sol +4 -18
  357. package/contracts/registry/RegistryServiceManager.sol +2 -2
  358. package/contracts/registry/ReleaseLifecycle.sol +27 -0
  359. package/contracts/registry/{ReleaseManager.sol → ReleaseRegistry.sol} +149 -194
  360. package/contracts/registry/ServiceAuthorizationV3.sol +7 -10
  361. package/contracts/registry/TokenRegistry.sol +2 -2
  362. package/contracts/shared/Component.sol +25 -38
  363. package/contracts/shared/ComponentService.sol +84 -69
  364. package/contracts/shared/ComponentServiceManager.sol +2 -2
  365. package/contracts/shared/ComponentVerifyingService.sol +1 -1
  366. package/contracts/shared/IComponent.sol +4 -4
  367. package/contracts/shared/IComponentService.sol +15 -9
  368. package/contracts/shared/IInstanceLinkedComponent.sol +9 -10
  369. package/contracts/shared/IKeyValueStore.sol +1 -0
  370. package/contracts/shared/ILifecycle.sol +1 -2
  371. package/contracts/shared/IService.sol +1 -1
  372. package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +1 -1
  373. package/contracts/shared/InstanceLinkedComponent.sol +22 -2
  374. package/contracts/shared/KeyValueStore.sol +6 -2
  375. package/contracts/shared/Lifecycle.sol +16 -69
  376. package/contracts/shared/{NftIdSetManager.sol → NftIdSet.sol} +1 -1
  377. package/contracts/shared/NftOwnable.sol +3 -3
  378. package/contracts/shared/PolicyHolder.sol +2 -5
  379. package/contracts/shared/Service.sol +3 -4
  380. package/contracts/shared/TokenHandler.sol +100 -19
  381. package/contracts/shared/TokenHandlerDeployerLib.sol +12 -0
  382. package/contracts/staking/IStaking.sol +3 -3
  383. package/contracts/staking/IStakingService.sol +12 -5
  384. package/contracts/staking/StakeManagerLib.sol +18 -25
  385. package/contracts/staking/Staking.sol +24 -39
  386. package/contracts/staking/StakingLifecycle.sol +23 -0
  387. package/contracts/staking/StakingManager.sol +2 -6
  388. package/contracts/staking/StakingReader.sol +12 -16
  389. package/contracts/staking/StakingService.sol +8 -12
  390. package/contracts/staking/StakingServiceManager.sol +2 -2
  391. package/contracts/staking/StakingStore.sol +15 -23
  392. package/contracts/staking/TargetManagerLib.sol +7 -3
  393. package/contracts/type/Amount.sol +12 -5
  394. package/contracts/type/Blocknumber.sol +7 -1
  395. package/contracts/type/ObjectType.sol +18 -18
  396. package/contracts/type/Referral.sol +1 -0
  397. package/contracts/type/RoleId.sol +10 -38
  398. package/contracts/type/Seconds.sol +21 -1
  399. package/contracts/type/StateId.sol +1 -0
  400. package/contracts/type/Timestamp.sol +11 -1
  401. package/contracts/type/UFixed.sol +29 -10
  402. package/contracts/type/Version.sol +3 -1
  403. package/contracts/{shared → upgradeability}/ProxyManager.sol +3 -4
  404. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
  405. package/package.json +3 -3
  406. package/artifacts/contracts/authorization/InstanceAdmin.sol/InstanceAdmin.dbg.json +0 -4
  407. package/artifacts/contracts/authorization/InstanceAdmin.sol/InstanceAdmin.json +0 -1385
  408. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  409. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -703
  410. package/artifacts/contracts/instance/InstanceAdminNew.sol/InstanceAdminNew.dbg.json +0 -4
  411. package/artifacts/contracts/instance/InstanceAdminNew.sol/InstanceAdminNew.json +0 -1616
  412. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +0 -4
  413. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +0 -228
  414. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  415. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +0 -181
  416. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
  417. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
  418. package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -708
  419. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  420. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -702
  421. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  422. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -1237
  423. package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.dbg.json +0 -4
  424. package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.json +0 -1193
  425. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.dbg.json +0 -4
  426. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.json +0 -1747
  427. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.dbg.json +0 -4
  428. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.json +0 -1760
  429. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.dbg.json +0 -4
  430. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.json +0 -1838
  431. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.dbg.json +0 -4
  432. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.json +0 -1856
  433. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  434. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
  435. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.dbg.json +0 -4
  436. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.json +0 -1562
  437. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.dbg.json +0 -4
  438. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.json +0 -1600
  439. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  440. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.dbg.json +0 -4
  441. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.json +0 -306
  442. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  443. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -617
  444. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  445. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  446. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  447. package/contracts/authorization/InstanceAdmin.sol +0 -108
  448. package/contracts/instance/InstanceAdminNew.sol +0 -261
  449. package/contracts/instance/InstanceAuthorizationsLib.sol +0 -422
  450. package/contracts/product/ProductServiceManager.sol +0 -42
  451. package/contracts/shared/AccessManagerCustom.sol +0 -741
  452. package/contracts/shared/AccessManagerExtended.sol +0 -481
  453. package/contracts/shared/AccessManagerExtendedInitializeable.sol +0 -13
  454. package/contracts/shared/AccessManagerExtendedWithDisable.sol +0 -137
  455. package/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol +0 -14
  456. package/contracts/shared/IAccessManagerExtended.sol +0 -74
  457. package/contracts/shared/IAccessManagerExtendedWithDisable.sol +0 -18
  458. /package/contracts/{shared → upgradeability}/IVersionable.sol +0 -0
  459. /package/contracts/{shared → upgradeability}/Versionable.sol +0 -0
@@ -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,32 +88,6 @@
121
88
  "name": "ErrorComponentWalletAddressZero",
122
89
  "type": "error"
123
90
  },
124
- {
125
- "inputs": [
126
- {
127
- "internalType": "address",
128
- "name": "oldWallet",
129
- "type": "address"
130
- },
131
- {
132
- "internalType": "address",
133
- "name": "newWallet",
134
- "type": "address"
135
- },
136
- {
137
- "internalType": "uint256",
138
- "name": "allowance",
139
- "type": "uint256"
140
- },
141
- {
142
- "internalType": "uint256",
143
- "name": "balance",
144
- "type": "uint256"
145
- }
146
- ],
147
- "name": "ErrorComponentWalletAllowanceTooSmall",
148
- "type": "error"
149
- },
150
91
  {
151
92
  "inputs": [],
152
93
  "name": "ErrorComponentWalletNotComponent",
@@ -239,11 +180,6 @@
239
180
  "name": "ErrorPoolNotPoolService",
240
181
  "type": "error"
241
182
  },
242
- {
243
- "inputs": [],
244
- "name": "FailedInnerCall",
245
- "type": "error"
246
- },
247
183
  {
248
184
  "inputs": [],
249
185
  "name": "InvalidInitialization",
@@ -254,17 +190,6 @@
254
190
  "name": "NotInitializing",
255
191
  "type": "error"
256
192
  },
257
- {
258
- "inputs": [
259
- {
260
- "internalType": "address",
261
- "name": "token",
262
- "type": "address"
263
- }
264
- ],
265
- "name": "SafeERC20FailedOperation",
266
- "type": "error"
267
- },
268
193
  {
269
194
  "anonymous": false,
270
195
  "inputs": [
@@ -535,7 +460,7 @@
535
460
  "type": "uint96"
536
461
  }
537
462
  ],
538
- "name": "close",
463
+ "name": "closeBundle",
539
464
  "outputs": [],
540
465
  "stateMutability": "nonpayable",
541
466
  "type": "function"
@@ -554,7 +479,13 @@
554
479
  }
555
480
  ],
556
481
  "name": "extend",
557
- "outputs": [],
482
+ "outputs": [
483
+ {
484
+ "internalType": "Timestamp",
485
+ "name": "newExpiredAt",
486
+ "type": "uint40"
487
+ }
488
+ ],
558
489
  "stateMutability": "nonpayable",
559
490
  "type": "function"
560
491
  },
@@ -737,8 +668,8 @@
737
668
  {
738
669
  "components": [
739
670
  {
740
- "internalType": "NftId",
741
- "name": "productNftId",
671
+ "internalType": "Amount",
672
+ "name": "maxBalanceAmount",
742
673
  "type": "uint96"
743
674
  },
744
675
  {
@@ -746,11 +677,6 @@
746
677
  "name": "bundleOwnerRole",
747
678
  "type": "uint64"
748
679
  },
749
- {
750
- "internalType": "Amount",
751
- "name": "maxCapitalAmount",
752
- "type": "uint96"
753
- },
754
680
  {
755
681
  "internalType": "bool",
756
682
  "name": "isInterceptingBundleTransfers",
@@ -775,57 +701,6 @@
775
701
  "internalType": "UFixed",
776
702
  "name": "retentionLevel",
777
703
  "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
704
  }
830
705
  ],
831
706
  "internalType": "struct IComponents.PoolInfo",
@@ -1339,11 +1214,11 @@
1339
1214
  "inputs": [
1340
1215
  {
1341
1216
  "internalType": "Amount",
1342
- "name": "maxCapitalAmount",
1217
+ "name": "maxBalanceAmount",
1343
1218
  "type": "uint96"
1344
1219
  }
1345
1220
  ],
1346
- "name": "setMaxCapitalAmount",
1221
+ "name": "setMaxBalanceAmount",
1347
1222
  "outputs": [],
1348
1223
  "stateMutability": "nonpayable",
1349
1224
  "type": "function"
@@ -1468,6 +1343,49 @@
1468
1343
  "outputs": [],
1469
1344
  "stateMutability": "nonpayable",
1470
1345
  "type": "function"
1346
+ },
1347
+ {
1348
+ "inputs": [
1349
+ {
1350
+ "internalType": "NftId",
1351
+ "name": "bundleNftId",
1352
+ "type": "uint96"
1353
+ },
1354
+ {
1355
+ "internalType": "Amount",
1356
+ "name": "amount",
1357
+ "type": "uint96"
1358
+ }
1359
+ ],
1360
+ "name": "withdrawBundleFees",
1361
+ "outputs": [
1362
+ {
1363
+ "internalType": "Amount",
1364
+ "name": "withdrawnAmount",
1365
+ "type": "uint96"
1366
+ }
1367
+ ],
1368
+ "stateMutability": "nonpayable",
1369
+ "type": "function"
1370
+ },
1371
+ {
1372
+ "inputs": [
1373
+ {
1374
+ "internalType": "Amount",
1375
+ "name": "amount",
1376
+ "type": "uint96"
1377
+ }
1378
+ ],
1379
+ "name": "withdrawFees",
1380
+ "outputs": [
1381
+ {
1382
+ "internalType": "Amount",
1383
+ "name": "withdrawnAmount",
1384
+ "type": "uint96"
1385
+ }
1386
+ ],
1387
+ "stateMutability": "nonpayable",
1388
+ "type": "function"
1471
1389
  }
1472
1390
  ],
1473
1391
  "bytecode": "0x",
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/738273943de8559a18576d572e141a51.json"
3
+ "buildInfo": "../../../build-info/e2e3b7f72e025759291be05737506c35.json"
4
4
  }
@@ -301,30 +301,30 @@
301
301
  "type": "function"
302
302
  }
303
303
  ],
304
- "bytecode": "0x60c0604052600960809081526810dbdb5c1bdb995b9d60ba1b60a0526000906200002a908262000d57565b503480156200003857600080fd5b5060405162001ba638038062001ba68339810160408190526200005b9162000e49565b8060006200006a828262000d57565b506200007562000089565b6200007f62000095565b505062001020565b565b62000087600f620002f0565b6000620000b5620000a562000398565b620000af62000432565b620004b8565b9050620000ee81636c1e9dff60e01b604051806040016040528060058152602001647374616b6560d81b8152506200059e60201b60201c565b604080518082019091526007815266756e7374616b6560c81b6020820152620001229082906326889b0960e01b906200059e565b604080518082019091526006815265195e1d195b9960d21b6020820152620001559082906379e872e960e11b906200059e565b60408051808201909152600a8152696c6f636b42756e646c6560b01b60208201526200018c90829063fde0a3cd60e01b906200059e565b60408051808201909152600c81526b756e6c6f636b42756e646c6560a01b6020820152620001c5908290630378874560e51b906200059e565b604080518082019091526005815264636c6f736560d81b6020820152620001f7908290630155751d60e31b906200059e565b60408051808201909152600c81526b73657442756e646c6546656560a01b60208201526200023090829063636450f560e01b906200059e565b60408051808201909152601381527f7365744d61784361706974616c416d6f756e740000000000000000000000000060208201526200027a90829063673ad94f60e01b906200059e565b60408051808201909152601281527173657442756e646c654f776e6572526f6c6560701b6020820152620002b99082906351e1302960e11b906200059e565b6040805180820190915260078152667365744665657360c81b6020820152620002ed908290634133c3b360e11b906200059e565b50565b620002ed620002fe62000398565b6040516311da4a5b60e31b815260ff841660048201526000602482015273__$1d92393fa9ccd763988368ce8a1cb90d26$__90638ed252d890604401602060405180830381865af415801562000358573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200037e919062000f01565b620003926200038c62000398565b6200078d565b620007d6565b606060008054620003a99062000cc8565b80601f0160208091040260200160405190810160405280929190818152602001828054620003d79062000cc8565b8015620004285780601f10620003fc5761010080835404028352916020019162000428565b820191906000526020600020905b8154815290600101906020018083116200040a57829003601f168201915b5050505050905090565b604051637c3940bf60e01b81526001600160401b03600482015260009073__$1d92393fa9ccd763988368ce8a1cb90d26$__90637c3940bf906024015b602060405180830381865af41580156200048d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004b3919062000f01565b905090565b60008073__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b8152600401620004f4919062000f33565b602060405180830381865af415801562000512573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000538919062000f68565b60008181526006602090815260408083208054600181018255908452828420600482040180546001600160401b03808b1660086003909516949094026101000a848102910219909116179055938352600782528083209383529290522091505092915050565b60408051606081019182905263cdc23e6960e01b90915283908073__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69620005e1866064850162000f33565b602060405180830381865af4158015620005ff573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000625919062000f68565b8152604051636b15ee8b60e01b81526001600160e01b03198616600482015260209091019073__$0904195350e4c23ecb1d51df0a32586dcd$__90636b15ee8b90602401602060405180830381865af415801562000687573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620006ad919062000f82565b6001600160e01b031916815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801562000706573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200072c919062000fae565b64ffffffffff908116909152825460018181018555600094855260209485902084516002909302019182559383015193018054604090930151909116640100000000026001600160481b031990921660e09390931c92909217179055505050565b60608160405180604001604052806004815260200163526f6c6560e01b815250604051602001620007c092919062000fd7565b6040516020818303038152906040529050919050565b60405163cdc23e6960e01b815260009073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e69906200081290879060040162000f33565b602060405180830381865af415801562000830573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000856919062000f68565b6001805480820182557fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf601829055600082815260036020908152604091829020805460ff1916909317909255805163bc1b392d60e01b815290519293506200092f92869273__$1d92393fa9ccd763988368ce8a1cb90d26$__9263bc1b392d92600480830193928290030181865af4158015620008f7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200091d919062000f01565b6001600160401b039081169116141590565b15620009795762000940836200097f565b6200095157620009518383620009c6565b600081815260026020526040902080546001600160401b0319166001600160401b0385161790555b50505050565b6000806001600160401b03831660009081526005602052604090205468010000000000000000900460ff166003811115620009be57620009be6200100a565b141592915050565b620009e982620009e3620009d9620009ed565b6001808662000a29565b62000b98565b5050565b604051637c3940bf60e01b81526000600482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__90637c3940bf906024016200046f565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091526040518060a00160405280866001600160401b0316815260200185600381111562000a835762000a836200100a565b81526020018463ffffffff16815260200173__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b815260040162000acd919062000f33565b602060405180830381865af415801562000aeb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000b11919062000f68565b815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801562000b60573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000b86919062000fae565b64ffffffffff16905295945050505050565b600480546001810182559081047f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b0180546001600160401b0380861660086003958616026101000a818102908302199093169290921790925560009081526005602090815260409091208451815493166001600160401b03198416811782559185015185949193909284926001600160481b031990921617906801000000000000000090849081111562000c505762000c506200100a565b02179055506040820151815463ffffffff60481b1916690100000000000000000063ffffffff90921691909102178155606082015160018201556080909101516002909101805464ffffffffff191664ffffffffff9092169190911790555050565b634e487b7160e01b600052604160045260246000fd5b600181811c9082168062000cdd57607f821691505b60208210810362000cfe57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000d5257600081815260208120601f850160051c8101602086101562000d2d5750805b601f850160051c820191505b8181101562000d4e5782815560010162000d39565b5050505b505050565b81516001600160401b0381111562000d735762000d7362000cb2565b62000d8b8162000d84845462000cc8565b8462000d04565b602080601f83116001811462000dc3576000841562000daa5750858301515b600019600386901b1c1916600185901b17855562000d4e565b600085815260208120601f198616915b8281101562000df45788860151825594840194600190910190840162000dd3565b508582101562000e135787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60005b8381101562000e4057818101518382015260200162000e26565b50506000910152565b60006020828403121562000e5c57600080fd5b81516001600160401b038082111562000e7457600080fd5b818401915084601f83011262000e8957600080fd5b81518181111562000e9e5762000e9e62000cb2565b604051601f8201601f19908116603f0116810190838211818310171562000ec95762000ec962000cb2565b8160405282815287602084870101111562000ee357600080fd5b62000ef683602083016020880162000e23565b979650505050505050565b60006020828403121562000f1457600080fd5b81516001600160401b038116811462000f2c57600080fd5b9392505050565b602081526000825180602084015262000f5481604085016020870162000e23565b601f01601f19169190910160400192915050565b60006020828403121562000f7b57600080fd5b5051919050565b60006020828403121562000f9557600080fd5b81516001600160e01b03198116811462000f2c57600080fd5b60006020828403121562000fc157600080fd5b815164ffffffffff8116811462000f2c57600080fd5b6000835162000feb81846020880162000e23565b8351908301906200100181836020880162000e23565b01949350505050565b634e487b7160e01b600052602160045260246000fd5b610b7680620010306000396000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c806376b707b711610097578063c5f3484411610066578063c5f3484414610261578063c6a0017914610284578063e8eba43514610297578063f00e6a2a146102aa57600080fd5b806376b707b7146101c7578063775f14b1146101e15780638c5397b014610224578063c143892b1461023757600080fd5b80635bfa5027116100d35780635bfa50271461014a5780635c935ce01461016a57806363fe3b561461019d57806371061398146101b257600080fd5b806318029ab4146100fa5780631e4afbbf14610115578063433f95d614610135575b600080fd5b610102600381565b6040519081526020015b60405180910390f35b610128610123366004610842565b6102b2565b60405161010c9190610872565b61013d610362565b60405161010c91906108dc565b61015d61015836600461092a565b6103f4565b60405161010c9190610964565b61018d6101783660046109d2565b60009081526003602052604090205460ff1690565b604051901515815260200161010c565b6101a56104b7565b60405161010c91906109eb565b6101ba61050e565b60405161010c9190610a2f565b6101cf610599565b60405160ff909116815260200161010c565b61020b6101ef3660046109d2565b60009081526002602052604090205467ffffffffffffffff1690565b60405167ffffffffffffffff909116815260200161010c565b6101ba6102323660046109d2565b610615565b61013d6040518060400160405280600b81526020016a53657276696365526f6c6560a81b81525081565b61013d60405180604001604052806004815260200163526f6c6560e01b81525081565b61018d61029236600461092a565b6106ab565b61020b6102a5366004610a80565b6106eb565b61010261077f565b600082815260076020908152604080832067ffffffffffffffff851684528252808320805482518185028101850190935280835260609492939192909184015b8282101561035657600084815260209081902060408051606081018252600286029092018054835260019081015460e081901b6001600160e01b03191684860152640100000000900464ffffffffff169183019190915290835290920191016102f2565b50505050905092915050565b60606000805461037190610a9d565b80601f016020809104026020016040519081016040528092919081815260200182805461039d90610a9d565b80156103ea5780601f106103bf576101008083540402835291602001916103ea565b820191906000526020600020905b8154815290600101906020018083116103cd57829003601f168201915b5050505050905090565b6040805160a0808201835260008083526020808401829052838501829052606084018290526080840182905267ffffffffffffffff8681168352600582529185902085519384019095528454918216835292939192830190600160401b900460ff1660038111156104675761046761094e565b60038111156104785761047861094e565b815281546901000000000000000000900463ffffffff1660208201526001820154604082015260029091015464ffffffffff1660609091015292915050565b606060018054806020026020016040519081016040528092919081815260200182805480156103ea57602002820191906000526020600020905b8154815260200190600101908083116104f1575050505050905090565b606060048054806020026020016040519081016040528092919081815260200182805480156103ea57602002820191906000526020600020906000905b82829054906101000a900467ffffffffffffffff1667ffffffffffffffff168152602001906008019060208260070104928301926001038202915080841161054b5790505050505050905090565b604051632392b61b60e21b81526003600482015260009073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156105ec573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106109190610ad7565b905090565b60008181526006602090815260409182902080548351818402810184019094528084526060939283018282801561069f57602002820191906000526020600020906000905b82829054906101000a900467ffffffffffffffff1667ffffffffffffffff168152602001906008019060208260070104928301926001038202915080841161065a5790505b50505050509050919050565b60008067ffffffffffffffff8316600090815260056020526040902054600160401b900460ff1660038111156106e3576106e361094e565b141592915050565b600073__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d383610710610599565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610755573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107799190610af4565b92915050565b600154600090156107ae57600160008154811061079e5761079e610b11565b9060005260206000200154905090565b60405163cdc23e6960e01b8152602060048201526000602482015273__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e6990604401602060405180830381865af4158015610805573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106109190610b27565b67ffffffffffffffff8116811461083f57600080fd5b50565b6000806040838503121561085557600080fd5b82359150602083013561086781610829565b809150509250929050565b602080825282518282018190526000919060409081850190868401855b828110156108cf57815180518552868101516001600160e01b0319168786015285015164ffffffffff16858501526060909301929085019060010161088f565b5091979650505050505050565b600060208083528351808285015260005b81811015610909578581018301518582016040015282016108ed565b506000604082860101526040601f19601f8301168501019250505092915050565b60006020828403121561093c57600080fd5b813561094781610829565b9392505050565b634e487b7160e01b600052602160045260246000fd5b815167ffffffffffffffff168152602082015160a08201906004811061099a57634e487b7160e01b600052602160045260246000fd5b8060208401525063ffffffff60408401511660408301526060830151606083015264ffffffffff608084015116608083015292915050565b6000602082840312156109e457600080fd5b5035919050565b6020808252825182820181905260009190848201906040850190845b81811015610a2357835183529284019291840191600101610a07565b50909695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015610a2357835167ffffffffffffffff1683529284019291840191600101610a4b565b60ff8116811461083f57600080fd5b600060208284031215610a9257600080fd5b813561094781610a71565b600181811c90821680610ab157607f821691505b602082108103610ad157634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215610ae957600080fd5b815161094781610a71565b600060208284031215610b0657600080fd5b815161094781610829565b634e487b7160e01b600052603260045260246000fd5b600060208284031215610b3957600080fd5b505191905056fea2646970667358221220767c63d9ffacd8ae89a99f65b29703ea8501e6218b655c18b012fc488a45f81e64736f6c63430008140033",
305
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100f55760003560e01c806376b707b711610097578063c5f3484411610066578063c5f3484414610261578063c6a0017914610284578063e8eba43514610297578063f00e6a2a146102aa57600080fd5b806376b707b7146101c7578063775f14b1146101e15780638c5397b014610224578063c143892b1461023757600080fd5b80635bfa5027116100d35780635bfa50271461014a5780635c935ce01461016a57806363fe3b561461019d57806371061398146101b257600080fd5b806318029ab4146100fa5780631e4afbbf14610115578063433f95d614610135575b600080fd5b610102600381565b6040519081526020015b60405180910390f35b610128610123366004610842565b6102b2565b60405161010c9190610872565b61013d610362565b60405161010c91906108dc565b61015d61015836600461092a565b6103f4565b60405161010c9190610964565b61018d6101783660046109d2565b60009081526003602052604090205460ff1690565b604051901515815260200161010c565b6101a56104b7565b60405161010c91906109eb565b6101ba61050e565b60405161010c9190610a2f565b6101cf610599565b60405160ff909116815260200161010c565b61020b6101ef3660046109d2565b60009081526002602052604090205467ffffffffffffffff1690565b60405167ffffffffffffffff909116815260200161010c565b6101ba6102323660046109d2565b610615565b61013d6040518060400160405280600b81526020016a53657276696365526f6c6560a81b81525081565b61013d60405180604001604052806004815260200163526f6c6560e01b81525081565b61018d61029236600461092a565b6106ab565b61020b6102a5366004610a80565b6106eb565b61010261077f565b600082815260076020908152604080832067ffffffffffffffff851684528252808320805482518185028101850190935280835260609492939192909184015b8282101561035657600084815260209081902060408051606081018252600286029092018054835260019081015460e081901b6001600160e01b03191684860152640100000000900464ffffffffff169183019190915290835290920191016102f2565b50505050905092915050565b60606000805461037190610a9d565b80601f016020809104026020016040519081016040528092919081815260200182805461039d90610a9d565b80156103ea5780601f106103bf576101008083540402835291602001916103ea565b820191906000526020600020905b8154815290600101906020018083116103cd57829003601f168201915b5050505050905090565b6040805160a0808201835260008083526020808401829052838501829052606084018290526080840182905267ffffffffffffffff8681168352600582529185902085519384019095528454918216835292939192830190600160401b900460ff1660038111156104675761046761094e565b60038111156104785761047861094e565b815281546901000000000000000000900463ffffffff1660208201526001820154604082015260029091015464ffffffffff1660609091015292915050565b606060018054806020026020016040519081016040528092919081815260200182805480156103ea57602002820191906000526020600020905b8154815260200190600101908083116104f1575050505050905090565b606060048054806020026020016040519081016040528092919081815260200182805480156103ea57602002820191906000526020600020906000905b82829054906101000a900467ffffffffffffffff1667ffffffffffffffff168152602001906008019060208260070104928301926001038202915080841161054b5790505050505050905090565b604051632392b61b60e21b81526003600482015260009073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156105ec573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106109190610ad7565b905090565b60008181526006602090815260409182902080548351818402810184019094528084526060939283018282801561069f57602002820191906000526020600020906000905b82829054906101000a900467ffffffffffffffff1667ffffffffffffffff168152602001906008019060208260070104928301926001038202915080841161065a5790505b50505050509050919050565b60008067ffffffffffffffff8316600090815260056020526040902054600160401b900460ff1660038111156106e3576106e361094e565b141592915050565b600073__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d383610710610599565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610755573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107799190610af4565b92915050565b600154600090156107ae57600160008154811061079e5761079e610b11565b9060005260206000200154905090565b60405163cdc23e6960e01b8152602060048201526000602482015273__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e6990604401602060405180830381865af4158015610805573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106109190610b27565b67ffffffffffffffff8116811461083f57600080fd5b50565b6000806040838503121561085557600080fd5b82359150602083013561086781610829565b809150509250929050565b602080825282518282018190526000919060409081850190868401855b828110156108cf57815180518552868101516001600160e01b0319168786015285015164ffffffffff16858501526060909301929085019060010161088f565b5091979650505050505050565b600060208083528351808285015260005b81811015610909578581018301518582016040015282016108ed565b506000604082860101526040601f19601f8301168501019250505092915050565b60006020828403121561093c57600080fd5b813561094781610829565b9392505050565b634e487b7160e01b600052602160045260246000fd5b815167ffffffffffffffff168152602082015160a08201906004811061099a57634e487b7160e01b600052602160045260246000fd5b8060208401525063ffffffff60408401511660408301526060830151606083015264ffffffffff608084015116608083015292915050565b6000602082840312156109e457600080fd5b5035919050565b6020808252825182820181905260009190848201906040850190845b81811015610a2357835183529284019291840191600101610a07565b50909695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015610a2357835167ffffffffffffffff1683529284019291840191600101610a4b565b60ff8116811461083f57600080fd5b600060208284031215610a9257600080fd5b813561094781610a71565b600181811c90821680610ab157607f821691505b602082108103610ad157634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215610ae957600080fd5b815161094781610a71565b600060208284031215610b0657600080fd5b815161094781610829565b634e487b7160e01b600052603260045260246000fd5b600060208284031215610b3957600080fd5b505191905056fea2646970667358221220767c63d9ffacd8ae89a99f65b29703ea8501e6218b655c18b012fc488a45f81e64736f6c63430008140033",
304
+ "bytecode": "0x60c0604052600960809081526810dbdb5c1bdb995b9d60ba1b60a0525f906100279082610db6565b50348015610033575f80fd5b50604051611b4b380380611b4b83398101604081905261005291610e70565b805f61005e8282610db6565b50610067610078565b61006f610082565b505061102b565b565b610076600f6103cf565b5f61009b61008e610469565b6100966104f8565b610578565b90506100d281636c1e9dff60e01b604051806040016040528060058152602001647374616b6560d81b81525061065560201b60201c565b604080518082019091526007815266756e7374616b6560c81b60208201526101049082906326889b0960e01b90610655565b604080518082019091526006815265195e1d195b9960d21b60208201526101359082906379e872e960e11b90610655565b60408051808201909152600a8152696c6f636b42756e646c6560b01b602082015261016a90829063fde0a3cd60e01b90610655565b60408051808201909152600c81526b756e6c6f636b42756e646c6560a01b60208201526101a1908290630378874560e51b90610655565b60408051808201909152600b81526a636c6f736542756e646c6560a81b60208201526101d790829063d0d63b0960e01b90610655565b60408051808201909152600c81526b73657442756e646c6546656560a01b602082015261020e90829063636450f560e01b90610655565b60408051808201909152601381527f7365744d617842616c616e6365416d6f756e7400000000000000000000000000602082015261025690829063bca99e3960e01b90610655565b60408051808201909152601281527173657442756e646c654f776e6572526f6c6560701b60208201526102939082906351e1302960e11b90610655565b6040805180820190915260078152667365744665657360c81b60208201526102c5908290634133c3b360e11b90610655565b6040805180820190915260058152647374616b6560d81b60208201526102f5908290636c1e9dff60e01b90610655565b604080518082019091526007815266756e7374616b6560c81b60208201526103279082906326889b0960e01b90610655565b604080518082019091526006815265195e1d195b9960d21b60208201526103589082906379e872e960e11b90610655565b60408051808201909152600c81526b77697468647261774665657360a01b602082015261038f9082906301c6b21960e41b90610655565b604080518082019091526012815271776974686472617742756e646c654665657360701b60208201526103cc9082906354e5077960e01b90610655565b50565b6103cc6103da610469565b6040516311da4a5b60e31b815260ff841660048201525f602482015273__$1d92393fa9ccd763988368ce8a1cb90d26$__90638ed252d890604401602060405180830381865af4158015610430573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104549190610f20565b61046461045f610469565b610832565b610879565b60605f805461047790610d32565b80601f01602080910402602001604051908101604052809291908181526020018280546104a390610d32565b80156104ee5780601f106104c5576101008083540402835291602001916104ee565b820191905f5260205f20905b8154815290600101906020018083116104d157829003601f168201915b5050505050905090565b604051637c3940bf60e01b81526001600160401b0360048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__90637c3940bf906024015b602060405180830381865af415801561054f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105739190610f20565b905090565b5f8073__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b81526004016105b19190610f4d565b602060405180830381865af41580156105cc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105f09190610f82565b5f8181526006602090815260408083208054600181018255908452828420600482040180546001600160401b03808b1660086003909516949094026101000a848102910219909116179055938352600782528083209383529290522091505092915050565b60408051606081019182905263cdc23e6960e01b90915283908073__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e696106968660648501610f4d565b602060405180830381865af41580156106b1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106d59190610f82565b8152604051636b15ee8b60e01b81526001600160e01b03198616600482015260209091019073__$0904195350e4c23ecb1d51df0a32586dcd$__90636b15ee8b90602401602060405180830381865af4158015610734573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107589190610f99565b6001600160e01b031916815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156107ae573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107d29190610fc0565b64ffffffffff9081169091528254600181810185555f94855260209485902084516002909302019182559383015193018054604090930151909116640100000000026001600160481b031990921660e09390931c92909217179055505050565b60608160405180604001604052806004815260200163526f6c6560e01b815250604051602001610863929190610ffb565b6040516020818303038152906040529050919050565b60405163cdc23e6960e01b81525f9073__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e69906108b2908790600401610f4d565b602060405180830381865af41580156108cd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108f19190610f82565b6001805480820182557fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6018290555f82815260036020908152604091829020805460ff1916909317909255805163bc1b392d60e01b815290519293506109c392869273__$1d92393fa9ccd763988368ce8a1cb90d26$__9263bc1b392d92600480830193928290030181865af415801561098d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109b19190610f20565b6001600160401b039081169116141590565b15610a06576109d183610a0c565b6109df576109df8383610a4e565b5f81815260026020526040902080546001600160401b0319166001600160401b0385161790555b50505050565b5f806001600160401b0383165f9081526005602052604090205468010000000000000000900460ff166003811115610a4657610a46611017565b141592915050565b610a6b82610a66610a5d610a6f565b60018086610aa9565b610c08565b5050565b604051637c3940bf60e01b81525f600482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__90637c3940bf90602401610534565b6040805160a0810182525f808252602082018190529181018290526060810182905260808101919091526040518060a00160405280866001600160401b03168152602001856003811115610aff57610aff611017565b81526020018463ffffffff16815260200173__$9a094f9b231ed0f5f85a69be8408d93180$__63cdc23e69856040518263ffffffff1660e01b8152600401610b479190610f4d565b602060405180830381865af4158015610b62573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b869190610f82565b815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610bd2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bf69190610fc0565b64ffffffffff16905295945050505050565b600480546001810182559081047f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b0180546001600160401b0380861660086003958616026101000a81810290830219909316929092179092555f9081526005602090815260409091208451815493166001600160401b03198416811782559185015185949193909284926001600160481b0319909216179068010000000000000000908490811115610cbc57610cbc611017565b02179055506040820151815463ffffffff60481b1916690100000000000000000063ffffffff90921691909102178155606082015160018201556080909101516002909101805464ffffffffff191664ffffffffff9092169190911790555050565b634e487b7160e01b5f52604160045260245ffd5b600181811c90821680610d4657607f821691505b602082108103610d6457634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610db157805f5260205f20601f840160051c81016020851015610d8f5750805b601f840160051c820191505b81811015610dae575f8155600101610d9b565b50505b505050565b81516001600160401b03811115610dcf57610dcf610d1e565b610de381610ddd8454610d32565b84610d6a565b6020601f821160018114610e15575f8315610dfe5750848201515b5f19600385901b1c1916600184901b178455610dae565b5f84815260208120601f198516915b82811015610e445787850151825560209485019460019092019101610e24565b5084821015610e6157868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f60208284031215610e80575f80fd5b81516001600160401b03811115610e95575f80fd5b8201601f81018413610ea5575f80fd5b80516001600160401b03811115610ebe57610ebe610d1e565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610eec57610eec610d1e565b604052818152828201602001861015610f03575f80fd5b8160208401602083015e5f91810160200191909152949350505050565b5f60208284031215610f30575f80fd5b81516001600160401b0381168114610f46575f80fd5b9392505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f60208284031215610f92575f80fd5b5051919050565b5f60208284031215610fa9575f80fd5b81516001600160e01b031981168114610f46575f80fd5b5f60208284031215610fd0575f80fd5b815164ffffffffff81168114610f46575f80fd5b5f81518060208401855e5f93019283525090919050565b5f61100f6110098386610fe4565b84610fe4565b949350505050565b634e487b7160e01b5f52602160045260245ffd5b610b13806110385f395ff3fe608060405234801561000f575f80fd5b50600436106100f0575f3560e01c806376b707b711610093578063c5f3484411610063578063c5f3484414610259578063c6a001791461027c578063e8eba4351461028f578063f00e6a2a146102a2575f80fd5b806376b707b7146101c0578063775f14b1146101da5780638c5397b01461021c578063c143892b1461022f575f80fd5b80635bfa5027116100ce5780635bfa5027146101445780635c935ce01461016457806363fe3b561461019657806371061398146101ab575f80fd5b806318029ab4146100f45780631e4afbbf1461010f578063433f95d61461012f575b5f80fd5b6100fc600381565b6040519081526020015b60405180910390f35b61012261011d36600461081b565b6102aa565b6040516101069190610849565b610137610358565b60405161010691906108b5565b6101576101523660046108ea565b6103e7565b6040516101069190610920565b61018661017236600461098c565b5f9081526003602052604090205460ff1690565b6040519015158152602001610106565b61019e6104a9565b60405161010691906109a3565b6101b36104fe565b60405161010691906109da565b6101c8610586565b60405160ff9091168152602001610106565b6102036101e836600461098c565b5f9081526002602052604090205467ffffffffffffffff1690565b60405167ffffffffffffffff9091168152602001610106565b6101b361022a36600461098c565b6105ff565b6101376040518060400160405280600b81526020016a53657276696365526f6c6560a81b81525081565b61013760405180604001604052806004815260200163526f6c6560e01b81525081565b61018661028a3660046108ea565b610691565b61020361029d366004610a29565b6106cf565b6100fc610760565b5f82815260076020908152604080832067ffffffffffffffff851684528252808320805482518185028101850190935280835260609492939192909184015b8282101561034c575f84815260209081902060408051606081018252600286029092018054835260019081015460e081901b6001600160e01b03191684860152640100000000900464ffffffffff169183019190915290835290920191016102e9565b50505050905092915050565b60605f805461036690610a44565b80601f016020809104026020016040519081016040528092919081815260200182805461039290610a44565b80156103dd5780601f106103b4576101008083540402835291602001916103dd565b820191905f5260205f20905b8154815290600101906020018083116103c057829003601f168201915b5050505050905090565b6040805160a080820183525f8083526020808401829052838501829052606084018290526080840182905267ffffffffffffffff8681168352600582529185902085519384019095528454918216835292939192830190600160401b900460ff1660038111156104595761045961090c565b600381111561046a5761046a61090c565b815281546901000000000000000000900463ffffffff1660208201526001820154604082015260029091015464ffffffffff1660609091015292915050565b606060018054806020026020016040519081016040528092919081815260200182805480156103dd57602002820191905f5260205f20905b8154815260200190600101908083116104e1575050505050905090565b606060048054806020026020016040519081016040528092919081815260200182805480156103dd57602002820191905f5260205f20905f905b82829054906101000a900467ffffffffffffffff1667ffffffffffffffff16815260200190600801906020826007010492830192600103820291508084116105385790505050505050905090565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156105d6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105fa9190610a7c565b905090565b5f8181526006602090815260409182902080548351818402810184019094528084526060939283018282801561068557602002820191905f5260205f20905f905b82829054906101000a900467ffffffffffffffff1667ffffffffffffffff16815260200190600801906020826007010492830192600103820291508084116106405790505b50505050509050919050565b5f8067ffffffffffffffff83165f90815260056020526040902054600160401b900460ff1660038111156106c7576106c761090c565b141592915050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d3836106f3610586565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610736573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061075a9190610a97565b92915050565b6001545f901561078b5760015f8154811061077d5761077d610ab2565b905f5260205f200154905090565b60405163cdc23e6960e01b8152602060048201525f602482015273__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e6990604401602060405180830381865af41580156107df573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105fa9190610ac6565b67ffffffffffffffff81168114610818575f80fd5b50565b5f806040838503121561082c575f80fd5b82359150602083013561083e81610803565b809150509250929050565b602080825282518282018190525f918401906040840190835b818110156108aa578351805184526020808201516001600160e01b0319168186015260409182015164ffffffffff169185019190915290930192606090920191600101610862565b509095945050505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f602082840312156108fa575f80fd5b813561090581610803565b9392505050565b634e487b7160e01b5f52602160045260245ffd5b815167ffffffffffffffff168152602082015160a08201906004811061095457634e487b7160e01b5f52602160045260245ffd5b8060208401525063ffffffff60408401511660408301526060830151606083015264ffffffffff608084015116608083015292915050565b5f6020828403121561099c575f80fd5b5035919050565b602080825282518282018190525f918401906040840190835b818110156108aa5783518352602093840193909201916001016109bc565b602080825282518282018190525f918401906040840190835b818110156108aa57835167ffffffffffffffff168352602093840193909201916001016109f3565b60ff81168114610818575f80fd5b5f60208284031215610a39575f80fd5b813561090581610a1b565b600181811c90821680610a5857607f821691505b602082108103610a7657634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215610a8c575f80fd5b815161090581610a1b565b5f60208284031215610aa7575f80fd5b815161090581610803565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215610ad6575f80fd5b505191905056fea2646970667358221220d15ae22f1d5312e7b93338f569cff66d2d8be04c5dfade1c484233ee936c5fba64736f6c634300081a0033",
305
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106100f0575f3560e01c806376b707b711610093578063c5f3484411610063578063c5f3484414610259578063c6a001791461027c578063e8eba4351461028f578063f00e6a2a146102a2575f80fd5b806376b707b7146101c0578063775f14b1146101da5780638c5397b01461021c578063c143892b1461022f575f80fd5b80635bfa5027116100ce5780635bfa5027146101445780635c935ce01461016457806363fe3b561461019657806371061398146101ab575f80fd5b806318029ab4146100f45780631e4afbbf1461010f578063433f95d61461012f575b5f80fd5b6100fc600381565b6040519081526020015b60405180910390f35b61012261011d36600461081b565b6102aa565b6040516101069190610849565b610137610358565b60405161010691906108b5565b6101576101523660046108ea565b6103e7565b6040516101069190610920565b61018661017236600461098c565b5f9081526003602052604090205460ff1690565b6040519015158152602001610106565b61019e6104a9565b60405161010691906109a3565b6101b36104fe565b60405161010691906109da565b6101c8610586565b60405160ff9091168152602001610106565b6102036101e836600461098c565b5f9081526002602052604090205467ffffffffffffffff1690565b60405167ffffffffffffffff9091168152602001610106565b6101b361022a36600461098c565b6105ff565b6101376040518060400160405280600b81526020016a53657276696365526f6c6560a81b81525081565b61013760405180604001604052806004815260200163526f6c6560e01b81525081565b61018661028a3660046108ea565b610691565b61020361029d366004610a29565b6106cf565b6100fc610760565b5f82815260076020908152604080832067ffffffffffffffff851684528252808320805482518185028101850190935280835260609492939192909184015b8282101561034c575f84815260209081902060408051606081018252600286029092018054835260019081015460e081901b6001600160e01b03191684860152640100000000900464ffffffffff169183019190915290835290920191016102e9565b50505050905092915050565b60605f805461036690610a44565b80601f016020809104026020016040519081016040528092919081815260200182805461039290610a44565b80156103dd5780601f106103b4576101008083540402835291602001916103dd565b820191905f5260205f20905b8154815290600101906020018083116103c057829003601f168201915b5050505050905090565b6040805160a080820183525f8083526020808401829052838501829052606084018290526080840182905267ffffffffffffffff8681168352600582529185902085519384019095528454918216835292939192830190600160401b900460ff1660038111156104595761045961090c565b600381111561046a5761046a61090c565b815281546901000000000000000000900463ffffffff1660208201526001820154604082015260029091015464ffffffffff1660609091015292915050565b606060018054806020026020016040519081016040528092919081815260200182805480156103dd57602002820191905f5260205f20905b8154815260200190600101908083116104e1575050505050905090565b606060048054806020026020016040519081016040528092919081815260200182805480156103dd57602002820191905f5260205f20905f905b82829054906101000a900467ffffffffffffffff1667ffffffffffffffff16815260200190600801906020826007010492830192600103820291508084116105385790505050505050905090565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156105d6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105fa9190610a7c565b905090565b5f8181526006602090815260409182902080548351818402810184019094528084526060939283018282801561068557602002820191905f5260205f20905f905b82829054906101000a900467ffffffffffffffff1667ffffffffffffffff16815260200190600801906020826007010492830192600103820291508084116106405790505b50505050509050919050565b5f8067ffffffffffffffff83165f90815260056020526040902054600160401b900460ff1660038111156106c7576106c761090c565b141592915050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d3836106f3610586565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610736573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061075a9190610a97565b92915050565b6001545f901561078b5760015f8154811061077d5761077d610ab2565b905f5260205f200154905090565b60405163cdc23e6960e01b8152602060048201525f602482015273__$9a094f9b231ed0f5f85a69be8408d93180$__9063cdc23e6990604401602060405180830381865af41580156107df573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105fa9190610ac6565b67ffffffffffffffff81168114610818575f80fd5b50565b5f806040838503121561082c575f80fd5b82359150602083013561083e81610803565b809150509250929050565b602080825282518282018190525f918401906040840190835b818110156108aa578351805184526020808201516001600160e01b0319168186015260409182015164ffffffffff169185019190915290930192606090920191600101610862565b509095945050505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f602082840312156108fa575f80fd5b813561090581610803565b9392505050565b634e487b7160e01b5f52602160045260245ffd5b815167ffffffffffffffff168152602082015160a08201906004811061095457634e487b7160e01b5f52602160045260245ffd5b8060208401525063ffffffff60408401511660408301526060830151606083015264ffffffffff608084015116608083015292915050565b5f6020828403121561099c575f80fd5b5035919050565b602080825282518282018190525f918401906040840190835b818110156108aa5783518352602093840193909201916001016109bc565b602080825282518282018190525f918401906040840190835b818110156108aa57835167ffffffffffffffff168352602093840193909201916001016109f3565b60ff81168114610818575f80fd5b5f60208284031215610a39575f80fd5b813561090581610a1b565b600181811c90821680610a5857607f821691505b602082108103610a7657634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215610a8c575f80fd5b815161090581610a1b565b5f60208284031215610aa7575f80fd5b815161090581610803565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215610ad6575f80fd5b505191905056fea2646970667358221220d15ae22f1d5312e7b93338f569cff66d2d8be04c5dfade1c484233ee936c5fba64736f6c634300081a0033",
306
306
  "linkReferences": {
307
307
  "contracts/type/RoleId.sol": {
308
308
  "RoleIdLib": [
309
309
  {
310
310
  "length": 20,
311
- "start": 797
311
+ "start": 1016
312
312
  },
313
313
  {
314
314
  "length": 20,
315
- "start": 1105
315
+ "start": 1302
316
316
  },
317
317
  {
318
318
  "length": 20,
319
- "start": 2236
319
+ "start": 2389
320
320
  },
321
321
  {
322
322
  "length": 20,
323
- "start": 2566
323
+ "start": 2695
324
324
  },
325
325
  {
326
326
  "length": 20,
327
- "start": 5919
327
+ "start": 5898
328
328
  }
329
329
  ]
330
330
  },
@@ -332,7 +332,7 @@
332
332
  "SelectorLib": [
333
333
  {
334
334
  "length": 20,
335
- "start": 1612
335
+ "start": 1788
336
336
  }
337
337
  ]
338
338
  },
@@ -340,23 +340,23 @@
340
340
  "StrLib": [
341
341
  {
342
342
  "length": 20,
343
- "start": 1213
343
+ "start": 1404
344
344
  },
345
345
  {
346
346
  "length": 20,
347
- "start": 1466
347
+ "start": 1649
348
348
  },
349
349
  {
350
350
  "length": 20,
351
- "start": 2024
351
+ "start": 2186
352
352
  },
353
353
  {
354
354
  "length": 20,
355
- "start": 2710
355
+ "start": 2834
356
356
  },
357
357
  {
358
358
  "length": 20,
359
- "start": 6139
359
+ "start": 6111
360
360
  }
361
361
  ]
362
362
  },
@@ -364,11 +364,11 @@
364
364
  "TimestampLib": [
365
365
  {
366
366
  "length": 20,
367
- "start": 1726
367
+ "start": 1897
368
368
  },
369
369
  {
370
370
  "length": 20,
371
- "start": 2840
371
+ "start": 2957
372
372
  }
373
373
  ]
374
374
  },
@@ -376,7 +376,7 @@
376
376
  "VersionPartLib": [
377
377
  {
378
378
  "length": 20,
379
- "start": 5602
379
+ "start": 5590
380
380
  }
381
381
  ]
382
382
  }
@@ -386,7 +386,7 @@
386
386
  "RoleIdLib": [
387
387
  {
388
388
  "length": 20,
389
- "start": 1775
389
+ "start": 1746
390
390
  }
391
391
  ]
392
392
  },
@@ -394,7 +394,7 @@
394
394
  "StrLib": [
395
395
  {
396
396
  "length": 20,
397
- "start": 1995
397
+ "start": 1959
398
398
  }
399
399
  ]
400
400
  },
@@ -402,7 +402,7 @@
402
402
  "VersionPartLib": [
403
403
  {
404
404
  "length": 20,
405
- "start": 1458
405
+ "start": 1438
406
406
  }
407
407
  ]
408
408
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/738273943de8559a18576d572e141a51.json"
3
+ "buildInfo": "../../../build-info/e2e3b7f72e025759291be05737506c35.json"
4
4
  }