@etherisc/gif-next 0.0.2-f18fb8b-243 → 0.0.2-f1b01e0-214

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