@etherisc/gif-next 0.0.2-c576a00-897 → 0.0.2-c5f9a75-197

Sign up to get free protection for your applications and to get access to all the features.
Files changed (750) hide show
  1. package/README.md +309 -21
  2. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  3. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1234 -0
  4. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  5. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1206 -0
  6. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  7. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +358 -0
  8. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  9. package/artifacts/contracts/{instance/module/access → authorization}/IAccess.sol/IAccess.json +1 -1
  10. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1013 -0
  12. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +258 -0
  14. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +290 -0
  16. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  17. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +148 -0
  18. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +390 -0
  20. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +190 -0
  22. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  23. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1342 -0
  24. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +410 -0
  26. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  27. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +1012 -0
  28. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1405 -0
  30. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +818 -0
  32. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  33. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +906 -0
  34. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +932 -0
  36. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  37. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1463 -0
  38. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  39. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +410 -0
  40. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +1712 -0
  42. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +414 -0
  44. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  46. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  47. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1411 -0
  48. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  49. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1171 -0
  50. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  51. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1517 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +1978 -0
  54. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  55. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +703 -0
  56. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  57. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +287 -1652
  58. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  59. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +757 -0
  60. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  61. package/artifacts/contracts/instance/Instance.sol/Instance.json +373 -1995
  62. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  63. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1623 -0
  64. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  65. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +601 -0
  66. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  67. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1850 -0
  68. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  69. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1053 -0
  70. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  71. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +714 -0
  72. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  73. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3587 -0
  74. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  75. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  76. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  77. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.json +137 -0
  78. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  79. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  80. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  81. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +182 -0
  82. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  83. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +181 -0
  84. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  85. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +129 -0
  86. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  87. package/artifacts/contracts/{experiment/kvstore → instance/module}/IBundle.sol/IBundle.json +1 -1
  88. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  89. package/artifacts/contracts/instance/module/{bundle/IBundle.sol/IBundle.json → IComponents.sol/IComponents.json} +2 -2
  90. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  91. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.json +10 -0
  92. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  93. package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
  94. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  95. package/artifacts/contracts/instance/module/{risk/IRisk.sol → IRisk.sol}/IRisk.json +1 -1
  96. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  97. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  98. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  99. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +979 -0
  100. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  101. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +418 -0
  102. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  103. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  104. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  105. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +765 -0
  106. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  107. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +675 -0
  108. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  109. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +871 -0
  110. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  111. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +927 -0
  112. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  113. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +710 -0
  114. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  115. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1248 -0
  116. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  117. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +410 -0
  118. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  119. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1367 -0
  120. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  121. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +802 -0
  122. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  123. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +907 -0
  124. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  125. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +909 -0
  126. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  127. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1198 -0
  128. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  129. package/artifacts/contracts/pool/Pool.sol/Pool.json +1034 -0
  130. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  131. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1474 -0
  132. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  133. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +726 -0
  134. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  135. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +737 -0
  136. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  137. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +698 -0
  138. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  139. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1096 -0
  140. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  141. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +410 -0
  142. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  143. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1346 -0
  144. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  145. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +814 -0
  146. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  147. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → product/IApplicationService.sol/IApplicationService.json} +259 -219
  148. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  149. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +886 -0
  150. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  151. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +867 -0
  152. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  153. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +549 -0
  154. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  155. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +948 -0
  156. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  157. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → product/IRiskService.sol/IRiskService.json} +202 -178
  158. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  159. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1239 -0
  160. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  161. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +770 -0
  162. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  163. package/artifacts/contracts/product/PricingService.sol/PricingService.json +865 -0
  164. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  165. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +746 -0
  166. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  167. package/artifacts/contracts/product/Product.sol/Product.json +1054 -0
  168. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  169. package/artifacts/contracts/product/RiskService.sol/RiskService.json +588 -0
  170. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  171. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +682 -0
  172. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  173. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +242 -12
  174. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  175. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +924 -119
  176. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  177. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +940 -0
  178. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  179. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +52 -0
  180. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  181. package/artifacts/contracts/registry/Registry.sol/Registry.json +1343 -220
  182. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  183. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1858 -0
  184. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  185. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1345 -0
  186. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  187. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +701 -0
  188. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  189. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +164 -0
  190. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  191. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1169 -0
  192. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  193. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +214 -0
  194. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  195. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +661 -0
  196. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  197. package/artifacts/contracts/shared/Component.sol/Component.json +685 -0
  198. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  199. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1573 -0
  200. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  201. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +794 -0
  202. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  203. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +432 -0
  204. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  205. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +92 -0
  206. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  207. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +605 -0
  208. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  209. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1033 -0
  210. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  211. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +700 -0
  212. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  213. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +474 -0
  214. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  215. package/artifacts/contracts/{experiment/statemachine/ISM.sol/ISM.json → shared/ILifecycle.sol/ILifecycle.json} +37 -51
  216. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  217. package/artifacts/contracts/{components/IBaseComponent.sol/IBaseComponent.json → shared/INftOwnable.sol/INftOwnable.json} +37 -80
  218. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  219. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +175 -0
  220. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  221. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +91 -31
  222. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  223. package/artifacts/contracts/{registry → shared}/IRegistryLinked.sol/IRegistryLinked.json +13 -2
  224. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  225. package/artifacts/contracts/{instance/InstanceBase.sol/InstanceBase.json → shared/IService.sol/IService.json} +168 -135
  226. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +4 -0
  227. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +39 -0
  228. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  229. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  230. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  231. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +793 -0
  232. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  233. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +497 -0
  234. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  235. package/artifacts/contracts/{instance/module/lifecycle/ILifecycle.sol/ILifecycleModule.json → shared/Lifecycle.sol/Lifecycle.json} +19 -68
  236. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  237. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  238. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  239. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +193 -0
  240. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  241. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +198 -0
  242. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  243. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +170 -27
  244. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  245. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +58 -0
  246. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  247. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → shared/Service.sol/Service.json} +202 -166
  248. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  249. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +469 -0
  250. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  251. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +108 -0
  252. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  253. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1438 -0
  254. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  255. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1035 -0
  256. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  257. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +440 -0
  258. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  259. package/artifacts/contracts/staking/Staking.sol/Staking.json +1828 -0
  260. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  261. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +164 -0
  262. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  263. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +750 -0
  264. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  265. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +592 -0
  266. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  267. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1236 -0
  268. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  269. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +698 -0
  270. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  271. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2242 -0
  272. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  273. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +607 -0
  274. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  275. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  276. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  277. package/artifacts/contracts/type/Amount.sol/AmountLib.json +374 -0
  278. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  279. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  280. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  281. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +179 -0
  282. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  283. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  284. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  285. package/artifacts/contracts/type/Fee.sol/FeeLib.json +317 -0
  286. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  287. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  288. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  289. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +209 -0
  290. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  291. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  292. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  293. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +239 -0
  294. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  295. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  296. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  297. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  298. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  299. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  300. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  301. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +142 -0
  302. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  303. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +369 -0
  304. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  305. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +246 -0
  306. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  307. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
  308. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  309. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  310. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  311. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +92 -0
  312. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  313. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  314. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  315. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  316. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  317. package/artifacts/contracts/type/UFixed.sol/MathLib.json +16 -0
  318. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  319. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +535 -0
  320. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  321. package/artifacts/contracts/type/Version.sol/VersionLib.json +177 -0
  322. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  323. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +68 -0
  324. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  325. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +55 -0
  326. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  327. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +586 -0
  328. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  329. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  330. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  331. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +78 -0
  332. package/contracts/authorization/AccessAdmin.sol +592 -0
  333. package/contracts/authorization/AccessManagerCloneable.sol +16 -0
  334. package/contracts/authorization/Authorization.sol +217 -0
  335. package/contracts/authorization/IAccess.sol +48 -0
  336. package/contracts/authorization/IAccessAdmin.sol +135 -0
  337. package/contracts/authorization/IAuthorization.sol +54 -0
  338. package/contracts/authorization/IModuleAuthorization.sol +21 -0
  339. package/contracts/authorization/IServiceAuthorization.sol +38 -0
  340. package/contracts/authorization/ModuleAuthorization.sol +78 -0
  341. package/contracts/authorization/ServiceAuthorization.sol +90 -0
  342. package/contracts/distribution/BasicDistribution.sol +138 -0
  343. package/contracts/distribution/BasicDistributionAuthorization.sol +47 -0
  344. package/contracts/distribution/Distribution.sol +295 -0
  345. package/contracts/distribution/DistributionService.sol +336 -0
  346. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  347. package/contracts/distribution/IDistributionComponent.sol +52 -0
  348. package/contracts/distribution/IDistributionService.sol +101 -0
  349. package/contracts/examples/fire/FirePool.sol +75 -0
  350. package/contracts/examples/fire/FirePoolAuthorization.sol +34 -0
  351. package/contracts/examples/fire/FireProduct.sol +323 -0
  352. package/contracts/examples/fire/FireProductAuthorization.sol +36 -0
  353. package/contracts/examples/fire/FireUSD.sol +26 -0
  354. package/contracts/examples/unpermissioned/SimpleDistribution.sol +50 -0
  355. package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
  356. package/contracts/examples/unpermissioned/SimplePool.sol +76 -0
  357. package/contracts/examples/unpermissioned/SimpleProduct.sol +351 -0
  358. package/contracts/instance/BundleSet.sol +126 -0
  359. package/contracts/instance/IInstance.sol +57 -47
  360. package/contracts/instance/IInstanceService.sol +92 -0
  361. package/contracts/instance/Instance.sol +216 -53
  362. package/contracts/instance/InstanceAdmin.sol +285 -0
  363. package/contracts/instance/InstanceAuthorizationV3.sol +204 -0
  364. package/contracts/instance/InstanceReader.sol +430 -0
  365. package/contracts/instance/InstanceService.sol +466 -0
  366. package/contracts/instance/InstanceServiceManager.sol +39 -0
  367. package/contracts/instance/InstanceStore.sol +287 -0
  368. package/contracts/instance/base/BalanceStore.sol +123 -0
  369. package/contracts/instance/base/Cloneable.sol +28 -0
  370. package/contracts/instance/base/ObjectCounter.sol +21 -0
  371. package/contracts/instance/base/ObjectLifecycle.sol +111 -0
  372. package/contracts/instance/base/ObjectSet.sol +79 -0
  373. package/contracts/instance/module/IAccess.sol +46 -0
  374. package/contracts/instance/module/IBundle.sol +20 -0
  375. package/contracts/instance/module/IComponents.sol +46 -0
  376. package/contracts/instance/module/IDistribution.sol +41 -0
  377. package/contracts/instance/module/IPolicy.sol +84 -0
  378. package/contracts/instance/module/IRisk.sol +11 -0
  379. package/contracts/{test/TestToken.sol → mock/Dip.sol} +6 -6
  380. package/contracts/oracle/BasicOracle.sol +48 -0
  381. package/contracts/oracle/BasicOracleAuthorization.sol +46 -0
  382. package/contracts/oracle/IOracle.sol +36 -0
  383. package/contracts/oracle/IOracleComponent.sol +33 -0
  384. package/contracts/oracle/IOracleService.sol +65 -0
  385. package/contracts/oracle/Oracle.sol +167 -0
  386. package/contracts/oracle/OracleService.sol +281 -0
  387. package/contracts/oracle/OracleServiceManager.sol +39 -0
  388. package/contracts/pool/BasicPool.sol +166 -0
  389. package/contracts/pool/BasicPoolAuthorization.sol +58 -0
  390. package/contracts/pool/BundleService.sol +438 -0
  391. package/contracts/pool/BundleServiceManager.sol +39 -0
  392. package/contracts/pool/IBundleService.sol +134 -0
  393. package/contracts/pool/IPoolComponent.sol +58 -0
  394. package/contracts/pool/IPoolService.sol +160 -0
  395. package/contracts/pool/Pool.sol +326 -0
  396. package/contracts/pool/PoolService.sol +508 -0
  397. package/contracts/pool/PoolServiceManager.sol +39 -0
  398. package/contracts/product/ApplicationService.sol +247 -0
  399. package/contracts/product/ApplicationServiceManager.sol +38 -0
  400. package/contracts/product/BasicProduct.sol +53 -0
  401. package/contracts/product/BasicProductAuthorization.sol +43 -0
  402. package/contracts/product/ClaimService.sol +546 -0
  403. package/contracts/product/ClaimServiceManager.sol +38 -0
  404. package/contracts/product/IApplicationService.sol +63 -0
  405. package/contracts/product/IClaimService.sol +122 -0
  406. package/contracts/product/IPolicyService.sol +77 -0
  407. package/contracts/product/IPricingService.sol +39 -0
  408. package/contracts/product/IProductComponent.sol +39 -0
  409. package/contracts/product/IRiskService.sol +33 -0
  410. package/contracts/product/PolicyService.sol +651 -0
  411. package/contracts/product/PolicyServiceManager.sol +39 -0
  412. package/contracts/product/PricingService.sol +300 -0
  413. package/contracts/product/PricingServiceManager.sol +39 -0
  414. package/contracts/product/Product.sol +425 -0
  415. package/contracts/product/RiskService.sol +96 -0
  416. package/contracts/product/RiskServiceManager.sol +39 -0
  417. package/contracts/registry/ChainNft.sol +131 -40
  418. package/contracts/registry/IRegistry.sol +140 -29
  419. package/contracts/registry/IRegistryService.sol +69 -0
  420. package/contracts/registry/ITransferInterceptor.sol +7 -0
  421. package/contracts/registry/Registry.sol +603 -282
  422. package/contracts/registry/RegistryAdmin.sol +464 -0
  423. package/contracts/registry/RegistryService.sol +252 -0
  424. package/contracts/registry/RegistryServiceManager.sol +53 -0
  425. package/contracts/registry/ReleaseLifecycle.sol +27 -0
  426. package/contracts/registry/ReleaseRegistry.sol +491 -0
  427. package/contracts/registry/ServiceAuthorizationV3.sol +199 -0
  428. package/contracts/registry/TokenRegistry.sol +315 -0
  429. package/contracts/shared/Component.sol +268 -0
  430. package/contracts/shared/ComponentService.sol +641 -0
  431. package/contracts/shared/ComponentServiceManager.sol +38 -0
  432. package/contracts/shared/ComponentVerifyingService.sol +117 -0
  433. package/contracts/shared/ContractLib.sol +38 -0
  434. package/contracts/shared/IComponent.sol +70 -0
  435. package/contracts/shared/IComponentService.sol +108 -0
  436. package/contracts/shared/IInstanceLinkedComponent.sol +49 -0
  437. package/contracts/shared/IKeyValueStore.sol +54 -0
  438. package/contracts/shared/ILifecycle.sol +29 -0
  439. package/contracts/shared/INftOwnable.sol +23 -0
  440. package/contracts/shared/IPolicyHolder.sol +35 -0
  441. package/contracts/shared/IRegisterable.sol +10 -19
  442. package/contracts/shared/IRegistryLinked.sol +11 -0
  443. package/contracts/shared/IService.sol +25 -0
  444. package/contracts/shared/InitializableCustom.sol +177 -0
  445. package/contracts/shared/InitializableERC165.sol +27 -0
  446. package/contracts/shared/InstanceLinkedComponent.sol +172 -0
  447. package/contracts/shared/KeyValueStore.sol +131 -0
  448. package/contracts/shared/Lifecycle.sol +77 -0
  449. package/contracts/shared/NftIdSet.sol +65 -0
  450. package/contracts/shared/NftOwnable.sol +107 -0
  451. package/contracts/shared/PolicyHolder.sol +58 -0
  452. package/contracts/shared/Registerable.sol +54 -65
  453. package/contracts/shared/RegistryLinked.sol +44 -0
  454. package/contracts/shared/Service.sol +87 -0
  455. package/contracts/shared/TokenHandler.sol +139 -0
  456. package/contracts/shared/TokenHandlerDeployerLib.sol +12 -0
  457. package/contracts/staking/IStaking.sol +168 -0
  458. package/contracts/staking/IStakingService.sol +160 -0
  459. package/contracts/staking/StakeManagerLib.sol +224 -0
  460. package/contracts/staking/Staking.sol +498 -0
  461. package/contracts/staking/StakingLifecycle.sol +23 -0
  462. package/contracts/staking/StakingManager.sol +52 -0
  463. package/contracts/staking/StakingReader.sol +183 -0
  464. package/contracts/staking/StakingService.sol +407 -0
  465. package/contracts/staking/StakingServiceManager.sol +44 -0
  466. package/contracts/staking/StakingStore.sol +605 -0
  467. package/contracts/staking/TargetManagerLib.sol +211 -0
  468. package/contracts/{types → type}/AddressSet.sol +1 -1
  469. package/contracts/type/Amount.sol +135 -0
  470. package/contracts/{types → type}/Blocknumber.sol +26 -18
  471. package/contracts/type/ClaimId.sol +75 -0
  472. package/contracts/type/DistributorType.sol +55 -0
  473. package/contracts/type/Fee.sol +66 -0
  474. package/contracts/type/Key32.sol +50 -0
  475. package/contracts/type/NftId.sol +79 -0
  476. package/contracts/type/NftIdSet.sol +62 -0
  477. package/contracts/type/ObjectType.sol +275 -0
  478. package/contracts/type/PayoutId.sol +82 -0
  479. package/contracts/type/Referral.sol +90 -0
  480. package/contracts/type/RequestId.sol +75 -0
  481. package/contracts/type/RiskId.sol +57 -0
  482. package/contracts/type/RoleId.sol +174 -0
  483. package/contracts/type/Seconds.sol +101 -0
  484. package/contracts/type/Selector.sol +102 -0
  485. package/contracts/{types → type}/StateId.sol +47 -6
  486. package/contracts/type/String.sol +53 -0
  487. package/contracts/{types → type}/Timestamp.sol +38 -15
  488. package/contracts/type/UFixed.sol +351 -0
  489. package/contracts/{types → type}/Version.sol +17 -2
  490. package/contracts/upgradeability/IVersionable.sol +53 -0
  491. package/contracts/upgradeability/ProxyManager.sol +231 -0
  492. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +14 -0
  493. package/contracts/upgradeability/Versionable.sol +59 -0
  494. package/package.json +14 -7
  495. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  496. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -174
  497. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  498. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  499. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -356
  500. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  501. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -279
  502. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  503. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -387
  504. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  505. package/artifacts/contracts/components/Product.sol/Product.json +0 -305
  506. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  507. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  508. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  509. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  510. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  511. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  512. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  513. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  514. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  515. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  516. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  517. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  518. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  519. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  520. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  521. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  522. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  523. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  524. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  525. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  526. package/artifacts/contracts/experiment/kvstore/BundleModuleStore.sol/BundleModuleStore.dbg.json +0 -4
  527. package/artifacts/contracts/experiment/kvstore/BundleModuleStore.sol/BundleModuleStore.json +0 -543
  528. package/artifacts/contracts/experiment/kvstore/IBundle.sol/IBundle.dbg.json +0 -4
  529. package/artifacts/contracts/experiment/kvstore/KeyMapper.sol/KeyMapper.dbg.json +0 -4
  530. package/artifacts/contracts/experiment/kvstore/KeyMapper.sol/KeyMapper.json +0 -185
  531. package/artifacts/contracts/experiment/kvstore/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  532. package/artifacts/contracts/experiment/kvstore/KeyValueStore.sol/KeyValueStore.json +0 -383
  533. package/artifacts/contracts/experiment/kvstore/KvStore.sol/KvStore.dbg.json +0 -4
  534. package/artifacts/contracts/experiment/kvstore/KvStore.sol/KvStore.json +0 -1064
  535. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  536. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  537. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  538. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  539. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  540. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  541. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  542. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  543. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  544. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  545. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  546. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  547. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  548. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  549. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.json +0 -24
  550. package/artifacts/contracts/instance/IServiceLinked.sol/IServiceLinked.dbg.json +0 -4
  551. package/artifacts/contracts/instance/IServiceLinked.sol/IServiceLinked.json +0 -50
  552. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  553. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  554. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  555. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  556. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  557. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  558. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  559. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -276
  560. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  561. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  562. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -276
  563. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.dbg.json +0 -4
  564. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.json +0 -10
  565. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.dbg.json +0 -4
  566. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.json +0 -10
  567. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.dbg.json +0 -4
  568. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.json +0 -10
  569. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  570. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -188
  571. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  572. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  573. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  574. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -188
  575. package/artifacts/contracts/instance/module/lifecycle/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  576. package/artifacts/contracts/instance/module/lifecycle/ILifecycle.sol/ILifecycle.json +0 -134
  577. package/artifacts/contracts/instance/module/lifecycle/ILifecycle.sol/ILifecycleModule.dbg.json +0 -4
  578. package/artifacts/contracts/instance/module/lifecycle/LifecycleModule.sol/LifecycleModule.dbg.json +0 -4
  579. package/artifacts/contracts/instance/module/lifecycle/LifecycleModule.sol/LifecycleModule.json +0 -221
  580. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  581. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  582. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -261
  583. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  584. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -261
  585. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  586. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
  587. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  588. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -149
  589. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  590. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -149
  591. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  592. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  593. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -167
  594. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  595. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -185
  596. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  597. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.json +0 -10
  598. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  599. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -533
  600. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  601. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  602. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  603. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -533
  604. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  605. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -491
  606. package/artifacts/contracts/instance/service/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  607. package/artifacts/contracts/instance/service/ComponentServiceBase.sol/ComponentServiceBase.json +0 -300
  608. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  609. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  610. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  611. package/artifacts/contracts/instance/service/IService.sol/IService.dbg.json +0 -4
  612. package/artifacts/contracts/instance/service/IService.sol/IService.json +0 -300
  613. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  614. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -471
  615. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  616. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -673
  617. package/artifacts/contracts/instance/service/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  618. package/artifacts/contracts/instance/service/ServiceBase.sol/ServiceBase.json +0 -300
  619. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  620. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -452
  621. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
  622. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  623. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -35
  624. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  625. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.json +0 -24
  626. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  627. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -164
  628. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  629. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -164
  630. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  631. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  632. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  633. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -387
  634. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  635. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -393
  636. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  637. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -137
  638. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  639. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -82
  640. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  641. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -379
  642. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  643. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -338
  644. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  645. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  646. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  647. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -206
  648. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  649. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  650. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  651. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -212
  652. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  653. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  654. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  655. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -218
  656. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  657. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -92
  658. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  659. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -10
  660. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  661. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  662. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  663. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
  664. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  665. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -236
  666. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  667. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +0 -453
  668. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  669. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -139
  670. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  671. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -30
  672. package/contracts/components/BaseComponent.sol +0 -89
  673. package/contracts/components/IBaseComponent.sol +0 -19
  674. package/contracts/components/IPoolComponent.sol +0 -57
  675. package/contracts/components/IProductComponent.sol +0 -19
  676. package/contracts/components/Pool.sol +0 -174
  677. package/contracts/components/Product.sol +0 -117
  678. package/contracts/experiment/errors/Require.sol +0 -38
  679. package/contracts/experiment/errors/Revert.sol +0 -44
  680. package/contracts/experiment/inheritance/A.sol +0 -53
  681. package/contracts/experiment/inheritance/B.sol +0 -28
  682. package/contracts/experiment/inheritance/C.sol +0 -34
  683. package/contracts/experiment/inheritance/IA.sol +0 -13
  684. package/contracts/experiment/inheritance/IB.sol +0 -10
  685. package/contracts/experiment/inheritance/IC.sol +0 -12
  686. package/contracts/experiment/kvstore/BundleModuleStore.sol +0 -93
  687. package/contracts/experiment/kvstore/IBundle.sol +0 -22
  688. package/contracts/experiment/kvstore/KeyMapper.sol +0 -40
  689. package/contracts/experiment/kvstore/KeyValueStore.sol +0 -156
  690. package/contracts/experiment/kvstore/KvStore.sol +0 -195
  691. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  692. package/contracts/experiment/statemachine/ISM.sol +0 -25
  693. package/contracts/experiment/statemachine/README.md +0 -112
  694. package/contracts/experiment/statemachine/SM.sol +0 -57
  695. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  696. package/contracts/experiment/types/TypeA.sol +0 -47
  697. package/contracts/experiment/types/TypeB.sol +0 -29
  698. package/contracts/instance/IInstanceLinked.sol +0 -8
  699. package/contracts/instance/IServiceLinked.sol +0 -12
  700. package/contracts/instance/InstanceBase.sol +0 -71
  701. package/contracts/instance/module/access/Access.sol +0 -149
  702. package/contracts/instance/module/access/IAccess.sol +0 -53
  703. package/contracts/instance/module/bundle/BundleModule.sol +0 -228
  704. package/contracts/instance/module/bundle/IBundle.sol +0 -53
  705. package/contracts/instance/module/compensation/CompensationModule.sol +0 -8
  706. package/contracts/instance/module/compensation/ICompensation.sol +0 -10
  707. package/contracts/instance/module/component/ComponentModule.sol +0 -103
  708. package/contracts/instance/module/component/IComponent.sol +0 -53
  709. package/contracts/instance/module/lifecycle/ILifecycle.sol +0 -47
  710. package/contracts/instance/module/lifecycle/LifecycleModule.sol +0 -89
  711. package/contracts/instance/module/policy/IPolicy.sol +0 -60
  712. package/contracts/instance/module/policy/PolicyModule.sol +0 -84
  713. package/contracts/instance/module/pool/IPoolModule.sol +0 -41
  714. package/contracts/instance/module/pool/PoolModule.sol +0 -87
  715. package/contracts/instance/module/risk/IRisk.sol +0 -39
  716. package/contracts/instance/module/risk/RiskModule.sol +0 -55
  717. package/contracts/instance/module/treasury/ITreasury.sol +0 -103
  718. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  719. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -152
  720. package/contracts/instance/service/ComponentOwnerService.sol +0 -171
  721. package/contracts/instance/service/ComponentServiceBase.sol +0 -41
  722. package/contracts/instance/service/IComponentOwnerService.sol +0 -22
  723. package/contracts/instance/service/IPoolService.sol +0 -30
  724. package/contracts/instance/service/IProductService.sol +0 -58
  725. package/contracts/instance/service/IService.sol +0 -15
  726. package/contracts/instance/service/PoolService.sol +0 -123
  727. package/contracts/instance/service/ProductService.sol +0 -355
  728. package/contracts/instance/service/ServiceBase.sol +0 -39
  729. package/contracts/registry/IChainNft.sol +0 -21
  730. package/contracts/registry/IRegistryLinked.sol +0 -8
  731. package/contracts/shared/ERC165.sol +0 -21
  732. package/contracts/shared/IOwnable.sol +0 -6
  733. package/contracts/shared/IVersionable.sol +0 -52
  734. package/contracts/shared/Versionable.sol +0 -89
  735. package/contracts/test/TestFee.sol +0 -25
  736. package/contracts/test/TestPool.sol +0 -22
  737. package/contracts/test/TestProduct.sol +0 -44
  738. package/contracts/test/TestRegisterable.sol +0 -19
  739. package/contracts/test/TestRoleId.sol +0 -14
  740. package/contracts/test/TestService.sol +0 -32
  741. package/contracts/test/TestVersion.sol +0 -44
  742. package/contracts/test/TestVersionable.sol +0 -17
  743. package/contracts/types/ChainId.sol +0 -38
  744. package/contracts/types/Fee.sol +0 -51
  745. package/contracts/types/NftId.sol +0 -57
  746. package/contracts/types/NftIdSet.sol +0 -60
  747. package/contracts/types/ObjectType.sol +0 -119
  748. package/contracts/types/RiskId.sol +0 -26
  749. package/contracts/types/RoleId.sol +0 -36
  750. package/contracts/types/UFixed.sol +0 -206
@@ -1,185 +0,0 @@
1
- {
2
- "_format": "hh-sol-artifact-1",
3
- "contractName": "KeyMapper",
4
- "sourceName": "contracts/experiment/kvstore/KeyMapper.sol",
5
- "abi": [
6
- {
7
- "inputs": [],
8
- "name": "ID_MASK",
9
- "outputs": [
10
- {
11
- "internalType": "bytes32",
12
- "name": "",
13
- "type": "bytes32"
14
- }
15
- ],
16
- "stateMutability": "view",
17
- "type": "function"
18
- },
19
- {
20
- "inputs": [],
21
- "name": "ID_SHIFT",
22
- "outputs": [
23
- {
24
- "internalType": "uint8",
25
- "name": "",
26
- "type": "uint8"
27
- }
28
- ],
29
- "stateMutability": "view",
30
- "type": "function"
31
- },
32
- {
33
- "inputs": [],
34
- "name": "TYPE_MASK",
35
- "outputs": [
36
- {
37
- "internalType": "bytes32",
38
- "name": "",
39
- "type": "bytes32"
40
- }
41
- ],
42
- "stateMutability": "view",
43
- "type": "function"
44
- },
45
- {
46
- "inputs": [],
47
- "name": "TYPE_SHIFT",
48
- "outputs": [
49
- {
50
- "internalType": "uint8",
51
- "name": "",
52
- "type": "uint8"
53
- }
54
- ],
55
- "stateMutability": "view",
56
- "type": "function"
57
- },
58
- {
59
- "inputs": [
60
- {
61
- "internalType": "ObjectType",
62
- "name": "objectType",
63
- "type": "uint8"
64
- },
65
- {
66
- "internalType": "KeyId",
67
- "name": "id",
68
- "type": "bytes31"
69
- }
70
- ],
71
- "name": "toKey",
72
- "outputs": [
73
- {
74
- "components": [
75
- {
76
- "internalType": "ObjectType",
77
- "name": "objectType",
78
- "type": "uint8"
79
- },
80
- {
81
- "internalType": "KeyId",
82
- "name": "id",
83
- "type": "bytes31"
84
- }
85
- ],
86
- "internalType": "struct KeyMapper.Key",
87
- "name": "",
88
- "type": "tuple"
89
- }
90
- ],
91
- "stateMutability": "pure",
92
- "type": "function"
93
- },
94
- {
95
- "inputs": [
96
- {
97
- "internalType": "bytes32",
98
- "name": "key",
99
- "type": "bytes32"
100
- }
101
- ],
102
- "name": "toKey",
103
- "outputs": [
104
- {
105
- "components": [
106
- {
107
- "internalType": "ObjectType",
108
- "name": "objectType",
109
- "type": "uint8"
110
- },
111
- {
112
- "internalType": "KeyId",
113
- "name": "id",
114
- "type": "bytes31"
115
- }
116
- ],
117
- "internalType": "struct KeyMapper.Key",
118
- "name": "",
119
- "type": "tuple"
120
- }
121
- ],
122
- "stateMutability": "pure",
123
- "type": "function"
124
- },
125
- {
126
- "inputs": [
127
- {
128
- "components": [
129
- {
130
- "internalType": "ObjectType",
131
- "name": "objectType",
132
- "type": "uint8"
133
- },
134
- {
135
- "internalType": "KeyId",
136
- "name": "id",
137
- "type": "bytes31"
138
- }
139
- ],
140
- "internalType": "struct KeyMapper.Key",
141
- "name": "key",
142
- "type": "tuple"
143
- }
144
- ],
145
- "name": "toKey32",
146
- "outputs": [
147
- {
148
- "internalType": "bytes32",
149
- "name": "",
150
- "type": "bytes32"
151
- }
152
- ],
153
- "stateMutability": "pure",
154
- "type": "function"
155
- },
156
- {
157
- "inputs": [
158
- {
159
- "internalType": "ObjectType",
160
- "name": "objectType",
161
- "type": "uint8"
162
- },
163
- {
164
- "internalType": "KeyId",
165
- "name": "id",
166
- "type": "bytes31"
167
- }
168
- ],
169
- "name": "toKey32",
170
- "outputs": [
171
- {
172
- "internalType": "bytes32",
173
- "name": "",
174
- "type": "bytes32"
175
- }
176
- ],
177
- "stateMutability": "pure",
178
- "type": "function"
179
- }
180
- ],
181
- "bytecode": "0x608060405234801561001057600080fd5b506107cf806100206000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c8063a4dc7d861161005b578063a4dc7d8614610129578063d92bb60d14610159578063da3fe41214610177578063f48016ce1461019557610088565b80630f94cc501461008d578063229660f0146100ab57806329e9b226146100db578063837dd0cb146100f9575b600080fd5b6100956101c5565b6040516100a291906103b6565b60405180910390f35b6100c560048036038101906100c09190610552565b6101ef565b6040516100d291906103b6565b60405180910390f35b6100e361020a565b6040516100f0919061058e565b60405180910390f35b610113600480360381019061010e91906105a9565b61020f565b6040516101209190610674565b60405180910390f35b610143600480360381019061013e91906106bb565b61023b565b6040516101509190610674565b60405180910390f35b6101616102e4565b60405161016e91906103b6565b60405180910390f35b61017f61030f565b60405161018c919061058e565b60405180910390f35b6101af60048036038101906101aa91906105a9565b610324565b6040516101bc91906103b6565b60405180910390f35b60ff60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191681565b600061020382600001518360200151610324565b9050919050565b60f881565b61021761037c565b60405180604001604052808460ff1681526020018360ff1916815250905092915050565b61024361037c565b600060f860ff1660ff60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916841660001c901c9050600060f860ff1661010061028e9190610725565b60ff1660ff60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916198516901b905060405180604001604052808360ff1681526020018260ff191681525092505050919050565b60ff60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161981565b60f860ff166101006103219190610725565b81565b6000808360ff16905060008360081c7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff16905060008160f860ff1684901b61036b9190610765565b90508060001b935050505092915050565b6040518060400160405280600060ff168152602001600060ff191681525090565b6000819050919050565b6103b08161039d565b82525050565b60006020820190506103cb60008301846103a7565b92915050565b6000604051905090565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61042e826103e5565b810181811067ffffffffffffffff8211171561044d5761044c6103f6565b5b80604052505050565b60006104606103d1565b905061046c8282610425565b919050565b600060ff82169050919050565b61048781610471565b811461049257600080fd5b50565b6000813590506104a48161047e565b92915050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0082169050919050565b6104df816104aa565b81146104ea57600080fd5b50565b6000813590506104fc816104d6565b92915050565b600060408284031215610518576105176103e0565b5b6105226040610456565b9050600061053284828501610495565b6000830152506020610546848285016104ed565b60208301525092915050565b600060408284031215610568576105676103db565b5b600061057684828501610502565b91505092915050565b61058881610471565b82525050565b60006020820190506105a3600083018461057f565b92915050565b600080604083850312156105c0576105bf6103db565b5b60006105ce85828601610495565b92505060206105df858286016104ed565b9150509250929050565b6000819050919050565b600061060e61060961060484610471565b6105e9565b610471565b9050919050565b61061e816105f3565b82525050565b600061062f826104aa565b9050919050565b61063f81610624565b82525050565b60408201600082015161065b6000850182610615565b50602082015161066e6020850182610636565b50505050565b60006040820190506106896000830184610645565b92915050565b6106988161039d565b81146106a357600080fd5b50565b6000813590506106b58161068f565b92915050565b6000602082840312156106d1576106d06103db565b5b60006106df848285016106a6565b91505092915050565b600061ffff82169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000610730826106e8565b915061073b836106e8565b9250828203905061ffff811115610755576107546106f6565b5b92915050565b6000819050919050565b60006107708261075b565b915061077b8361075b565b9250828201905080821115610793576107926106f6565b5b9291505056fea2646970667358221220aa931652f50c98083194b93109805b8adbabe2961acef9f56a35f7c64c19d94464736f6c63430008140033",
182
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100885760003560e01c8063a4dc7d861161005b578063a4dc7d8614610129578063d92bb60d14610159578063da3fe41214610177578063f48016ce1461019557610088565b80630f94cc501461008d578063229660f0146100ab57806329e9b226146100db578063837dd0cb146100f9575b600080fd5b6100956101c5565b6040516100a291906103b6565b60405180910390f35b6100c560048036038101906100c09190610552565b6101ef565b6040516100d291906103b6565b60405180910390f35b6100e361020a565b6040516100f0919061058e565b60405180910390f35b610113600480360381019061010e91906105a9565b61020f565b6040516101209190610674565b60405180910390f35b610143600480360381019061013e91906106bb565b61023b565b6040516101509190610674565b60405180910390f35b6101616102e4565b60405161016e91906103b6565b60405180910390f35b61017f61030f565b60405161018c919061058e565b60405180910390f35b6101af60048036038101906101aa91906105a9565b610324565b6040516101bc91906103b6565b60405180910390f35b60ff60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191681565b600061020382600001518360200151610324565b9050919050565b60f881565b61021761037c565b60405180604001604052808460ff1681526020018360ff1916815250905092915050565b61024361037c565b600060f860ff1660ff60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916841660001c901c9050600060f860ff1661010061028e9190610725565b60ff1660ff60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916198516901b905060405180604001604052808360ff1681526020018260ff191681525092505050919050565b60ff60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161981565b60f860ff166101006103219190610725565b81565b6000808360ff16905060008360081c7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff16905060008160f860ff1684901b61036b9190610765565b90508060001b935050505092915050565b6040518060400160405280600060ff168152602001600060ff191681525090565b6000819050919050565b6103b08161039d565b82525050565b60006020820190506103cb60008301846103a7565b92915050565b6000604051905090565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61042e826103e5565b810181811067ffffffffffffffff8211171561044d5761044c6103f6565b5b80604052505050565b60006104606103d1565b905061046c8282610425565b919050565b600060ff82169050919050565b61048781610471565b811461049257600080fd5b50565b6000813590506104a48161047e565b92915050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0082169050919050565b6104df816104aa565b81146104ea57600080fd5b50565b6000813590506104fc816104d6565b92915050565b600060408284031215610518576105176103e0565b5b6105226040610456565b9050600061053284828501610495565b6000830152506020610546848285016104ed565b60208301525092915050565b600060408284031215610568576105676103db565b5b600061057684828501610502565b91505092915050565b61058881610471565b82525050565b60006020820190506105a3600083018461057f565b92915050565b600080604083850312156105c0576105bf6103db565b5b60006105ce85828601610495565b92505060206105df858286016104ed565b9150509250929050565b6000819050919050565b600061060e61060961060484610471565b6105e9565b610471565b9050919050565b61061e816105f3565b82525050565b600061062f826104aa565b9050919050565b61063f81610624565b82525050565b60408201600082015161065b6000850182610615565b50602082015161066e6020850182610636565b50505050565b60006040820190506106896000830184610645565b92915050565b6106988161039d565b81146106a357600080fd5b50565b6000813590506106b58161068f565b92915050565b6000602082840312156106d1576106d06103db565b5b60006106df848285016106a6565b91505092915050565b600061ffff82169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000610730826106e8565b915061073b836106e8565b9250828203905061ffff811115610755576107546106f6565b5b92915050565b6000819050919050565b60006107708261075b565b915061077b8361075b565b9250828201905080821115610793576107926106f6565b5b9291505056fea2646970667358221220aa931652f50c98083194b93109805b8adbabe2961acef9f56a35f7c64c19d94464736f6c63430008140033",
183
- "linkReferences": {},
184
- "deployedLinkReferences": {}
185
- }
@@ -1,4 +0,0 @@
1
- {
2
- "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/098ac466bcde21143ae166eab05b431d.json"
4
- }
@@ -1,383 +0,0 @@
1
- {
2
- "_format": "hh-sol-artifact-1",
3
- "contractName": "KeyValueStore",
4
- "sourceName": "contracts/experiment/kvstore/KeyValueStore.sol",
5
- "abi": [
6
- {
7
- "anonymous": false,
8
- "inputs": [
9
- {
10
- "indexed": false,
11
- "internalType": "bytes32",
12
- "name": "key",
13
- "type": "bytes32"
14
- },
15
- {
16
- "indexed": false,
17
- "internalType": "ObjectType",
18
- "name": "objectType",
19
- "type": "uint8"
20
- },
21
- {
22
- "indexed": false,
23
- "internalType": "address",
24
- "name": "createdBy",
25
- "type": "address"
26
- }
27
- ],
28
- "name": "LogInfoCreated",
29
- "type": "event"
30
- },
31
- {
32
- "anonymous": false,
33
- "inputs": [
34
- {
35
- "indexed": false,
36
- "internalType": "bytes32",
37
- "name": "key",
38
- "type": "bytes32"
39
- },
40
- {
41
- "indexed": false,
42
- "internalType": "ObjectType",
43
- "name": "objectType",
44
- "type": "uint8"
45
- },
46
- {
47
- "indexed": false,
48
- "internalType": "address",
49
- "name": "updatedBy",
50
- "type": "address"
51
- },
52
- {
53
- "indexed": false,
54
- "internalType": "Blocknumber",
55
- "name": "lastUpdateIn",
56
- "type": "uint32"
57
- }
58
- ],
59
- "name": "LogInfoUpdated",
60
- "type": "event"
61
- },
62
- {
63
- "inputs": [
64
- {
65
- "internalType": "bytes",
66
- "name": "b",
67
- "type": "bytes"
68
- }
69
- ],
70
- "name": "b2s",
71
- "outputs": [
72
- {
73
- "internalType": "string",
74
- "name": "s",
75
- "type": "string"
76
- }
77
- ],
78
- "stateMutability": "pure",
79
- "type": "function"
80
- },
81
- {
82
- "inputs": [
83
- {
84
- "internalType": "bytes32",
85
- "name": "key",
86
- "type": "bytes32"
87
- },
88
- {
89
- "internalType": "ObjectType",
90
- "name": "objectType",
91
- "type": "uint8"
92
- },
93
- {
94
- "internalType": "bytes",
95
- "name": "data",
96
- "type": "bytes"
97
- }
98
- ],
99
- "name": "create",
100
- "outputs": [],
101
- "stateMutability": "nonpayable",
102
- "type": "function"
103
- },
104
- {
105
- "inputs": [
106
- {
107
- "internalType": "bytes32",
108
- "name": "key",
109
- "type": "bytes32"
110
- }
111
- ],
112
- "name": "exists",
113
- "outputs": [
114
- {
115
- "internalType": "bool",
116
- "name": "",
117
- "type": "bool"
118
- }
119
- ],
120
- "stateMutability": "view",
121
- "type": "function"
122
- },
123
- {
124
- "inputs": [
125
- {
126
- "internalType": "bytes32",
127
- "name": "key",
128
- "type": "bytes32"
129
- }
130
- ],
131
- "name": "get",
132
- "outputs": [
133
- {
134
- "components": [
135
- {
136
- "components": [
137
- {
138
- "internalType": "ObjectType",
139
- "name": "objectType",
140
- "type": "uint8"
141
- },
142
- {
143
- "internalType": "address",
144
- "name": "updatedBy",
145
- "type": "address"
146
- },
147
- {
148
- "internalType": "Blocknumber",
149
- "name": "updatedIn",
150
- "type": "uint32"
151
- },
152
- {
153
- "internalType": "Blocknumber",
154
- "name": "createdIn",
155
- "type": "uint32"
156
- }
157
- ],
158
- "internalType": "struct KeyValueStore.Metadata",
159
- "name": "metadata",
160
- "type": "tuple"
161
- },
162
- {
163
- "internalType": "bytes",
164
- "name": "data",
165
- "type": "bytes"
166
- }
167
- ],
168
- "internalType": "struct KeyValueStore.Value",
169
- "name": "value",
170
- "type": "tuple"
171
- }
172
- ],
173
- "stateMutability": "view",
174
- "type": "function"
175
- },
176
- {
177
- "inputs": [
178
- {
179
- "internalType": "bytes32",
180
- "name": "key",
181
- "type": "bytes32"
182
- }
183
- ],
184
- "name": "getData",
185
- "outputs": [
186
- {
187
- "internalType": "bytes",
188
- "name": "data",
189
- "type": "bytes"
190
- }
191
- ],
192
- "stateMutability": "view",
193
- "type": "function"
194
- },
195
- {
196
- "inputs": [
197
- {
198
- "internalType": "uint256",
199
- "name": "index",
200
- "type": "uint256"
201
- }
202
- ],
203
- "name": "getKey",
204
- "outputs": [
205
- {
206
- "internalType": "bytes32",
207
- "name": "key",
208
- "type": "bytes32"
209
- }
210
- ],
211
- "stateMutability": "view",
212
- "type": "function"
213
- },
214
- {
215
- "inputs": [],
216
- "name": "getKeyCount",
217
- "outputs": [
218
- {
219
- "internalType": "uint256",
220
- "name": "keyCount",
221
- "type": "uint256"
222
- }
223
- ],
224
- "stateMutability": "view",
225
- "type": "function"
226
- },
227
- {
228
- "inputs": [
229
- {
230
- "internalType": "bytes32",
231
- "name": "key",
232
- "type": "bytes32"
233
- }
234
- ],
235
- "name": "getMetadata",
236
- "outputs": [
237
- {
238
- "components": [
239
- {
240
- "internalType": "ObjectType",
241
- "name": "objectType",
242
- "type": "uint8"
243
- },
244
- {
245
- "internalType": "address",
246
- "name": "updatedBy",
247
- "type": "address"
248
- },
249
- {
250
- "internalType": "Blocknumber",
251
- "name": "updatedIn",
252
- "type": "uint32"
253
- },
254
- {
255
- "internalType": "Blocknumber",
256
- "name": "createdIn",
257
- "type": "uint32"
258
- }
259
- ],
260
- "internalType": "struct KeyValueStore.Metadata",
261
- "name": "metadata",
262
- "type": "tuple"
263
- }
264
- ],
265
- "stateMutability": "view",
266
- "type": "function"
267
- },
268
- {
269
- "inputs": [],
270
- "name": "policy",
271
- "outputs": [
272
- {
273
- "internalType": "ObjectType",
274
- "name": "",
275
- "type": "uint8"
276
- }
277
- ],
278
- "stateMutability": "pure",
279
- "type": "function"
280
- },
281
- {
282
- "inputs": [],
283
- "name": "risk",
284
- "outputs": [
285
- {
286
- "internalType": "ObjectType",
287
- "name": "",
288
- "type": "uint8"
289
- }
290
- ],
291
- "stateMutability": "pure",
292
- "type": "function"
293
- },
294
- {
295
- "inputs": [
296
- {
297
- "internalType": "string",
298
- "name": "s",
299
- "type": "string"
300
- }
301
- ],
302
- "name": "s2b",
303
- "outputs": [
304
- {
305
- "internalType": "bytes",
306
- "name": "b",
307
- "type": "bytes"
308
- }
309
- ],
310
- "stateMutability": "pure",
311
- "type": "function"
312
- },
313
- {
314
- "inputs": [
315
- {
316
- "internalType": "string",
317
- "name": "s",
318
- "type": "string"
319
- }
320
- ],
321
- "name": "s2k",
322
- "outputs": [
323
- {
324
- "internalType": "bytes32",
325
- "name": "k",
326
- "type": "bytes32"
327
- }
328
- ],
329
- "stateMutability": "pure",
330
- "type": "function"
331
- },
332
- {
333
- "inputs": [
334
- {
335
- "internalType": "bytes32",
336
- "name": "key",
337
- "type": "bytes32"
338
- },
339
- {
340
- "internalType": "bytes",
341
- "name": "data",
342
- "type": "bytes"
343
- }
344
- ],
345
- "name": "update",
346
- "outputs": [],
347
- "stateMutability": "nonpayable",
348
- "type": "function"
349
- },
350
- {
351
- "inputs": [
352
- {
353
- "internalType": "bytes32",
354
- "name": "key",
355
- "type": "bytes32"
356
- },
357
- {
358
- "internalType": "bytes",
359
- "name": "data",
360
- "type": "bytes"
361
- },
362
- {
363
- "internalType": "bool",
364
- "name": "updateMetadata",
365
- "type": "bool"
366
- },
367
- {
368
- "internalType": "bool",
369
- "name": "log",
370
- "type": "bool"
371
- }
372
- ],
373
- "name": "update",
374
- "outputs": [],
375
- "stateMutability": "nonpayable",
376
- "type": "function"
377
- }
378
- ],
379
- "bytecode": "0x608060405234801561001057600080fd5b50611af9806100206000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c80638eaa6ac01161008c578063bb5b27e111610066578063bb5b27e114610283578063ecc86d00146102b3578063ee1ce841146102cf578063eea457c8146102ed576100ea565b80638eaa6ac0146101f3578063a5961b4c14610223578063b028ee1314610253576100ea565b8063426a0c88116100c8578063426a0c881461015957806345414df11461017757806354f6127f146101a75780635dee4788146101d7576100ea565b80630505c8c9146100ef578063212788f91461010d57806338a699a414610129575b600080fd5b6100f761031d565b6040516101049190610c8d565b60405180910390f35b61012760048036038101906101229190610e38565b61032c565b005b610143600480360381019061013e9190610e94565b61033d565b6040516101509190610edc565b60405180910390f35b6101616103ae565b60405161016e9190610c8d565b60405180910390f35b610191600480360381019061018c9190610ef7565b6103bd565b60405161019e9190610fbf565b60405180910390f35b6101c160048036038101906101bc9190610e94565b6103da565b6040516101ce9190611036565b60405180910390f35b6101f160048036038101906101ec9190611084565b610481565b005b61020d60048036038101906102089190610e94565b610673565b60405161021a9190611260565b60405180910390f35b61023d60048036038101906102389190610e94565b610804565b60405161024a91906112d7565b60405180910390f35b61026d60048036038101906102689190611393565b6108f2565b60405161027a9190611036565b60405180910390f35b61029d60048036038101906102989190611412565b61091b565b6040516102aa919061144e565b60405180910390f35b6102cd60048036038101906102c89190611495565b610943565b005b6102d7610b55565b6040516102e49190611527565b60405180910390f35b61030760048036038101906103029190611393565b610b62565b604051610314919061144e565b60405180910390f35b6000610327610b92565b905090565b6103398282600180610943565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff1660008084815260200190815260200160002060000160000160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b60006103b8610ba3565b905090565b6060818060200190518101906103d391906115b2565b9050919050565b606060008083815260200190815260200160002060010180546103fc9061162a565b80601f01602080910402602001604051908101604052809291908181526020018280546104289061162a565b80156104755780601f1061044a57610100808354040283529160200191610475565b820191906000526020600020905b81548152906001019060200180831161045857829003601f168201915b50505050509050919050565b60008060008581526020019081526020016000206000019050600073ffffffffffffffffffffffffffffffffffffffff168160000160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461052d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610524906116a7565b60405180910390fd5b6000339050600061053c610bb4565b9050848360000160006101000a81548160ff021916908360ff160217905550818360000160016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808360000160156101000a81548163ffffffff021916908363ffffffff160217905550808360000160196101000a81548163ffffffff021916908363ffffffff1602179055508360008088815260200190815260200160002060010190816106069190611869565b5060018690806001815401808255809150506001900390600052602060002001600090919091909150557fc83c5f6b50f8ff37501f857e58e080a5842f6e8775ccfba956f2047ab6a9a35e8686846040516106639392919061194a565b60405180910390a1505050505050565b61067b610bd8565b600080838152602001908152602001600020604051806040016040529081600082016040518060800160405290816000820160009054906101000a900460ff1660ff1660ff1681526020016000820160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160159054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016000820160199054906101000a900463ffffffff1663ffffffff1663ffffffff1681525050815260200160018201805461077b9061162a565b80601f01602080910402602001604051908101604052809291908181526020018280546107a79061162a565b80156107f45780601f106107c9576101008083540402835291602001916107f4565b820191906000526020600020905b8154815290600101906020018083116107d757829003601f168201915b5050505050815250509050919050565b61080c610bf8565b6000808381526020019081526020016000206000016040518060800160405290816000820160009054906101000a900460ff1660ff1660ff1681526020016000820160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160159054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016000820160199054906101000a900463ffffffff1663ffffffff1663ffffffff16815250509050919050565b6060816040516020016109059190610fbf565b6040516020818303038152906040529050919050565b60006001828154811061093157610930611981565b5b90600052602060002001549050919050565b8260008086815260200190815260200160002060010190816109659190611869565b506000610970610bb4565b905082801561097c5750815b15610b025760008060008781526020019081526020016000206000019050600073ffffffffffffffffffffffffffffffffffffffff168160000160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603610a2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a24906119fc565b60405180910390fd5b8215610a96577f01e2a32423aae515ef6611a2ca406f2478536c74f7c875f9d6129997ee76ef68868260000160009054906101000a900460ff16338460000160159054906101000a900463ffffffff16604051610a8d9493929190611a2b565b60405180910390a15b338160000160016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818160000160156101000a81548163ffffffff021916908363ffffffff16021790555050610b4e565b8115610b4d577f01e2a32423aae515ef6611a2ca406f2478536c74f7c875f9d6129997ee76ef6885610b32610b92565b3384604051610b449493929190611a2b565b60405180910390a15b5b5050505050565b6000600180549050905090565b600081604051602001610b759190611aac565b604051602081830303815290604052805190602001209050919050565b6000610b9e60c8610bc4565b905090565b6000610baf6065610bc4565b905090565b6000610bbf43610bce565b905090565b6000819050919050565b6000819050919050565b6040518060400160405280610beb610bf8565b8152602001606081525090565b6040518060800160405280600060ff168152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600063ffffffff168152602001600063ffffffff1681525090565b600060ff82169050919050565b6000819050919050565b6000610c77610c72610c6d84610c45565b610c52565b610c45565b9050919050565b610c8781610c5c565b82525050565b6000602082019050610ca26000830184610c7e565b92915050565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b610ccf81610cbc565b8114610cda57600080fd5b50565b600081359050610cec81610cc6565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b610d4582610cfc565b810181811067ffffffffffffffff82111715610d6457610d63610d0d565b5b80604052505050565b6000610d77610ca8565b9050610d838282610d3c565b919050565b600067ffffffffffffffff821115610da357610da2610d0d565b5b610dac82610cfc565b9050602081019050919050565b82818337600083830152505050565b6000610ddb610dd684610d88565b610d6d565b905082815260208101848484011115610df757610df6610cf7565b5b610e02848285610db9565b509392505050565b600082601f830112610e1f57610e1e610cf2565b5b8135610e2f848260208601610dc8565b91505092915050565b60008060408385031215610e4f57610e4e610cb2565b5b6000610e5d85828601610cdd565b925050602083013567ffffffffffffffff811115610e7e57610e7d610cb7565b5b610e8a85828601610e0a565b9150509250929050565b600060208284031215610eaa57610ea9610cb2565b5b6000610eb884828501610cdd565b91505092915050565b60008115159050919050565b610ed681610ec1565b82525050565b6000602082019050610ef16000830184610ecd565b92915050565b600060208284031215610f0d57610f0c610cb2565b5b600082013567ffffffffffffffff811115610f2b57610f2a610cb7565b5b610f3784828501610e0a565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610f7a578082015181840152602081019050610f5f565b60008484015250505050565b6000610f9182610f40565b610f9b8185610f4b565b9350610fab818560208601610f5c565b610fb481610cfc565b840191505092915050565b60006020820190508181036000830152610fd98184610f86565b905092915050565b600081519050919050565b600082825260208201905092915050565b600061100882610fe1565b6110128185610fec565b9350611022818560208601610f5c565b61102b81610cfc565b840191505092915050565b600060208201905081810360008301526110508184610ffd565b905092915050565b61106181610c45565b811461106c57600080fd5b50565b60008135905061107e81611058565b92915050565b60008060006060848603121561109d5761109c610cb2565b5b60006110ab86828701610cdd565b93505060206110bc8682870161106f565b925050604084013567ffffffffffffffff8111156110dd576110dc610cb7565b5b6110e986828701610e0a565b9150509250925092565b6110fc81610c5c565b82525050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061112d82611102565b9050919050565b61113d81611122565b82525050565b600063ffffffff82169050919050565b600061116e61116961116484611143565b610c52565b611143565b9050919050565b61117e81611153565b82525050565b60808201600082015161119a60008501826110f3565b5060208201516111ad6020850182611134565b5060408201516111c06040850182611175565b5060608201516111d36060850182611175565b50505050565b600082825260208201905092915050565b60006111f582610fe1565b6111ff81856111d9565b935061120f818560208601610f5c565b61121881610cfc565b840191505092915050565b600060a08301600083015161123b6000860182611184565b506020830151848203608086015261125382826111ea565b9150508091505092915050565b6000602082019050818103600083015261127a8184611223565b905092915050565b60808201600082015161129860008501826110f3565b5060208201516112ab6020850182611134565b5060408201516112be6040850182611175565b5060608201516112d16060850182611175565b50505050565b60006080820190506112ec6000830184611282565b92915050565b600067ffffffffffffffff82111561130d5761130c610d0d565b5b61131682610cfc565b9050602081019050919050565b6000611336611331846112f2565b610d6d565b90508281526020810184848401111561135257611351610cf7565b5b61135d848285610db9565b509392505050565b600082601f83011261137a57611379610cf2565b5b813561138a848260208601611323565b91505092915050565b6000602082840312156113a9576113a8610cb2565b5b600082013567ffffffffffffffff8111156113c7576113c6610cb7565b5b6113d384828501611365565b91505092915050565b6000819050919050565b6113ef816113dc565b81146113fa57600080fd5b50565b60008135905061140c816113e6565b92915050565b60006020828403121561142857611427610cb2565b5b6000611436848285016113fd565b91505092915050565b61144881610cbc565b82525050565b6000602082019050611463600083018461143f565b92915050565b61147281610ec1565b811461147d57600080fd5b50565b60008135905061148f81611469565b92915050565b600080600080608085870312156114af576114ae610cb2565b5b60006114bd87828801610cdd565b945050602085013567ffffffffffffffff8111156114de576114dd610cb7565b5b6114ea87828801610e0a565b93505060406114fb87828801611480565b925050606061150c87828801611480565b91505092959194509250565b611521816113dc565b82525050565b600060208201905061153c6000830184611518565b92915050565b6000611555611550846112f2565b610d6d565b90508281526020810184848401111561157157611570610cf7565b5b61157c848285610f5c565b509392505050565b600082601f83011261159957611598610cf2565b5b81516115a9848260208601611542565b91505092915050565b6000602082840312156115c8576115c7610cb2565b5b600082015167ffffffffffffffff8111156115e6576115e5610cb7565b5b6115f284828501611584565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061164257607f821691505b602082108103611655576116546115fb565b5b50919050565b7f4552524f525f414c52454144595f435245415445440000000000000000000000600082015250565b6000611691601583610f4b565b915061169c8261165b565b602082019050919050565b600060208201905081810360008301526116c081611684565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026117297fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826116ec565b61173386836116ec565b95508019841693508086168417925050509392505050565b600061176661176161175c846113dc565b610c52565b6113dc565b9050919050565b6000819050919050565b6117808361174b565b61179461178c8261176d565b8484546116f9565b825550505050565b600090565b6117a961179c565b6117b4818484611777565b505050565b5b818110156117d8576117cd6000826117a1565b6001810190506117ba565b5050565b601f82111561181d576117ee816116c7565b6117f7846116dc565b81016020851015611806578190505b61181a611812856116dc565b8301826117b9565b50505b505050565b600082821c905092915050565b600061184060001984600802611822565b1980831691505092915050565b6000611859838361182f565b9150826002028217905092915050565b61187282610fe1565b67ffffffffffffffff81111561188b5761188a610d0d565b5b611895825461162a565b6118a08282856117dc565b600060209050601f8311600181146118d357600084156118c1578287015190505b6118cb858261184d565b865550611933565b601f1984166118e1866116c7565b60005b82811015611909578489015182556001820191506020850194506020810190506118e4565b868310156119265784890151611922601f89168261182f565b8355505b6001600288020188555050505b505050505050565b61194481611122565b82525050565b600060608201905061195f600083018661143f565b61196c6020830185610c7e565b611979604083018461193b565b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552524f525f4e4f545f4558495354494e470000000000000000000000000000600082015250565b60006119e6601283610f4b565b91506119f1826119b0565b602082019050919050565b60006020820190508181036000830152611a15816119d9565b9050919050565b611a2581611153565b82525050565b6000608082019050611a40600083018761143f565b611a4d6020830186610c7e565b611a5a604083018561193b565b611a676060830184611a1c565b95945050505050565b600081905092915050565b6000611a8682610f40565b611a908185611a70565b9350611aa0818560208601610f5c565b80840191505092915050565b6000611ab88284611a7b565b91508190509291505056fea2646970667358221220d11cbdec198c6f8b80ab39c446016619955d7d5088ac05bbc15f3272e07ec4ed64736f6c63430008140033",
380
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100ea5760003560e01c80638eaa6ac01161008c578063bb5b27e111610066578063bb5b27e114610283578063ecc86d00146102b3578063ee1ce841146102cf578063eea457c8146102ed576100ea565b80638eaa6ac0146101f3578063a5961b4c14610223578063b028ee1314610253576100ea565b8063426a0c88116100c8578063426a0c881461015957806345414df11461017757806354f6127f146101a75780635dee4788146101d7576100ea565b80630505c8c9146100ef578063212788f91461010d57806338a699a414610129575b600080fd5b6100f761031d565b6040516101049190610c8d565b60405180910390f35b61012760048036038101906101229190610e38565b61032c565b005b610143600480360381019061013e9190610e94565b61033d565b6040516101509190610edc565b60405180910390f35b6101616103ae565b60405161016e9190610c8d565b60405180910390f35b610191600480360381019061018c9190610ef7565b6103bd565b60405161019e9190610fbf565b60405180910390f35b6101c160048036038101906101bc9190610e94565b6103da565b6040516101ce9190611036565b60405180910390f35b6101f160048036038101906101ec9190611084565b610481565b005b61020d60048036038101906102089190610e94565b610673565b60405161021a9190611260565b60405180910390f35b61023d60048036038101906102389190610e94565b610804565b60405161024a91906112d7565b60405180910390f35b61026d60048036038101906102689190611393565b6108f2565b60405161027a9190611036565b60405180910390f35b61029d60048036038101906102989190611412565b61091b565b6040516102aa919061144e565b60405180910390f35b6102cd60048036038101906102c89190611495565b610943565b005b6102d7610b55565b6040516102e49190611527565b60405180910390f35b61030760048036038101906103029190611393565b610b62565b604051610314919061144e565b60405180910390f35b6000610327610b92565b905090565b6103398282600180610943565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff1660008084815260200190815260200160002060000160000160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b60006103b8610ba3565b905090565b6060818060200190518101906103d391906115b2565b9050919050565b606060008083815260200190815260200160002060010180546103fc9061162a565b80601f01602080910402602001604051908101604052809291908181526020018280546104289061162a565b80156104755780601f1061044a57610100808354040283529160200191610475565b820191906000526020600020905b81548152906001019060200180831161045857829003601f168201915b50505050509050919050565b60008060008581526020019081526020016000206000019050600073ffffffffffffffffffffffffffffffffffffffff168160000160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461052d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610524906116a7565b60405180910390fd5b6000339050600061053c610bb4565b9050848360000160006101000a81548160ff021916908360ff160217905550818360000160016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808360000160156101000a81548163ffffffff021916908363ffffffff160217905550808360000160196101000a81548163ffffffff021916908363ffffffff1602179055508360008088815260200190815260200160002060010190816106069190611869565b5060018690806001815401808255809150506001900390600052602060002001600090919091909150557fc83c5f6b50f8ff37501f857e58e080a5842f6e8775ccfba956f2047ab6a9a35e8686846040516106639392919061194a565b60405180910390a1505050505050565b61067b610bd8565b600080838152602001908152602001600020604051806040016040529081600082016040518060800160405290816000820160009054906101000a900460ff1660ff1660ff1681526020016000820160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160159054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016000820160199054906101000a900463ffffffff1663ffffffff1663ffffffff1681525050815260200160018201805461077b9061162a565b80601f01602080910402602001604051908101604052809291908181526020018280546107a79061162a565b80156107f45780601f106107c9576101008083540402835291602001916107f4565b820191906000526020600020905b8154815290600101906020018083116107d757829003601f168201915b5050505050815250509050919050565b61080c610bf8565b6000808381526020019081526020016000206000016040518060800160405290816000820160009054906101000a900460ff1660ff1660ff1681526020016000820160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160159054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016000820160199054906101000a900463ffffffff1663ffffffff1663ffffffff16815250509050919050565b6060816040516020016109059190610fbf565b6040516020818303038152906040529050919050565b60006001828154811061093157610930611981565b5b90600052602060002001549050919050565b8260008086815260200190815260200160002060010190816109659190611869565b506000610970610bb4565b905082801561097c5750815b15610b025760008060008781526020019081526020016000206000019050600073ffffffffffffffffffffffffffffffffffffffff168160000160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603610a2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a24906119fc565b60405180910390fd5b8215610a96577f01e2a32423aae515ef6611a2ca406f2478536c74f7c875f9d6129997ee76ef68868260000160009054906101000a900460ff16338460000160159054906101000a900463ffffffff16604051610a8d9493929190611a2b565b60405180910390a15b338160000160016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818160000160156101000a81548163ffffffff021916908363ffffffff16021790555050610b4e565b8115610b4d577f01e2a32423aae515ef6611a2ca406f2478536c74f7c875f9d6129997ee76ef6885610b32610b92565b3384604051610b449493929190611a2b565b60405180910390a15b5b5050505050565b6000600180549050905090565b600081604051602001610b759190611aac565b604051602081830303815290604052805190602001209050919050565b6000610b9e60c8610bc4565b905090565b6000610baf6065610bc4565b905090565b6000610bbf43610bce565b905090565b6000819050919050565b6000819050919050565b6040518060400160405280610beb610bf8565b8152602001606081525090565b6040518060800160405280600060ff168152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600063ffffffff168152602001600063ffffffff1681525090565b600060ff82169050919050565b6000819050919050565b6000610c77610c72610c6d84610c45565b610c52565b610c45565b9050919050565b610c8781610c5c565b82525050565b6000602082019050610ca26000830184610c7e565b92915050565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b610ccf81610cbc565b8114610cda57600080fd5b50565b600081359050610cec81610cc6565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b610d4582610cfc565b810181811067ffffffffffffffff82111715610d6457610d63610d0d565b5b80604052505050565b6000610d77610ca8565b9050610d838282610d3c565b919050565b600067ffffffffffffffff821115610da357610da2610d0d565b5b610dac82610cfc565b9050602081019050919050565b82818337600083830152505050565b6000610ddb610dd684610d88565b610d6d565b905082815260208101848484011115610df757610df6610cf7565b5b610e02848285610db9565b509392505050565b600082601f830112610e1f57610e1e610cf2565b5b8135610e2f848260208601610dc8565b91505092915050565b60008060408385031215610e4f57610e4e610cb2565b5b6000610e5d85828601610cdd565b925050602083013567ffffffffffffffff811115610e7e57610e7d610cb7565b5b610e8a85828601610e0a565b9150509250929050565b600060208284031215610eaa57610ea9610cb2565b5b6000610eb884828501610cdd565b91505092915050565b60008115159050919050565b610ed681610ec1565b82525050565b6000602082019050610ef16000830184610ecd565b92915050565b600060208284031215610f0d57610f0c610cb2565b5b600082013567ffffffffffffffff811115610f2b57610f2a610cb7565b5b610f3784828501610e0a565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610f7a578082015181840152602081019050610f5f565b60008484015250505050565b6000610f9182610f40565b610f9b8185610f4b565b9350610fab818560208601610f5c565b610fb481610cfc565b840191505092915050565b60006020820190508181036000830152610fd98184610f86565b905092915050565b600081519050919050565b600082825260208201905092915050565b600061100882610fe1565b6110128185610fec565b9350611022818560208601610f5c565b61102b81610cfc565b840191505092915050565b600060208201905081810360008301526110508184610ffd565b905092915050565b61106181610c45565b811461106c57600080fd5b50565b60008135905061107e81611058565b92915050565b60008060006060848603121561109d5761109c610cb2565b5b60006110ab86828701610cdd565b93505060206110bc8682870161106f565b925050604084013567ffffffffffffffff8111156110dd576110dc610cb7565b5b6110e986828701610e0a565b9150509250925092565b6110fc81610c5c565b82525050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061112d82611102565b9050919050565b61113d81611122565b82525050565b600063ffffffff82169050919050565b600061116e61116961116484611143565b610c52565b611143565b9050919050565b61117e81611153565b82525050565b60808201600082015161119a60008501826110f3565b5060208201516111ad6020850182611134565b5060408201516111c06040850182611175565b5060608201516111d36060850182611175565b50505050565b600082825260208201905092915050565b60006111f582610fe1565b6111ff81856111d9565b935061120f818560208601610f5c565b61121881610cfc565b840191505092915050565b600060a08301600083015161123b6000860182611184565b506020830151848203608086015261125382826111ea565b9150508091505092915050565b6000602082019050818103600083015261127a8184611223565b905092915050565b60808201600082015161129860008501826110f3565b5060208201516112ab6020850182611134565b5060408201516112be6040850182611175565b5060608201516112d16060850182611175565b50505050565b60006080820190506112ec6000830184611282565b92915050565b600067ffffffffffffffff82111561130d5761130c610d0d565b5b61131682610cfc565b9050602081019050919050565b6000611336611331846112f2565b610d6d565b90508281526020810184848401111561135257611351610cf7565b5b61135d848285610db9565b509392505050565b600082601f83011261137a57611379610cf2565b5b813561138a848260208601611323565b91505092915050565b6000602082840312156113a9576113a8610cb2565b5b600082013567ffffffffffffffff8111156113c7576113c6610cb7565b5b6113d384828501611365565b91505092915050565b6000819050919050565b6113ef816113dc565b81146113fa57600080fd5b50565b60008135905061140c816113e6565b92915050565b60006020828403121561142857611427610cb2565b5b6000611436848285016113fd565b91505092915050565b61144881610cbc565b82525050565b6000602082019050611463600083018461143f565b92915050565b61147281610ec1565b811461147d57600080fd5b50565b60008135905061148f81611469565b92915050565b600080600080608085870312156114af576114ae610cb2565b5b60006114bd87828801610cdd565b945050602085013567ffffffffffffffff8111156114de576114dd610cb7565b5b6114ea87828801610e0a565b93505060406114fb87828801611480565b925050606061150c87828801611480565b91505092959194509250565b611521816113dc565b82525050565b600060208201905061153c6000830184611518565b92915050565b6000611555611550846112f2565b610d6d565b90508281526020810184848401111561157157611570610cf7565b5b61157c848285610f5c565b509392505050565b600082601f83011261159957611598610cf2565b5b81516115a9848260208601611542565b91505092915050565b6000602082840312156115c8576115c7610cb2565b5b600082015167ffffffffffffffff8111156115e6576115e5610cb7565b5b6115f284828501611584565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061164257607f821691505b602082108103611655576116546115fb565b5b50919050565b7f4552524f525f414c52454144595f435245415445440000000000000000000000600082015250565b6000611691601583610f4b565b915061169c8261165b565b602082019050919050565b600060208201905081810360008301526116c081611684565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026117297fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826116ec565b61173386836116ec565b95508019841693508086168417925050509392505050565b600061176661176161175c846113dc565b610c52565b6113dc565b9050919050565b6000819050919050565b6117808361174b565b61179461178c8261176d565b8484546116f9565b825550505050565b600090565b6117a961179c565b6117b4818484611777565b505050565b5b818110156117d8576117cd6000826117a1565b6001810190506117ba565b5050565b601f82111561181d576117ee816116c7565b6117f7846116dc565b81016020851015611806578190505b61181a611812856116dc565b8301826117b9565b50505b505050565b600082821c905092915050565b600061184060001984600802611822565b1980831691505092915050565b6000611859838361182f565b9150826002028217905092915050565b61187282610fe1565b67ffffffffffffffff81111561188b5761188a610d0d565b5b611895825461162a565b6118a08282856117dc565b600060209050601f8311600181146118d357600084156118c1578287015190505b6118cb858261184d565b865550611933565b601f1984166118e1866116c7565b60005b82811015611909578489015182556001820191506020850194506020810190506118e4565b868310156119265784890151611922601f89168261182f565b8355505b6001600288020188555050505b505050505050565b61194481611122565b82525050565b600060608201905061195f600083018661143f565b61196c6020830185610c7e565b611979604083018461193b565b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552524f525f4e4f545f4558495354494e470000000000000000000000000000600082015250565b60006119e6601283610f4b565b91506119f1826119b0565b602082019050919050565b60006020820190508181036000830152611a15816119d9565b9050919050565b611a2581611153565b82525050565b6000608082019050611a40600083018761143f565b611a4d6020830186610c7e565b611a5a604083018561193b565b611a676060830184611a1c565b95945050505050565b600081905092915050565b6000611a8682610f40565b611a908185611a70565b9350611aa0818560208601610f5c565b80840191505092915050565b6000611ab88284611a7b565b91508190509291505056fea2646970667358221220d11cbdec198c6f8b80ab39c446016619955d7d5088ac05bbc15f3272e07ec4ed64736f6c63430008140033",
381
- "linkReferences": {},
382
- "deployedLinkReferences": {}
383
- }
@@ -1,4 +0,0 @@
1
- {
2
- "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/098ac466bcde21143ae166eab05b431d.json"
4
- }