@etherisc/gif-next 0.0.2-da77c50-824 → 0.0.2-de0a1d3-009

Sign up to get free protection for your applications and to get access to all the features.
Files changed (274) hide show
  1. package/README.md +58 -11
  2. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +1 -1
  3. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.json +405 -0
  5. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +1 -1
  6. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  7. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +340 -0
  8. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +131 -0
  10. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +109 -18
  12. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  13. package/artifacts/contracts/components/Pool.sol/Pool.json +194 -3
  14. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  15. package/artifacts/contracts/components/Product.sol/Product.json +160 -21
  16. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
  17. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
  18. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
  19. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
  20. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
  21. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
  22. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
  23. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
  24. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
  25. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
  26. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
  27. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +2 -2
  28. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
  29. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
  30. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
  31. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +2 -2
  32. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
  33. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +2 -2
  34. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
  35. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
  36. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  37. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +697 -671
  38. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +1 -1
  39. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  40. package/artifacts/contracts/instance/Instance.sol/Instance.json +928 -744
  41. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +4 -0
  42. package/artifacts/contracts/instance/{InstanceBase.sol/InstanceBase.json → base/ComponentServiceBase.sol/ComponentServiceBase.json} +107 -33
  43. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +4 -0
  44. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +113 -0
  45. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  46. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +560 -0
  47. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  48. package/artifacts/contracts/instance/{module/lifecycle/ILifecycle.sol/ILifecycleModule.json → base/ILifecycle.sol/ILifecycle.json} +10 -77
  49. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +4 -0
  50. package/artifacts/contracts/instance/{service → base}/IService.sol/IService.json +63 -22
  51. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +4 -0
  52. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.json +463 -0
  53. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  54. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +710 -0
  55. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  56. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +169 -0
  57. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +4 -0
  58. package/artifacts/contracts/instance/{module/product/ProductModule.sol/ProductModule.json → base/ModuleBase.sol/ModuleBase.json} +2 -2
  59. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +4 -0
  60. package/artifacts/contracts/instance/{service → base}/ServiceBase.sol/ServiceBase.json +93 -6
  61. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +1 -1
  62. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +1 -1
  63. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +1 -1
  64. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +1 -1
  65. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +71 -50
  66. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +1 -1
  67. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +1 -1
  68. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +71 -50
  69. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +1 -1
  70. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +22 -93
  71. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +1 -1
  72. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +1 -1
  73. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +22 -93
  74. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.dbg.json +4 -0
  75. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.json +10 -0
  76. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistribution.dbg.json +4 -0
  77. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistribution.json +10 -0
  78. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.dbg.json +4 -0
  79. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.json +10 -0
  80. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +1 -1
  81. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +1 -1
  82. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +61 -38
  83. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +1 -1
  84. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +61 -38
  85. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +1 -1
  86. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +1 -1
  87. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -5
  88. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +1 -1
  89. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -5
  90. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +4 -0
  91. package/artifacts/contracts/instance/module/{product/IProductModule.sol/IProductModule.json → risk/IRisk.sol/IRisk.json} +2 -2
  92. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +4 -0
  93. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +113 -0
  94. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +4 -0
  95. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +131 -0
  96. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +1 -1
  97. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +1 -1
  98. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +209 -236
  99. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  100. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +2 -2
  101. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +1 -1
  102. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +209 -236
  103. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +1 -1
  104. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +141 -42
  105. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  106. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +507 -0
  107. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +1 -1
  108. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +62 -21
  109. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  110. package/artifacts/contracts/instance/service/{ComponentServiceBase.sol/ComponentServiceBase.json → IDistributionService.sol/IDistributionService.json} +96 -30
  111. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  112. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +127 -22
  113. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  114. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +215 -21
  115. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  116. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +177 -46
  117. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  118. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +322 -62
  119. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  120. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +1 -1
  121. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  122. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  123. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  124. package/artifacts/contracts/registry/Registry.sol/Registry.json +2 -2
  125. package/artifacts/contracts/registry/RegistryUpgradeable.sol/RegistryUpgradeable.dbg.json +4 -0
  126. package/artifacts/contracts/registry/RegistryUpgradeable.sol/RegistryUpgradeable.json +724 -0
  127. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  128. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +1 -1
  129. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  130. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  131. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +58 -17
  132. package/artifacts/contracts/shared/Proxy.sol/ProxyDeployer.dbg.json +4 -0
  133. package/artifacts/contracts/shared/Proxy.sol/ProxyDeployer.json +248 -0
  134. package/artifacts/contracts/shared/Proxy.sol/ProxyWithProxyAdminGetter.dbg.json +4 -0
  135. package/artifacts/contracts/shared/Proxy.sol/ProxyWithProxyAdminGetter.json +129 -0
  136. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  137. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  138. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +92 -5
  139. package/artifacts/contracts/shared/VersionableUpgradeable.sol/VersionableUpgradeable.dbg.json +4 -0
  140. package/artifacts/contracts/shared/VersionableUpgradeable.sol/VersionableUpgradeable.json +228 -0
  141. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.dbg.json +4 -0
  142. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.json +405 -0
  143. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  144. package/artifacts/contracts/test/TestFee.sol/TestFee.json +28 -4
  145. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +1 -1
  146. package/artifacts/contracts/test/TestPool.sol/TestPool.json +194 -3
  147. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +1 -1
  148. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +209 -27
  149. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  150. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +2 -2
  151. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  152. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +38 -4
  153. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  154. package/artifacts/contracts/test/TestService.sol/TestService.json +102 -43
  155. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  156. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  157. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +14 -18
  158. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  159. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +102 -39
  160. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +4 -0
  161. package/artifacts/contracts/test/Usdc.sol/USDC.json +338 -0
  162. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  163. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  164. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  165. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +4 -0
  166. package/artifacts/contracts/types/Fee.sol/FeeLib.json +257 -0
  167. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +4 -0
  168. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +111 -0
  169. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  170. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +65 -4
  171. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  172. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +2 -2
  173. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  174. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  175. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.dbg.json +4 -0
  176. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.json +99 -0
  177. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +4 -0
  178. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +86 -0
  179. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +4 -0
  180. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +30 -0
  181. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  182. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  183. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  184. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +1 -1
  185. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +34 -8
  186. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  187. package/artifacts/contracts/types/Version.sol/VersionLib.json +101 -2
  188. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  189. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +2 -2
  190. package/contracts/components/BaseComponent.sol +7 -2
  191. package/contracts/components/Distribution.sol +132 -0
  192. package/contracts/components/IDistributionComponent.sol +47 -0
  193. package/contracts/components/IPoolComponent.sol +14 -0
  194. package/contracts/components/IProductComponent.sol +24 -5
  195. package/contracts/components/Pool.sol +64 -3
  196. package/contracts/components/Product.sol +123 -13
  197. package/contracts/instance/IInstance.sol +16 -13
  198. package/contracts/instance/Instance.sol +22 -10
  199. package/contracts/instance/{service → base}/ComponentServiceBase.sol +1 -0
  200. package/contracts/instance/base/IInstanceBase.sol +22 -0
  201. package/contracts/instance/base/IKeyValueStore.sol +50 -0
  202. package/contracts/instance/base/ILifecycle.sol +30 -0
  203. package/contracts/instance/{InstanceBase.sol → base/InstanceBase.sol} +34 -17
  204. package/contracts/instance/base/KeyValueStore.sol +161 -0
  205. package/contracts/instance/{module/lifecycle/LifecycleModule.sol → base/Lifecycle.sol} +50 -39
  206. package/contracts/instance/base/ModuleBase.sol +57 -0
  207. package/contracts/instance/{service → base}/ServiceBase.sol +1 -3
  208. package/contracts/instance/module/access/Access.sol +6 -6
  209. package/contracts/instance/module/bundle/BundleModule.sol +24 -118
  210. package/contracts/instance/module/bundle/IBundle.sol +9 -9
  211. package/contracts/instance/module/component/ComponentModule.sol +27 -61
  212. package/contracts/instance/module/component/IComponent.sol +5 -30
  213. package/contracts/instance/module/distribution/DistributionModule.sol +17 -0
  214. package/contracts/instance/module/distribution/IDistribution.sol +10 -0
  215. package/contracts/instance/module/policy/IPolicy.sol +12 -9
  216. package/contracts/instance/module/policy/PolicyModule.sol +33 -26
  217. package/contracts/instance/module/pool/IPoolModule.sol +0 -1
  218. package/contracts/instance/module/pool/PoolModule.sol +12 -9
  219. package/contracts/instance/module/risk/IRisk.sol +26 -0
  220. package/contracts/instance/module/risk/RiskModule.sol +62 -0
  221. package/contracts/instance/module/treasury/ITreasury.sol +30 -52
  222. package/contracts/instance/module/treasury/TreasuryModule.sol +74 -84
  223. package/contracts/instance/service/ComponentOwnerService.sol +33 -50
  224. package/contracts/instance/service/DistributionService.sol +59 -0
  225. package/contracts/instance/service/IComponentOwnerService.sol +1 -1
  226. package/contracts/instance/service/IDistributionService.sol +12 -0
  227. package/contracts/instance/service/IPoolService.sol +8 -1
  228. package/contracts/instance/service/IProductService.sol +56 -7
  229. package/contracts/instance/service/PoolService.sol +64 -13
  230. package/contracts/instance/service/ProductService.sol +234 -83
  231. package/contracts/registry/Registry.sol +4 -4
  232. package/contracts/registry/RegistryUpgradeable.sol +473 -0
  233. package/contracts/shared/IVersionable.sol +19 -6
  234. package/contracts/shared/Proxy.sol +94 -0
  235. package/contracts/shared/Versionable.sol +16 -9
  236. package/contracts/shared/VersionableUpgradeable.sol +133 -0
  237. package/contracts/test/TestDistribution.sol +21 -0
  238. package/contracts/test/TestFee.sol +3 -3
  239. package/contracts/test/TestPool.sol +6 -3
  240. package/contracts/test/TestProduct.sol +36 -8
  241. package/contracts/test/TestRoleId.sol +2 -2
  242. package/contracts/test/TestService.sol +3 -6
  243. package/contracts/test/TestVersion.sol +4 -7
  244. package/contracts/test/TestVersionable.sol +2 -5
  245. package/contracts/test/Usdc.sol +26 -0
  246. package/contracts/types/Fee.sol +44 -20
  247. package/contracts/types/Key32.sol +45 -0
  248. package/contracts/types/NftId.sol +16 -1
  249. package/contracts/types/ObjectType.sol +24 -8
  250. package/contracts/types/ReferralId.sol +48 -0
  251. package/contracts/types/RiskId.sol +43 -0
  252. package/contracts/types/RoleId.sol +12 -10
  253. package/contracts/types/StateId.sol +7 -1
  254. package/contracts/types/UFixed.sol +19 -16
  255. package/contracts/types/Version.sol +37 -25
  256. package/package.json +1 -1
  257. package/artifacts/contracts/instance/IServiceLinked.sol/IServiceLinked.dbg.json +0 -4
  258. package/artifacts/contracts/instance/IServiceLinked.sol/IServiceLinked.json +0 -50
  259. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  260. package/artifacts/contracts/instance/module/lifecycle/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  261. package/artifacts/contracts/instance/module/lifecycle/ILifecycle.sol/ILifecycle.json +0 -134
  262. package/artifacts/contracts/instance/module/lifecycle/ILifecycle.sol/ILifecycleModule.dbg.json +0 -4
  263. package/artifacts/contracts/instance/module/lifecycle/LifecycleModule.sol/LifecycleModule.dbg.json +0 -4
  264. package/artifacts/contracts/instance/module/lifecycle/LifecycleModule.sol/LifecycleModule.json +0 -221
  265. package/artifacts/contracts/instance/module/product/IProductModule.sol/IProductModule.dbg.json +0 -4
  266. package/artifacts/contracts/instance/module/product/ProductModule.sol/ProductModule.dbg.json +0 -4
  267. package/artifacts/contracts/instance/service/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  268. package/artifacts/contracts/instance/service/IService.sol/IService.dbg.json +0 -4
  269. package/artifacts/contracts/instance/service/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  270. package/contracts/instance/IServiceLinked.sol +0 -12
  271. package/contracts/instance/module/lifecycle/ILifecycle.sol +0 -47
  272. package/contracts/instance/module/product/IProductModule.sol +0 -6
  273. package/contracts/instance/module/product/ProductModule.sol +0 -8
  274. /package/contracts/instance/{service → base}/IService.sol +0 -0
@@ -19,6 +19,29 @@
19
19
  "stateMutability": "nonpayable",
20
20
  "type": "constructor"
21
21
  },
22
+ {
23
+ "inputs": [],
24
+ "name": "InvalidInitialization",
25
+ "type": "error"
26
+ },
27
+ {
28
+ "inputs": [],
29
+ "name": "NotInitializing",
30
+ "type": "error"
31
+ },
32
+ {
33
+ "anonymous": false,
34
+ "inputs": [
35
+ {
36
+ "indexed": false,
37
+ "internalType": "uint64",
38
+ "name": "version",
39
+ "type": "uint64"
40
+ }
41
+ ],
42
+ "name": "Initialized",
43
+ "type": "event"
44
+ },
22
45
  {
23
46
  "anonymous": false,
24
47
  "inputs": [
@@ -68,6 +91,11 @@
68
91
  "internalType": "address",
69
92
  "name": "activatedBy",
70
93
  "type": "address"
94
+ },
95
+ {
96
+ "internalType": "bytes",
97
+ "name": "activatinData",
98
+ "type": "bytes"
71
99
  }
72
100
  ],
73
101
  "name": "activate",
@@ -88,6 +116,19 @@
88
116
  "stateMutability": "view",
89
117
  "type": "function"
90
118
  },
119
+ {
120
+ "inputs": [],
121
+ "name": "getInitializedVersion",
122
+ "outputs": [
123
+ {
124
+ "internalType": "uint64",
125
+ "name": "",
126
+ "type": "uint64"
127
+ }
128
+ ],
129
+ "stateMutability": "view",
130
+ "type": "function"
131
+ },
91
132
  {
92
133
  "inputs": [],
93
134
  "name": "getMajorVersion",
@@ -251,15 +292,15 @@
251
292
  "name": "activatedBy",
252
293
  "type": "address"
253
294
  },
254
- {
255
- "internalType": "Blocknumber",
256
- "name": "activatedIn",
257
- "type": "uint32"
258
- },
259
295
  {
260
296
  "internalType": "Timestamp",
261
297
  "name": "activatedAt",
262
298
  "type": "uint40"
299
+ },
300
+ {
301
+ "internalType": "Blocknumber",
302
+ "name": "activatedIn",
303
+ "type": "uint32"
263
304
  }
264
305
  ],
265
306
  "internalType": "struct IVersionable.VersionInfo",
@@ -270,6 +311,29 @@
270
311
  "stateMutability": "view",
271
312
  "type": "function"
272
313
  },
314
+ {
315
+ "inputs": [
316
+ {
317
+ "internalType": "address",
318
+ "name": "implementation",
319
+ "type": "address"
320
+ },
321
+ {
322
+ "internalType": "address",
323
+ "name": "activatedBy",
324
+ "type": "address"
325
+ },
326
+ {
327
+ "internalType": "bytes",
328
+ "name": "initializationData",
329
+ "type": "bytes"
330
+ }
331
+ ],
332
+ "name": "initialize",
333
+ "outputs": [],
334
+ "stateMutability": "nonpayable",
335
+ "type": "function"
336
+ },
273
337
  {
274
338
  "inputs": [
275
339
  {
@@ -320,20 +384,43 @@
320
384
  ],
321
385
  "stateMutability": "view",
322
386
  "type": "function"
387
+ },
388
+ {
389
+ "inputs": [
390
+ {
391
+ "internalType": "address",
392
+ "name": "implementation",
393
+ "type": "address"
394
+ },
395
+ {
396
+ "internalType": "address",
397
+ "name": "activatedBy",
398
+ "type": "address"
399
+ },
400
+ {
401
+ "internalType": "bytes",
402
+ "name": "upgradeData",
403
+ "type": "bytes"
404
+ }
405
+ ],
406
+ "name": "upgrade",
407
+ "outputs": [],
408
+ "stateMutability": "nonpayable",
409
+ "type": "function"
323
410
  }
324
411
  ],
325
- "bytecode": "0x60e06040523480156200001157600080fd5b506040516200198a3803806200198a833981016040819052620000349162000852565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055818181816001600160a01b038216620000d05760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a5247422d3031303a52454749535452595f5a45524f000000000060448201526064015b60405180910390fd5b6001600160a01b03821660808190526040516301ffc9a760e01b81526306ecd8ef60e01b60048201526301ffc9a790602401602060405180830381865afa15801562000120573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001469190620008a7565b620001945760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5247422d3031313a4e4f545f52454749535452590000000000006044820152606401620000c7565b6001600160601b03811660a081905260805160405163e74d052f60e01b815260048101929092526001600160a01b03169063e74d052f90602401602060405180830381865afa158015620001ec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002129190620008a7565b6200026c5760405162461bcd60e51b815260206004820152602360248201527f4552524f523a5247422d3031323a504152454e545f4e4f545f5245474953544560448201526214915160ea1b6064820152608401620000c7565b3360c052631dfba64760e11b60009081526020527f95e5a2564f7af40498dc043c6da135e06324c5edb1f60c2bf4dcdf2da207fa45805460ff1916600117905550620002bc905060003362000302565b631b4612f160e31b60009081526020527ffc58a5a01198e68c5a5d0bcd463f9ab550fc4337b1df271aed6dbb33d25fef25805460ff191660011790555050505062000944565b60006200030e620005da565b90506200031b81620005f0565b156200037a5760405162461bcd60e51b815260206004820152602760248201527f4552524f523a56524e2d3030313a56455253494f4e5f414c52454144595f41436044820152661512559055115160ca1b6064820152608401620000c7565b600254156200043b5760028054600091906200039990600190620008e8565b81548110620003ac57620003ac620008fe565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050620003df828262000696565b620004395760405162461bcd60e51b8152602060048201526024808201527f4552524f523a56524e2d3030323a56455253494f4e5f4e4f545f494e4352454160448201526353494e4760e01b6064820152608401620000c7565b505b60028054600181018255600091909152600a8082047f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace01805462ffffff808616600394909506939093026101000a848102930219169190911790556040805160a0810182529182526001600160a01b03808616602084015284169082015260608101620004c54390565b63ffffffff1681526020014264ffffffffff90811690915262ffffff80841660009081526001602081815260409283902086518154928801516001600160a01b039081166301000000026001600160b81b0319909416919096161791909117815585830151910180546060870151608090970151909516600160c01b0264ffffffffff60c01b1963ffffffff909716600160a01b026001600160c01b031990961692909416919091179390931793909316179055517f68e7327fca0057a787cde34ababb9ef9844ba8065ee03e8781d8122fc15d441990620005cd9083908690869062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b60405180910390a1505050565b6000620005eb6003600080620006a8565b905090565b62ffffff81166000908152600160208190526040808320909101549051631bbffab160e21b8152600160a01b90910463ffffffff166004820152819073__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af415801562000669573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200068f919062000914565b1192915050565b62ffffff808216908316115b92915050565b604051632b10f60d60e21b815260ff84166004820152600090819073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af415801562000700573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000726919062000914565b604051632b10f60d60e21b815260ff8616600482015290915060009073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af41580156200077f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620007a5919062000914565b604051632b10f60d60e21b815260ff8616600482015290915060009073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015620007fe573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000824919062000914565b9050806200083b600884901b601086901b6200092e565b6200084791906200092e565b979650505050505050565b600080604083850312156200086657600080fd5b82516001600160a01b03811681146200087e57600080fd5b60208401519092506001600160601b03811681146200089c57600080fd5b809150509250929050565b600060208284031215620008ba57600080fd5b81518015158114620008cb57600080fd5b9392505050565b634e487b7160e01b600052601160045260246000fd5b81810381811115620006a257620006a2620008d2565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156200092757600080fd5b5051919050565b80820180821115620006a257620006a2620008d2565b60805160a05160c051610ffa6200099060003960006106f6015260006101e801526000818161029201528181610480015281816106060152818161067701526107390152610ffa6000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c80634d459c90116100a2578063946dfcfe11610071578063946dfcfe146102da5780639555c4db146102eb578063a3f4df7e14610300578063b88da7591461032a578063cde749f41461033d57600080fd5b80634d459c90146102205780635ab1bd5314610290578063644c45e0146102ca578063893d20e8146102d257600080fd5b806317d7de7c116100de57806317d7de7c146101965780631aa3a008146101c657806331b62a3b146101e65780633bc5de301461020c57600080fd5b806301ffc9a7146101105780630abd8434146101525780630d8e6e2c1461016557806315dae03e14610181575b600080fd5b61013d61011e366004610db1565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61013d610160366004610df6565b610345565b61016d6103e8565b60405162ffffff9091168152602001610149565b60285b60405160ff9091168152602001610149565b60408051808201909152600b81526a546573745365727669636560a81b60208201525b6040516101499190610e59565b6101ce6103fc565b6040516001600160601b039091168152602001610149565b7f00000000000000000000000000000000000000000000000000000000000000006101ce565b6040805160208101909152600081526101b9565b61023361022e366004610df6565b6104f5565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015163ffffffff169082015260809182015164ffffffffff169181019190915260a001610149565b7f00000000000000000000000000000000000000000000000000000000000000005b6040516001600160a01b039091168152602001610149565b6101ce6105ee565b6102b2610655565b600254604051908152602001610149565b6102fe6102f9366004610e81565b6107b2565b005b6101b96040518060400160405280600b81526020016a546573745365727669636560a81b81525081565b61016d610338366004610eba565b6107c0565b610184610853565b62ffffff81166000908152600160208190526040808320909101549051631bbffab160e21b8152600160a01b90910463ffffffff166004820152819073__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af41580156103bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103e19190610ed3565b1192915050565b60006103f76003600080610930565b905090565b6000610406610655565b6001600160a01b0316336001600160a01b03161461046b5760405162461bcd60e51b815260206004820152601760248201527f4552524f523a5247422d3030313a4e4f545f4f574e455200000000000000000060448201526064015b60405180910390fd5b604051632210724360e11b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690634420e486906024016020604051808303816000875af11580156104d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103f79190610eec565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915261052982610345565b6105755760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a56524e2d3032303a56455253494f4e5f554e4b4e4f574e0000006044820152606401610462565b5062ffffff908116600090815260016020818152604092839020835160a0810185528154958616815263010000009095046001600160a01b03908116928601929092529091015490811691830191909152600160a01b810463ffffffff166060830152600160c01b900464ffffffffff16608082015290565b604051636939560f60e11b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d272ac1e90602401602060405180830381865afa1580156104d1573d6000803e3d6000fd5b604051636939560f60e11b815230600482015260009081906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e90602401602060405180830381865afa1580156106be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106e29190610eec565b90506106ef816000610acd565b1561071b577f000000000000000000000000000000000000000000000000000000000000000091505090565b60405163df33330b60e01b81526001600160601b03821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063df33330b90602401602060405180830381865afa158015610788573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ac9190610f15565b91505090565b6107bc8282610ae3565b5050565b60025460009082106108145760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a56524e2d3031303a494e4445585f544f4f5f4c415247450000006044820152606401610462565b6002828154811061082757610827610f32565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b6000306001600160a01b0316630d8e6e2c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610893573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108b79190610f48565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801561090c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103f79190610f65565b604051632b10f60d60e21b815260ff84166004820152600090819073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015610987573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ab9190610ed3565b604051632b10f60d60e21b815260ff8616600482015290915060009073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015610a03573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a279190610ed3565b604051632b10f60d60e21b815260ff8616600482015290915060009073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015610a7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aa39190610ed3565b905080610ab8600884901b601086901b610f9e565b610ac29190610f9e565b979650505050505050565b6001600160601b03828116908216145b92915050565b6000610aed6103e8565b9050610af881610345565b15610b555760405162461bcd60e51b815260206004820152602760248201527f4552524f523a56524e2d3030313a56455253494f4e5f414c52454144595f41436044820152661512559055115160ca1b6064820152608401610462565b60025415610c14576002805460009190610b7190600190610fb1565b81548110610b8157610b81610f32565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050610bba828262ffffff90811691161190565b610c125760405162461bcd60e51b8152602060048201526024808201527f4552524f523a56524e2d3030323a56455253494f4e5f4e4f545f494e4352454160448201526353494e4760e01b6064820152608401610462565b505b60028054600181018255600091909152600a8082047f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace01805462ffffff808616600394909506939093026101000a848102930219169190911790556040805160a0810182529182526001600160a01b03808616602084015284169082015260608101610c9d4390565b63ffffffff1681526020014264ffffffffff90811690915262ffffff80841660009081526001602081815260409283902086518154928801516001600160a01b039081166301000000026001600160b81b0319909416919096161791909117815585830151910180546060870151608090970151909516600160c01b0264ffffffffff60c01b1963ffffffff909716600160a01b026001600160c01b031990961692909416919091179390931793909316179055517f68e7327fca0057a787cde34ababb9ef9844ba8065ee03e8781d8122fc15d441990610da49083908690869062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b60405180910390a1505050565b600060208284031215610dc357600080fd5b81356001600160e01b031981168114610ddb57600080fd5b9392505050565b62ffffff81168114610df357600080fd5b50565b600060208284031215610e0857600080fd5b8135610ddb81610de2565b6000815180845260005b81811015610e3957602081850181015186830182015201610e1d565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610ddb6020830184610e13565b6001600160a01b0381168114610df357600080fd5b60008060408385031215610e9457600080fd5b8235610e9f81610e6c565b91506020830135610eaf81610e6c565b809150509250929050565b600060208284031215610ecc57600080fd5b5035919050565b600060208284031215610ee557600080fd5b5051919050565b600060208284031215610efe57600080fd5b81516001600160601b0381168114610ddb57600080fd5b600060208284031215610f2757600080fd5b8151610ddb81610e6c565b634e487b7160e01b600052603260045260246000fd5b600060208284031215610f5a57600080fd5b8151610ddb81610de2565b600060208284031215610f7757600080fd5b815160ff81168114610ddb57600080fd5b634e487b7160e01b600052601160045260246000fd5b80820180821115610add57610add610f88565b81810381811115610add57610add610f8856fea2646970667358221220858101abb0d1ec329d0da3892531c0417610d06c65081d0e6521dc5710196bde64736f6c63430008140033",
326
- "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061010b5760003560e01c80634d459c90116100a2578063946dfcfe11610071578063946dfcfe146102da5780639555c4db146102eb578063a3f4df7e14610300578063b88da7591461032a578063cde749f41461033d57600080fd5b80634d459c90146102205780635ab1bd5314610290578063644c45e0146102ca578063893d20e8146102d257600080fd5b806317d7de7c116100de57806317d7de7c146101965780631aa3a008146101c657806331b62a3b146101e65780633bc5de301461020c57600080fd5b806301ffc9a7146101105780630abd8434146101525780630d8e6e2c1461016557806315dae03e14610181575b600080fd5b61013d61011e366004610db1565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61013d610160366004610df6565b610345565b61016d6103e8565b60405162ffffff9091168152602001610149565b60285b60405160ff9091168152602001610149565b60408051808201909152600b81526a546573745365727669636560a81b60208201525b6040516101499190610e59565b6101ce6103fc565b6040516001600160601b039091168152602001610149565b7f00000000000000000000000000000000000000000000000000000000000000006101ce565b6040805160208101909152600081526101b9565b61023361022e366004610df6565b6104f5565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015163ffffffff169082015260809182015164ffffffffff169181019190915260a001610149565b7f00000000000000000000000000000000000000000000000000000000000000005b6040516001600160a01b039091168152602001610149565b6101ce6105ee565b6102b2610655565b600254604051908152602001610149565b6102fe6102f9366004610e81565b6107b2565b005b6101b96040518060400160405280600b81526020016a546573745365727669636560a81b81525081565b61016d610338366004610eba565b6107c0565b610184610853565b62ffffff81166000908152600160208190526040808320909101549051631bbffab160e21b8152600160a01b90910463ffffffff166004820152819073__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af41580156103bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103e19190610ed3565b1192915050565b60006103f76003600080610930565b905090565b6000610406610655565b6001600160a01b0316336001600160a01b03161461046b5760405162461bcd60e51b815260206004820152601760248201527f4552524f523a5247422d3030313a4e4f545f4f574e455200000000000000000060448201526064015b60405180910390fd5b604051632210724360e11b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690634420e486906024016020604051808303816000875af11580156104d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103f79190610eec565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915261052982610345565b6105755760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a56524e2d3032303a56455253494f4e5f554e4b4e4f574e0000006044820152606401610462565b5062ffffff908116600090815260016020818152604092839020835160a0810185528154958616815263010000009095046001600160a01b03908116928601929092529091015490811691830191909152600160a01b810463ffffffff166060830152600160c01b900464ffffffffff16608082015290565b604051636939560f60e11b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d272ac1e90602401602060405180830381865afa1580156104d1573d6000803e3d6000fd5b604051636939560f60e11b815230600482015260009081906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e90602401602060405180830381865afa1580156106be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106e29190610eec565b90506106ef816000610acd565b1561071b577f000000000000000000000000000000000000000000000000000000000000000091505090565b60405163df33330b60e01b81526001600160601b03821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063df33330b90602401602060405180830381865afa158015610788573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ac9190610f15565b91505090565b6107bc8282610ae3565b5050565b60025460009082106108145760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a56524e2d3031303a494e4445585f544f4f5f4c415247450000006044820152606401610462565b6002828154811061082757610827610f32565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b6000306001600160a01b0316630d8e6e2c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610893573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108b79190610f48565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801561090c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103f79190610f65565b604051632b10f60d60e21b815260ff84166004820152600090819073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015610987573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ab9190610ed3565b604051632b10f60d60e21b815260ff8616600482015290915060009073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015610a03573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a279190610ed3565b604051632b10f60d60e21b815260ff8616600482015290915060009073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015610a7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aa39190610ed3565b905080610ab8600884901b601086901b610f9e565b610ac29190610f9e565b979650505050505050565b6001600160601b03828116908216145b92915050565b6000610aed6103e8565b9050610af881610345565b15610b555760405162461bcd60e51b815260206004820152602760248201527f4552524f523a56524e2d3030313a56455253494f4e5f414c52454144595f41436044820152661512559055115160ca1b6064820152608401610462565b60025415610c14576002805460009190610b7190600190610fb1565b81548110610b8157610b81610f32565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050610bba828262ffffff90811691161190565b610c125760405162461bcd60e51b8152602060048201526024808201527f4552524f523a56524e2d3030323a56455253494f4e5f4e4f545f494e4352454160448201526353494e4760e01b6064820152608401610462565b505b60028054600181018255600091909152600a8082047f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace01805462ffffff808616600394909506939093026101000a848102930219169190911790556040805160a0810182529182526001600160a01b03808616602084015284169082015260608101610c9d4390565b63ffffffff1681526020014264ffffffffff90811690915262ffffff80841660009081526001602081815260409283902086518154928801516001600160a01b039081166301000000026001600160b81b0319909416919096161791909117815585830151910180546060870151608090970151909516600160c01b0264ffffffffff60c01b1963ffffffff909716600160a01b026001600160c01b031990961692909416919091179390931793909316179055517f68e7327fca0057a787cde34ababb9ef9844ba8065ee03e8781d8122fc15d441990610da49083908690869062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b60405180910390a1505050565b600060208284031215610dc357600080fd5b81356001600160e01b031981168114610ddb57600080fd5b9392505050565b62ffffff81168114610df357600080fd5b50565b600060208284031215610e0857600080fd5b8135610ddb81610de2565b6000815180845260005b81811015610e3957602081850181015186830182015201610e1d565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610ddb6020830184610e13565b6001600160a01b0381168114610df357600080fd5b60008060408385031215610e9457600080fd5b8235610e9f81610e6c565b91506020830135610eaf81610e6c565b809150509250929050565b600060208284031215610ecc57600080fd5b5035919050565b600060208284031215610ee557600080fd5b5051919050565b600060208284031215610efe57600080fd5b81516001600160601b0381168114610ddb57600080fd5b600060208284031215610f2757600080fd5b8151610ddb81610e6c565b634e487b7160e01b600052603260045260246000fd5b600060208284031215610f5a57600080fd5b8151610ddb81610de2565b600060208284031215610f7757600080fd5b815160ff81168114610ddb57600080fd5b634e487b7160e01b600052601160045260246000fd5b80820180821115610add57610add610f88565b81810381811115610add57610add610f8856fea2646970667358221220858101abb0d1ec329d0da3892531c0417610d06c65081d0e6521dc5710196bde64736f6c63430008140033",
412
+ "bytecode": "0x60e06040523480156200001157600080fd5b50604051620017a8380380620017a883398101604081905262000034916200071f565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055818181816001600160a01b038216620000d05760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a5247422d3031303a52454749535452595f5a45524f000000000060448201526064015b60405180910390fd5b6001600160a01b03821660808190526040516301ffc9a760e01b81526306ecd8ef60e01b60048201526301ffc9a790602401602060405180830381865afa15801562000120573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000146919062000774565b620001945760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5247422d3031313a4e4f545f52454749535452590000000000006044820152606401620000c7565b6001600160601b03811660a081905260805160405163e74d052f60e01b815260048101929092526001600160a01b03169063e74d052f90602401602060405180830381865afa158015620001ec573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000212919062000774565b6200026c5760405162461bcd60e51b815260206004820152602360248201527f4552524f523a5247422d3031323a504152454e545f4e4f545f5245474953544560448201526214915160ea1b6064820152608401620000c7565b3360c052631dfba64760e11b60009081526020527f95e5a2564f7af40498dc043c6da135e06324c5edb1f60c2bf4dcdf2da207fa45805460ff1916600117905550620002bc905060003362000302565b631b4612f160e31b60009081526020527ffc58a5a01198e68c5a5d0bcd463f9ab550fc4337b1df271aed6dbb33d25fef25805460ff191660011790555050505062000818565b60006200030e620005da565b90506200031b8162000667565b156200037a5760405162461bcd60e51b815260206004820152602760248201527f4552524f523a56524e2d3030313a56455253494f4e5f414c52454144595f41436044820152661512559055115160ca1b6064820152608401620000c7565b600254156200043b57600280546000919062000399906001906200079f565b81548110620003ac57620003ac620007c1565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050620003df82826200070d565b620004395760405162461bcd60e51b8152602060048201526024808201527f4552524f523a56524e2d3030323a56455253494f4e5f4e4f545f494e4352454160448201526353494e4760e01b6064820152608401620000c7565b505b60028054600181018255600091909152600a8082047f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace01805462ffffff808616600394909506939093026101000a848102930219169190911790556040805160a0810182529182526001600160a01b03808616602084015284169082015260608101620004c54290565b64ffffffffff1681526020014363ffffffff90811690915262ffffff80841660009081526001602081815260409283902086518154928801516001600160a01b039081166301000000026001600160b81b0319909416919096161791909117815585830151910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517f68e7327fca0057a787cde34ababb9ef9844ba8065ee03e8781d8122fc15d441990620005cd9083908690869062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b60405180910390a1505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156200063c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620006629190620007d7565b905090565b62ffffff81166000908152600160208190526040808320909101549051631bbffab160e21b8152600160c81b90910463ffffffff166004820152819073__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015620006e0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620007069190620007fe565b1192915050565b62ffffff808216908316115b92915050565b600080604083850312156200073357600080fd5b82516001600160a01b03811681146200074b57600080fd5b60208401519092506001600160601b03811681146200076957600080fd5b809150509250929050565b6000602082840312156200078757600080fd5b815180151581146200079857600080fd5b9392505050565b818103818111156200071957634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600060208284031215620007ea57600080fd5b815162ffffff811681146200079857600080fd5b6000602082840312156200081157600080fd5b5051919050565b60805160a05160c051610f4462000864600039600061076701526000610209015260008181610352015281816105ea01528181610677015281816106e801526107aa0152610f446000f3fe608060405234801561001057600080fd5b506004361061012c5760003560e01c80635b5b48f5116100ad578063a745e3df11610071578063a745e3df1461038a578063b3c65015146103ea578063b88da7591461040b578063cde749f41461041e578063cf7a1d771461042657600080fd5b80635b5b48f51461038a578063644c45e01461039f578063893d20e8146103a7578063946dfcfe146103af578063a3f4df7e146103c057600080fd5b80631aa3a008116100f45780631aa3a008146101e757806331b62a3b146102075780633bc5de301461022d5780634d459c90146102415780635ab1bd531461035057600080fd5b806301ffc9a7146101315780630abd8434146101735780630d8e6e2c1461018657806315dae03e146101a257806317d7de7c146101b7575b600080fd5b61015e61013f366004610c63565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61015e610181366004610ca8565b610439565b61018e6104dc565b60405162ffffff909116815260200161016a565b60285b60405160ff909116815260200161016a565b60408051808201909152600b81526a546573745365727669636560a81b60208201525b60405161016a9190610d0b565b6101ef610566565b6040516001600160601b03909116815260200161016a565b7f00000000000000000000000000000000000000000000000000000000000000006101ef565b6040805160208101909152600081526101da565b6102f361024f366004610ca8565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091525062ffffff908116600090815260016020818152604092839020835160a0810185528154958616815263010000009095046001600160a01b03908116928601929092529091015490811691830191909152600160a01b810464ffffffffff166060830152600160c81b900463ffffffff16608082015290565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a00161016a565b7f00000000000000000000000000000000000000000000000000000000000000005b6040516001600160a01b03909116815260200161016a565b61039d610398366004610d49565b505050565b005b6101ef61065f565b6103726106c6565b60025460405190815260200161016a565b6101da6040518060400160405280600b81526020016a546573745365727669636560a81b81525081565b6103f2610823565b60405167ffffffffffffffff909116815260200161016a565b61018e610419366004610e1f565b610857565b6101a5610898565b61039d610434366004610d49565b610975565b62ffffff81166000908152600160208190526040808320909101549051631bbffab160e21b8152600160c81b90910463ffffffff166004820152819073__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af41580156104b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d59190610e38565b1192915050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561053d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105619190610e51565b905090565b60006105706106c6565b6001600160a01b0316336001600160a01b0316146105d55760405162461bcd60e51b815260206004820152601760248201527f4552524f523a5247422d3030313a4e4f545f4f574e455200000000000000000060448201526064015b60405180910390fd5b604051632210724360e11b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690634420e486906024016020604051808303816000875af115801561063b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105619190610e6e565b604051636939560f60e11b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d272ac1e90602401602060405180830381865afa15801561063b573d6000803e3d6000fd5b604051636939560f60e11b815230600482015260009081906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e90602401602060405180830381865afa15801561072f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107539190610e6e565b905061076081600061097f565b1561078c577f000000000000000000000000000000000000000000000000000000000000000091505090565b60405163df33330b60e01b81526001600160601b03821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063df33330b90602401602060405180830381865afa1580156107f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061081d9190610e97565b91505090565b60006105617ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005467ffffffffffffffff1690565b60006002828154811061086c5761086c610eb4565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b6000306001600160a01b0316630d8e6e2c6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108fc9190610e51565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015610951573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105619190610eca565b6103988383610995565b6001600160601b03828116908216145b92915050565b600061099f6104dc565b90506109aa81610439565b15610a075760405162461bcd60e51b815260206004820152602760248201527f4552524f523a56524e2d3030313a56455253494f4e5f414c52454144595f41436044820152661512559055115160ca1b60648201526084016105cc565b60025415610ac6576002805460009190610a2390600190610eed565b81548110610a3357610a33610eb4565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050610a6c828262ffffff90811691161190565b610ac45760405162461bcd60e51b8152602060048201526024808201527f4552524f523a56524e2d3030323a56455253494f4e5f4e4f545f494e4352454160448201526353494e4760e01b60648201526084016105cc565b505b60028054600181018255600091909152600a8082047f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace01805462ffffff808616600394909506939093026101000a848102930219169190911790556040805160a0810182529182526001600160a01b03808616602084015284169082015260608101610b4f4290565b64ffffffffff1681526020014363ffffffff90811690915262ffffff80841660009081526001602081815260409283902086518154928801516001600160a01b039081166301000000026001600160b81b0319909416919096161791909117815585830151910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517f68e7327fca0057a787cde34ababb9ef9844ba8065ee03e8781d8122fc15d441990610c569083908690869062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b60405180910390a1505050565b600060208284031215610c7557600080fd5b81356001600160e01b031981168114610c8d57600080fd5b9392505050565b62ffffff81168114610ca557600080fd5b50565b600060208284031215610cba57600080fd5b8135610c8d81610c94565b6000815180845260005b81811015610ceb57602081850181015186830182015201610ccf565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610c8d6020830184610cc5565b6001600160a01b0381168114610ca557600080fd5b634e487b7160e01b600052604160045260246000fd5b600080600060608486031215610d5e57600080fd5b8335610d6981610d1e565b92506020840135610d7981610d1e565b9150604084013567ffffffffffffffff80821115610d9657600080fd5b818601915086601f830112610daa57600080fd5b813581811115610dbc57610dbc610d33565b604051601f8201601f19908116603f01168101908382118183101715610de457610de4610d33565b81604052828152896020848701011115610dfd57600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b600060208284031215610e3157600080fd5b5035919050565b600060208284031215610e4a57600080fd5b5051919050565b600060208284031215610e6357600080fd5b8151610c8d81610c94565b600060208284031215610e8057600080fd5b81516001600160601b0381168114610c8d57600080fd5b600060208284031215610ea957600080fd5b8151610c8d81610d1e565b634e487b7160e01b600052603260045260246000fd5b600060208284031215610edc57600080fd5b815160ff81168114610c8d57600080fd5b8181038181111561098f57634e487b7160e01b600052601160045260246000fdfea26469706673582212206f089e9191a0912c61eae0a23668f266f39bb8b8dd9fc28d71f035eca9d255eb64736f6c63430008140033",
413
+ "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061012c5760003560e01c80635b5b48f5116100ad578063a745e3df11610071578063a745e3df1461038a578063b3c65015146103ea578063b88da7591461040b578063cde749f41461041e578063cf7a1d771461042657600080fd5b80635b5b48f51461038a578063644c45e01461039f578063893d20e8146103a7578063946dfcfe146103af578063a3f4df7e146103c057600080fd5b80631aa3a008116100f45780631aa3a008146101e757806331b62a3b146102075780633bc5de301461022d5780634d459c90146102415780635ab1bd531461035057600080fd5b806301ffc9a7146101315780630abd8434146101735780630d8e6e2c1461018657806315dae03e146101a257806317d7de7c146101b7575b600080fd5b61015e61013f366004610c63565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61015e610181366004610ca8565b610439565b61018e6104dc565b60405162ffffff909116815260200161016a565b60285b60405160ff909116815260200161016a565b60408051808201909152600b81526a546573745365727669636560a81b60208201525b60405161016a9190610d0b565b6101ef610566565b6040516001600160601b03909116815260200161016a565b7f00000000000000000000000000000000000000000000000000000000000000006101ef565b6040805160208101909152600081526101da565b6102f361024f366004610ca8565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091525062ffffff908116600090815260016020818152604092839020835160a0810185528154958616815263010000009095046001600160a01b03908116928601929092529091015490811691830191909152600160a01b810464ffffffffff166060830152600160c81b900463ffffffff16608082015290565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a00161016a565b7f00000000000000000000000000000000000000000000000000000000000000005b6040516001600160a01b03909116815260200161016a565b61039d610398366004610d49565b505050565b005b6101ef61065f565b6103726106c6565b60025460405190815260200161016a565b6101da6040518060400160405280600b81526020016a546573745365727669636560a81b81525081565b6103f2610823565b60405167ffffffffffffffff909116815260200161016a565b61018e610419366004610e1f565b610857565b6101a5610898565b61039d610434366004610d49565b610975565b62ffffff81166000908152600160208190526040808320909101549051631bbffab160e21b8152600160c81b90910463ffffffff166004820152819073__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af41580156104b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d59190610e38565b1192915050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561053d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105619190610e51565b905090565b60006105706106c6565b6001600160a01b0316336001600160a01b0316146105d55760405162461bcd60e51b815260206004820152601760248201527f4552524f523a5247422d3030313a4e4f545f4f574e455200000000000000000060448201526064015b60405180910390fd5b604051632210724360e11b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690634420e486906024016020604051808303816000875af115801561063b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105619190610e6e565b604051636939560f60e11b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d272ac1e90602401602060405180830381865afa15801561063b573d6000803e3d6000fd5b604051636939560f60e11b815230600482015260009081906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e90602401602060405180830381865afa15801561072f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107539190610e6e565b905061076081600061097f565b1561078c577f000000000000000000000000000000000000000000000000000000000000000091505090565b60405163df33330b60e01b81526001600160601b03821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063df33330b90602401602060405180830381865afa1580156107f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061081d9190610e97565b91505090565b60006105617ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005467ffffffffffffffff1690565b60006002828154811061086c5761086c610eb4565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b6000306001600160a01b0316630d8e6e2c6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108fc9190610e51565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015610951573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105619190610eca565b6103988383610995565b6001600160601b03828116908216145b92915050565b600061099f6104dc565b90506109aa81610439565b15610a075760405162461bcd60e51b815260206004820152602760248201527f4552524f523a56524e2d3030313a56455253494f4e5f414c52454144595f41436044820152661512559055115160ca1b60648201526084016105cc565b60025415610ac6576002805460009190610a2390600190610eed565b81548110610a3357610a33610eb4565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050610a6c828262ffffff90811691161190565b610ac45760405162461bcd60e51b8152602060048201526024808201527f4552524f523a56524e2d3030323a56455253494f4e5f4e4f545f494e4352454160448201526353494e4760e01b60648201526084016105cc565b505b60028054600181018255600091909152600a8082047f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace01805462ffffff808616600394909506939093026101000a848102930219169190911790556040805160a0810182529182526001600160a01b03808616602084015284169082015260608101610b4f4290565b64ffffffffff1681526020014363ffffffff90811690915262ffffff80841660009081526001602081815260409283902086518154928801516001600160a01b039081166301000000026001600160b81b0319909416919096161791909117815585830151910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517f68e7327fca0057a787cde34ababb9ef9844ba8065ee03e8781d8122fc15d441990610c569083908690869062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b60405180910390a1505050565b600060208284031215610c7557600080fd5b81356001600160e01b031981168114610c8d57600080fd5b9392505050565b62ffffff81168114610ca557600080fd5b50565b600060208284031215610cba57600080fd5b8135610c8d81610c94565b6000815180845260005b81811015610ceb57602081850181015186830182015201610ccf565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610c8d6020830184610cc5565b6001600160a01b0381168114610ca557600080fd5b634e487b7160e01b600052604160045260246000fd5b600080600060608486031215610d5e57600080fd5b8335610d6981610d1e565b92506020840135610d7981610d1e565b9150604084013567ffffffffffffffff80821115610d9657600080fd5b818601915086601f830112610daa57600080fd5b813581811115610dbc57610dbc610d33565b604051601f8201601f19908116603f01168101908382118183101715610de457610de4610d33565b81604052828152896020848701011115610dfd57600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b600060208284031215610e3157600080fd5b5035919050565b600060208284031215610e4a57600080fd5b5051919050565b600060208284031215610e6357600080fd5b8151610c8d81610c94565b600060208284031215610e8057600080fd5b81516001600160601b0381168114610c8d57600080fd5b600060208284031215610ea957600080fd5b8151610c8d81610d1e565b634e487b7160e01b600052603260045260246000fd5b600060208284031215610edc57600080fd5b815160ff81168114610c8d57600080fd5b8181038181111561098f57634e487b7160e01b600052601160045260246000fdfea26469706673582212206f089e9191a0912c61eae0a23668f266f39bb8b8dd9fc28d71f035eca9d255eb64736f6c63430008140033",
327
414
  "linkReferences": {
328
415
  "contracts/types/Blocknumber.sol": {
329
416
  "BlocknumberLib": [
330
417
  {
331
418
  "length": 20,
332
- "start": 1582
419
+ "start": 1701
333
420
  },
334
421
  {
335
422
  "length": 20,
336
- "start": 3347
423
+ "start": 3291
337
424
  }
338
425
  ]
339
426
  },
@@ -341,33 +428,15 @@
341
428
  "VersionLib": [
342
429
  {
343
430
  "length": 20,
344
- "start": 4706
345
- }
346
- ],
347
- "VersionPartLib": [
348
- {
349
- "length": 20,
350
- "start": 1733
351
- },
352
- {
353
- "length": 20,
354
- "start": 1860
431
+ "start": 1537
355
432
  },
356
433
  {
357
434
  "length": 20,
358
- "start": 1987
435
+ "start": 3431
359
436
  },
360
437
  {
361
438
  "length": 20,
362
- "start": 4829
363
- },
364
- {
365
- "length": 20,
366
- "start": 4953
367
- },
368
- {
369
- "length": 20,
370
- "start": 5077
439
+ "start": 4475
371
440
  }
372
441
  ]
373
442
  }
@@ -377,7 +446,7 @@
377
446
  "BlocknumberLib": [
378
447
  {
379
448
  "length": 20,
380
- "start": 899
449
+ "start": 1143
381
450
  }
382
451
  ]
383
452
  },
@@ -385,21 +454,11 @@
385
454
  "VersionLib": [
386
455
  {
387
456
  "length": 20,
388
- "start": 2258
389
- }
390
- ],
391
- "VersionPartLib": [
392
- {
393
- "length": 20,
394
- "start": 2381
395
- },
396
- {
397
- "length": 20,
398
- "start": 2505
457
+ "start": 1283
399
458
  },
400
459
  {
401
460
  "length": 20,
402
- "start": 2629
461
+ "start": 2327
403
462
  }
404
463
  ]
405
464
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/73036ef8d3587a4d497b53a8e5f6bc33.json"
3
+ "buildInfo": "../../../build-info/ddc9b0b487d1eff0b437a694ef8bc6d1.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/73036ef8d3587a4d497b53a8e5f6bc33.json"
3
+ "buildInfo": "../../../build-info/ddc9b0b487d1eff0b437a694ef8bc6d1.json"
4
4
  }
@@ -161,32 +161,30 @@
161
161
  "type": "function"
162
162
  }
163
163
  ],
164
- "bytecode": "0x608060405234801561001057600080fd5b506105e8806100206000396000f3fe608060405234801561001057600080fd5b506004361061007d5760003560e01c80636a3dc0ee1161005b5780636a3dc0ee146100ed57806389818c3c1461011057806389d5976814610135578063e038c6251461014857600080fd5b80630f40f5951461008257806312cf04de146100a357806364d4e5d8146100b6575b600080fd5b61008a61015b565b60405162ffffff90911681526020015b60405180910390f35b61008a6100b136600461045e565b61016a565b6100c96100c43660046104a2565b61017f565b6040805160ff9485168152928416602084015292169181019190915260600161009a565b6101006100fb3660046104bd565b61020b565b604051901515815260200161009a565b61012361011e3660046104f0565b610222565b60405160ff909116815260200161009a565b6101006101433660046104bd565b61022a565b6101236101563660046104a2565b61023c565b60006101656102b7565b905090565b60006101778484846102c1565b949350505050565b6040516324d3888d60e11b815262ffffff821660048201526000908190819073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__906349a7111a90602401606060405180830381865af41580156101da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101fe919061051a565b9250925092509193909250565b600062ffffff808316908416115b90505b92915050565b60008161021c565b600062ffffff80841690831614610219565b60405163c9e66e2960e01b815262ffffff8216600482015260009073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015610293573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061021c919061055d565b6000610165816000805b604051632b10f60d60e21b815260ff84166004820152600090819073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015610318573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061033c9190610578565b604051632b10f60d60e21b815260ff8616600482015290915060009073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015610394573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103b89190610578565b604051632b10f60d60e21b815260ff8616600482015290915060009073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015610410573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104349190610578565b905080610449600884901b601086901b610591565b6104539190610591565b979650505050505050565b60008060006060848603121561047357600080fd5b505081359360208301359350604090920135919050565b803562ffffff8116811461049d57600080fd5b919050565b6000602082840312156104b457600080fd5b6102198261048a565b600080604083850312156104d057600080fd5b6104d98361048a565b91506104e76020840161048a565b90509250929050565b60006020828403121561050257600080fd5b5035919050565b805160ff8116811461049d57600080fd5b60008060006060848603121561052f57600080fd5b61053884610509565b925061054660208501610509565b915061055460408501610509565b90509250925092565b60006020828403121561056f57600080fd5b61021982610509565b60006020828403121561058a57600080fd5b5051919050565b8082018082111561021c57634e487b7160e01b600052601160045260246000fdfea264697066735822122007961488b058c17d9c7d38ca31e3ae2460b413b26a3833789c46f412ab81aac964736f6c63430008140033",
165
- "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061007d5760003560e01c80636a3dc0ee1161005b5780636a3dc0ee146100ed57806389818c3c1461011057806389d5976814610135578063e038c6251461014857600080fd5b80630f40f5951461008257806312cf04de146100a357806364d4e5d8146100b6575b600080fd5b61008a61015b565b60405162ffffff90911681526020015b60405180910390f35b61008a6100b136600461045e565b61016a565b6100c96100c43660046104a2565b61017f565b6040805160ff9485168152928416602084015292169181019190915260600161009a565b6101006100fb3660046104bd565b61020b565b604051901515815260200161009a565b61012361011e3660046104f0565b610222565b60405160ff909116815260200161009a565b6101006101433660046104bd565b61022a565b6101236101563660046104a2565b61023c565b60006101656102b7565b905090565b60006101778484846102c1565b949350505050565b6040516324d3888d60e11b815262ffffff821660048201526000908190819073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__906349a7111a90602401606060405180830381865af41580156101da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101fe919061051a565b9250925092509193909250565b600062ffffff808316908416115b90505b92915050565b60008161021c565b600062ffffff80841690831614610219565b60405163c9e66e2960e01b815262ffffff8216600482015260009073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015610293573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061021c919061055d565b6000610165816000805b604051632b10f60d60e21b815260ff84166004820152600090819073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015610318573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061033c9190610578565b604051632b10f60d60e21b815260ff8616600482015290915060009073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015610394573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103b89190610578565b604051632b10f60d60e21b815260ff8616600482015290915060009073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015610410573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104349190610578565b905080610449600884901b601086901b610591565b6104539190610591565b979650505050505050565b60008060006060848603121561047357600080fd5b505081359360208301359350604090920135919050565b803562ffffff8116811461049d57600080fd5b919050565b6000602082840312156104b457600080fd5b6102198261048a565b600080604083850312156104d057600080fd5b6104d98361048a565b91506104e76020840161048a565b90509250929050565b60006020828403121561050257600080fd5b5035919050565b805160ff8116811461049d57600080fd5b60008060006060848603121561052f57600080fd5b61053884610509565b925061054660208501610509565b915061055460408501610509565b90509250925092565b60006020828403121561056f57600080fd5b61021982610509565b60006020828403121561058a57600080fd5b5051919050565b8082018082111561021c57634e487b7160e01b600052601160045260246000fdfea264697066735822122007961488b058c17d9c7d38ca31e3ae2460b413b26a3833789c46f412ab81aac964736f6c63430008140033",
164
+ "bytecode": "0x608060405234801561001057600080fd5b50610544806100206000396000f3fe608060405234801561001057600080fd5b506004361061007d5760003560e01c80636a3dc0ee1161005b5780636a3dc0ee146100ed57806389818c3c1461011057806389d5976814610135578063e038c6251461014857600080fd5b80630f40f5951461008257806312cf04de146100a357806364d4e5d8146100b6575b600080fd5b61008a61015b565b60405162ffffff90911681526020015b60405180910390f35b61008a6100b13660046103ce565b6101cf565b6100c96100c436600461040e565b61025c565b6040805160ff9485168152928416602084015292169181019190915260600161009a565b6101006100fb36600461042b565b6102e8565b604051901515815260200161009a565b61012361011e366004610464565b6102fd565b60405160ff909116815260200161009a565b61010061014336600461042b565b61037d565b61012361015636600461040e565b61038f565b600073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__6304b8f6c56040518163ffffffff1660e01b8152600401602060405180830381865af41580156101a6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101ca919061047d565b905090565b604051632efe011360e01b815260048101849052602481018390526044810182905260009073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610230573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610254919061047d565b949350505050565b6040516324d3888d60e11b815262ffffff821660048201526000908190819073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__906349a7111a90602401606060405180830381865af41580156102b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102db91906104b0565b9250925092509193909250565b600062ffffff808316908416115b9392505050565b604051632392b61b60e21b815260ff8216600482015260009073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90638e4ad86c906024015b602060405180830381865af4158015610353573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061037791906104f3565b92915050565b600062ffffff808416908316146102f6565b60405163c9e66e2960e01b815262ffffff8216600482015260009073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401610336565b6000806000606084860312156103e357600080fd5b505081359360208301359350604090920135919050565b62ffffff8116811461040b57600080fd5b50565b60006020828403121561042057600080fd5b81356102f6816103fa565b6000806040838503121561043e57600080fd5b8235610449816103fa565b91506020830135610459816103fa565b809150509250929050565b60006020828403121561047657600080fd5b5035919050565b60006020828403121561048f57600080fd5b81516102f6816103fa565b805160ff811681146104ab57600080fd5b919050565b6000806000606084860312156104c557600080fd5b6104ce8461049a565b92506104dc6020850161049a565b91506104ea6040850161049a565b90509250925092565b60006020828403121561050557600080fd5b6102f68261049a56fea2646970667358221220f19043d0a02e1b8e1b6b65109d61c8a46b38352b73b29196b595115cec87eae664736f6c63430008140033",
165
+ "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061007d5760003560e01c80636a3dc0ee1161005b5780636a3dc0ee146100ed57806389818c3c1461011057806389d5976814610135578063e038c6251461014857600080fd5b80630f40f5951461008257806312cf04de146100a357806364d4e5d8146100b6575b600080fd5b61008a61015b565b60405162ffffff90911681526020015b60405180910390f35b61008a6100b13660046103ce565b6101cf565b6100c96100c436600461040e565b61025c565b6040805160ff9485168152928416602084015292169181019190915260600161009a565b6101006100fb36600461042b565b6102e8565b604051901515815260200161009a565b61012361011e366004610464565b6102fd565b60405160ff909116815260200161009a565b61010061014336600461042b565b61037d565b61012361015636600461040e565b61038f565b600073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__6304b8f6c56040518163ffffffff1660e01b8152600401602060405180830381865af41580156101a6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101ca919061047d565b905090565b604051632efe011360e01b815260048101849052602481018390526044810182905260009073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610230573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610254919061047d565b949350505050565b6040516324d3888d60e11b815262ffffff821660048201526000908190819073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__906349a7111a90602401606060405180830381865af41580156102b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102db91906104b0565b9250925092509193909250565b600062ffffff808316908416115b9392505050565b604051632392b61b60e21b815260ff8216600482015260009073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90638e4ad86c906024015b602060405180830381865af4158015610353573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061037791906104f3565b92915050565b600062ffffff808416908316146102f6565b60405163c9e66e2960e01b815262ffffff8216600482015260009073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401610336565b6000806000606084860312156103e357600080fd5b505081359360208301359350604090920135919050565b62ffffff8116811461040b57600080fd5b50565b60006020828403121561042057600080fd5b81356102f6816103fa565b6000806040838503121561043e57600080fd5b8235610449816103fa565b91506020830135610459816103fa565b809150509250929050565b60006020828403121561047657600080fd5b5035919050565b60006020828403121561048f57600080fd5b81516102f6816103fa565b805160ff811681146104ab57600080fd5b919050565b6000806000606084860312156104c557600080fd5b6104ce8461049a565b92506104dc6020850161049a565b91506104ea6040850161049a565b90509250925092565b60006020828403121561050557600080fd5b6102f68261049a56fea2646970667358221220f19043d0a02e1b8e1b6b65109d61c8a46b38352b73b29196b595115cec87eae664736f6c63430008140033",
166
166
  "linkReferences": {
167
167
  "contracts/types/Version.sol": {
168
168
  "VersionLib": [
169
169
  {
170
170
  "length": 20,
171
- "start": 448
171
+ "start": 383
172
172
  },
173
173
  {
174
174
  "length": 20,
175
- "start": 633
176
- }
177
- ],
178
- "VersionPartLib": [
175
+ "start": 534
176
+ },
179
177
  {
180
178
  "length": 20,
181
- "start": 766
179
+ "start": 669
182
180
  },
183
181
  {
184
182
  "length": 20,
185
- "start": 890
183
+ "start": 824
186
184
  },
187
185
  {
188
186
  "length": 20,
189
- "start": 1014
187
+ "start": 972
190
188
  }
191
189
  ]
192
190
  }
@@ -196,25 +194,23 @@
196
194
  "VersionLib": [
197
195
  {
198
196
  "length": 20,
199
- "start": 416
197
+ "start": 351
200
198
  },
201
199
  {
202
200
  "length": 20,
203
- "start": 601
204
- }
205
- ],
206
- "VersionPartLib": [
201
+ "start": 502
202
+ },
207
203
  {
208
204
  "length": 20,
209
- "start": 734
205
+ "start": 637
210
206
  },
211
207
  {
212
208
  "length": 20,
213
- "start": 858
209
+ "start": 792
214
210
  },
215
211
  {
216
212
  "length": 20,
217
- "start": 982
213
+ "start": 940
218
214
  }
219
215
  ]
220
216
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/73036ef8d3587a4d497b53a8e5f6bc33.json"
3
+ "buildInfo": "../../../build-info/ddc9b0b487d1eff0b437a694ef8bc6d1.json"
4
4
  }