@etherisc/gif-next 0.0.2-d911522 → 0.0.2-d96b9e1-825

Sign up to get free protection for your applications and to get access to all the features.
Files changed (339) hide show
  1. package/README.md +109 -0
  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/statemachine/Dummy.sol/LifeCycleModule.dbg.json +4 -0
  29. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +59 -0
  30. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +4 -0
  31. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +124 -0
  32. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +4 -0
  33. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +74 -0
  34. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +4 -0
  35. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +124 -0
  36. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +4 -0
  37. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +207 -0
  38. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
  39. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +2 -2
  40. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
  41. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +2 -2
  42. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  43. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1194 -220
  44. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +4 -0
  45. package/artifacts/contracts/instance/{component/IComponent.sol → IInstanceLinked.sol}/IInstanceLinked.json +1 -1
  46. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  47. package/artifacts/contracts/instance/Instance.sol/Instance.json +1443 -354
  48. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +4 -0
  49. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +300 -0
  50. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +4 -0
  51. package/artifacts/contracts/instance/{product/ProductService.sol/ProductModule.json → base/IInstanceBase.sol/IInstanceBase.json} +18 -30
  52. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  53. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +511 -0
  54. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  55. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.json +115 -0
  56. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +4 -0
  57. package/artifacts/contracts/instance/base/IService.sol/IService.json +300 -0
  58. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +4 -0
  59. package/artifacts/contracts/instance/{component/ComponentModule.sol/ComponentModule.json → base/InstanceBase.sol/InstanceBase.json} +137 -138
  60. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  61. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +692 -0
  62. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  63. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +169 -0
  64. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +4 -0
  65. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.json +10 -0
  66. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +4 -0
  67. package/artifacts/contracts/instance/{component/IComponent.sol/IComponentContract.json → base/ServiceBase.sol/ServiceBase.json} +148 -27
  68. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +4 -0
  69. package/artifacts/contracts/instance/{access → module/access}/Access.sol/AccessModule.json +85 -152
  70. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +4 -0
  71. package/artifacts/contracts/instance/{access → module/access}/IAccess.sol/IAccess.json +1 -1
  72. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +4 -0
  73. package/artifacts/contracts/instance/{access → module/access}/IAccess.sol/IAccessModule.json +96 -99
  74. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +4 -0
  75. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +296 -0
  76. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +4 -0
  77. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.json +10 -0
  78. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +4 -0
  79. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +296 -0
  80. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.dbg.json +4 -0
  81. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.json +10 -0
  82. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.dbg.json +4 -0
  83. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.json +10 -0
  84. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.dbg.json +4 -0
  85. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.json +10 -0
  86. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +4 -0
  87. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +188 -0
  88. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +4 -0
  89. package/artifacts/contracts/instance/{component → module/component}/IComponent.sol/IComponent.json +1 -1
  90. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +4 -0
  91. package/artifacts/contracts/instance/{component → module/component}/IComponent.sol/IComponentModule.json +40 -97
  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 +10 -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 +10 -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/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +4 -0
  121. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +364 -0
  122. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +4 -0
  123. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +376 -0
  124. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +4 -0
  125. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +477 -0
  126. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
  127. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +471 -0
  128. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
  129. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +673 -0
  130. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  131. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +65 -2
  132. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +1 -1
  133. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  134. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +103 -77
  135. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  136. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.json +24 -0
  137. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  138. package/artifacts/contracts/registry/Registry.sol/Registry.json +194 -69
  139. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +4 -0
  140. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +35 -0
  141. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +4 -0
  142. package/artifacts/contracts/{registry/IRegistry.sol → shared/IOwnable.sol}/IOwnable.json +1 -1
  143. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +4 -0
  144. package/artifacts/contracts/{registry/IRegistry.sol → shared/IRegisterable.sol}/IRegisterable.json +18 -63
  145. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +4 -0
  146. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +164 -0
  147. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +4 -0
  148. package/artifacts/contracts/{registry/Registry.sol → shared/Registerable.sol}/Registerable.json +18 -63
  149. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +4 -0
  150. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +164 -0
  151. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +4 -0
  152. package/artifacts/contracts/test/TestFee.sol/TestFee.json +119 -0
  153. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +4 -0
  154. package/artifacts/contracts/test/TestPool.sol/TestPool.json +387 -0
  155. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +4 -0
  156. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +393 -0
  157. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +4 -0
  158. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +137 -0
  159. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +4 -0
  160. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +82 -0
  161. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +4 -0
  162. package/artifacts/contracts/test/TestService.sol/TestService.json +379 -0
  163. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +4 -0
  164. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +338 -0
  165. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +4 -0
  166. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +218 -0
  167. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +4 -0
  168. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +206 -0
  169. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  170. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +10 -0
  171. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  172. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  173. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  174. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +2 -2
  175. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +4 -0
  176. package/artifacts/contracts/types/Fee.sol/FeeLib.json +218 -0
  177. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +4 -0
  178. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +111 -0
  179. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  180. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +65 -4
  181. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  182. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +10 -0
  183. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  184. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +92 -0
  185. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +4 -0
  186. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +92 -0
  187. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  188. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +64 -2
  189. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +1 -1
  190. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +68 -55
  191. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +4 -0
  192. package/artifacts/contracts/types/Version.sol/VersionLib.json +139 -0
  193. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +4 -0
  194. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +30 -0
  195. package/contracts/components/BaseComponent.sol +88 -0
  196. package/contracts/components/IBaseComponent.sol +19 -0
  197. package/contracts/components/IPoolComponent.sol +57 -0
  198. package/contracts/components/IProductComponent.sol +19 -0
  199. package/contracts/components/Pool.sol +161 -16
  200. package/contracts/components/Product.sol +77 -26
  201. package/contracts/experiment/errors/Require.sol +10 -5
  202. package/contracts/experiment/errors/Revert.sol +13 -8
  203. package/contracts/experiment/inheritance/A.sol +8 -11
  204. package/contracts/experiment/inheritance/B.sol +10 -5
  205. package/contracts/experiment/inheritance/C.sol +11 -5
  206. package/contracts/experiment/inheritance/IA.sol +2 -7
  207. package/contracts/experiment/inheritance/IB.sol +3 -2
  208. package/contracts/experiment/inheritance/IC.sol +4 -3
  209. package/contracts/experiment/statemachine/Dummy.sol +27 -0
  210. package/contracts/experiment/statemachine/ISM.sol +25 -0
  211. package/contracts/experiment/statemachine/README.md +112 -0
  212. package/contracts/experiment/statemachine/SM.sol +57 -0
  213. package/contracts/experiment/statemachine/SimpleStateMachine.sol +31 -0
  214. package/contracts/experiment/types/TypeA.sol +14 -9
  215. package/contracts/experiment/types/TypeB.sol +14 -9
  216. package/contracts/instance/IInstance.sol +40 -8
  217. package/contracts/instance/IInstanceLinked.sol +8 -0
  218. package/contracts/instance/Instance.sol +47 -43
  219. package/contracts/instance/base/ComponentServiceBase.sol +42 -0
  220. package/contracts/instance/base/IInstanceBase.sol +14 -0
  221. package/contracts/instance/base/IKeyValueStore.sol +49 -0
  222. package/contracts/instance/base/ILifecycle.sol +30 -0
  223. package/contracts/instance/base/IService.sol +15 -0
  224. package/contracts/instance/base/InstanceBase.sol +80 -0
  225. package/contracts/instance/base/KeyValueStore.sol +147 -0
  226. package/contracts/instance/base/Lifecycle.sol +95 -0
  227. package/contracts/instance/base/ModuleBase.sol +52 -0
  228. package/contracts/instance/base/ServiceBase.sol +37 -0
  229. package/contracts/instance/module/access/Access.sol +149 -0
  230. package/contracts/instance/module/access/IAccess.sol +53 -0
  231. package/contracts/instance/module/bundle/BundleModule.sol +136 -0
  232. package/contracts/instance/module/bundle/IBundle.sol +58 -0
  233. package/contracts/instance/module/compensation/CompensationModule.sol +8 -0
  234. package/contracts/instance/module/compensation/ICompensation.sol +10 -0
  235. package/contracts/instance/module/component/ComponentModule.sol +95 -0
  236. package/contracts/instance/module/component/IComponent.sol +53 -0
  237. package/contracts/instance/module/policy/IPolicy.sol +60 -0
  238. package/contracts/instance/module/policy/PolicyModule.sol +76 -0
  239. package/contracts/instance/module/pool/IPoolModule.sol +41 -0
  240. package/contracts/instance/module/pool/PoolModule.sol +87 -0
  241. package/contracts/instance/module/risk/IRisk.sol +10 -0
  242. package/contracts/instance/module/risk/RiskModule.sol +8 -0
  243. package/contracts/instance/module/treasury/ITreasury.sol +103 -0
  244. package/contracts/instance/module/treasury/TokenHandler.sol +48 -0
  245. package/contracts/instance/module/treasury/TreasuryModule.sol +152 -0
  246. package/contracts/instance/service/ComponentOwnerService.sol +170 -0
  247. package/contracts/instance/service/IComponentOwnerService.sol +22 -0
  248. package/contracts/instance/service/IPoolService.sol +30 -0
  249. package/contracts/instance/service/IProductService.sol +58 -0
  250. package/contracts/instance/service/PoolService.sol +123 -0
  251. package/contracts/instance/service/ProductService.sol +354 -0
  252. package/contracts/registry/ChainNft.sol +80 -94
  253. package/contracts/registry/IChainNft.sol +10 -7
  254. package/contracts/registry/IRegistry.sol +38 -51
  255. package/contracts/registry/IRegistryLinked.sol +8 -0
  256. package/contracts/registry/Registry.sol +310 -111
  257. package/contracts/shared/ERC165.sol +21 -0
  258. package/contracts/shared/IOwnable.sol +6 -0
  259. package/contracts/shared/IRegisterable.sol +24 -0
  260. package/contracts/shared/IVersionable.sol +52 -0
  261. package/contracts/shared/Registerable.sol +86 -0
  262. package/contracts/shared/Versionable.sol +89 -0
  263. package/contracts/test/TestFee.sol +25 -0
  264. package/contracts/test/TestPool.sol +22 -0
  265. package/contracts/test/TestProduct.sol +44 -0
  266. package/contracts/test/TestRegisterable.sol +19 -0
  267. package/contracts/test/TestRoleId.sol +14 -0
  268. package/contracts/test/TestService.sol +32 -0
  269. package/contracts/test/TestToken.sol +26 -0
  270. package/contracts/test/TestVersion.sol +44 -0
  271. package/contracts/test/TestVersionable.sol +17 -0
  272. package/contracts/types/AddressSet.sol +58 -0
  273. package/contracts/types/Blocknumber.sol +76 -18
  274. package/contracts/types/ChainId.sol +18 -10
  275. package/contracts/types/Fee.sol +51 -0
  276. package/contracts/types/Key32.sol +45 -0
  277. package/contracts/types/NftId.sol +48 -11
  278. package/contracts/types/NftIdSet.sol +60 -0
  279. package/contracts/types/ObjectType.sol +115 -0
  280. package/contracts/types/RoleId.sol +36 -0
  281. package/contracts/types/StateId.sol +101 -0
  282. package/contracts/types/Timestamp.sol +85 -17
  283. package/contracts/types/UFixed.sol +71 -72
  284. package/contracts/types/Version.sol +95 -0
  285. package/package.json +15 -4
  286. package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
  287. package/artifacts/contracts/components/Component.sol/InstanceLinked.dbg.json +0 -4
  288. package/artifacts/contracts/components/Component.sol/InstanceLinked.json +0 -35
  289. package/artifacts/contracts/components/IPool.sol/IPoolComponent.dbg.json +0 -4
  290. package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +0 -4
  291. package/artifacts/contracts/instance/access/Access.sol/AccessModule.dbg.json +0 -4
  292. package/artifacts/contracts/instance/access/IAccess.sol/IAccess.dbg.json +0 -4
  293. package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.dbg.json +0 -4
  294. package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.json +0 -35
  295. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.dbg.json +0 -4
  296. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.json +0 -50
  297. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  298. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  299. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +0 -4
  300. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json +0 -147
  301. package/artifacts/contracts/instance/component/IComponent.sol/IComponent.dbg.json +0 -4
  302. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.dbg.json +0 -4
  303. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  304. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +0 -4
  305. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.json +0 -94
  306. package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +0 -4
  307. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  308. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  309. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  310. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  311. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  312. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  313. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.dbg.json +0 -4
  314. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.json +0 -75
  315. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.dbg.json +0 -4
  316. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.json +0 -114
  317. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.dbg.json +0 -4
  318. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.dbg.json +0 -4
  319. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.json +0 -167
  320. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.dbg.json +0 -4
  321. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +0 -4
  322. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +0 -4
  323. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.json +0 -49
  324. package/artifacts/contracts/registry/Registry.sol/Registerable.dbg.json +0 -4
  325. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.dbg.json +0 -4
  326. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.json +0 -60
  327. package/contracts/components/Component.sol +0 -62
  328. package/contracts/components/IPool.sol +0 -9
  329. package/contracts/components/IProduct.sol +0 -12
  330. package/contracts/instance/access/Access.sol +0 -218
  331. package/contracts/instance/access/IAccess.sol +0 -83
  332. package/contracts/instance/component/ComponentModule.sol +0 -248
  333. package/contracts/instance/component/IComponent.sol +0 -95
  334. package/contracts/instance/policy/IPolicy.sol +0 -66
  335. package/contracts/instance/policy/PolicyModule.sol +0 -107
  336. package/contracts/instance/pool/IPoolModule.sol +0 -41
  337. package/contracts/instance/pool/PoolModule.sol +0 -86
  338. package/contracts/instance/product/IProductService.sol +0 -46
  339. package/contracts/instance/product/ProductService.sol +0 -108
@@ -0,0 +1,692 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "KeyValueStore",
4
+ "sourceName": "contracts/instance/base/KeyValueStore.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [],
8
+ "stateMutability": "nonpayable",
9
+ "type": "constructor"
10
+ },
11
+ {
12
+ "inputs": [
13
+ {
14
+ "internalType": "ObjectType",
15
+ "name": "objectType",
16
+ "type": "uint8"
17
+ },
18
+ {
19
+ "internalType": "StateId",
20
+ "name": "fromStateId",
21
+ "type": "uint8"
22
+ },
23
+ {
24
+ "internalType": "StateId",
25
+ "name": "toStateId",
26
+ "type": "uint8"
27
+ }
28
+ ],
29
+ "name": "ErrorInvalidStateTransition",
30
+ "type": "error"
31
+ },
32
+ {
33
+ "inputs": [
34
+ {
35
+ "internalType": "NftId",
36
+ "name": "nftId",
37
+ "type": "uint96"
38
+ },
39
+ {
40
+ "internalType": "ObjectType",
41
+ "name": "objectType",
42
+ "type": "uint8"
43
+ }
44
+ ],
45
+ "name": "ErrorNoLifecycle",
46
+ "type": "error"
47
+ },
48
+ {
49
+ "anonymous": false,
50
+ "inputs": [
51
+ {
52
+ "components": [
53
+ {
54
+ "internalType": "ObjectType",
55
+ "name": "objectType",
56
+ "type": "uint8"
57
+ },
58
+ {
59
+ "internalType": "KeyId",
60
+ "name": "id",
61
+ "type": "bytes31"
62
+ }
63
+ ],
64
+ "indexed": false,
65
+ "internalType": "struct IKeyValueStore.Key",
66
+ "name": "key",
67
+ "type": "tuple"
68
+ },
69
+ {
70
+ "indexed": false,
71
+ "internalType": "StateId",
72
+ "name": "state",
73
+ "type": "uint8"
74
+ },
75
+ {
76
+ "indexed": false,
77
+ "internalType": "address",
78
+ "name": "createdBy",
79
+ "type": "address"
80
+ }
81
+ ],
82
+ "name": "LogInfoCreated",
83
+ "type": "event"
84
+ },
85
+ {
86
+ "anonymous": false,
87
+ "inputs": [
88
+ {
89
+ "components": [
90
+ {
91
+ "internalType": "ObjectType",
92
+ "name": "objectType",
93
+ "type": "uint8"
94
+ },
95
+ {
96
+ "internalType": "KeyId",
97
+ "name": "id",
98
+ "type": "bytes31"
99
+ }
100
+ ],
101
+ "indexed": false,
102
+ "internalType": "struct IKeyValueStore.Key",
103
+ "name": "key",
104
+ "type": "tuple"
105
+ },
106
+ {
107
+ "indexed": false,
108
+ "internalType": "StateId",
109
+ "name": "state",
110
+ "type": "uint8"
111
+ },
112
+ {
113
+ "indexed": false,
114
+ "internalType": "address",
115
+ "name": "updatedBy",
116
+ "type": "address"
117
+ },
118
+ {
119
+ "indexed": false,
120
+ "internalType": "Blocknumber",
121
+ "name": "lastUpdatedIn",
122
+ "type": "uint32"
123
+ }
124
+ ],
125
+ "name": "LogInfoUpdated",
126
+ "type": "event"
127
+ },
128
+ {
129
+ "anonymous": false,
130
+ "inputs": [
131
+ {
132
+ "components": [
133
+ {
134
+ "internalType": "ObjectType",
135
+ "name": "objectType",
136
+ "type": "uint8"
137
+ },
138
+ {
139
+ "internalType": "KeyId",
140
+ "name": "id",
141
+ "type": "bytes31"
142
+ }
143
+ ],
144
+ "indexed": false,
145
+ "internalType": "struct IKeyValueStore.Key",
146
+ "name": "key",
147
+ "type": "tuple"
148
+ },
149
+ {
150
+ "indexed": false,
151
+ "internalType": "StateId",
152
+ "name": "stateOld",
153
+ "type": "uint8"
154
+ },
155
+ {
156
+ "indexed": false,
157
+ "internalType": "StateId",
158
+ "name": "stateNew",
159
+ "type": "uint8"
160
+ },
161
+ {
162
+ "indexed": false,
163
+ "internalType": "address",
164
+ "name": "updatedBy",
165
+ "type": "address"
166
+ },
167
+ {
168
+ "indexed": false,
169
+ "internalType": "Blocknumber",
170
+ "name": "lastUpdatedIn",
171
+ "type": "uint32"
172
+ }
173
+ ],
174
+ "name": "LogStateUpdated",
175
+ "type": "event"
176
+ },
177
+ {
178
+ "inputs": [
179
+ {
180
+ "internalType": "ObjectType",
181
+ "name": "objectType",
182
+ "type": "uint8"
183
+ },
184
+ {
185
+ "internalType": "StateId",
186
+ "name": "fromId",
187
+ "type": "uint8"
188
+ },
189
+ {
190
+ "internalType": "StateId",
191
+ "name": "toId",
192
+ "type": "uint8"
193
+ }
194
+ ],
195
+ "name": "checkTransition",
196
+ "outputs": [],
197
+ "stateMutability": "view",
198
+ "type": "function"
199
+ },
200
+ {
201
+ "inputs": [
202
+ {
203
+ "internalType": "Key32",
204
+ "name": "key32",
205
+ "type": "bytes32"
206
+ },
207
+ {
208
+ "internalType": "ObjectType",
209
+ "name": "objectType",
210
+ "type": "uint8"
211
+ },
212
+ {
213
+ "internalType": "bytes",
214
+ "name": "data",
215
+ "type": "bytes"
216
+ }
217
+ ],
218
+ "name": "create",
219
+ "outputs": [],
220
+ "stateMutability": "nonpayable",
221
+ "type": "function"
222
+ },
223
+ {
224
+ "inputs": [
225
+ {
226
+ "internalType": "Key32",
227
+ "name": "key32",
228
+ "type": "bytes32"
229
+ }
230
+ ],
231
+ "name": "exists",
232
+ "outputs": [
233
+ {
234
+ "internalType": "bool",
235
+ "name": "",
236
+ "type": "bool"
237
+ }
238
+ ],
239
+ "stateMutability": "view",
240
+ "type": "function"
241
+ },
242
+ {
243
+ "inputs": [
244
+ {
245
+ "internalType": "Key32",
246
+ "name": "key32",
247
+ "type": "bytes32"
248
+ }
249
+ ],
250
+ "name": "get",
251
+ "outputs": [
252
+ {
253
+ "components": [
254
+ {
255
+ "components": [
256
+ {
257
+ "internalType": "ObjectType",
258
+ "name": "objectType",
259
+ "type": "uint8"
260
+ },
261
+ {
262
+ "internalType": "StateId",
263
+ "name": "state",
264
+ "type": "uint8"
265
+ },
266
+ {
267
+ "internalType": "address",
268
+ "name": "updatedBy",
269
+ "type": "address"
270
+ },
271
+ {
272
+ "internalType": "Blocknumber",
273
+ "name": "updatedIn",
274
+ "type": "uint32"
275
+ },
276
+ {
277
+ "internalType": "Blocknumber",
278
+ "name": "createdIn",
279
+ "type": "uint32"
280
+ }
281
+ ],
282
+ "internalType": "struct IKeyValueStore.Metadata",
283
+ "name": "metadata",
284
+ "type": "tuple"
285
+ },
286
+ {
287
+ "internalType": "bytes",
288
+ "name": "data",
289
+ "type": "bytes"
290
+ }
291
+ ],
292
+ "internalType": "struct IKeyValueStore.Value",
293
+ "name": "value",
294
+ "type": "tuple"
295
+ }
296
+ ],
297
+ "stateMutability": "view",
298
+ "type": "function"
299
+ },
300
+ {
301
+ "inputs": [
302
+ {
303
+ "internalType": "Key32",
304
+ "name": "key32",
305
+ "type": "bytes32"
306
+ }
307
+ ],
308
+ "name": "getData",
309
+ "outputs": [
310
+ {
311
+ "internalType": "bytes",
312
+ "name": "data",
313
+ "type": "bytes"
314
+ }
315
+ ],
316
+ "stateMutability": "view",
317
+ "type": "function"
318
+ },
319
+ {
320
+ "inputs": [
321
+ {
322
+ "internalType": "ObjectType",
323
+ "name": "objectType",
324
+ "type": "uint8"
325
+ }
326
+ ],
327
+ "name": "getInitialState",
328
+ "outputs": [
329
+ {
330
+ "internalType": "StateId",
331
+ "name": "",
332
+ "type": "uint8"
333
+ }
334
+ ],
335
+ "stateMutability": "view",
336
+ "type": "function"
337
+ },
338
+ {
339
+ "inputs": [
340
+ {
341
+ "internalType": "Key32",
342
+ "name": "key32",
343
+ "type": "bytes32"
344
+ }
345
+ ],
346
+ "name": "getMetadata",
347
+ "outputs": [
348
+ {
349
+ "components": [
350
+ {
351
+ "internalType": "ObjectType",
352
+ "name": "objectType",
353
+ "type": "uint8"
354
+ },
355
+ {
356
+ "internalType": "StateId",
357
+ "name": "state",
358
+ "type": "uint8"
359
+ },
360
+ {
361
+ "internalType": "address",
362
+ "name": "updatedBy",
363
+ "type": "address"
364
+ },
365
+ {
366
+ "internalType": "Blocknumber",
367
+ "name": "updatedIn",
368
+ "type": "uint32"
369
+ },
370
+ {
371
+ "internalType": "Blocknumber",
372
+ "name": "createdIn",
373
+ "type": "uint32"
374
+ }
375
+ ],
376
+ "internalType": "struct IKeyValueStore.Metadata",
377
+ "name": "metadata",
378
+ "type": "tuple"
379
+ }
380
+ ],
381
+ "stateMutability": "view",
382
+ "type": "function"
383
+ },
384
+ {
385
+ "inputs": [
386
+ {
387
+ "internalType": "Key32",
388
+ "name": "key32",
389
+ "type": "bytes32"
390
+ }
391
+ ],
392
+ "name": "getState",
393
+ "outputs": [
394
+ {
395
+ "internalType": "StateId",
396
+ "name": "state",
397
+ "type": "uint8"
398
+ }
399
+ ],
400
+ "stateMutability": "view",
401
+ "type": "function"
402
+ },
403
+ {
404
+ "inputs": [
405
+ {
406
+ "internalType": "ObjectType",
407
+ "name": "objectType",
408
+ "type": "uint8"
409
+ }
410
+ ],
411
+ "name": "hasLifecycle",
412
+ "outputs": [
413
+ {
414
+ "internalType": "bool",
415
+ "name": "",
416
+ "type": "bool"
417
+ }
418
+ ],
419
+ "stateMutability": "view",
420
+ "type": "function"
421
+ },
422
+ {
423
+ "inputs": [
424
+ {
425
+ "internalType": "ObjectType",
426
+ "name": "objectType",
427
+ "type": "uint8"
428
+ },
429
+ {
430
+ "internalType": "StateId",
431
+ "name": "fromId",
432
+ "type": "uint8"
433
+ },
434
+ {
435
+ "internalType": "StateId",
436
+ "name": "toId",
437
+ "type": "uint8"
438
+ }
439
+ ],
440
+ "name": "isValidTransition",
441
+ "outputs": [
442
+ {
443
+ "internalType": "bool",
444
+ "name": "",
445
+ "type": "bool"
446
+ }
447
+ ],
448
+ "stateMutability": "view",
449
+ "type": "function"
450
+ },
451
+ {
452
+ "inputs": [
453
+ {
454
+ "internalType": "Key32",
455
+ "name": "key32",
456
+ "type": "bytes32"
457
+ }
458
+ ],
459
+ "name": "toKey",
460
+ "outputs": [
461
+ {
462
+ "components": [
463
+ {
464
+ "internalType": "ObjectType",
465
+ "name": "objectType",
466
+ "type": "uint8"
467
+ },
468
+ {
469
+ "internalType": "KeyId",
470
+ "name": "id",
471
+ "type": "bytes31"
472
+ }
473
+ ],
474
+ "internalType": "struct IKeyValueStore.Key",
475
+ "name": "key",
476
+ "type": "tuple"
477
+ }
478
+ ],
479
+ "stateMutability": "pure",
480
+ "type": "function"
481
+ },
482
+ {
483
+ "inputs": [
484
+ {
485
+ "internalType": "ObjectType",
486
+ "name": "objectType",
487
+ "type": "uint8"
488
+ },
489
+ {
490
+ "internalType": "KeyId",
491
+ "name": "id",
492
+ "type": "bytes31"
493
+ }
494
+ ],
495
+ "name": "toKey32",
496
+ "outputs": [
497
+ {
498
+ "internalType": "Key32",
499
+ "name": "",
500
+ "type": "bytes32"
501
+ }
502
+ ],
503
+ "stateMutability": "pure",
504
+ "type": "function"
505
+ },
506
+ {
507
+ "inputs": [
508
+ {
509
+ "internalType": "Key32",
510
+ "name": "key32",
511
+ "type": "bytes32"
512
+ },
513
+ {
514
+ "internalType": "StateId",
515
+ "name": "state",
516
+ "type": "uint8"
517
+ },
518
+ {
519
+ "internalType": "bytes",
520
+ "name": "data",
521
+ "type": "bytes"
522
+ }
523
+ ],
524
+ "name": "update",
525
+ "outputs": [],
526
+ "stateMutability": "nonpayable",
527
+ "type": "function"
528
+ },
529
+ {
530
+ "inputs": [
531
+ {
532
+ "internalType": "Key32",
533
+ "name": "key32",
534
+ "type": "bytes32"
535
+ },
536
+ {
537
+ "internalType": "bytes",
538
+ "name": "data",
539
+ "type": "bytes"
540
+ }
541
+ ],
542
+ "name": "updateData",
543
+ "outputs": [],
544
+ "stateMutability": "nonpayable",
545
+ "type": "function"
546
+ },
547
+ {
548
+ "inputs": [
549
+ {
550
+ "internalType": "Key32",
551
+ "name": "key32",
552
+ "type": "bytes32"
553
+ },
554
+ {
555
+ "internalType": "StateId",
556
+ "name": "state",
557
+ "type": "uint8"
558
+ }
559
+ ],
560
+ "name": "updateState",
561
+ "outputs": [],
562
+ "stateMutability": "nonpayable",
563
+ "type": "function"
564
+ }
565
+ ],
566
+ "bytecode": "0x60806040523480156200001157600080fd5b506200003262000026620000d960201b60201c565b620000f260201b60201c565b6200005262000046620002ac60201b60201c565b620000f260201b60201c565b6200007262000066620002c560201b60201c565b620000f260201b60201c565b62000082620002de60201b60201c565b62000092620004d360201b60201c565b33600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620008ee565b6000620000ed6064620007e060201b60201c565b905090565b62000102620007ea60201b60201c565b6000808360ff1660ff16815260200190815260200160002060006101000a81548160ff021916908360ff16021790555060018060008360ff1660ff16815260200190815260200160002060006200015e620007ea60201b60201c565b60ff1660ff1681526020019081526020016000206000620001846200080360201b60201c565b60ff1660ff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060018060008360ff1660ff1681526020019081526020016000206000620001db6200080360201b60201c565b60ff1660ff168152602001908152602001600020600062000201620007ea60201b60201c565b60ff1660ff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060018060008360ff1660ff1681526020019081526020016000206000620002586200080360201b60201c565b60ff1660ff16815260200190815260200160002060006200027e6200081c60201b60201c565b60ff1660ff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6000620002c06078620007e060201b60201c565b905090565b6000620002d96082620007e060201b60201c565b905090565b620002ee620007ea60201b60201c565b600080620003016200083560201b60201c565b60ff1660ff16815260200190815260200160002060006101000a81548160ff021916908360ff1602179055506001806000620003426200083560201b60201c565b60ff1660ff168152602001908152602001600020600062000368620007ea60201b60201c565b60ff1660ff16815260200190815260200160002060006200038e6200080360201b60201c565b60ff1660ff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001806000620003ce6200083560201b60201c565b60ff1660ff1681526020019081526020016000206000620003f46200080360201b60201c565b60ff1660ff16815260200190815260200160002060006200041a620007ea60201b60201c565b60ff1660ff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060018060006200045a6200083560201b60201c565b60ff1660ff1681526020019081526020016000206000620004806200080360201b60201c565b60ff1660ff1681526020019081526020016000206000620004a66200084e60201b60201c565b60ff1660ff16815260200190815260200160002060006101000a81548160ff021916908315150217905550565b620004e36200086760201b60201c565b600080620004f66200088060201b60201c565b60ff1660ff16815260200190815260200160002060006101000a81548160ff021916908360ff1602179055506001806000620005376200088060201b60201c565b60ff1660ff16815260200190815260200160002060006200055d6200086760201b60201c565b60ff1660ff1681526020019081526020016000206000620005836200089960201b60201c565b60ff1660ff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001806000620005c36200088060201b60201c565b60ff1660ff1681526020019081526020016000206000620005e96200086760201b60201c565b60ff1660ff16815260200190815260200160002060006200060f620008b260201b60201c565b60ff1660ff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060018060006200064f6200088060201b60201c565b60ff1660ff1681526020019081526020016000206000620006756200086760201b60201c565b60ff1660ff16815260200190815260200160002060006200069b620008cb60201b60201c565b60ff1660ff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001806000620006db6200088060201b60201c565b60ff1660ff168152602001908152602001600020600062000701620008cb60201b60201c565b60ff1660ff168152602001908152602001600020600062000727620007ea60201b60201c565b60ff1660ff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001806000620007676200088060201b60201c565b60ff1660ff16815260200190815260200160002060006200078d620007ea60201b60201c565b60ff1660ff1681526020019081526020016000206000620007b36200084e60201b60201c565b60ff1660ff16815260200190815260200160002060006101000a81548160ff021916908315150217905550565b6000819050919050565b6000620007fe6064620008e460201b60201c565b905090565b600062000817606e620008e460201b60201c565b905090565b60006200083060d2620008e460201b60201c565b905090565b60006200084960d2620007e060201b60201c565b905090565b60006200086260c8620008e460201b60201c565b905090565b60006200087b600a620008e460201b60201c565b905090565b60006200089460c8620007e060201b60201c565b905090565b6000620008ad6014620008e460201b60201c565b905090565b6000620008c6601e620008e460201b60201c565b905090565b6000620008df6028620008e460201b60201c565b905090565b6000819050919050565b61284780620008fe6000396000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c8063a238accd11610097578063b24133ec11610066578063b24133ec146102ba578063bf1db3f9146102d6578063e9e96c7014610306578063f48016ce14610336576100f5565b8063a238accd14610222578063a4dc7d861461023e578063a5961b4c1461026e578063a89896751461029e576100f5565b806354f6127f116100d357806354f6127f1461018a5780635dee4788146101ba5780636ec3d940146101d65780638eaa6ac0146101f2576100f5565b806309648a9d146100fa5780630d3581811461012a57806338a699a41461015a575b600080fd5b610114600480360381019061010f91906117a6565b610366565b604051610121919061181b565b60405180910390f35b610144600480360381019061013f9190611862565b610396565b604051610151919061181b565b60405180910390f35b610174600480360381019061016f91906117a6565b6103c5565b60405161018191906118aa565b60405180910390f35b6101a4600480360381019061019f91906117a6565b610471565b6040516101b19190611955565b60405180910390f35b6101d460048036038101906101cf9190611aac565b610519565b005b6101f060048036038101906101eb9190611b1b565b6108b8565b005b61020c600480360381019061020791906117a6565b610aa6565b6040516102199190611d06565b60405180910390f35b61023c60048036038101906102379190611d54565b610c55565b005b610258600480360381019061025391906117a6565b610efa565b6040516102659190611e10565b60405180910390f35b610288600480360381019061028391906117a6565b610fa7565b6040516102959190611e93565b60405180910390f35b6102b860048036038101906102b39190611eae565b6110b3565b005b6102d460048036038101906102cf9190611f01565b6111f9565b005b6102f060048036038101906102eb9190611862565b611500565b6040516102fd91906118aa565b60405180910390f35b610320600480360381019061031b9190611eae565b6115ab565b60405161032d91906118aa565b60405180910390f35b610350600480360381019061034b9190611f9c565b61160b565b60405161035d9190611ffd565b60405180910390f35b60006002600083815260200190815260200160002060000160000160019054906101000a900460ff169050919050565b60008060008360ff1660ff16815260200190815260200160002060009054906101000a900460ff169050919050565b60006002600083815260200190815260200160002060000160000160019054906101000a900460ff1660ff1673__$2a12cf1a40369f689f3a67e70f4b31dadc$__63b2466acf90916040518263ffffffff1660e01b81526004016104299190612027565b602060405180830381865af4158015610446573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061046a919061206e565b9050919050565b6060600260008381526020019081526020016000206001018054610494906120ca565b80601f01602080910402602001604051908101604052809291908181526020018280546104c0906120ca565b801561050d5780601f106104e25761010080835404028352916020019161050d565b820191906000526020600020905b8154815290600101906020018083116104f057829003601f168201915b50505050509050919050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146105a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105a090612158565b60405180910390fd5b8160ff1673__$fb4566b39bd2075cb32f600f6f40bfaef2$__63b2466acf90916040518263ffffffff1660e01b81526004016105e59190612187565b602060405180830381865af4158015610602573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610626919061206e565b610665576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161065c906121ee565b60405180910390fd5b60006002600085815260200190815260200160002060000190508060000160019054906101000a900460ff1660ff1673__$2a12cf1a40369f689f3a67e70f4b31dadc$__636f91962090916040518263ffffffff1660e01b81526004016106cc9190612027565b602060405180830381865af41580156106e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061070d919061206e565b61074c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107439061225a565b60405180910390fd5b6000339050600061075b61168f565b9050600061076886611500565b6107795761077461169f565b610783565b61078286610396565b5b9050858460000160006101000a81548160ff021916908360ff160217905550808460000160016101000a81548160ff021916908360ff160217905550828460000160026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818460000160166101000a81548163ffffffff021916908363ffffffff1602179055508184600001601a6101000a81548163ffffffff021916908363ffffffff1602179055508460026000898152602001908152602001600020600101908161086b9190612426565b507f73f3182791c24ae0b300ad6af1a7068367128fc289a81ef990679ae73fd6b43261089688610efa565b82856040516108a793929190612507565b60405180910390a150505050505050565b600060026000848152602001908152602001600020600001905060008160000160019054906101000a900460ff1690508060ff1673__$2a12cf1a40369f689f3a67e70f4b31dadc$__63b2466acf90916040518263ffffffff1660e01b81526004016109249190612027565b602060405180830381865af4158015610941573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610965919061206e565b6109a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099b9061258a565b60405180910390fd5b826002600086815260200190815260200160002060010190816109c79190612426565b50600033905060008360000160169054906101000a900463ffffffff169050818460000160026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610a3161168f565b8460000160166101000a81548163ffffffff021916908363ffffffff1602179055506000610a5e87610efa565b90507f816901577d1f95b21749b8032a8c0475ee6d8f8bb5917d222ce852943b0fc1a381858585604051610a9594939291906125b9565b60405180910390a150505050505050565b610aae6116c4565b60026000838152602001908152602001600020604051806040016040529081600082016040518060a00160405290816000820160009054906101000a900460ff1660ff1660ff1681526020016000820160019054906101000a900460ff1660ff1660ff1681526020016000820160029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160169054906101000a900463ffffffff1663ffffffff1663ffffffff16815260200160008201601a9054906101000a900463ffffffff1663ffffffff1663ffffffff16815250508152602001600182018054610bcc906120ca565b80601f0160208091040260200160405190810160405280929190818152602001828054610bf8906120ca565b8015610c455780601f10610c1a57610100808354040283529160200191610c45565b820191906000526020600020905b815481529060010190602001808311610c2857829003601f168201915b5050505050815250509050919050565b8060ff1673__$2a12cf1a40369f689f3a67e70f4b31dadc$__63b2466acf90916040518263ffffffff1660e01b8152600401610c919190612027565b602060405180830381865af4158015610cae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd2919061206e565b610d11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d089061264a565b60405180910390fd5b600060026000848152602001908152602001600020600001905060008160000160019054906101000a900460ff1690508060ff1673__$2a12cf1a40369f689f3a67e70f4b31dadc$__63b2466acf90916040518263ffffffff1660e01b8152600401610d7d9190612027565b602060405180830381865af4158015610d9a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dbe919061206e565b610dfd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df49061258a565b60405180910390fd5b600033905060008360000160169054906101000a900463ffffffff169050848460000160016101000a81548160ff021916908360ff160217905550818460000160026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610e8361168f565b8460000160166101000a81548163ffffffff021916908363ffffffff1602179055506000610eb087610efa565b90507f6858c0d3ed40228af5781ff90503acebd6c673c57f8eddec5815410aa6f211188187868686604051610ee995949392919061266a565b60405180910390a150505050505050565b610f026116e4565b6000808373__$c8f743efd2b4f0c9300f2558c784479d3e$__63a4dc7d8690916040518263ffffffff1660e01b8152600401610f3e91906126cc565b6040805180830381865af4158015610f5a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f7e9190612711565b9150915060405180604001604052808360ff1681526020018260ff191681525092505050919050565b610faf611705565b600260008381526020019081526020016000206000016040518060a00160405290816000820160009054906101000a900460ff1660ff1660ff1681526020016000820160019054906101000a900460ff1660ff1660ff1681526020016000820160029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160169054906101000a900463ffffffff1663ffffffff1663ffffffff16815260200160008201601a9054906101000a900463ffffffff1663ffffffff1663ffffffff16815250509050919050565b6000808460ff1660ff16815260200190815260200160002060009054906101000a900460ff1660ff1673__$2a12cf1a40369f689f3a67e70f4b31dadc$__636f91962090916040518263ffffffff1660e01b81526004016111149190612027565b602060405180830381865af4158015611131573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611155919061206e565b6111f457600160008460ff1660ff16815260200190815260200160002060008360ff1660ff16815260200190815260200160002060008260ff1660ff16815260200190815260200160002060009054906101000a900460ff166111f3578282826040517f6bb20ea70000000000000000000000000000000000000000000000000000000081526004016111ea93929190612760565b60405180910390fd5b5b505050565b8160ff1673__$2a12cf1a40369f689f3a67e70f4b31dadc$__63b2466acf90916040518263ffffffff1660e01b81526004016112359190612027565b602060405180830381865af4158015611252573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611276919061206e565b6112b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ac9061264a565b60405180910390fd5b600060026000858152602001908152602001600020600001905060008160000160019054906101000a900460ff1690508060ff1673__$2a12cf1a40369f689f3a67e70f4b31dadc$__63b2466acf90916040518263ffffffff1660e01b81526004016113219190612027565b602060405180830381865af415801561133e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611362919061206e565b6113a1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113989061258a565b60405180910390fd5b826002600087815260200190815260200160002060010190816113c49190612426565b50600033905060008360000160169054906101000a900463ffffffff169050858460000160016101000a81548160ff021916908360ff160217905550818460000160026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061144b61168f565b8460000160166101000a81548163ffffffff021916908363ffffffff160217905550600061147888610efa565b90507f6858c0d3ed40228af5781ff90503acebd6c673c57f8eddec5815410aa6f2111881888686866040516114b195949392919061266a565b60405180910390a17f816901577d1f95b21749b8032a8c0475ee6d8f8bb5917d222ce852943b0fc1a3818885856040516114ee94939291906125b9565b60405180910390a15050505050505050565b60008060008360ff1660ff16815260200190815260200160002060009054906101000a900460ff1660ff1673__$2a12cf1a40369f689f3a67e70f4b31dadc$__63b2466acf90916040518263ffffffff1660e01b81526004016115639190612027565b602060405180830381865af4158015611580573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115a4919061206e565b9050919050565b6000600160008560ff1660ff16815260200190815260200160002060008460ff1660ff16815260200190815260200160002060008360ff1660ff16815260200190815260200160002060009054906101000a900460ff1690509392505050565b600073__$c8f743efd2b4f0c9300f2558c784479d3e$__63f48016ce84846040518363ffffffff1660e01b81526004016116469291906127a6565b602060405180830381865af4158015611663573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061168791906127e4565b905092915050565b600061169a436116b0565b905090565b60006116ab60646116ba565b905090565b6000819050919050565b6000819050919050565b60405180604001604052806116d7611705565b8152602001606081525090565b6040518060400160405280600060ff168152602001600060ff191681525090565b6040518060a00160405280600060ff168152602001600060ff168152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600063ffffffff168152602001600063ffffffff1681525090565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b61178381611770565b811461178e57600080fd5b50565b6000813590506117a08161177a565b92915050565b6000602082840312156117bc576117bb611766565b5b60006117ca84828501611791565b91505092915050565b600060ff82169050919050565b6000819050919050565b60006118056118006117fb846117d3565b6117e0565b6117d3565b9050919050565b611815816117ea565b82525050565b6000602082019050611830600083018461180c565b92915050565b61183f816117d3565b811461184a57600080fd5b50565b60008135905061185c81611836565b92915050565b60006020828403121561187857611877611766565b5b60006118868482850161184d565b91505092915050565b60008115159050919050565b6118a48161188f565b82525050565b60006020820190506118bf600083018461189b565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156118ff5780820151818401526020810190506118e4565b60008484015250505050565b6000601f19601f8301169050919050565b6000611927826118c5565b61193181856118d0565b93506119418185602086016118e1565b61194a8161190b565b840191505092915050565b6000602082019050818103600083015261196f818461191c565b905092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6119b98261190b565b810181811067ffffffffffffffff821117156119d8576119d7611981565b5b80604052505050565b60006119eb61175c565b90506119f782826119b0565b919050565b600067ffffffffffffffff821115611a1757611a16611981565b5b611a208261190b565b9050602081019050919050565b82818337600083830152505050565b6000611a4f611a4a846119fc565b6119e1565b905082815260208101848484011115611a6b57611a6a61197c565b5b611a76848285611a2d565b509392505050565b600082601f830112611a9357611a92611977565b5b8135611aa3848260208601611a3c565b91505092915050565b600080600060608486031215611ac557611ac4611766565b5b6000611ad386828701611791565b9350506020611ae48682870161184d565b925050604084013567ffffffffffffffff811115611b0557611b0461176b565b5b611b1186828701611a7e565b9150509250925092565b60008060408385031215611b3257611b31611766565b5b6000611b4085828601611791565b925050602083013567ffffffffffffffff811115611b6157611b6061176b565b5b611b6d85828601611a7e565b9150509250929050565b611b80816117ea565b82525050565b611b8f816117ea565b82525050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611bc082611b95565b9050919050565b611bd081611bb5565b82525050565b600063ffffffff82169050919050565b6000611c01611bfc611bf784611bd6565b6117e0565b611bd6565b9050919050565b611c1181611be6565b82525050565b60a082016000820151611c2d6000850182611b77565b506020820151611c406020850182611b86565b506040820151611c536040850182611bc7565b506060820151611c666060850182611c08565b506080820151611c796080850182611c08565b50505050565b600082825260208201905092915050565b6000611c9b826118c5565b611ca58185611c7f565b9350611cb58185602086016118e1565b611cbe8161190b565b840191505092915050565b600060c083016000830151611ce16000860182611c17565b50602083015184820360a0860152611cf98282611c90565b9150508091505092915050565b60006020820190508181036000830152611d208184611cc9565b905092915050565b611d31816117d3565b8114611d3c57600080fd5b50565b600081359050611d4e81611d28565b92915050565b60008060408385031215611d6b57611d6a611766565b5b6000611d7985828601611791565b9250506020611d8a85828601611d3f565b9150509250929050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0082169050919050565b6000611dcb82611d94565b9050919050565b611ddb81611dc0565b82525050565b604082016000820151611df76000850182611b77565b506020820151611e0a6020850182611dd2565b50505050565b6000604082019050611e256000830184611de1565b92915050565b60a082016000820151611e416000850182611b77565b506020820151611e546020850182611b86565b506040820151611e676040850182611bc7565b506060820151611e7a6060850182611c08565b506080820151611e8d6080850182611c08565b50505050565b600060a082019050611ea86000830184611e2b565b92915050565b600080600060608486031215611ec757611ec6611766565b5b6000611ed58682870161184d565b9350506020611ee686828701611d3f565b9250506040611ef786828701611d3f565b9150509250925092565b600080600060608486031215611f1a57611f19611766565b5b6000611f2886828701611791565b9350506020611f3986828701611d3f565b925050604084013567ffffffffffffffff811115611f5a57611f5961176b565b5b611f6686828701611a7e565b9150509250925092565b611f7981611d94565b8114611f8457600080fd5b50565b600081359050611f9681611f70565b92915050565b60008060408385031215611fb357611fb2611766565b5b6000611fc18582860161184d565b9250506020611fd285828601611f87565b9150509250929050565b6000611fe782611770565b9050919050565b611ff781611fdc565b82525050565b60006020820190506120126000830184611fee565b92915050565b612021816117ea565b82525050565b600060208201905061203c6000830184612018565b92915050565b61204b8161188f565b811461205657600080fd5b50565b60008151905061206881612042565b92915050565b60006020828403121561208457612083611766565b5b600061209284828501612059565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806120e257607f821691505b6020821081036120f5576120f461209b565b5b50919050565b600082825260208201905092915050565b7f4552524f523a4b56532d3030313a4e4f545f4f574e4552000000000000000000600082015250565b60006121426017836120fb565b915061214d8261210c565b602082019050919050565b6000602082019050818103600083015261217181612135565b9050919050565b612181816117ea565b82525050565b600060208201905061219c6000830184612178565b92915050565b7f4552524f523a4b56532d3031303a545950455f554e444546494e454400000000600082015250565b60006121d8601c836120fb565b91506121e3826121a2565b602082019050919050565b60006020820190508181036000830152612207816121cb565b9050919050565b7f4552524f523a4b56532d3031323a414c52454144595f43524541544544000000600082015250565b6000612244601d836120fb565b915061224f8261220e565b602082019050919050565b6000602082019050818103600083015261227381612237565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026122dc7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261229f565b6122e6868361229f565b95508019841693508086168417925050509392505050565b6000819050919050565b600061232361231e612319846122fe565b6117e0565b6122fe565b9050919050565b6000819050919050565b61233d83612308565b6123516123498261232a565b8484546122ac565b825550505050565b600090565b612366612359565b612371818484612334565b505050565b5b818110156123955761238a60008261235e565b600181019050612377565b5050565b601f8211156123da576123ab8161227a565b6123b48461228f565b810160208510156123c3578190505b6123d76123cf8561228f565b830182612376565b50505b505050565b600082821c905092915050565b60006123fd600019846008026123df565b1980831691505092915050565b600061241683836123ec565b9150826002028217905092915050565b61242f826118c5565b67ffffffffffffffff81111561244857612447611981565b5b61245282546120ca565b61245d828285612399565b600060209050601f831160018114612490576000841561247e578287015190505b612488858261240a565b8655506124f0565b601f19841661249e8661227a565b60005b828110156124c6578489015182556001820191506020850194506020810190506124a1565b868310156124e357848901516124df601f8916826123ec565b8355505b6001600288020188555050505b505050505050565b61250181611bb5565b82525050565b600060808201905061251c6000830186611de1565b612529604083018561180c565b61253660608301846124f8565b949350505050565b7f4552524f523a4b56532d3032313a4e4f545f4558495354494e47000000000000600082015250565b6000612574601a836120fb565b915061257f8261253e565b602082019050919050565b600060208201905081810360008301526125a381612567565b9050919050565b6125b381611be6565b82525050565b600060a0820190506125ce6000830187611de1565b6125db604083018661180c565b6125e860608301856124f8565b6125f560808301846125aa565b95945050505050565b7f4552524f523a4b56532d3032303a53544154455f554e444546494e4544000000600082015250565b6000612634601d836120fb565b915061263f826125fe565b602082019050919050565b6000602082019050818103600083015261266381612627565b9050919050565b600060c08201905061267f6000830188611de1565b61268c604083018761180c565b612699606083018661180c565b6126a660808301856124f8565b6126b360a08301846125aa565b9695505050505050565b6126c681611fdc565b82525050565b60006020820190506126e160008301846126bd565b92915050565b6000815190506126f681611836565b92915050565b60008151905061270b81611f70565b92915050565b6000806040838503121561272857612727611766565b5b6000612736858286016126e7565b9250506020612747858286016126fc565b9150509250929050565b61275a816117ea565b82525050565b60006060820190506127756000830186612751565b612782602083018561180c565b61278f604083018461180c565b949350505050565b6127a081611dc0565b82525050565b60006040820190506127bb6000830185612178565b6127c86020830184612797565b9392505050565b6000815190506127de8161177a565b92915050565b6000602082840312156127fa576127f9611766565b5b6000612808848285016127cf565b9150509291505056fea26469706673582212208e0051e3e5d34762d659aa7e9d8c7c21f0e7d3eaea5f0902da88fb1a27e2f2d764736f6c63430008140033",
567
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100f55760003560e01c8063a238accd11610097578063b24133ec11610066578063b24133ec146102ba578063bf1db3f9146102d6578063e9e96c7014610306578063f48016ce14610336576100f5565b8063a238accd14610222578063a4dc7d861461023e578063a5961b4c1461026e578063a89896751461029e576100f5565b806354f6127f116100d357806354f6127f1461018a5780635dee4788146101ba5780636ec3d940146101d65780638eaa6ac0146101f2576100f5565b806309648a9d146100fa5780630d3581811461012a57806338a699a41461015a575b600080fd5b610114600480360381019061010f91906117a6565b610366565b604051610121919061181b565b60405180910390f35b610144600480360381019061013f9190611862565b610396565b604051610151919061181b565b60405180910390f35b610174600480360381019061016f91906117a6565b6103c5565b60405161018191906118aa565b60405180910390f35b6101a4600480360381019061019f91906117a6565b610471565b6040516101b19190611955565b60405180910390f35b6101d460048036038101906101cf9190611aac565b610519565b005b6101f060048036038101906101eb9190611b1b565b6108b8565b005b61020c600480360381019061020791906117a6565b610aa6565b6040516102199190611d06565b60405180910390f35b61023c60048036038101906102379190611d54565b610c55565b005b610258600480360381019061025391906117a6565b610efa565b6040516102659190611e10565b60405180910390f35b610288600480360381019061028391906117a6565b610fa7565b6040516102959190611e93565b60405180910390f35b6102b860048036038101906102b39190611eae565b6110b3565b005b6102d460048036038101906102cf9190611f01565b6111f9565b005b6102f060048036038101906102eb9190611862565b611500565b6040516102fd91906118aa565b60405180910390f35b610320600480360381019061031b9190611eae565b6115ab565b60405161032d91906118aa565b60405180910390f35b610350600480360381019061034b9190611f9c565b61160b565b60405161035d9190611ffd565b60405180910390f35b60006002600083815260200190815260200160002060000160000160019054906101000a900460ff169050919050565b60008060008360ff1660ff16815260200190815260200160002060009054906101000a900460ff169050919050565b60006002600083815260200190815260200160002060000160000160019054906101000a900460ff1660ff1673__$2a12cf1a40369f689f3a67e70f4b31dadc$__63b2466acf90916040518263ffffffff1660e01b81526004016104299190612027565b602060405180830381865af4158015610446573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061046a919061206e565b9050919050565b6060600260008381526020019081526020016000206001018054610494906120ca565b80601f01602080910402602001604051908101604052809291908181526020018280546104c0906120ca565b801561050d5780601f106104e25761010080835404028352916020019161050d565b820191906000526020600020905b8154815290600101906020018083116104f057829003601f168201915b50505050509050919050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146105a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105a090612158565b60405180910390fd5b8160ff1673__$fb4566b39bd2075cb32f600f6f40bfaef2$__63b2466acf90916040518263ffffffff1660e01b81526004016105e59190612187565b602060405180830381865af4158015610602573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610626919061206e565b610665576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161065c906121ee565b60405180910390fd5b60006002600085815260200190815260200160002060000190508060000160019054906101000a900460ff1660ff1673__$2a12cf1a40369f689f3a67e70f4b31dadc$__636f91962090916040518263ffffffff1660e01b81526004016106cc9190612027565b602060405180830381865af41580156106e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061070d919061206e565b61074c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107439061225a565b60405180910390fd5b6000339050600061075b61168f565b9050600061076886611500565b6107795761077461169f565b610783565b61078286610396565b5b9050858460000160006101000a81548160ff021916908360ff160217905550808460000160016101000a81548160ff021916908360ff160217905550828460000160026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818460000160166101000a81548163ffffffff021916908363ffffffff1602179055508184600001601a6101000a81548163ffffffff021916908363ffffffff1602179055508460026000898152602001908152602001600020600101908161086b9190612426565b507f73f3182791c24ae0b300ad6af1a7068367128fc289a81ef990679ae73fd6b43261089688610efa565b82856040516108a793929190612507565b60405180910390a150505050505050565b600060026000848152602001908152602001600020600001905060008160000160019054906101000a900460ff1690508060ff1673__$2a12cf1a40369f689f3a67e70f4b31dadc$__63b2466acf90916040518263ffffffff1660e01b81526004016109249190612027565b602060405180830381865af4158015610941573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610965919061206e565b6109a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099b9061258a565b60405180910390fd5b826002600086815260200190815260200160002060010190816109c79190612426565b50600033905060008360000160169054906101000a900463ffffffff169050818460000160026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610a3161168f565b8460000160166101000a81548163ffffffff021916908363ffffffff1602179055506000610a5e87610efa565b90507f816901577d1f95b21749b8032a8c0475ee6d8f8bb5917d222ce852943b0fc1a381858585604051610a9594939291906125b9565b60405180910390a150505050505050565b610aae6116c4565b60026000838152602001908152602001600020604051806040016040529081600082016040518060a00160405290816000820160009054906101000a900460ff1660ff1660ff1681526020016000820160019054906101000a900460ff1660ff1660ff1681526020016000820160029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160169054906101000a900463ffffffff1663ffffffff1663ffffffff16815260200160008201601a9054906101000a900463ffffffff1663ffffffff1663ffffffff16815250508152602001600182018054610bcc906120ca565b80601f0160208091040260200160405190810160405280929190818152602001828054610bf8906120ca565b8015610c455780601f10610c1a57610100808354040283529160200191610c45565b820191906000526020600020905b815481529060010190602001808311610c2857829003601f168201915b5050505050815250509050919050565b8060ff1673__$2a12cf1a40369f689f3a67e70f4b31dadc$__63b2466acf90916040518263ffffffff1660e01b8152600401610c919190612027565b602060405180830381865af4158015610cae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd2919061206e565b610d11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d089061264a565b60405180910390fd5b600060026000848152602001908152602001600020600001905060008160000160019054906101000a900460ff1690508060ff1673__$2a12cf1a40369f689f3a67e70f4b31dadc$__63b2466acf90916040518263ffffffff1660e01b8152600401610d7d9190612027565b602060405180830381865af4158015610d9a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dbe919061206e565b610dfd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df49061258a565b60405180910390fd5b600033905060008360000160169054906101000a900463ffffffff169050848460000160016101000a81548160ff021916908360ff160217905550818460000160026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610e8361168f565b8460000160166101000a81548163ffffffff021916908363ffffffff1602179055506000610eb087610efa565b90507f6858c0d3ed40228af5781ff90503acebd6c673c57f8eddec5815410aa6f211188187868686604051610ee995949392919061266a565b60405180910390a150505050505050565b610f026116e4565b6000808373__$c8f743efd2b4f0c9300f2558c784479d3e$__63a4dc7d8690916040518263ffffffff1660e01b8152600401610f3e91906126cc565b6040805180830381865af4158015610f5a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f7e9190612711565b9150915060405180604001604052808360ff1681526020018260ff191681525092505050919050565b610faf611705565b600260008381526020019081526020016000206000016040518060a00160405290816000820160009054906101000a900460ff1660ff1660ff1681526020016000820160019054906101000a900460ff1660ff1660ff1681526020016000820160029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160169054906101000a900463ffffffff1663ffffffff1663ffffffff16815260200160008201601a9054906101000a900463ffffffff1663ffffffff1663ffffffff16815250509050919050565b6000808460ff1660ff16815260200190815260200160002060009054906101000a900460ff1660ff1673__$2a12cf1a40369f689f3a67e70f4b31dadc$__636f91962090916040518263ffffffff1660e01b81526004016111149190612027565b602060405180830381865af4158015611131573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611155919061206e565b6111f457600160008460ff1660ff16815260200190815260200160002060008360ff1660ff16815260200190815260200160002060008260ff1660ff16815260200190815260200160002060009054906101000a900460ff166111f3578282826040517f6bb20ea70000000000000000000000000000000000000000000000000000000081526004016111ea93929190612760565b60405180910390fd5b5b505050565b8160ff1673__$2a12cf1a40369f689f3a67e70f4b31dadc$__63b2466acf90916040518263ffffffff1660e01b81526004016112359190612027565b602060405180830381865af4158015611252573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611276919061206e565b6112b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ac9061264a565b60405180910390fd5b600060026000858152602001908152602001600020600001905060008160000160019054906101000a900460ff1690508060ff1673__$2a12cf1a40369f689f3a67e70f4b31dadc$__63b2466acf90916040518263ffffffff1660e01b81526004016113219190612027565b602060405180830381865af415801561133e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611362919061206e565b6113a1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113989061258a565b60405180910390fd5b826002600087815260200190815260200160002060010190816113c49190612426565b50600033905060008360000160169054906101000a900463ffffffff169050858460000160016101000a81548160ff021916908360ff160217905550818460000160026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061144b61168f565b8460000160166101000a81548163ffffffff021916908363ffffffff160217905550600061147888610efa565b90507f6858c0d3ed40228af5781ff90503acebd6c673c57f8eddec5815410aa6f2111881888686866040516114b195949392919061266a565b60405180910390a17f816901577d1f95b21749b8032a8c0475ee6d8f8bb5917d222ce852943b0fc1a3818885856040516114ee94939291906125b9565b60405180910390a15050505050505050565b60008060008360ff1660ff16815260200190815260200160002060009054906101000a900460ff1660ff1673__$2a12cf1a40369f689f3a67e70f4b31dadc$__63b2466acf90916040518263ffffffff1660e01b81526004016115639190612027565b602060405180830381865af4158015611580573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115a4919061206e565b9050919050565b6000600160008560ff1660ff16815260200190815260200160002060008460ff1660ff16815260200190815260200160002060008360ff1660ff16815260200190815260200160002060009054906101000a900460ff1690509392505050565b600073__$c8f743efd2b4f0c9300f2558c784479d3e$__63f48016ce84846040518363ffffffff1660e01b81526004016116469291906127a6565b602060405180830381865af4158015611663573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061168791906127e4565b905092915050565b600061169a436116b0565b905090565b60006116ab60646116ba565b905090565b6000819050919050565b6000819050919050565b60405180604001604052806116d7611705565b8152602001606081525090565b6040518060400160405280600060ff168152602001600060ff191681525090565b6040518060a00160405280600060ff168152602001600060ff168152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600063ffffffff168152602001600063ffffffff1681525090565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b61178381611770565b811461178e57600080fd5b50565b6000813590506117a08161177a565b92915050565b6000602082840312156117bc576117bb611766565b5b60006117ca84828501611791565b91505092915050565b600060ff82169050919050565b6000819050919050565b60006118056118006117fb846117d3565b6117e0565b6117d3565b9050919050565b611815816117ea565b82525050565b6000602082019050611830600083018461180c565b92915050565b61183f816117d3565b811461184a57600080fd5b50565b60008135905061185c81611836565b92915050565b60006020828403121561187857611877611766565b5b60006118868482850161184d565b91505092915050565b60008115159050919050565b6118a48161188f565b82525050565b60006020820190506118bf600083018461189b565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156118ff5780820151818401526020810190506118e4565b60008484015250505050565b6000601f19601f8301169050919050565b6000611927826118c5565b61193181856118d0565b93506119418185602086016118e1565b61194a8161190b565b840191505092915050565b6000602082019050818103600083015261196f818461191c565b905092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6119b98261190b565b810181811067ffffffffffffffff821117156119d8576119d7611981565b5b80604052505050565b60006119eb61175c565b90506119f782826119b0565b919050565b600067ffffffffffffffff821115611a1757611a16611981565b5b611a208261190b565b9050602081019050919050565b82818337600083830152505050565b6000611a4f611a4a846119fc565b6119e1565b905082815260208101848484011115611a6b57611a6a61197c565b5b611a76848285611a2d565b509392505050565b600082601f830112611a9357611a92611977565b5b8135611aa3848260208601611a3c565b91505092915050565b600080600060608486031215611ac557611ac4611766565b5b6000611ad386828701611791565b9350506020611ae48682870161184d565b925050604084013567ffffffffffffffff811115611b0557611b0461176b565b5b611b1186828701611a7e565b9150509250925092565b60008060408385031215611b3257611b31611766565b5b6000611b4085828601611791565b925050602083013567ffffffffffffffff811115611b6157611b6061176b565b5b611b6d85828601611a7e565b9150509250929050565b611b80816117ea565b82525050565b611b8f816117ea565b82525050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611bc082611b95565b9050919050565b611bd081611bb5565b82525050565b600063ffffffff82169050919050565b6000611c01611bfc611bf784611bd6565b6117e0565b611bd6565b9050919050565b611c1181611be6565b82525050565b60a082016000820151611c2d6000850182611b77565b506020820151611c406020850182611b86565b506040820151611c536040850182611bc7565b506060820151611c666060850182611c08565b506080820151611c796080850182611c08565b50505050565b600082825260208201905092915050565b6000611c9b826118c5565b611ca58185611c7f565b9350611cb58185602086016118e1565b611cbe8161190b565b840191505092915050565b600060c083016000830151611ce16000860182611c17565b50602083015184820360a0860152611cf98282611c90565b9150508091505092915050565b60006020820190508181036000830152611d208184611cc9565b905092915050565b611d31816117d3565b8114611d3c57600080fd5b50565b600081359050611d4e81611d28565b92915050565b60008060408385031215611d6b57611d6a611766565b5b6000611d7985828601611791565b9250506020611d8a85828601611d3f565b9150509250929050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0082169050919050565b6000611dcb82611d94565b9050919050565b611ddb81611dc0565b82525050565b604082016000820151611df76000850182611b77565b506020820151611e0a6020850182611dd2565b50505050565b6000604082019050611e256000830184611de1565b92915050565b60a082016000820151611e416000850182611b77565b506020820151611e546020850182611b86565b506040820151611e676040850182611bc7565b506060820151611e7a6060850182611c08565b506080820151611e8d6080850182611c08565b50505050565b600060a082019050611ea86000830184611e2b565b92915050565b600080600060608486031215611ec757611ec6611766565b5b6000611ed58682870161184d565b9350506020611ee686828701611d3f565b9250506040611ef786828701611d3f565b9150509250925092565b600080600060608486031215611f1a57611f19611766565b5b6000611f2886828701611791565b9350506020611f3986828701611d3f565b925050604084013567ffffffffffffffff811115611f5a57611f5961176b565b5b611f6686828701611a7e565b9150509250925092565b611f7981611d94565b8114611f8457600080fd5b50565b600081359050611f9681611f70565b92915050565b60008060408385031215611fb357611fb2611766565b5b6000611fc18582860161184d565b9250506020611fd285828601611f87565b9150509250929050565b6000611fe782611770565b9050919050565b611ff781611fdc565b82525050565b60006020820190506120126000830184611fee565b92915050565b612021816117ea565b82525050565b600060208201905061203c6000830184612018565b92915050565b61204b8161188f565b811461205657600080fd5b50565b60008151905061206881612042565b92915050565b60006020828403121561208457612083611766565b5b600061209284828501612059565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806120e257607f821691505b6020821081036120f5576120f461209b565b5b50919050565b600082825260208201905092915050565b7f4552524f523a4b56532d3030313a4e4f545f4f574e4552000000000000000000600082015250565b60006121426017836120fb565b915061214d8261210c565b602082019050919050565b6000602082019050818103600083015261217181612135565b9050919050565b612181816117ea565b82525050565b600060208201905061219c6000830184612178565b92915050565b7f4552524f523a4b56532d3031303a545950455f554e444546494e454400000000600082015250565b60006121d8601c836120fb565b91506121e3826121a2565b602082019050919050565b60006020820190508181036000830152612207816121cb565b9050919050565b7f4552524f523a4b56532d3031323a414c52454144595f43524541544544000000600082015250565b6000612244601d836120fb565b915061224f8261220e565b602082019050919050565b6000602082019050818103600083015261227381612237565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026122dc7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261229f565b6122e6868361229f565b95508019841693508086168417925050509392505050565b6000819050919050565b600061232361231e612319846122fe565b6117e0565b6122fe565b9050919050565b6000819050919050565b61233d83612308565b6123516123498261232a565b8484546122ac565b825550505050565b600090565b612366612359565b612371818484612334565b505050565b5b818110156123955761238a60008261235e565b600181019050612377565b5050565b601f8211156123da576123ab8161227a565b6123b48461228f565b810160208510156123c3578190505b6123d76123cf8561228f565b830182612376565b50505b505050565b600082821c905092915050565b60006123fd600019846008026123df565b1980831691505092915050565b600061241683836123ec565b9150826002028217905092915050565b61242f826118c5565b67ffffffffffffffff81111561244857612447611981565b5b61245282546120ca565b61245d828285612399565b600060209050601f831160018114612490576000841561247e578287015190505b612488858261240a565b8655506124f0565b601f19841661249e8661227a565b60005b828110156124c6578489015182556001820191506020850194506020810190506124a1565b868310156124e357848901516124df601f8916826123ec565b8355505b6001600288020188555050505b505050505050565b61250181611bb5565b82525050565b600060808201905061251c6000830186611de1565b612529604083018561180c565b61253660608301846124f8565b949350505050565b7f4552524f523a4b56532d3032313a4e4f545f4558495354494e47000000000000600082015250565b6000612574601a836120fb565b915061257f8261253e565b602082019050919050565b600060208201905081810360008301526125a381612567565b9050919050565b6125b381611be6565b82525050565b600060a0820190506125ce6000830187611de1565b6125db604083018661180c565b6125e860608301856124f8565b6125f560808301846125aa565b95945050505050565b7f4552524f523a4b56532d3032303a53544154455f554e444546494e4544000000600082015250565b6000612634601d836120fb565b915061263f826125fe565b602082019050919050565b6000602082019050818103600083015261266381612627565b9050919050565b600060c08201905061267f6000830188611de1565b61268c604083018761180c565b612699606083018661180c565b6126a660808301856124f8565b6126b360a08301846125aa565b9695505050505050565b6126c681611fdc565b82525050565b60006020820190506126e160008301846126bd565b92915050565b6000815190506126f681611836565b92915050565b60008151905061270b81611f70565b92915050565b6000806040838503121561272857612727611766565b5b6000612736858286016126e7565b9250506020612747858286016126fc565b9150509250929050565b61275a816117ea565b82525050565b60006060820190506127756000830186612751565b612782602083018561180c565b61278f604083018461180c565b949350505050565b6127a081611dc0565b82525050565b60006040820190506127bb6000830185612178565b6127c86020830184612797565b9392505050565b6000815190506127de8161177a565b92915050565b6000602082840312156127fa576127f9611766565b5b6000612808848285016127cf565b9150509291505056fea26469706673582212208e0051e3e5d34762d659aa7e9d8c7c21f0e7d3eaea5f0902da88fb1a27e2f2d764736f6c63430008140033",
568
+ "linkReferences": {
569
+ "contracts/types/Key32.sol": {
570
+ "Key32Lib": [
571
+ {
572
+ "length": 20,
573
+ "start": 6150
574
+ },
575
+ {
576
+ "length": 20,
577
+ "start": 7949
578
+ }
579
+ ]
580
+ },
581
+ "contracts/types/ObjectType.sol": {
582
+ "ObjectTypeLib": [
583
+ {
584
+ "length": 20,
585
+ "start": 3757
586
+ }
587
+ ]
588
+ },
589
+ "contracts/types/StateId.sol": {
590
+ "StateIdLib": [
591
+ {
592
+ "length": 20,
593
+ "start": 3313
594
+ },
595
+ {
596
+ "length": 20,
597
+ "start": 3988
598
+ },
599
+ {
600
+ "length": 20,
601
+ "start": 4588
602
+ },
603
+ {
604
+ "length": 20,
605
+ "start": 5465
606
+ },
607
+ {
608
+ "length": 20,
609
+ "start": 5701
610
+ },
611
+ {
612
+ "length": 20,
613
+ "start": 6620
614
+ },
615
+ {
616
+ "length": 20,
617
+ "start": 6909
618
+ },
619
+ {
620
+ "length": 20,
621
+ "start": 7145
622
+ },
623
+ {
624
+ "length": 20,
625
+ "start": 7723
626
+ }
627
+ ]
628
+ }
629
+ },
630
+ "deployedLinkReferences": {
631
+ "contracts/types/Key32.sol": {
632
+ "Key32Lib": [
633
+ {
634
+ "length": 20,
635
+ "start": 3848
636
+ },
637
+ {
638
+ "length": 20,
639
+ "start": 5647
640
+ }
641
+ ]
642
+ },
643
+ "contracts/types/ObjectType.sol": {
644
+ "ObjectTypeLib": [
645
+ {
646
+ "length": 20,
647
+ "start": 1455
648
+ }
649
+ ]
650
+ },
651
+ "contracts/types/StateId.sol": {
652
+ "StateIdLib": [
653
+ {
654
+ "length": 20,
655
+ "start": 1011
656
+ },
657
+ {
658
+ "length": 20,
659
+ "start": 1686
660
+ },
661
+ {
662
+ "length": 20,
663
+ "start": 2286
664
+ },
665
+ {
666
+ "length": 20,
667
+ "start": 3163
668
+ },
669
+ {
670
+ "length": 20,
671
+ "start": 3399
672
+ },
673
+ {
674
+ "length": 20,
675
+ "start": 4318
676
+ },
677
+ {
678
+ "length": 20,
679
+ "start": 4607
680
+ },
681
+ {
682
+ "length": 20,
683
+ "start": 4843
684
+ },
685
+ {
686
+ "length": 20,
687
+ "start": 5421
688
+ }
689
+ ]
690
+ }
691
+ }
692
+ }