@etherisc/gif-next 0.0.2-f761c0d-394 → 0.0.2-f78c672-338

Sign up to get free protection for your applications and to get access to all the features.
Files changed (547) hide show
  1. package/README.md +58 -9
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1007 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +744 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +791 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +203 -77
  10. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.json +24 -0
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +233 -5
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +200 -16
  16. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +1 -1
  17. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +1 -1
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +142 -44
  19. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +107 -15
  21. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +19 -0
  23. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +68 -5
  25. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +176 -451
  27. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +206 -27
  29. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +125 -365
  31. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +469 -283
  33. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +151 -109
  35. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +133 -183
  37. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +314 -86
  39. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  40. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  41. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  42. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1475 -0
  43. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +589 -0
  45. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2032 -0
  47. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +589 -0
  49. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  50. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  51. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1431 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +589 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1195 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1655 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +589 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2432 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +589 -0
  65. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  66. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
  67. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  68. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +164 -63
  69. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  70. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +108 -106
  71. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  72. package/artifacts/contracts/instance/Instance.sol/Instance.json +201 -161
  73. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  74. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +447 -144
  75. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  76. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +150 -90
  77. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  78. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1026 -298
  79. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  80. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +134 -269
  81. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  82. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +102 -92
  83. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  84. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +640 -493
  85. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  86. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +853 -0
  87. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  88. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +2 -2
  89. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  90. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  91. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  92. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
  93. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +46 -5
  94. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  95. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +192 -0
  96. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  97. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  98. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  99. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  100. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  101. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  102. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  103. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  104. package/artifacts/contracts/mock/Dip.sol/Dip.json +2 -2
  105. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
  106. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +139 -335
  107. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  108. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +180 -29
  109. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  110. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  111. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +128 -126
  112. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  113. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +69 -11
  114. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  115. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +115 -303
  116. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  117. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +153 -190
  118. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  119. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +122 -88
  120. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  121. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +162 -387
  122. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  123. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +206 -27
  124. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  125. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +331 -204
  126. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  127. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +143 -97
  128. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  129. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +206 -29
  130. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  131. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +143 -195
  132. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  133. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +464 -312
  134. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  135. package/artifacts/contracts/pool/Pool.sol/Pool.json +128 -370
  136. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  137. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +456 -0
  138. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  139. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +653 -532
  140. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  141. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +163 -97
  142. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  143. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +194 -178
  144. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  145. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +100 -90
  146. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  147. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +258 -396
  148. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  149. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +206 -27
  150. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  151. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +415 -234
  152. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  153. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +140 -114
  154. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  155. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +136 -9
  156. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  157. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +308 -16
  158. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  159. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +365 -104
  160. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  161. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +157 -83
  162. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  163. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +250 -198
  164. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  165. package/artifacts/contracts/product/{IProductService.sol/IProductService.json → IRiskService.sol/IRiskService.json} +88 -8
  166. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  167. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +459 -309
  168. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  169. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +293 -0
  170. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  171. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +141 -99
  172. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  173. package/artifacts/contracts/product/PricingService.sol/PricingService.json +253 -306
  174. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  175. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +123 -121
  176. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  177. package/artifacts/contracts/product/Product.sol/Product.json +256 -394
  178. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  179. package/artifacts/contracts/product/RiskService.sol/RiskService.json +688 -0
  180. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  181. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +736 -0
  182. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  183. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  184. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  185. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +370 -22
  186. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  187. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +72 -152
  188. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  189. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  190. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  191. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  192. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  193. package/artifacts/contracts/registry/Registry.sol/Registry.json +597 -80
  194. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  195. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +351 -169
  196. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  197. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +109 -292
  198. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  199. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +94 -80
  200. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  201. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +1849 -0
  202. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  203. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +47 -6
  204. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  205. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1333 -0
  206. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  207. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +66 -8
  208. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  209. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +4 -4
  210. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  211. package/artifacts/contracts/shared/Component.sol/Component.json +76 -265
  212. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  213. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +579 -495
  214. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  215. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +143 -107
  216. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +1 -1
  217. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +57 -111
  218. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  219. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +541 -0
  220. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  221. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  222. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  223. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  224. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  225. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  226. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  227. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +89 -88
  228. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  229. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +547 -224
  230. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  231. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +117 -126
  232. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  233. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +36 -0
  234. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  235. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +36 -0
  236. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  237. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +16 -0
  238. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  239. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +15 -47
  240. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  241. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +148 -0
  242. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  243. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  244. package/artifacts/contracts/shared/IService.sol/IService.json +55 -2
  245. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  246. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  247. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  248. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +104 -303
  249. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  250. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +42 -1
  251. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  252. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +42 -1
  253. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  254. package/artifacts/contracts/shared/{NftIdSetManager.sol/NftIdSetManager.json → NftIdSet.sol/NftIdSet.json} +4 -4
  255. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  256. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +22 -57
  257. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  258. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +19 -141
  259. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  260. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +122 -97
  261. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  262. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  263. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  264. package/artifacts/contracts/shared/Service.sol/Service.json +57 -111
  265. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  266. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +585 -12
  267. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  268. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  269. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  270. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  271. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  272. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +134 -125
  273. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  274. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +77 -16
  275. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +1 -1
  276. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +85 -105
  277. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  278. package/artifacts/contracts/staking/Staking.sol/Staking.json +210 -366
  279. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +1 -1
  280. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +46 -5
  281. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  282. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +122 -95
  283. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  284. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +6 -11
  285. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  286. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +122 -164
  287. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  288. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +99 -85
  289. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  290. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +156 -110
  291. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  292. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +59 -23
  293. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  294. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  295. package/artifacts/contracts/type/Amount.sol/AmountLib.json +61 -8
  296. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  297. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +2 -2
  298. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  299. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
  300. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  301. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  302. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  303. package/artifacts/contracts/type/Fee.sol/FeeLib.json +7 -2
  304. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  305. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  306. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  307. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  308. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  309. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +23 -4
  310. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  311. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  312. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  313. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +2 -2
  314. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  315. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
  316. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  317. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +2 -2
  318. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  319. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
  320. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  321. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +125 -7
  322. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  323. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +79 -15
  324. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  325. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +50 -2
  326. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  327. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +21 -2
  328. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  329. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +2 -2
  330. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  331. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
  332. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  333. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  334. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +23 -4
  335. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  336. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +52 -2
  337. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  338. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -21
  339. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  340. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +66 -2
  341. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  342. package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +1 -1
  343. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  344. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +618 -0
  345. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  346. package/artifacts/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +3 -3
  347. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  348. package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +1 -1
  349. package/contracts/accounting/AccountingService.sol +262 -0
  350. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  351. package/contracts/accounting/IAccountingService.sol +45 -0
  352. package/contracts/authorization/AccessAdmin.sol +232 -134
  353. package/contracts/authorization/AccessManagerCloneable.sol +136 -3
  354. package/contracts/authorization/Authorization.sol +321 -202
  355. package/contracts/authorization/IAccess.sol +1 -0
  356. package/contracts/authorization/IAccessAdmin.sol +17 -10
  357. package/contracts/authorization/IAuthorization.sol +27 -7
  358. package/contracts/authorization/IServiceAuthorization.sol +3 -1
  359. package/contracts/authorization/ServiceAuthorization.sol +26 -10
  360. package/contracts/distribution/BasicDistribution.sol +18 -25
  361. package/contracts/distribution/BasicDistributionAuthorization.sol +26 -9
  362. package/contracts/distribution/Distribution.sol +41 -74
  363. package/contracts/distribution/DistributionService.sol +191 -108
  364. package/contracts/distribution/DistributionServiceManager.sol +8 -11
  365. package/contracts/distribution/IDistributionComponent.sol +9 -14
  366. package/contracts/distribution/IDistributionService.sol +40 -22
  367. package/contracts/examples/fire/DamageLevel.sol +59 -0
  368. package/contracts/examples/fire/FirePool.sol +90 -0
  369. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  370. package/contracts/examples/fire/FireProduct.sol +437 -0
  371. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  372. package/contracts/examples/fire/FireUSD.sol +26 -0
  373. package/contracts/examples/unpermissioned/SimpleDistribution.sol +85 -0
  374. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  375. package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
  376. package/contracts/examples/unpermissioned/SimplePool.sol +106 -0
  377. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  378. package/contracts/examples/unpermissioned/SimpleProduct.sol +377 -0
  379. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  380. package/contracts/instance/BundleSet.sol +130 -0
  381. package/contracts/instance/IInstance.sol +25 -41
  382. package/contracts/instance/IInstanceService.sol +13 -33
  383. package/contracts/instance/Instance.sol +60 -67
  384. package/contracts/instance/InstanceAdmin.sol +258 -87
  385. package/contracts/instance/InstanceAuthorizationV3.sol +64 -53
  386. package/contracts/instance/InstanceReader.sol +288 -43
  387. package/contracts/instance/InstanceService.sol +129 -168
  388. package/contracts/instance/InstanceServiceManager.sol +8 -13
  389. package/contracts/instance/InstanceStore.sol +24 -2
  390. package/contracts/instance/RiskSet.sol +118 -0
  391. package/contracts/instance/base/ObjectCounter.sol +1 -2
  392. package/contracts/instance/base/ObjectLifecycle.sol +11 -4
  393. package/contracts/instance/base/ObjectSet.sol +77 -0
  394. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  395. package/contracts/instance/module/IBundle.sol +1 -1
  396. package/contracts/instance/module/IComponents.sol +14 -15
  397. package/contracts/instance/module/IDistribution.sol +5 -3
  398. package/contracts/instance/module/IPolicy.sol +26 -25
  399. package/contracts/instance/module/IRisk.sol +3 -0
  400. package/contracts/mock/Dip.sol +1 -1
  401. package/contracts/oracle/BasicOracle.sol +0 -1
  402. package/contracts/oracle/BasicOracleAuthorization.sol +3 -12
  403. package/contracts/oracle/IOracleComponent.sol +2 -1
  404. package/contracts/oracle/IOracleService.sol +2 -1
  405. package/contracts/oracle/Oracle.sol +21 -22
  406. package/contracts/oracle/OracleService.sol +113 -81
  407. package/contracts/oracle/OracleServiceManager.sol +8 -11
  408. package/contracts/pool/BasicPool.sol +38 -27
  409. package/contracts/pool/BasicPoolAuthorization.sol +36 -9
  410. package/contracts/pool/BundleService.sol +204 -105
  411. package/contracts/pool/BundleServiceManager.sol +8 -11
  412. package/contracts/pool/IBundleService.sol +31 -22
  413. package/contracts/pool/IPoolComponent.sol +20 -10
  414. package/contracts/pool/IPoolService.sol +90 -75
  415. package/contracts/pool/Pool.sol +145 -111
  416. package/contracts/pool/PoolLib.sol +216 -0
  417. package/contracts/pool/PoolService.sol +546 -241
  418. package/contracts/pool/PoolServiceManager.sol +6 -9
  419. package/contracts/product/ApplicationService.sol +98 -78
  420. package/contracts/product/ApplicationServiceManager.sol +6 -6
  421. package/contracts/product/BasicProduct.sol +13 -44
  422. package/contracts/product/BasicProductAuthorization.sol +25 -9
  423. package/contracts/product/ClaimService.sol +365 -175
  424. package/contracts/product/ClaimServiceManager.sol +6 -6
  425. package/contracts/product/IApplicationService.sol +9 -2
  426. package/contracts/product/IClaimService.sol +44 -8
  427. package/contracts/product/IPolicyService.sol +53 -36
  428. package/contracts/product/IPricingService.sol +11 -10
  429. package/contracts/product/IProductComponent.sol +28 -5
  430. package/contracts/product/{IProductService.sol → IRiskService.sol} +8 -8
  431. package/contracts/product/PolicyService.sol +476 -269
  432. package/contracts/product/PolicyServiceLib.sol +65 -0
  433. package/contracts/product/PolicyServiceManager.sol +6 -9
  434. package/contracts/product/PricingService.sol +71 -62
  435. package/contracts/product/PricingServiceManager.sol +6 -9
  436. package/contracts/product/Product.sol +169 -92
  437. package/contracts/product/RiskService.sol +154 -0
  438. package/contracts/product/RiskServiceManager.sol +39 -0
  439. package/contracts/registry/ChainNft.sol +72 -40
  440. package/contracts/registry/IRegistry.sol +74 -29
  441. package/contracts/registry/IRegistryService.sol +3 -10
  442. package/contracts/registry/IRelease.sol +26 -0
  443. package/contracts/registry/ITransferInterceptor.sol +1 -2
  444. package/contracts/registry/Registry.sol +368 -216
  445. package/contracts/registry/RegistryAdmin.sol +185 -196
  446. package/contracts/registry/RegistryService.sol +41 -66
  447. package/contracts/registry/RegistryServiceManager.sol +5 -5
  448. package/contracts/registry/ReleaseAdmin.sol +245 -0
  449. package/contracts/registry/ReleaseLifecycle.sol +8 -3
  450. package/contracts/registry/ReleaseRegistry.sol +511 -0
  451. package/contracts/registry/ServiceAuthorizationV3.sol +99 -52
  452. package/contracts/registry/TokenRegistry.sol +8 -10
  453. package/contracts/shared/Component.sol +74 -128
  454. package/contracts/shared/ComponentService.sol +453 -342
  455. package/contracts/shared/ComponentServiceManager.sol +10 -7
  456. package/contracts/shared/ComponentVerifyingService.sol +28 -17
  457. package/contracts/shared/ContractLib.sol +253 -0
  458. package/contracts/shared/IComponent.sol +8 -17
  459. package/contracts/shared/IComponentService.sol +49 -39
  460. package/contracts/shared/IInstanceLinkedComponent.sol +7 -27
  461. package/contracts/shared/ILifecycle.sol +3 -1
  462. package/contracts/shared/INftOwnable.sol +2 -0
  463. package/contracts/shared/IPolicyHolder.sol +12 -22
  464. package/contracts/shared/IRegisterable.sol +23 -1
  465. package/contracts/shared/IService.sol +4 -6
  466. package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +3 -3
  467. package/contracts/shared/InstanceLinkedComponent.sol +81 -35
  468. package/contracts/shared/KeyValueStore.sol +1 -1
  469. package/contracts/shared/Lifecycle.sol +15 -4
  470. package/contracts/shared/{NftIdSetManager.sol → NftIdSet.sol} +1 -1
  471. package/contracts/shared/NftOwnable.sol +31 -11
  472. package/contracts/shared/PolicyHolder.sol +17 -57
  473. package/contracts/shared/Registerable.sol +55 -21
  474. package/contracts/shared/RegistryLinked.sol +9 -14
  475. package/contracts/shared/Service.sol +18 -36
  476. package/contracts/shared/TokenHandler.sol +309 -26
  477. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  478. package/contracts/staking/IStaking.sol +8 -11
  479. package/contracts/staking/IStakingService.sol +20 -8
  480. package/contracts/staking/StakeManagerLib.sol +19 -26
  481. package/contracts/staking/Staking.sol +86 -73
  482. package/contracts/staking/StakingManager.sol +10 -12
  483. package/contracts/staking/StakingReader.sol +24 -21
  484. package/contracts/staking/StakingService.sol +54 -35
  485. package/contracts/staking/StakingServiceManager.sol +8 -7
  486. package/contracts/staking/StakingStore.sol +12 -22
  487. package/contracts/staking/TargetManagerLib.sol +7 -3
  488. package/contracts/type/Amount.sol +27 -5
  489. package/contracts/type/Blocknumber.sol +7 -1
  490. package/contracts/type/ClaimId.sol +6 -1
  491. package/contracts/type/Key32.sol +2 -2
  492. package/contracts/type/Key32Set.sol +62 -0
  493. package/contracts/type/NftId.sol +7 -0
  494. package/contracts/type/ObjectType.sol +55 -27
  495. package/contracts/type/PayoutId.sol +10 -10
  496. package/contracts/type/Referral.sol +1 -0
  497. package/contracts/type/RiskId.sol +38 -6
  498. package/contracts/type/RoleId.sol +23 -15
  499. package/contracts/type/Seconds.sol +21 -1
  500. package/contracts/type/Selector.sol +5 -0
  501. package/contracts/type/StateId.sol +15 -1
  502. package/contracts/type/Timestamp.sol +10 -5
  503. package/contracts/type/UFixed.sol +35 -122
  504. package/contracts/type/Version.sol +18 -6
  505. package/contracts/{shared → upgradeability}/ProxyManager.sol +71 -38
  506. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
  507. package/contracts/{shared → upgradeability}/Versionable.sol +2 -2
  508. package/package.json +7 -6
  509. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +0 -4
  510. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +0 -290
  511. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +0 -4
  512. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +0 -390
  513. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  514. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -703
  515. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  516. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +0 -181
  517. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  518. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -129
  519. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
  520. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
  521. package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -708
  522. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  523. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -702
  524. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  525. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -1159
  526. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  527. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
  528. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  529. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +0 -4
  530. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +0 -39
  531. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.dbg.json +0 -4
  532. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  533. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -617
  534. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  535. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  536. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +0 -4
  537. package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -10
  538. package/contracts/authorization/IModuleAuthorization.sol +0 -21
  539. package/contracts/authorization/ModuleAuthorization.sol +0 -78
  540. package/contracts/instance/BundleManager.sol +0 -126
  541. package/contracts/instance/base/ObjectManager.sol +0 -79
  542. package/contracts/instance/module/IAccess.sol +0 -46
  543. package/contracts/product/ProductService.sol +0 -124
  544. package/contracts/product/ProductServiceManager.sol +0 -42
  545. package/contracts/registry/ReleaseManager.sol +0 -487
  546. package/contracts/shared/InitializableCustom.sol +0 -177
  547. /package/contracts/{shared → upgradeability}/IVersionable.sol +0 -0
@@ -7,7 +7,88 @@
7
7
  "inputs": [
8
8
  {
9
9
  "internalType": "RiskId",
10
- "name": "id",
10
+ "name": "a",
11
+ "type": "bytes8"
12
+ },
13
+ {
14
+ "internalType": "RiskId",
15
+ "name": "b",
16
+ "type": "bytes8"
17
+ }
18
+ ],
19
+ "name": "eq",
20
+ "outputs": [
21
+ {
22
+ "internalType": "bool",
23
+ "name": "isSame",
24
+ "type": "bool"
25
+ }
26
+ ],
27
+ "stateMutability": "pure",
28
+ "type": "function"
29
+ },
30
+ {
31
+ "inputs": [
32
+ {
33
+ "internalType": "RiskId",
34
+ "name": "a",
35
+ "type": "bytes8"
36
+ }
37
+ ],
38
+ "name": "eqz",
39
+ "outputs": [
40
+ {
41
+ "internalType": "bool",
42
+ "name": "isZero",
43
+ "type": "bool"
44
+ }
45
+ ],
46
+ "stateMutability": "pure",
47
+ "type": "function"
48
+ },
49
+ {
50
+ "inputs": [
51
+ {
52
+ "internalType": "RiskId",
53
+ "name": "a",
54
+ "type": "bytes8"
55
+ }
56
+ ],
57
+ "name": "gtz",
58
+ "outputs": [
59
+ {
60
+ "internalType": "bool",
61
+ "name": "isZero",
62
+ "type": "bool"
63
+ }
64
+ ],
65
+ "stateMutability": "pure",
66
+ "type": "function"
67
+ },
68
+ {
69
+ "inputs": [
70
+ {
71
+ "internalType": "RiskId",
72
+ "name": "riskId",
73
+ "type": "bytes8"
74
+ }
75
+ ],
76
+ "name": "toInt",
77
+ "outputs": [
78
+ {
79
+ "internalType": "uint256",
80
+ "name": "",
81
+ "type": "uint256"
82
+ }
83
+ ],
84
+ "stateMutability": "pure",
85
+ "type": "function"
86
+ },
87
+ {
88
+ "inputs": [
89
+ {
90
+ "internalType": "RiskId",
91
+ "name": "riskId",
11
92
  "type": "bytes8"
12
93
  }
13
94
  ],
@@ -44,9 +125,33 @@
44
125
  {
45
126
  "inputs": [
46
127
  {
47
- "internalType": "string",
128
+ "internalType": "KeyId",
129
+ "name": "keyId",
130
+ "type": "bytes31"
131
+ }
132
+ ],
133
+ "name": "toRiskId",
134
+ "outputs": [
135
+ {
136
+ "internalType": "RiskId",
137
+ "name": "riskId",
138
+ "type": "bytes8"
139
+ }
140
+ ],
141
+ "stateMutability": "pure",
142
+ "type": "function"
143
+ },
144
+ {
145
+ "inputs": [
146
+ {
147
+ "internalType": "NftId",
148
+ "name": "productNftId",
149
+ "type": "uint96"
150
+ },
151
+ {
152
+ "internalType": "bytes32",
48
153
  "name": "risk",
49
- "type": "string"
154
+ "type": "bytes32"
50
155
  }
51
156
  ],
52
157
  "name": "toRiskId",
@@ -59,16 +164,29 @@
59
164
  ],
60
165
  "stateMutability": "pure",
61
166
  "type": "function"
167
+ },
168
+ {
169
+ "inputs": [],
170
+ "name": "zero",
171
+ "outputs": [
172
+ {
173
+ "internalType": "RiskId",
174
+ "name": "",
175
+ "type": "bytes8"
176
+ }
177
+ ],
178
+ "stateMutability": "pure",
179
+ "type": "function"
62
180
  }
63
181
  ],
64
- "bytecode": "0x61030b610034600b8282823980515f1a607314602857634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe730000000000000000000000000000000000000000301460806040526004361061004a575f3560e01c80632cf96bf91461004e5780634a7485ba1461008157806355ee6275146100ad575b5f80fd5b61006961005c366004610194565b6001600160c01b03191690565b60405160ff1990911681526020015b60405180910390f35b61009461008f3660046101d6565b6100ce565b6040516001600160c01b03199091168152602001610078565b6100c06100bb366004610194565b6100fd565b604051908152602001610078565b5f816040516020016100e09190610289565b604051602081830303815290604052805190602001209050919050565b5f73__$4b9aaffa8d044614668dad578b824b8eee$__63f48016ce60186001600160c01b031985166040516001600160e01b031960e085901b16815260ff909216600483015260ff19166024820152604401602060405180830381865af415801561016a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061018e91906102be565b92915050565b5f602082840312156101a4575f80fd5b81356001600160c01b0319811681146101bb575f80fd5b9392505050565b634e487b7160e01b5f52604160045260245ffd5b5f602082840312156101e6575f80fd5b813567ffffffffffffffff8111156101fc575f80fd5b8201601f8101841361020c575f80fd5b803567ffffffffffffffff811115610226576102266101c2565b604051601f8201601f19908116603f0116810167ffffffffffffffff81118282101715610255576102556101c2565b60405281815282820160200186101561026c575f80fd5b816020840160208301375f91810160200191909152949350505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f602082840312156102ce575f80fd5b505191905056fea2646970667358221220d319051755ff18c421a69e008595bedfbb92ff17bdae96bceb167843d9186e3064736f6c634300081a0033",
65
- "deployedBytecode": "0x730000000000000000000000000000000000000000301460806040526004361061004a575f3560e01c80632cf96bf91461004e5780634a7485ba1461008157806355ee6275146100ad575b5f80fd5b61006961005c366004610194565b6001600160c01b03191690565b60405160ff1990911681526020015b60405180910390f35b61009461008f3660046101d6565b6100ce565b6040516001600160c01b03199091168152602001610078565b6100c06100bb366004610194565b6100fd565b604051908152602001610078565b5f816040516020016100e09190610289565b604051602081830303815290604052805190602001209050919050565b5f73__$4b9aaffa8d044614668dad578b824b8eee$__63f48016ce60186001600160c01b031985166040516001600160e01b031960e085901b16815260ff909216600483015260ff19166024820152604401602060405180830381865af415801561016a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061018e91906102be565b92915050565b5f602082840312156101a4575f80fd5b81356001600160c01b0319811681146101bb575f80fd5b9392505050565b634e487b7160e01b5f52604160045260245ffd5b5f602082840312156101e6575f80fd5b813567ffffffffffffffff8111156101fc575f80fd5b8201601f8101841361020c575f80fd5b803567ffffffffffffffff811115610226576102266101c2565b604051601f8201601f19908116603f0116810167ffffffffffffffff81118282101715610255576102556101c2565b60405281815282820160200186101561026c575f80fd5b816020840160208301375f91810160200191909152949350505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f602082840312156102ce575f80fd5b505191905056fea2646970667358221220d319051755ff18c421a69e008595bedfbb92ff17bdae96bceb167843d9186e3064736f6c634300081a0033",
182
+ "bytecode": "0x6103da610034600b8282823980515f1a607314602857634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe730000000000000000000000000000000000000000301460806040526004361061009b575f3560e01c80637bc32ecf1161006e5780637bc32ecf146101425780638a3065c1146101555780638b0d9ff0146101a4578063b2e508a6146101b8578063bc1b392d146101ce575f80fd5b806301809eea1461009f5780632cf96bf9146100d057806355ee6275146100fe57806370a021ec1461011f575b5f80fd5b6100b26100ad3660046102bd565b6101d4565b6040516001600160c01b031990911681526020015b60405180910390f35b6100eb6100de3660046102f5565b6001600160c01b03191690565b60405160ff1990911681526020016100c7565b61011161010c3660046102f5565b6101fb565b6040519081526020016100c7565b61013261012d36600461030e565b610292565b60405190151581526020016100c7565b6101326101503660046102f5565b6102ab565b6100b261016336600461033f565b604080516bffffffffffffffffffffffff841660208201529081018290525f9060600160405160208183030381529060405280519060200120905092915050565b6101116101b23660046102f5565b60c01c90565b6101326101c63660046102f5565b60c01c151590565b5f6100b2565b80680100000000000000006101e98260c01c90565b106101f6576101f6610379565b919050565b5f73__$4b9aaffa8d044614668dad578b824b8eee$__63f48016ce602c6001600160c01b031985166040516001600160e01b031960e085901b16815260ff909216600483015260ff19166024820152604401602060405180830381865af4158015610268573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061028c919061038d565b92915050565b5f6001600160c01b0319808416908316145b9392505050565b5f6001600160c01b031982161561028c565b5f602082840312156102cd575f80fd5b813560ff19811681146102a4575f80fd5b80356001600160c01b0319811681146101f6575f80fd5b5f60208284031215610305575f80fd5b6102a4826102de565b5f806040838503121561031f575f80fd5b610328836102de565b9150610336602084016102de565b90509250929050565b5f8060408385031215610350575f80fd5b82356bffffffffffffffffffffffff8116811461036b575f80fd5b946020939093013593505050565b634e487b7160e01b5f52600160045260245ffd5b5f6020828403121561039d575f80fd5b505191905056fea2646970667358221220675dcb6c26090d8eed37201a05cb7130d14f0592ea21ac450da0c215cc4dba6364736f6c634300081a0033",
183
+ "deployedBytecode": "0x730000000000000000000000000000000000000000301460806040526004361061009b575f3560e01c80637bc32ecf1161006e5780637bc32ecf146101425780638a3065c1146101555780638b0d9ff0146101a4578063b2e508a6146101b8578063bc1b392d146101ce575f80fd5b806301809eea1461009f5780632cf96bf9146100d057806355ee6275146100fe57806370a021ec1461011f575b5f80fd5b6100b26100ad3660046102bd565b6101d4565b6040516001600160c01b031990911681526020015b60405180910390f35b6100eb6100de3660046102f5565b6001600160c01b03191690565b60405160ff1990911681526020016100c7565b61011161010c3660046102f5565b6101fb565b6040519081526020016100c7565b61013261012d36600461030e565b610292565b60405190151581526020016100c7565b6101326101503660046102f5565b6102ab565b6100b261016336600461033f565b604080516bffffffffffffffffffffffff841660208201529081018290525f9060600160405160208183030381529060405280519060200120905092915050565b6101116101b23660046102f5565b60c01c90565b6101326101c63660046102f5565b60c01c151590565b5f6100b2565b80680100000000000000006101e98260c01c90565b106101f6576101f6610379565b919050565b5f73__$4b9aaffa8d044614668dad578b824b8eee$__63f48016ce602c6001600160c01b031985166040516001600160e01b031960e085901b16815260ff909216600483015260ff19166024820152604401602060405180830381865af4158015610268573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061028c919061038d565b92915050565b5f6001600160c01b0319808416908316145b9392505050565b5f6001600160c01b031982161561028c565b5f602082840312156102cd575f80fd5b813560ff19811681146102a4575f80fd5b80356001600160c01b0319811681146101f6575f80fd5b5f60208284031215610305575f80fd5b6102a4826102de565b5f806040838503121561031f575f80fd5b610328836102de565b9150610336602084016102de565b90509250929050565b5f8060408385031215610350575f80fd5b82356bffffffffffffffffffffffff8116811461036b575f80fd5b946020939093013593505050565b634e487b7160e01b5f52600160045260245ffd5b5f6020828403121561039d575f80fd5b505191905056fea2646970667358221220675dcb6c26090d8eed37201a05cb7130d14f0592ea21ac450da0c215cc4dba6364736f6c634300081a0033",
66
184
  "linkReferences": {
67
185
  "contracts/type/Key32.sol": {
68
186
  "Key32Lib": [
69
187
  {
70
188
  "length": 20,
71
- "start": 308
189
+ "start": 562
72
190
  }
73
191
  ]
74
192
  }
@@ -78,7 +196,7 @@
78
196
  "Key32Lib": [
79
197
  {
80
198
  "length": 20,
81
- "start": 256
199
+ "start": 510
82
200
  }
83
201
  ]
84
202
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/d6293332115c6e23ce2bcb947a6b49a3.json"
3
+ "buildInfo": "../../../build-info/f69f8848066553ad68b089bc54311003.json"
4
4
  }
@@ -31,7 +31,33 @@
31
31
  },
32
32
  {
33
33
  "inputs": [],
34
- "name": "CUSTOM_ROLE_MIN",
34
+ "name": "COMPONENT_ROLE_MAX_INT",
35
+ "outputs": [
36
+ {
37
+ "internalType": "uint64",
38
+ "name": "",
39
+ "type": "uint64"
40
+ }
41
+ ],
42
+ "stateMutability": "view",
43
+ "type": "function"
44
+ },
45
+ {
46
+ "inputs": [],
47
+ "name": "COMPONENT_ROLE_MIN_INT",
48
+ "outputs": [
49
+ {
50
+ "internalType": "uint64",
51
+ "name": "",
52
+ "type": "uint64"
53
+ }
54
+ ],
55
+ "stateMutability": "view",
56
+ "type": "function"
57
+ },
58
+ {
59
+ "inputs": [],
60
+ "name": "CUSTOM_ROLE_MIN_INT",
35
61
  "outputs": [
36
62
  {
37
63
  "internalType": "uint64",
@@ -93,6 +119,44 @@
93
119
  "stateMutability": "pure",
94
120
  "type": "function"
95
121
  },
122
+ {
123
+ "inputs": [
124
+ {
125
+ "internalType": "RoleId",
126
+ "name": "roleId",
127
+ "type": "uint64"
128
+ }
129
+ ],
130
+ "name": "isComponentRole",
131
+ "outputs": [
132
+ {
133
+ "internalType": "bool",
134
+ "name": "",
135
+ "type": "bool"
136
+ }
137
+ ],
138
+ "stateMutability": "pure",
139
+ "type": "function"
140
+ },
141
+ {
142
+ "inputs": [
143
+ {
144
+ "internalType": "RoleId",
145
+ "name": "roleId",
146
+ "type": "uint64"
147
+ }
148
+ ],
149
+ "name": "isCustomRole",
150
+ "outputs": [
151
+ {
152
+ "internalType": "bool",
153
+ "name": "",
154
+ "type": "bool"
155
+ }
156
+ ],
157
+ "stateMutability": "pure",
158
+ "type": "function"
159
+ },
96
160
  {
97
161
  "inputs": [
98
162
  {
@@ -288,14 +352,14 @@
288
352
  "type": "function"
289
353
  }
290
354
  ],
291
- "bytecode": "0x610793610034600b8282823980515f1a607314602857634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe7300000000000000000000000000000000000000003014608060405260043610610106575f3560e01c80638ed252d81161009e578063bc1b392d1161006e578063bc1b392d14610210578063ceaaf86b14610216578063dda777d314610220578063f37f38f014610233575f80fd5b80638ed252d8146101d8578063915f1dbb1461013b57806393328fb7146101eb578063a42e52e9146101f3575f80fd5b806367cb8ec1116100d957806367cb8ec1146101805780636d3d2a7e146101b257806376d7ed4e146101c55780637c3940bf1461015c575f80fd5b8063057182b41461010a57806346729cd21461013b578063545ce21c1461015c578063616f31cc1461016d575b5f80fd5b6101266101183660046105c7565b67ffffffffffffffff161590565b60405190151581526020015b60405180910390f35b610143606481565b60405167ffffffffffffffff9091168152602001610132565b61014361016a3660046105c7565b90565b61014361017b3660046105c7565b610254565b61019f61018e3660046105c7565b60081b68ffffffffffffffff001690565b60405160ff199091168152602001610132565b6101436101c03660046105f0565b61026b565b6101436101d33660046105f0565b6102ec565b6101436101e636600461060b565b61037a565b610143606381565b6101266102013660046105c7565b67ffffffffffffffff16151590565b5f610143565b610143620f424081565b61014361022e366004610642565b610412565b6102466102413660046105c7565b61051a565b604051908152602001610132565b5f61026561016a83620f4240610682565b92915050565b604051632b10f60d60e21b815260ff821660048201525f9073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__9063ac43d83490602401602060405180830381865af41580156102bd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102e191906106a2565b6102659060646106c8565b604051632b10f60d60e21b815260ff821660048201525f9060639073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__9063ac43d83490602401602060405180830381865af4158015610341573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061036591906106a2565b6103709060646106f2565b6102659190610714565b604051632b10f60d60e21b815260ff831660048201525f9061040b90839073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__9063ac43d83490602401602060405180830381865af41580156103d2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103f691906106a2565b6104019060646106c8565b61016a9190610682565b9392505050565b604051632b10f60d60e21b815260ff821660048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__9063ac43d83490602401602060405180830381865af4158015610464573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104889190610733565b604051632b10f60d60e21b815260ff8516600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__9063ac43d83490602401602060405180830381865af41580156104d8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104fc91906106a2565b6105079060646106f2565b6001600160601b031661040b919061074a565b5f73__$4b9aaffa8d044614668dad578b824b8eee$__63f48016ce60088085901b68ffffffffffffffff00166040516001600160e01b031960e085901b16815260ff909216600483015260ff19166024820152604401602060405180830381865af415801561058b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102659190610733565b67ffffffffffffffff811681146105c4575f80fd5b50565b5f602082840312156105d7575f80fd5b813561040b816105af565b60ff811681146105c4575f80fd5b5f60208284031215610600575f80fd5b813561040b816105e2565b5f806040838503121561061c575f80fd5b8235610627816105e2565b91506020830135610637816105af565b809150509250929050565b5f8060408385031215610653575f80fd5b823561065e816105e2565b91506020830135610637816105e2565b634e487b7160e01b5f52601160045260245ffd5b67ffffffffffffffff81811683821601908111156102655761026561066e565b5f602082840312156106b2575f80fd5b81516001600160601b038116811461040b575f80fd5b67ffffffffffffffff81811683821602908116908181146106eb576106eb61066e565b5092915050565b6001600160601b0381811683821602908116908181146106eb576106eb61066e565b6001600160601b0381811683821601908111156102655761026561066e565b5f60208284031215610743575f80fd5b5051919050565b808201808211156102655761026561066e56fea2646970667358221220af70860c718be46615402f1a3909caf1fbe3db14f8376a833d91d6f416d1656764736f6c634300081a0033",
292
- "deployedBytecode": "0x7300000000000000000000000000000000000000003014608060405260043610610106575f3560e01c80638ed252d81161009e578063bc1b392d1161006e578063bc1b392d14610210578063ceaaf86b14610216578063dda777d314610220578063f37f38f014610233575f80fd5b80638ed252d8146101d8578063915f1dbb1461013b57806393328fb7146101eb578063a42e52e9146101f3575f80fd5b806367cb8ec1116100d957806367cb8ec1146101805780636d3d2a7e146101b257806376d7ed4e146101c55780637c3940bf1461015c575f80fd5b8063057182b41461010a57806346729cd21461013b578063545ce21c1461015c578063616f31cc1461016d575b5f80fd5b6101266101183660046105c7565b67ffffffffffffffff161590565b60405190151581526020015b60405180910390f35b610143606481565b60405167ffffffffffffffff9091168152602001610132565b61014361016a3660046105c7565b90565b61014361017b3660046105c7565b610254565b61019f61018e3660046105c7565b60081b68ffffffffffffffff001690565b60405160ff199091168152602001610132565b6101436101c03660046105f0565b61026b565b6101436101d33660046105f0565b6102ec565b6101436101e636600461060b565b61037a565b610143606381565b6101266102013660046105c7565b67ffffffffffffffff16151590565b5f610143565b610143620f424081565b61014361022e366004610642565b610412565b6102466102413660046105c7565b61051a565b604051908152602001610132565b5f61026561016a83620f4240610682565b92915050565b604051632b10f60d60e21b815260ff821660048201525f9073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__9063ac43d83490602401602060405180830381865af41580156102bd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102e191906106a2565b6102659060646106c8565b604051632b10f60d60e21b815260ff821660048201525f9060639073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__9063ac43d83490602401602060405180830381865af4158015610341573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061036591906106a2565b6103709060646106f2565b6102659190610714565b604051632b10f60d60e21b815260ff831660048201525f9061040b90839073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__9063ac43d83490602401602060405180830381865af41580156103d2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103f691906106a2565b6104019060646106c8565b61016a9190610682565b9392505050565b604051632b10f60d60e21b815260ff821660048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__9063ac43d83490602401602060405180830381865af4158015610464573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104889190610733565b604051632b10f60d60e21b815260ff8516600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__9063ac43d83490602401602060405180830381865af41580156104d8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104fc91906106a2565b6105079060646106f2565b6001600160601b031661040b919061074a565b5f73__$4b9aaffa8d044614668dad578b824b8eee$__63f48016ce60088085901b68ffffffffffffffff00166040516001600160e01b031960e085901b16815260ff909216600483015260ff19166024820152604401602060405180830381865af415801561058b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102659190610733565b67ffffffffffffffff811681146105c4575f80fd5b50565b5f602082840312156105d7575f80fd5b813561040b816105af565b60ff811681146105c4575f80fd5b5f60208284031215610600575f80fd5b813561040b816105e2565b5f806040838503121561061c575f80fd5b8235610627816105e2565b91506020830135610637816105af565b809150509250929050565b5f8060408385031215610653575f80fd5b823561065e816105e2565b91506020830135610637816105e2565b634e487b7160e01b5f52601160045260245ffd5b67ffffffffffffffff81811683821601908111156102655761026561066e565b5f602082840312156106b2575f80fd5b81516001600160601b038116811461040b575f80fd5b67ffffffffffffffff81811683821602908116908181146106eb576106eb61066e565b5092915050565b6001600160601b0381811683821602908116908181146106eb576106eb61066e565b6001600160601b0381811683821601908111156102655761026561066e565b5f60208284031215610743575f80fd5b5051919050565b808201808211156102655761026561066e56fea2646970667358221220af70860c718be46615402f1a3909caf1fbe3db14f8376a833d91d6f416d1656764736f6c634300081a0033",
355
+ "bytecode": "0x610843610034600b8282823980515f1a607314602857634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe7300000000000000000000000000000000000000003014608060405260043610610132575f3560e01c80637c3940bf116100b4578063a42e52e911610079578063a42e52e914610268578063bc1b392d14610285578063d9e5f7a01461028b578063dda777d31461029e578063f37f38f0146102b1575f80fd5b80637c3940bf1461019c57806385a4507c1461023c5780638ed252d814610245578063915f1dbb1461025857806393328fb714610260575f80fd5b8063616f31cc116100fa578063616f31cc146101ad57806361890d9b146101c057806367cb8ec1146101e45780636d3d2a7e1461021657806376d7ed4e14610229575f80fd5b8063057182b414610136578063163e40c5146101675780633b1eced31461018a57806346729cd214610193578063545ce21c1461019c575b5f80fd5b610152610144366004610677565b67ffffffffffffffff161590565b60405190151581526020015b60405180910390f35b610171620f424081565b60405167ffffffffffffffff909116815260200161015e565b610171614a3881565b6101716103e881565b6101716101aa366004610677565b90565b6101716101bb366004610677565b6102d2565b6101526101ce366004610677565b620f424067ffffffffffffffff91909116101590565b6102036101f2366004610677565b60081b68ffffffffffffffff001690565b60405160ff19909116815260200161015e565b6101716102243660046106a0565b6102e9565b6101716102373660046106a0565b61036a565b610171612ee081565b6101716102533660046106bb565b6103f8565b610171606481565b610171606381565b610152610276366004610677565b67ffffffffffffffff16151590565b5f610171565b610152610299366004610677565b610491565b6101716102ac3660046106f2565b6104c1565b6102c46102bf366004610677565b6105c9565b60405190815260200161015e565b5f6102e36101aa83620f4240610732565b92915050565b604051632b10f60d60e21b815260ff821660048201525f9073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__9063ac43d83490602401602060405180830381865af415801561033b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061035f9190610752565b6102e3906064610778565b604051632b10f60d60e21b815260ff821660048201525f9060639073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__9063ac43d83490602401602060405180830381865af41580156103bf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103e39190610752565b6103ee9060646107a2565b6102e391906107c4565b604051632b10f60d60e21b815260ff831660048201525f9061048a90839073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__9063ac43d83490602401602060405180830381865af4158015610450573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104749190610752565b610480906103e8610778565b6101aa9190610732565b9392505050565b5f81612ee067ffffffffffffffff82161080159061048a5750614a3867ffffffffffffffff821611159392505050565b604051632b10f60d60e21b815260ff821660048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__9063ac43d83490602401602060405180830381865af4158015610513573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061053791906107e3565b604051632b10f60d60e21b815260ff8516600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__9063ac43d83490602401602060405180830381865af4158015610587573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105ab9190610752565b6105b69060646107a2565b6001600160601b031661048a91906107fa565b5f73__$4b9aaffa8d044614668dad578b824b8eee$__63f48016ce6007600885901b68ffffffffffffffff00166040516001600160e01b031960e085901b16815260ff909216600483015260ff19166024820152604401602060405180830381865af415801561063b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102e391906107e3565b67ffffffffffffffff81168114610674575f80fd5b50565b5f60208284031215610687575f80fd5b813561048a8161065f565b60ff81168114610674575f80fd5b5f602082840312156106b0575f80fd5b813561048a81610692565b5f80604083850312156106cc575f80fd5b82356106d781610692565b915060208301356106e78161065f565b809150509250929050565b5f8060408385031215610703575f80fd5b823561070e81610692565b915060208301356106e781610692565b634e487b7160e01b5f52601160045260245ffd5b67ffffffffffffffff81811683821601908111156102e3576102e361071e565b5f60208284031215610762575f80fd5b81516001600160601b038116811461048a575f80fd5b67ffffffffffffffff818116838216029081169081811461079b5761079b61071e565b5092915050565b6001600160601b03818116838216029081169081811461079b5761079b61071e565b6001600160601b0381811683821601908111156102e3576102e361071e565b5f602082840312156107f3575f80fd5b5051919050565b808201808211156102e3576102e361071e56fea264697066735822122070016d33dc44da1022bcf3647babebe235af3aaabcf34a69df4b7d55f35df17364736f6c634300081a0033",
356
+ "deployedBytecode": "0x7300000000000000000000000000000000000000003014608060405260043610610132575f3560e01c80637c3940bf116100b4578063a42e52e911610079578063a42e52e914610268578063bc1b392d14610285578063d9e5f7a01461028b578063dda777d31461029e578063f37f38f0146102b1575f80fd5b80637c3940bf1461019c57806385a4507c1461023c5780638ed252d814610245578063915f1dbb1461025857806393328fb714610260575f80fd5b8063616f31cc116100fa578063616f31cc146101ad57806361890d9b146101c057806367cb8ec1146101e45780636d3d2a7e1461021657806376d7ed4e14610229575f80fd5b8063057182b414610136578063163e40c5146101675780633b1eced31461018a57806346729cd214610193578063545ce21c1461019c575b5f80fd5b610152610144366004610677565b67ffffffffffffffff161590565b60405190151581526020015b60405180910390f35b610171620f424081565b60405167ffffffffffffffff909116815260200161015e565b610171614a3881565b6101716103e881565b6101716101aa366004610677565b90565b6101716101bb366004610677565b6102d2565b6101526101ce366004610677565b620f424067ffffffffffffffff91909116101590565b6102036101f2366004610677565b60081b68ffffffffffffffff001690565b60405160ff19909116815260200161015e565b6101716102243660046106a0565b6102e9565b6101716102373660046106a0565b61036a565b610171612ee081565b6101716102533660046106bb565b6103f8565b610171606481565b610171606381565b610152610276366004610677565b67ffffffffffffffff16151590565b5f610171565b610152610299366004610677565b610491565b6101716102ac3660046106f2565b6104c1565b6102c46102bf366004610677565b6105c9565b60405190815260200161015e565b5f6102e36101aa83620f4240610732565b92915050565b604051632b10f60d60e21b815260ff821660048201525f9073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__9063ac43d83490602401602060405180830381865af415801561033b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061035f9190610752565b6102e3906064610778565b604051632b10f60d60e21b815260ff821660048201525f9060639073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__9063ac43d83490602401602060405180830381865af41580156103bf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103e39190610752565b6103ee9060646107a2565b6102e391906107c4565b604051632b10f60d60e21b815260ff831660048201525f9061048a90839073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__9063ac43d83490602401602060405180830381865af4158015610450573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104749190610752565b610480906103e8610778565b6101aa9190610732565b9392505050565b5f81612ee067ffffffffffffffff82161080159061048a5750614a3867ffffffffffffffff821611159392505050565b604051632b10f60d60e21b815260ff821660048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__9063ac43d83490602401602060405180830381865af4158015610513573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061053791906107e3565b604051632b10f60d60e21b815260ff8516600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__9063ac43d83490602401602060405180830381865af4158015610587573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105ab9190610752565b6105b69060646107a2565b6001600160601b031661048a91906107fa565b5f73__$4b9aaffa8d044614668dad578b824b8eee$__63f48016ce6007600885901b68ffffffffffffffff00166040516001600160e01b031960e085901b16815260ff909216600483015260ff19166024820152604401602060405180830381865af415801561063b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102e391906107e3565b67ffffffffffffffff81168114610674575f80fd5b50565b5f60208284031215610687575f80fd5b813561048a8161065f565b60ff81168114610674575f80fd5b5f602082840312156106b0575f80fd5b813561048a81610692565b5f80604083850312156106cc575f80fd5b82356106d781610692565b915060208301356106e78161065f565b809150509250929050565b5f8060408385031215610703575f80fd5b823561070e81610692565b915060208301356106e781610692565b634e487b7160e01b5f52601160045260245ffd5b67ffffffffffffffff81811683821601908111156102e3576102e361071e565b5f60208284031215610762575f80fd5b81516001600160601b038116811461048a575f80fd5b67ffffffffffffffff818116838216029081169081811461079b5761079b61071e565b5092915050565b6001600160601b03818116838216029081169081811461079b5761079b61071e565b6001600160601b0381811683821601908111156102e3576102e361071e565b5f602082840312156107f3575f80fd5b5051919050565b808201808211156102e3576102e361071e56fea264697066735822122070016d33dc44da1022bcf3647babebe235af3aaabcf34a69df4b7d55f35df17364736f6c634300081a0033",
293
357
  "linkReferences": {
294
358
  "contracts/type/Key32.sol": {
295
359
  "Key32Lib": [
296
360
  {
297
361
  "length": 20,
298
- "start": 1361
362
+ "start": 1536
299
363
  }
300
364
  ]
301
365
  },
@@ -303,19 +367,19 @@
303
367
  "ObjectTypeLib": [
304
368
  {
305
369
  "length": 20,
306
- "start": 697
370
+ "start": 823
307
371
  },
308
372
  {
309
373
  "length": 20,
310
- "start": 829
374
+ "start": 955
311
375
  },
312
376
  {
313
377
  "length": 20,
314
- "start": 974
378
+ "start": 1100
315
379
  },
316
380
  {
317
381
  "length": 20,
318
- "start": 1236
382
+ "start": 1411
319
383
  }
320
384
  ]
321
385
  },
@@ -323,7 +387,7 @@
323
387
  "VersionPartLib": [
324
388
  {
325
389
  "length": 20,
326
- "start": 1120
390
+ "start": 1295
327
391
  }
328
392
  ]
329
393
  }
@@ -333,7 +397,7 @@
333
397
  "Key32Lib": [
334
398
  {
335
399
  "length": 20,
336
- "start": 1309
400
+ "start": 1484
337
401
  }
338
402
  ]
339
403
  },
@@ -341,19 +405,19 @@
341
405
  "ObjectTypeLib": [
342
406
  {
343
407
  "length": 20,
344
- "start": 645
408
+ "start": 771
345
409
  },
346
410
  {
347
411
  "length": 20,
348
- "start": 777
412
+ "start": 903
349
413
  },
350
414
  {
351
415
  "length": 20,
352
- "start": 922
416
+ "start": 1048
353
417
  },
354
418
  {
355
419
  "length": 20,
356
- "start": 1184
420
+ "start": 1359
357
421
  }
358
422
  ]
359
423
  },
@@ -361,7 +425,7 @@
361
425
  "VersionPartLib": [
362
426
  {
363
427
  "length": 20,
364
- "start": 1068
428
+ "start": 1243
365
429
  }
366
430
  ]
367
431
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/d6293332115c6e23ce2bcb947a6b49a3.json"
3
+ "buildInfo": "../../../build-info/f69f8848066553ad68b089bc54311003.json"
4
4
  }
@@ -14,6 +14,30 @@
14
14
  "name": "ErrorSecondsLibDurationTooBig",
15
15
  "type": "error"
16
16
  },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "Seconds",
21
+ "name": "duration1",
22
+ "type": "uint40"
23
+ },
24
+ {
25
+ "internalType": "Seconds",
26
+ "name": "duration2",
27
+ "type": "uint40"
28
+ }
29
+ ],
30
+ "name": "add",
31
+ "outputs": [
32
+ {
33
+ "internalType": "Seconds",
34
+ "name": "",
35
+ "type": "uint40"
36
+ }
37
+ ],
38
+ "stateMutability": "pure",
39
+ "type": "function"
40
+ },
17
41
  {
18
42
  "inputs": [
19
43
  {
@@ -100,6 +124,30 @@
100
124
  "stateMutability": "pure",
101
125
  "type": "function"
102
126
  },
127
+ {
128
+ "inputs": [
129
+ {
130
+ "internalType": "Seconds",
131
+ "name": "duration1",
132
+ "type": "uint40"
133
+ },
134
+ {
135
+ "internalType": "Seconds",
136
+ "name": "duration2",
137
+ "type": "uint40"
138
+ }
139
+ ],
140
+ "name": "lt",
141
+ "outputs": [
142
+ {
143
+ "internalType": "bool",
144
+ "name": "",
145
+ "type": "bool"
146
+ }
147
+ ],
148
+ "stateMutability": "pure",
149
+ "type": "function"
150
+ },
103
151
  {
104
152
  "inputs": [],
105
153
  "name": "max",
@@ -191,8 +239,8 @@
191
239
  "type": "function"
192
240
  }
193
241
  ],
194
- "bytecode": "0x610288610034600b8282823980515f1a607314602857634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100a6575f3560e01c80638d38cd4b1161006e5780638d38cd4b146101325780639df876391461014c578063bc1b392d14610169578063da09d4841461016f578063f27c3bf614610195575f80fd5b80630c67422c146100aa5780634bd9351b146100d85780636ac5db19146100e1578063790a38ad146100ec57806383ffcdef14610115575b5f80fd5b6100bd6100b83660046101d1565b61019f565b60405164ffffffffff90911681526020015b60405180910390f35b620151806100bd565b64ffffffffff6100bd565b6101056100fa366004610201565b64ffffffffff161590565b60405190151581526020016100cf565b610105610123366004610221565b64ffffffffff90811691161190565b610105610140366004610201565b64ffffffffff16151590565b61010561015a366004610221565b64ffffffffff90811691161490565b5f6100bd565b61018761017d366004610201565b64ffffffffff1690565b6040519081526020016100cf565b6301e133806100bd565b5f64ffffffffff8211156101cd576040516385cb094d60e01b81526004810183905260240160405180910390fd5b5090565b5f602082840312156101e1575f80fd5b5035919050565b803564ffffffffff811681146101fc575f80fd5b919050565b5f60208284031215610211575f80fd5b61021a826101e8565b9392505050565b5f8060408385031215610232575f80fd5b61023b836101e8565b9150610249602084016101e8565b9050925092905056fea2646970667358221220af860ac37e7f950f0b00ff996884014bb6a63951c43b119e3093fd80dc1ea32e64736f6c634300081a0033",
195
- "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600436106100a6575f3560e01c80638d38cd4b1161006e5780638d38cd4b146101325780639df876391461014c578063bc1b392d14610169578063da09d4841461016f578063f27c3bf614610195575f80fd5b80630c67422c146100aa5780634bd9351b146100d85780636ac5db19146100e1578063790a38ad146100ec57806383ffcdef14610115575b5f80fd5b6100bd6100b83660046101d1565b61019f565b60405164ffffffffff90911681526020015b60405180910390f35b620151806100bd565b64ffffffffff6100bd565b6101056100fa366004610201565b64ffffffffff161590565b60405190151581526020016100cf565b610105610123366004610221565b64ffffffffff90811691161190565b610105610140366004610201565b64ffffffffff16151590565b61010561015a366004610221565b64ffffffffff90811691161490565b5f6100bd565b61018761017d366004610201565b64ffffffffff1690565b6040519081526020016100cf565b6301e133806100bd565b5f64ffffffffff8211156101cd576040516385cb094d60e01b81526004810183905260240160405180910390fd5b5090565b5f602082840312156101e1575f80fd5b5035919050565b803564ffffffffff811681146101fc575f80fd5b919050565b5f60208284031215610211575f80fd5b61021a826101e8565b9392505050565b5f8060408385031215610232575f80fd5b61023b836101e8565b9150610249602084016101e8565b9050925092905056fea2646970667358221220af860ac37e7f950f0b00ff996884014bb6a63951c43b119e3093fd80dc1ea32e64736f6c634300081a0033",
242
+ "bytecode": "0x61030c610034600b8282823980515f1a607314602857634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100bc575f3560e01c806398f647b11161007957806398f647b1146101585780639df876391461016b578063add9ce9914610188578063bc1b392d146101a5578063da09d484146101ab578063f27c3bf6146101d1575f80fd5b80630c67422c146100c05780634bd9351b146100ee5780636ac5db19146100f7578063790a38ad1461010257806383ffcdef1461012b5780638d38cd4b1461013e575b5f80fd5b6100d36100ce366004610233565b6101db565b60405164ffffffffff90911681526020015b60405180910390f35b620151806100d3565b64ffffffffff6100d3565b61011b610110366004610263565b64ffffffffff161590565b60405190151581526020016100e5565b61011b61013936600461027c565b61020d565b61011b61014c366004610263565b64ffffffffff16151590565b6100d361016636600461027c565b610221565b61011b61017936600461027c565b64ffffffffff90811691161490565b61011b61019636600461027c565b64ffffffffff90811691161090565b5f6100d3565b6101c36101b9366004610263565b64ffffffffff1690565b6040519081526020016100e5565b6301e133806100d3565b5f64ffffffffff821115610209576040516385cb094d60e01b81526004810183905260240160405180910390fd5b5090565b64ffffffffff808216908316115b92915050565b5f61022c82846102ad565b9392505050565b5f60208284031215610243575f80fd5b5035919050565b803564ffffffffff8116811461025e575f80fd5b919050565b5f60208284031215610273575f80fd5b61022c8261024a565b5f806040838503121561028d575f80fd5b6102968361024a565b91506102a46020840161024a565b90509250929050565b64ffffffffff818116838216019081111561021b57634e487b7160e01b5f52601160045260245ffdfea2646970667358221220e689048f990175fceb299fa6c3c40a51da59d53a90b40ebf651ff1814520cd2164736f6c634300081a0033",
243
+ "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600436106100bc575f3560e01c806398f647b11161007957806398f647b1146101585780639df876391461016b578063add9ce9914610188578063bc1b392d146101a5578063da09d484146101ab578063f27c3bf6146101d1575f80fd5b80630c67422c146100c05780634bd9351b146100ee5780636ac5db19146100f7578063790a38ad1461010257806383ffcdef1461012b5780638d38cd4b1461013e575b5f80fd5b6100d36100ce366004610233565b6101db565b60405164ffffffffff90911681526020015b60405180910390f35b620151806100d3565b64ffffffffff6100d3565b61011b610110366004610263565b64ffffffffff161590565b60405190151581526020016100e5565b61011b61013936600461027c565b61020d565b61011b61014c366004610263565b64ffffffffff16151590565b6100d361016636600461027c565b610221565b61011b61017936600461027c565b64ffffffffff90811691161490565b61011b61019636600461027c565b64ffffffffff90811691161090565b5f6100d3565b6101c36101b9366004610263565b64ffffffffff1690565b6040519081526020016100e5565b6301e133806100d3565b5f64ffffffffff821115610209576040516385cb094d60e01b81526004810183905260240160405180910390fd5b5090565b64ffffffffff808216908316115b92915050565b5f61022c82846102ad565b9392505050565b5f60208284031215610243575f80fd5b5035919050565b803564ffffffffff8116811461025e575f80fd5b919050565b5f60208284031215610273575f80fd5b61022c8261024a565b5f806040838503121561028d575f80fd5b6102968361024a565b91506102a46020840161024a565b90509250929050565b64ffffffffff818116838216019081111561021b57634e487b7160e01b5f52601160045260245ffdfea2646970667358221220e689048f990175fceb299fa6c3c40a51da59d53a90b40ebf651ff1814520cd2164736f6c634300081a0033",
196
244
  "linkReferences": {},
197
245
  "deployedLinkReferences": {}
198
246
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/d6293332115c6e23ce2bcb947a6b49a3.json"
3
+ "buildInfo": "../../../build-info/f69f8848066553ad68b089bc54311003.json"
4
4
  }
@@ -108,6 +108,25 @@
108
108
  "stateMutability": "pure",
109
109
  "type": "function"
110
110
  },
111
+ {
112
+ "inputs": [
113
+ {
114
+ "internalType": "Selector",
115
+ "name": "s",
116
+ "type": "bytes4"
117
+ }
118
+ ],
119
+ "name": "toString",
120
+ "outputs": [
121
+ {
122
+ "internalType": "string",
123
+ "name": "",
124
+ "type": "string"
125
+ }
126
+ ],
127
+ "stateMutability": "pure",
128
+ "type": "function"
129
+ },
111
130
  {
112
131
  "inputs": [],
113
132
  "name": "zero",
@@ -122,8 +141,8 @@
122
141
  "type": "function"
123
142
  }
124
143
  ],
125
- "bytecode": "0x6101b8610034600b8282823980515f1a607314602857634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe730000000000000000000000000000000000000000301460806040526004361061006b575f3560e01c806301c401d71461006f57806325431b16146100a457806332ad87b1146100c55780636b15ee8b146100e1578063bc1b392d1461010b578063dd435e4a146100e1575b5f80fd5b61008f61007d366004610129565b6001600160e01b031990811691161490565b60405190151581526020015b60405180910390f35b61008f6100b2366004610129565b6001600160e01b03199081169116141590565b61008f6100d3366004610160565b6001600160e01b0319161590565b6100f26100ef366004610160565b90565b6040516001600160e01b0319909116815260200161009b565b5f6100f2565b6001600160e01b031981168114610126575f80fd5b50565b5f806040838503121561013a575f80fd5b823561014581610111565b9150602083013561015581610111565b809150509250929050565b5f60208284031215610170575f80fd5b813561017b81610111565b939250505056fea2646970667358221220808b1010b727b91a67a8c8ac2da233bd416eb2c89d3092462fb741252a65285f64736f6c634300081a0033",
126
- "deployedBytecode": "0x730000000000000000000000000000000000000000301460806040526004361061006b575f3560e01c806301c401d71461006f57806325431b16146100a457806332ad87b1146100c55780636b15ee8b146100e1578063bc1b392d1461010b578063dd435e4a146100e1575b5f80fd5b61008f61007d366004610129565b6001600160e01b031990811691161490565b60405190151581526020015b60405180910390f35b61008f6100b2366004610129565b6001600160e01b03199081169116141590565b61008f6100d3366004610160565b6001600160e01b0319161590565b6100f26100ef366004610160565b90565b6040516001600160e01b0319909116815260200161009b565b5f6100f2565b6001600160e01b031981168114610126575f80fd5b50565b5f806040838503121561013a575f80fd5b823561014581610111565b9150602083013561015581610111565b809150509250929050565b5f60208284031215610170575f80fd5b813561017b81610111565b939250505056fea2646970667358221220808b1010b727b91a67a8c8ac2da233bd416eb2c89d3092462fb741252a65285f64736f6c634300081a0033",
144
+ "bytecode": "0x610250610034600b8282823980515f1a607314602857634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe7300000000000000000000000000000000000000003014608060405260043610610085575f3560e01c80636b15ee8b116100635780636b15ee8b146100fb578063b332d2d914610125578063bc1b392d1461016e578063dd435e4a146100fb575f80fd5b806301c401d71461008957806325431b16146100be57806332ad87b1146100df575b5f80fd5b6100a961009736600461018c565b6001600160e01b031990811691161490565b60405190151581526020015b60405180910390f35b6100a96100cc36600461018c565b6001600160e01b03199081169116141590565b6100a96100ed3660046101c3565b6001600160e01b0319161590565b61010c6101093660046101c3565b90565b6040516001600160e01b031990911681526020016100b5565b6101616101333660046101c3565b604080516001600160e01b031983166020820152606091016040516020818303038152906040529050919050565b6040516100b591906101e5565b5f61010c565b6001600160e01b031981168114610189575f80fd5b50565b5f806040838503121561019d575f80fd5b82356101a881610174565b915060208301356101b881610174565b809150509250929050565b5f602082840312156101d3575f80fd5b81356101de81610174565b9392505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f8301168401019150509291505056fea2646970667358221220cec324ea529e7c327db80a3a5c9163a03cbb3845913d4f08153491f43f632c4a64736f6c634300081a0033",
145
+ "deployedBytecode": "0x7300000000000000000000000000000000000000003014608060405260043610610085575f3560e01c80636b15ee8b116100635780636b15ee8b146100fb578063b332d2d914610125578063bc1b392d1461016e578063dd435e4a146100fb575f80fd5b806301c401d71461008957806325431b16146100be57806332ad87b1146100df575b5f80fd5b6100a961009736600461018c565b6001600160e01b031990811691161490565b60405190151581526020015b60405180910390f35b6100a96100cc36600461018c565b6001600160e01b03199081169116141590565b6100a96100ed3660046101c3565b6001600160e01b0319161590565b61010c6101093660046101c3565b90565b6040516001600160e01b031990911681526020016100b5565b6101616101333660046101c3565b604080516001600160e01b031983166020820152606091016040516020818303038152906040529050919050565b6040516100b591906101e5565b5f61010c565b6001600160e01b031981168114610189575f80fd5b50565b5f806040838503121561019d575f80fd5b82356101a881610174565b915060208301356101b881610174565b809150509250929050565b5f602082840312156101d3575f80fd5b81356101de81610174565b9392505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f8301168401019150509291505056fea2646970667358221220cec324ea529e7c327db80a3a5c9163a03cbb3845913d4f08153491f43f632c4a64736f6c634300081a0033",
127
146
  "linkReferences": {},
128
147
  "deployedLinkReferences": {}
129
148
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/d6293332115c6e23ce2bcb947a6b49a3.json"
3
+ "buildInfo": "../../../build-info/f69f8848066553ad68b089bc54311003.json"
4
4
  }
@@ -3,8 +3,8 @@
3
3
  "contractName": "SelectorSetLib",
4
4
  "sourceName": "contracts/type/Selector.sol",
5
5
  "abi": [],
6
- "bytecode": "0x610462610034600b8282823980515f1a607314602857634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe730000000000000000000000000000000000000000301460806040526004361061006b575f3560e01c806312462a721461006f57806379ed9dc514610097578063868b3e07146100aa5780639f6e99a8146100ca578063dbb64db8146100eb578063dfe63db91461010a575b5f80fd5b61008261007d366004610374565b541590565b60405190151581526020015b60405180910390f35b6100826100a536600461038b565b610136565b6100bc6100b8366004610374565b5490565b60405190815260200161008e565b8180156100d5575f80fd5b506100e96100e436600461038b565b61015a565b005b8180156100f6575f80fd5b506100e961010536600461038b565b6102b7565b61011d6101183660046103c5565b610336565b6040516001600160e01b0319909116815260200161008e565b6001600160e01b031981165f90815260018301602052604090205415155b92915050565b6001600160e01b031981165f9081526001830160205260408120549081900361018257505050565b5f61018e6001836103e5565b84549091505f906101a1906001906103e5565b9050818114610253575f855f0182815481106101bf576101bf610404565b905f5260205f2090600891828204019190066004029054906101000a900460e01b905080865f0184815481106101f7576101f7610404565b905f5260205f2090600891828204019190066004026101000a81548163ffffffff021916908360e01c021790555083866001015f836001600160e01b0319166001600160e01b03191681526020019081526020015f2081905550505b845485908061026457610264610418565b5f828152602080822060085f1990940193840401805463ffffffff600460078716026101000a0219169055919092556001600160e01b031990951681526001959095019093525050604082209190915550565b6001600160e01b031981165f908152600183016020526040902054156102db575050565b8154600180820184555f84815260208082206008850401805463ffffffff60079096166004026101000a958602191660e087901c959095029490941790935584546001600160e01b0319909416815293019052604090912055565b5f825f01828154811061034b5761034b610404565b905f5260205f2090600891828204019190066004029054906101000a900460e01b905092915050565b5f60208284031215610384575f80fd5b5035919050565b5f806040838503121561039c575f80fd5b8235915060208301356001600160e01b0319811681146103ba575f80fd5b809150509250929050565b5f80604083850312156103d6575f80fd5b50508035926020909101359150565b8181038181111561015457634e487b7160e01b5f52601160045260245ffd5b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52603160045260245ffdfea2646970667358221220be45fa341af1e5ea7609fb292d7db6209a77cc59a8db4b1c744804dd0bf7674e64736f6c634300081a0033",
7
- "deployedBytecode": "0x730000000000000000000000000000000000000000301460806040526004361061006b575f3560e01c806312462a721461006f57806379ed9dc514610097578063868b3e07146100aa5780639f6e99a8146100ca578063dbb64db8146100eb578063dfe63db91461010a575b5f80fd5b61008261007d366004610374565b541590565b60405190151581526020015b60405180910390f35b6100826100a536600461038b565b610136565b6100bc6100b8366004610374565b5490565b60405190815260200161008e565b8180156100d5575f80fd5b506100e96100e436600461038b565b61015a565b005b8180156100f6575f80fd5b506100e961010536600461038b565b6102b7565b61011d6101183660046103c5565b610336565b6040516001600160e01b0319909116815260200161008e565b6001600160e01b031981165f90815260018301602052604090205415155b92915050565b6001600160e01b031981165f9081526001830160205260408120549081900361018257505050565b5f61018e6001836103e5565b84549091505f906101a1906001906103e5565b9050818114610253575f855f0182815481106101bf576101bf610404565b905f5260205f2090600891828204019190066004029054906101000a900460e01b905080865f0184815481106101f7576101f7610404565b905f5260205f2090600891828204019190066004026101000a81548163ffffffff021916908360e01c021790555083866001015f836001600160e01b0319166001600160e01b03191681526020019081526020015f2081905550505b845485908061026457610264610418565b5f828152602080822060085f1990940193840401805463ffffffff600460078716026101000a0219169055919092556001600160e01b031990951681526001959095019093525050604082209190915550565b6001600160e01b031981165f908152600183016020526040902054156102db575050565b8154600180820184555f84815260208082206008850401805463ffffffff60079096166004026101000a958602191660e087901c959095029490941790935584546001600160e01b0319909416815293019052604090912055565b5f825f01828154811061034b5761034b610404565b905f5260205f2090600891828204019190066004029054906101000a900460e01b905092915050565b5f60208284031215610384575f80fd5b5035919050565b5f806040838503121561039c575f80fd5b8235915060208301356001600160e01b0319811681146103ba575f80fd5b809150509250929050565b5f80604083850312156103d6575f80fd5b50508035926020909101359150565b8181038181111561015457634e487b7160e01b5f52601160045260245ffd5b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52603160045260245ffdfea2646970667358221220be45fa341af1e5ea7609fb292d7db6209a77cc59a8db4b1c744804dd0bf7674e64736f6c634300081a0033",
6
+ "bytecode": "0x610462610034600b8282823980515f1a607314602857634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe730000000000000000000000000000000000000000301460806040526004361061006b575f3560e01c806312462a721461006f57806379ed9dc514610097578063868b3e07146100aa5780639f6e99a8146100ca578063dbb64db8146100eb578063dfe63db91461010a575b5f80fd5b61008261007d366004610374565b541590565b60405190151581526020015b60405180910390f35b6100826100a536600461038b565b610136565b6100bc6100b8366004610374565b5490565b60405190815260200161008e565b8180156100d5575f80fd5b506100e96100e436600461038b565b61015a565b005b8180156100f6575f80fd5b506100e961010536600461038b565b6102b7565b61011d6101183660046103c5565b610336565b6040516001600160e01b0319909116815260200161008e565b6001600160e01b031981165f90815260018301602052604090205415155b92915050565b6001600160e01b031981165f9081526001830160205260408120549081900361018257505050565b5f61018e6001836103e5565b84549091505f906101a1906001906103e5565b9050818114610253575f855f0182815481106101bf576101bf610404565b905f5260205f2090600891828204019190066004029054906101000a900460e01b905080865f0184815481106101f7576101f7610404565b905f5260205f2090600891828204019190066004026101000a81548163ffffffff021916908360e01c021790555083866001015f836001600160e01b0319166001600160e01b03191681526020019081526020015f2081905550505b845485908061026457610264610418565b5f828152602080822060085f1990940193840401805463ffffffff600460078716026101000a0219169055919092556001600160e01b031990951681526001959095019093525050604082209190915550565b6001600160e01b031981165f908152600183016020526040902054156102db575050565b8154600180820184555f84815260208082206008850401805463ffffffff60079096166004026101000a958602191660e087901c959095029490941790935584546001600160e01b0319909416815293019052604090912055565b5f825f01828154811061034b5761034b610404565b905f5260205f2090600891828204019190066004029054906101000a900460e01b905092915050565b5f60208284031215610384575f80fd5b5035919050565b5f806040838503121561039c575f80fd5b8235915060208301356001600160e01b0319811681146103ba575f80fd5b809150509250929050565b5f80604083850312156103d6575f80fd5b50508035926020909101359150565b8181038181111561015457634e487b7160e01b5f52601160045260245ffd5b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52603160045260245ffdfea2646970667358221220fde2f28ecba1e6d54fb8a567ce25f08511f783922bcda058893e71d1b7d665ec64736f6c634300081a0033",
7
+ "deployedBytecode": "0x730000000000000000000000000000000000000000301460806040526004361061006b575f3560e01c806312462a721461006f57806379ed9dc514610097578063868b3e07146100aa5780639f6e99a8146100ca578063dbb64db8146100eb578063dfe63db91461010a575b5f80fd5b61008261007d366004610374565b541590565b60405190151581526020015b60405180910390f35b6100826100a536600461038b565b610136565b6100bc6100b8366004610374565b5490565b60405190815260200161008e565b8180156100d5575f80fd5b506100e96100e436600461038b565b61015a565b005b8180156100f6575f80fd5b506100e961010536600461038b565b6102b7565b61011d6101183660046103c5565b610336565b6040516001600160e01b0319909116815260200161008e565b6001600160e01b031981165f90815260018301602052604090205415155b92915050565b6001600160e01b031981165f9081526001830160205260408120549081900361018257505050565b5f61018e6001836103e5565b84549091505f906101a1906001906103e5565b9050818114610253575f855f0182815481106101bf576101bf610404565b905f5260205f2090600891828204019190066004029054906101000a900460e01b905080865f0184815481106101f7576101f7610404565b905f5260205f2090600891828204019190066004026101000a81548163ffffffff021916908360e01c021790555083866001015f836001600160e01b0319166001600160e01b03191681526020019081526020015f2081905550505b845485908061026457610264610418565b5f828152602080822060085f1990940193840401805463ffffffff600460078716026101000a0219169055919092556001600160e01b031990951681526001959095019093525050604082209190915550565b6001600160e01b031981165f908152600183016020526040902054156102db575050565b8154600180820184555f84815260208082206008850401805463ffffffff60079096166004026101000a958602191660e087901c959095029490941790935584546001600160e01b0319909416815293019052604090912055565b5f825f01828154811061034b5761034b610404565b905f5260205f2090600891828204019190066004029054906101000a900460e01b905092915050565b5f60208284031215610384575f80fd5b5035919050565b5f806040838503121561039c575f80fd5b8235915060208301356001600160e01b0319811681146103ba575f80fd5b809150509250929050565b5f80604083850312156103d6575f80fd5b50508035926020909101359150565b8181038181111561015457634e487b7160e01b5f52601160045260245ffd5b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52603160045260245ffdfea2646970667358221220fde2f28ecba1e6d54fb8a567ce25f08511f783922bcda058893e71d1b7d665ec64736f6c634300081a0033",
8
8
  "linkReferences": {},
9
9
  "deployedLinkReferences": {}
10
10
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/d6293332115c6e23ce2bcb947a6b49a3.json"
3
+ "buildInfo": "../../../build-info/f69f8848066553ad68b089bc54311003.json"
4
4
  }
@@ -83,10 +83,23 @@
83
83
  ],
84
84
  "stateMutability": "pure",
85
85
  "type": "function"
86
+ },
87
+ {
88
+ "inputs": [],
89
+ "name": "zero",
90
+ "outputs": [
91
+ {
92
+ "internalType": "StateId",
93
+ "name": "",
94
+ "type": "uint8"
95
+ }
96
+ ],
97
+ "stateMutability": "pure",
98
+ "type": "function"
86
99
  }
87
100
  ],
88
- "bytecode": "0x610184610034600b8282823980515f1a607314602857634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe7300000000000000000000000000000000000000003014608060405260043610610055575f3560e01c80632c2f8a67146100595780636f91962014610081578063ac43d83414610096578063b2466acf146100c7575b5f80fd5b61006c610067366004610104565b6100dd565b60405190151581526020015b60405180910390f35b61006c61008f366004610135565b60ff161590565b6100aa6100a4366004610135565b60ff1690565b6040516bffffffffffffffffffffffff9091168152602001610078565b61006c6100d5366004610135565b60ff16151590565b5f60ff808416908316145b9392505050565b803560ff811681146100ff575f80fd5b919050565b5f8060408385031215610115575f80fd5b61011e836100ef565b915061012c602084016100ef565b90509250929050565b5f60208284031215610145575f80fd5b6100e8826100ef56fea264697066735822122006b46b33ddb2f4701fd0151c656584e781bb09d86522fc52637fd83aab71fb0464736f6c634300081a0033",
89
- "deployedBytecode": "0x7300000000000000000000000000000000000000003014608060405260043610610055575f3560e01c80632c2f8a67146100595780636f91962014610081578063ac43d83414610096578063b2466acf146100c7575b5f80fd5b61006c610067366004610104565b6100dd565b60405190151581526020015b60405180910390f35b61006c61008f366004610135565b60ff161590565b6100aa6100a4366004610135565b60ff1690565b6040516bffffffffffffffffffffffff9091168152602001610078565b61006c6100d5366004610135565b60ff16151590565b5f60ff808416908316145b9392505050565b803560ff811681146100ff575f80fd5b919050565b5f8060408385031215610115575f80fd5b61011e836100ef565b915061012c602084016100ef565b90509250929050565b5f60208284031215610145575f80fd5b6100e8826100ef56fea264697066735822122006b46b33ddb2f4701fd0151c656584e781bb09d86522fc52637fd83aab71fb0464736f6c634300081a0033",
101
+ "bytecode": "0x61019d610034600b8282823980515f1a607314602857634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe7300000000000000000000000000000000000000003014608060405260043610610060575f3560e01c80632c2f8a67146100645780636f9196201461008c578063ac43d834146100a1578063b2466acf146100d2578063bc1b392d146100e8575b5f80fd5b61007761007236600461011d565b6100f6565b60405190151581526020015b60405180910390f35b61007761009a36600461014e565b60ff161590565b6100b56100af36600461014e565b60ff1690565b6040516bffffffffffffffffffffffff9091168152602001610083565b6100776100e036600461014e565b60ff16151590565b6040515f8152602001610083565b5f60ff808416908316145b9392505050565b803560ff81168114610118575f80fd5b919050565b5f806040838503121561012e575f80fd5b61013783610108565b915061014560208401610108565b90509250929050565b5f6020828403121561015e575f80fd5b6101018261010856fea2646970667358221220211c23dcbdad234946892312c2da9de3ea1288517cda6fcb025045d54b9f259c64736f6c634300081a0033",
102
+ "deployedBytecode": "0x7300000000000000000000000000000000000000003014608060405260043610610060575f3560e01c80632c2f8a67146100645780636f9196201461008c578063ac43d834146100a1578063b2466acf146100d2578063bc1b392d146100e8575b5f80fd5b61007761007236600461011d565b6100f6565b60405190151581526020015b60405180910390f35b61007761009a36600461014e565b60ff161590565b6100b56100af36600461014e565b60ff1690565b6040516bffffffffffffffffffffffff9091168152602001610083565b6100776100e036600461014e565b60ff16151590565b6040515f8152602001610083565b5f60ff808416908316145b9392505050565b803560ff81168114610118575f80fd5b919050565b5f806040838503121561012e575f80fd5b61013783610108565b915061014560208401610108565b90509250929050565b5f6020828403121561015e575f80fd5b6101018261010856fea2646970667358221220211c23dcbdad234946892312c2da9de3ea1288517cda6fcb025045d54b9f259c64736f6c634300081a0033",
90
103
  "linkReferences": {},
91
104
  "deployedLinkReferences": {}
92
105
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/d6293332115c6e23ce2bcb947a6b49a3.json"
3
+ "buildInfo": "../../../build-info/f69f8848066553ad68b089bc54311003.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/d6293332115c6e23ce2bcb947a6b49a3.json"
3
+ "buildInfo": "../../../build-info/f69f8848066553ad68b089bc54311003.json"
4
4
  }