@etherisc/gif-next 0.0.2-f12cf4d-104 → 0.0.2-f13d67f-541

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