@etherisc/gif-next 0.0.2-c4efd5e → 0.0.2-c576a00-897

Sign up to get free protection for your applications and to get access to all the features.
Files changed (333) hide show
  1. package/README.md +85 -1
  2. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +4 -0
  3. package/artifacts/contracts/components/{Component.sol/Component.json → BaseComponent.sol/BaseComponent.json} +48 -53
  4. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +4 -0
  5. package/artifacts/contracts/components/{IPool.sol/IPoolComponent.json → IBaseComponent.sol/IBaseComponent.json} +48 -53
  6. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  7. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +356 -0
  8. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  9. package/artifacts/contracts/components/{IProduct.sol → IProductComponent.sol}/IProductComponent.json +139 -52
  10. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  11. package/artifacts/contracts/components/Pool.sol/Pool.json +218 -44
  12. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  13. package/artifacts/contracts/components/Product.sol/Product.json +144 -70
  14. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
  15. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +2 -2
  16. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
  17. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +2 -2
  18. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
  19. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +2 -2
  20. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
  21. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +2 -2
  22. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
  23. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
  24. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
  25. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
  26. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
  27. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
  28. package/artifacts/contracts/experiment/kvstore/BundleModuleStore.sol/BundleModuleStore.dbg.json +4 -0
  29. package/artifacts/contracts/experiment/kvstore/BundleModuleStore.sol/BundleModuleStore.json +543 -0
  30. package/artifacts/contracts/experiment/kvstore/IBundle.sol/IBundle.dbg.json +4 -0
  31. package/artifacts/contracts/experiment/kvstore/IBundle.sol/IBundle.json +10 -0
  32. package/artifacts/contracts/experiment/kvstore/KeyMapper.sol/KeyMapper.dbg.json +4 -0
  33. package/artifacts/contracts/experiment/kvstore/KeyMapper.sol/KeyMapper.json +185 -0
  34. package/artifacts/contracts/experiment/kvstore/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  35. package/artifacts/contracts/experiment/kvstore/KeyValueStore.sol/KeyValueStore.json +383 -0
  36. package/artifacts/contracts/experiment/kvstore/KvStore.sol/KvStore.dbg.json +4 -0
  37. package/artifacts/contracts/experiment/kvstore/KvStore.sol/KvStore.json +1064 -0
  38. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +4 -0
  39. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +59 -0
  40. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +4 -0
  41. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +124 -0
  42. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +4 -0
  43. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +74 -0
  44. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +4 -0
  45. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +124 -0
  46. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +4 -0
  47. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +207 -0
  48. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
  49. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +2 -2
  50. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
  51. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +2 -2
  52. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  53. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1414 -289
  54. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +4 -0
  55. package/artifacts/contracts/instance/{component/IComponent.sol → IInstanceLinked.sol}/IInstanceLinked.json +1 -1
  56. package/artifacts/contracts/instance/IServiceLinked.sol/IServiceLinked.dbg.json +4 -0
  57. package/artifacts/contracts/instance/{access/IAccess.sol/IAccessComponentTypeRoles.json → IServiceLinked.sol/IServiceLinked.json} +14 -14
  58. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  59. package/artifacts/contracts/instance/Instance.sol/Instance.json +1715 -345
  60. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +4 -0
  61. package/artifacts/contracts/instance/{component/ComponentModule.sol/ComponentModule.json → InstanceBase.sol/InstanceBase.json} +128 -142
  62. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +4 -0
  63. package/artifacts/contracts/instance/{access → module/access}/Access.sol/AccessModule.json +85 -152
  64. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +4 -0
  65. package/artifacts/contracts/instance/{access → module/access}/IAccess.sol/IAccess.json +1 -1
  66. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +4 -0
  67. package/artifacts/contracts/instance/{access → module/access}/IAccess.sol/IAccessModule.json +96 -99
  68. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +4 -0
  69. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +276 -0
  70. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +4 -0
  71. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.json +10 -0
  72. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +4 -0
  73. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +276 -0
  74. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.dbg.json +4 -0
  75. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.json +10 -0
  76. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.dbg.json +4 -0
  77. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.json +10 -0
  78. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.dbg.json +4 -0
  79. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.json +10 -0
  80. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +4 -0
  81. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +188 -0
  82. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +4 -0
  83. package/artifacts/contracts/instance/{component → module/component}/IComponent.sol/IComponent.json +1 -1
  84. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +4 -0
  85. package/artifacts/contracts/instance/{component → module/component}/IComponent.sol/IComponentModule.json +40 -97
  86. package/artifacts/contracts/instance/module/lifecycle/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  87. package/artifacts/contracts/instance/module/lifecycle/ILifecycle.sol/ILifecycle.json +134 -0
  88. package/artifacts/contracts/instance/module/lifecycle/ILifecycle.sol/ILifecycleModule.dbg.json +4 -0
  89. package/artifacts/contracts/instance/module/lifecycle/ILifecycle.sol/ILifecycleModule.json +182 -0
  90. package/artifacts/contracts/instance/module/lifecycle/LifecycleModule.sol/LifecycleModule.dbg.json +4 -0
  91. package/artifacts/contracts/instance/module/lifecycle/LifecycleModule.sol/LifecycleModule.json +221 -0
  92. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +4 -0
  93. package/artifacts/contracts/instance/{policy → module/policy}/IPolicy.sol/IPolicy.json +1 -1
  94. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +4 -0
  95. package/artifacts/contracts/instance/{policy → module/policy}/IPolicy.sol/IPolicyModule.json +142 -112
  96. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +4 -0
  97. package/artifacts/contracts/instance/{policy → module/policy}/PolicyModule.sol/PolicyModule.json +142 -112
  98. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +4 -0
  99. package/artifacts/contracts/instance/{pool → module/pool}/IPoolModule.sol/IPool.json +1 -1
  100. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +4 -0
  101. package/artifacts/contracts/instance/{pool → module/pool}/IPoolModule.sol/IPoolModule.json +57 -57
  102. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +4 -0
  103. package/artifacts/contracts/instance/{pool → module/pool}/PoolModule.sol/PoolModule.json +50 -63
  104. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +4 -0
  105. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.json +10 -0
  106. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +4 -0
  107. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +167 -0
  108. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +4 -0
  109. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +185 -0
  110. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +4 -0
  111. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.json +10 -0
  112. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +4 -0
  113. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +533 -0
  114. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  115. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +76 -0
  116. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +4 -0
  117. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +533 -0
  118. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +4 -0
  119. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +491 -0
  120. package/artifacts/contracts/instance/service/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +4 -0
  121. package/artifacts/contracts/instance/service/ComponentServiceBase.sol/ComponentServiceBase.json +300 -0
  122. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +4 -0
  123. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +364 -0
  124. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +4 -0
  125. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +376 -0
  126. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +4 -0
  127. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +477 -0
  128. package/artifacts/contracts/instance/service/IService.sol/IService.dbg.json +4 -0
  129. package/artifacts/contracts/instance/{component/IComponent.sol/IComponentContract.json → service/IService.sol/IService.json} +148 -27
  130. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
  131. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +471 -0
  132. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
  133. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +673 -0
  134. package/artifacts/contracts/instance/service/ServiceBase.sol/ServiceBase.dbg.json +4 -0
  135. package/artifacts/contracts/instance/service/ServiceBase.sol/ServiceBase.json +300 -0
  136. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  137. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +65 -2
  138. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +1 -1
  139. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  140. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +103 -77
  141. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  142. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.json +24 -0
  143. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  144. package/artifacts/contracts/registry/Registry.sol/Registry.json +194 -69
  145. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +4 -0
  146. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +35 -0
  147. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +4 -0
  148. package/artifacts/contracts/{registry/IRegistry.sol → shared/IOwnable.sol}/IOwnable.json +1 -1
  149. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +4 -0
  150. package/artifacts/contracts/{registry/IRegistry.sol → shared/IRegisterable.sol}/IRegisterable.json +18 -63
  151. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +4 -0
  152. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +164 -0
  153. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +4 -0
  154. package/artifacts/contracts/{registry/Registry.sol → shared/Registerable.sol}/Registerable.json +18 -63
  155. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +4 -0
  156. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +164 -0
  157. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +4 -0
  158. package/artifacts/contracts/test/TestFee.sol/TestFee.json +119 -0
  159. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +4 -0
  160. package/artifacts/contracts/test/TestPool.sol/TestPool.json +387 -0
  161. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +4 -0
  162. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +393 -0
  163. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +4 -0
  164. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +137 -0
  165. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +4 -0
  166. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +82 -0
  167. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +4 -0
  168. package/artifacts/contracts/test/TestService.sol/TestService.json +379 -0
  169. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +4 -0
  170. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +338 -0
  171. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +4 -0
  172. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +218 -0
  173. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +4 -0
  174. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +206 -0
  175. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  176. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +10 -0
  177. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  178. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +40 -2
  179. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  180. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +2 -2
  181. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +4 -0
  182. package/artifacts/contracts/types/Fee.sol/FeeLib.json +218 -0
  183. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  184. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +2 -2
  185. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  186. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +10 -0
  187. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  188. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +92 -0
  189. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +4 -0
  190. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +92 -0
  191. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  192. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +64 -2
  193. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +1 -1
  194. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +58 -58
  195. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +4 -0
  196. package/artifacts/contracts/types/Version.sol/VersionLib.json +139 -0
  197. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +4 -0
  198. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +30 -0
  199. package/contracts/components/BaseComponent.sol +89 -0
  200. package/contracts/components/IBaseComponent.sol +19 -0
  201. package/contracts/components/IPoolComponent.sol +57 -0
  202. package/contracts/components/IProductComponent.sol +19 -0
  203. package/contracts/components/Pool.sol +162 -10
  204. package/contracts/components/Product.sol +75 -13
  205. package/contracts/experiment/kvstore/BundleModuleStore.sol +93 -0
  206. package/contracts/experiment/kvstore/IBundle.sol +22 -0
  207. package/contracts/experiment/kvstore/KeyMapper.sol +40 -0
  208. package/contracts/experiment/kvstore/KeyValueStore.sol +156 -0
  209. package/contracts/experiment/kvstore/KvStore.sol +195 -0
  210. package/contracts/experiment/statemachine/Dummy.sol +27 -0
  211. package/contracts/experiment/statemachine/ISM.sol +25 -0
  212. package/contracts/experiment/statemachine/README.md +112 -0
  213. package/contracts/experiment/statemachine/SM.sol +57 -0
  214. package/contracts/experiment/statemachine/SimpleStateMachine.sol +31 -0
  215. package/contracts/instance/IInstance.sol +43 -8
  216. package/contracts/instance/IInstanceLinked.sol +8 -0
  217. package/contracts/instance/IServiceLinked.sol +12 -0
  218. package/contracts/instance/Instance.sol +45 -43
  219. package/contracts/instance/InstanceBase.sol +71 -0
  220. package/contracts/instance/module/access/Access.sol +149 -0
  221. package/contracts/instance/module/access/IAccess.sol +53 -0
  222. package/contracts/instance/module/bundle/BundleModule.sol +228 -0
  223. package/contracts/instance/module/bundle/IBundle.sol +53 -0
  224. package/contracts/instance/module/compensation/CompensationModule.sol +8 -0
  225. package/contracts/instance/module/compensation/ICompensation.sol +10 -0
  226. package/contracts/instance/module/component/ComponentModule.sol +103 -0
  227. package/contracts/instance/module/component/IComponent.sol +53 -0
  228. package/contracts/instance/module/lifecycle/ILifecycle.sol +47 -0
  229. package/contracts/instance/module/lifecycle/LifecycleModule.sol +89 -0
  230. package/contracts/instance/module/policy/IPolicy.sol +60 -0
  231. package/contracts/instance/module/policy/PolicyModule.sol +84 -0
  232. package/contracts/instance/module/pool/IPoolModule.sol +41 -0
  233. package/contracts/instance/module/pool/PoolModule.sol +87 -0
  234. package/contracts/instance/module/risk/IRisk.sol +39 -0
  235. package/contracts/instance/module/risk/RiskModule.sol +55 -0
  236. package/contracts/instance/module/treasury/ITreasury.sol +103 -0
  237. package/contracts/instance/module/treasury/TokenHandler.sol +48 -0
  238. package/contracts/instance/module/treasury/TreasuryModule.sol +152 -0
  239. package/contracts/instance/service/ComponentOwnerService.sol +171 -0
  240. package/contracts/instance/service/ComponentServiceBase.sol +41 -0
  241. package/contracts/instance/service/IComponentOwnerService.sol +22 -0
  242. package/contracts/instance/service/IPoolService.sol +30 -0
  243. package/contracts/instance/service/IProductService.sol +58 -0
  244. package/contracts/instance/service/IService.sol +15 -0
  245. package/contracts/instance/service/PoolService.sol +123 -0
  246. package/contracts/instance/service/ProductService.sol +355 -0
  247. package/contracts/instance/service/ServiceBase.sol +39 -0
  248. package/contracts/registry/ChainNft.sol +61 -37
  249. package/contracts/registry/IRegistry.sol +27 -50
  250. package/contracts/registry/IRegistryLinked.sol +8 -0
  251. package/contracts/registry/Registry.sol +281 -109
  252. package/contracts/shared/ERC165.sol +21 -0
  253. package/contracts/shared/IOwnable.sol +6 -0
  254. package/contracts/shared/IRegisterable.sol +24 -0
  255. package/contracts/shared/IVersionable.sol +52 -0
  256. package/contracts/shared/Registerable.sol +86 -0
  257. package/contracts/shared/Versionable.sol +89 -0
  258. package/contracts/test/TestFee.sol +25 -0
  259. package/contracts/test/TestPool.sol +22 -0
  260. package/contracts/test/TestProduct.sol +44 -0
  261. package/contracts/test/TestRegisterable.sol +19 -0
  262. package/contracts/test/TestRoleId.sol +14 -0
  263. package/contracts/test/TestService.sol +32 -0
  264. package/contracts/test/TestToken.sol +26 -0
  265. package/contracts/test/TestVersion.sol +44 -0
  266. package/contracts/test/TestVersionable.sol +17 -0
  267. package/contracts/types/AddressSet.sol +58 -0
  268. package/contracts/types/Blocknumber.sol +16 -0
  269. package/contracts/types/Fee.sol +51 -0
  270. package/contracts/types/NftId.sol +7 -1
  271. package/contracts/types/NftIdSet.sol +60 -0
  272. package/contracts/types/ObjectType.sol +119 -0
  273. package/contracts/types/RiskId.sol +26 -0
  274. package/contracts/types/RoleId.sol +36 -0
  275. package/contracts/types/StateId.sol +95 -0
  276. package/contracts/types/Timestamp.sol +22 -1
  277. package/contracts/types/UFixed.sol +15 -14
  278. package/contracts/types/Version.sol +95 -0
  279. package/package.json +13 -6
  280. package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
  281. package/artifacts/contracts/components/Component.sol/InstanceLinked.dbg.json +0 -4
  282. package/artifacts/contracts/components/Component.sol/InstanceLinked.json +0 -35
  283. package/artifacts/contracts/components/IPool.sol/IPoolComponent.dbg.json +0 -4
  284. package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +0 -4
  285. package/artifacts/contracts/instance/access/Access.sol/AccessModule.dbg.json +0 -4
  286. package/artifacts/contracts/instance/access/IAccess.sol/IAccess.dbg.json +0 -4
  287. package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.dbg.json +0 -4
  288. package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.json +0 -35
  289. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.dbg.json +0 -4
  290. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  291. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  292. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +0 -4
  293. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json +0 -147
  294. package/artifacts/contracts/instance/component/IComponent.sol/IComponent.dbg.json +0 -4
  295. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.dbg.json +0 -4
  296. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  297. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +0 -4
  298. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.json +0 -94
  299. package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +0 -4
  300. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  301. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  302. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  303. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  304. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  305. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  306. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.dbg.json +0 -4
  307. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.json +0 -75
  308. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.dbg.json +0 -4
  309. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.json +0 -114
  310. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.dbg.json +0 -4
  311. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.json +0 -75
  312. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.dbg.json +0 -4
  313. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.json +0 -167
  314. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.dbg.json +0 -4
  315. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +0 -4
  316. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +0 -4
  317. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.json +0 -49
  318. package/artifacts/contracts/registry/Registry.sol/Registerable.dbg.json +0 -4
  319. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.dbg.json +0 -4
  320. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.json +0 -60
  321. package/contracts/components/Component.sol +0 -60
  322. package/contracts/components/IPool.sol +0 -9
  323. package/contracts/components/IProduct.sol +0 -9
  324. package/contracts/instance/access/Access.sol +0 -165
  325. package/contracts/instance/access/IAccess.sol +0 -63
  326. package/contracts/instance/component/ComponentModule.sol +0 -213
  327. package/contracts/instance/component/IComponent.sol +0 -73
  328. package/contracts/instance/policy/IPolicy.sol +0 -51
  329. package/contracts/instance/policy/PolicyModule.sol +0 -91
  330. package/contracts/instance/pool/IPoolModule.sol +0 -29
  331. package/contracts/instance/pool/PoolModule.sol +0 -73
  332. package/contracts/instance/product/IProductService.sol +0 -36
  333. package/contracts/instance/product/ProductService.sol +0 -112
@@ -0,0 +1,185 @@
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
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../../build-info/098ac466bcde21143ae166eab05b431d.json"
4
+ }
@@ -0,0 +1,383 @@
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
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../../build-info/098ac466bcde21143ae166eab05b431d.json"
4
+ }