@etherisc/gif-next 0.0.2-ce8407f-016 → 0.0.2-ceb30b2-601

Sign up to get free protection for your applications and to get access to all the features.
Files changed (374) hide show
  1. package/README.md +178 -14
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +829 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +1332 -0
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/components/IComponent.sol/IComponent.json +592 -0
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +956 -0
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +1051 -0
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +817 -0
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +4 -0
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +1363 -0
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +4 -0
  17. package/artifacts/contracts/components/Product.sol/Product.json +1154 -0
  18. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  19. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  20. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  21. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +778 -0
  22. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  23. package/artifacts/contracts/instance/{AccessManagedSimple.sol/AccessManagedSimple.json → Cloneable.sol/Cloneable.json} +91 -2
  24. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  25. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +2719 -1
  26. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  27. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +600 -0
  28. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  29. package/artifacts/contracts/instance/Instance.sol/Instance.json +1220 -1347
  30. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  31. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +593 -180
  32. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  33. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +586 -56
  34. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  35. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1014 -32
  36. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  37. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +724 -0
  38. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  39. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +256 -0
  40. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  41. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +631 -0
  42. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  43. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +0 -77
  44. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  45. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  46. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +40 -244
  47. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  48. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +36 -11
  49. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  50. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +71 -45
  51. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  52. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  53. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
  54. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  55. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  56. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  57. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  58. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  59. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  60. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +1092 -0
  61. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  62. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +672 -0
  63. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  64. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1313 -0
  65. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  66. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +712 -0
  67. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  68. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +1316 -0
  69. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  70. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +724 -0
  71. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  72. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1798 -0
  73. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  74. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +780 -0
  75. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  76. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +619 -0
  77. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  78. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +701 -0
  79. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  80. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +731 -0
  81. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  82. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +1082 -0
  83. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  84. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +651 -0
  85. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +4 -0
  86. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +1077 -0
  87. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +4 -0
  88. package/artifacts/contracts/instance/{base/IService.sol/IService.json → service/IProductService.sol/IProductService.json} +178 -157
  89. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  90. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1153 -0
  91. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  92. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +676 -0
  93. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
  94. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +1598 -0
  95. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  96. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +696 -0
  97. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
  98. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +864 -0
  99. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  100. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +640 -0
  101. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  102. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +60 -2
  103. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  104. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +255 -63
  105. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  106. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +309 -196
  107. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  108. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  109. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  110. package/artifacts/contracts/registry/Registry.sol/Registry.json +229 -212
  111. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  112. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  113. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  114. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +421 -284
  115. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  116. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +310 -129
  117. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  118. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +559 -0
  119. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  120. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +485 -0
  121. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  122. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  123. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  124. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  125. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +27 -29
  126. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  127. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +165 -0
  128. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  129. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +8 -34
  130. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  131. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  132. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  133. package/artifacts/contracts/{components/IBaseComponent.sol/IBaseComponent.json → shared/IService.sol/IService.json} +115 -29
  134. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  135. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  136. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  137. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +107 -27
  138. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  139. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +271 -0
  140. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  141. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +283 -63
  142. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  143. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +116 -51
  144. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  145. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +71 -0
  146. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  147. package/artifacts/contracts/{instance/base/ServiceBase.sol/ServiceBase.json → shared/Service.sol/Service.json} +187 -167
  148. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  149. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
  150. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  151. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  152. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  153. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  154. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  155. package/artifacts/contracts/test/TestFee.sol/TestFee.json +4 -4
  156. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  157. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +116 -51
  158. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  159. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +111 -5
  160. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  161. package/artifacts/contracts/test/TestService.sol/TestService.json +204 -216
  162. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  163. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +91 -53
  164. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  165. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  166. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  167. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +8 -190
  168. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  169. package/artifacts/contracts/test/Usdc.sol/USDC.json +91 -53
  170. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  171. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +4 -0
  172. package/artifacts/contracts/types/Amount.sol/AmountLib.json +209 -0
  173. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  174. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  175. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  176. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  177. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +179 -0
  178. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  179. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
  180. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  181. package/artifacts/contracts/types/Fee.sol/FeeLib.json +42 -11
  182. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  183. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
  184. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  185. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +17 -4
  186. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  187. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  188. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
  189. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  190. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  191. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  192. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +209 -0
  193. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
  194. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +23 -4
  195. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  196. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  197. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  198. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  199. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  200. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  201. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  202. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  203. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  204. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +38 -7
  205. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  206. package/artifacts/contracts/{experiment/types/TypeB.sol/TypeBLib.json → types/UFixed.sol/MathLib.json} +4 -4
  207. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  208. package/artifacts/contracts/types/UFixed.sol/{UFixedMathLib.json → UFixedLib.json} +3 -3
  209. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  210. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  211. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  212. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
  213. package/contracts/components/Component.sol +253 -0
  214. package/contracts/components/Distribution.sol +284 -0
  215. package/contracts/components/IComponent.sol +76 -0
  216. package/contracts/components/IDistributionComponent.sol +71 -0
  217. package/contracts/components/IPoolComponent.sol +113 -0
  218. package/contracts/components/IProductComponent.sol +40 -0
  219. package/contracts/components/Pool.sol +302 -0
  220. package/contracts/components/Product.sol +371 -0
  221. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +13 -0
  222. package/contracts/instance/BundleManager.sol +126 -0
  223. package/contracts/instance/Cloneable.sol +51 -0
  224. package/contracts/instance/IInstance.sol +99 -1
  225. package/contracts/instance/IInstanceService.sol +63 -0
  226. package/contracts/instance/Instance.sol +169 -243
  227. package/contracts/instance/InstanceAccessManager.sol +417 -178
  228. package/contracts/instance/InstanceReader.sol +116 -34
  229. package/contracts/instance/InstanceService.sol +462 -23
  230. package/contracts/instance/InstanceServiceManager.sol +54 -0
  231. package/contracts/instance/ObjectManager.sol +82 -0
  232. package/contracts/instance/base/ComponentService.sol +130 -0
  233. package/contracts/instance/base/IKeyValueStore.sol +5 -4
  234. package/contracts/instance/base/KeyValueStore.sol +13 -52
  235. package/contracts/instance/base/Lifecycle.sol +23 -6
  236. package/contracts/instance/module/IAccess.sol +37 -21
  237. package/contracts/instance/module/IBundle.sol +8 -4
  238. package/contracts/instance/module/IComponents.sol +41 -0
  239. package/contracts/instance/module/IDistribution.sol +2 -0
  240. package/contracts/instance/module/IPolicy.sol +42 -9
  241. package/contracts/instance/module/ISetup.sol +10 -18
  242. package/contracts/instance/module/ITreasury.sol +1 -1
  243. package/contracts/instance/service/ApplicationService.sol +356 -0
  244. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  245. package/contracts/instance/service/BundleService.sol +443 -0
  246. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  247. package/contracts/instance/service/ClaimService.sol +361 -0
  248. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  249. package/contracts/instance/service/DistributionService.sol +431 -0
  250. package/contracts/instance/service/DistributionServiceManager.sol +51 -0
  251. package/contracts/instance/service/IApplicationService.sol +78 -0
  252. package/contracts/instance/service/IBundleService.sol +102 -0
  253. package/contracts/instance/service/IClaimService.sol +90 -0
  254. package/contracts/instance/service/IDistributionService.sol +99 -0
  255. package/contracts/instance/service/IPolicyService.sol +80 -0
  256. package/contracts/instance/service/IPoolService.sol +144 -0
  257. package/contracts/instance/service/IProductService.sol +40 -0
  258. package/contracts/instance/service/PolicyService.sol +358 -0
  259. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  260. package/contracts/instance/service/PoolService.sol +349 -0
  261. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  262. package/contracts/instance/service/ProductService.sol +210 -0
  263. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  264. package/contracts/registry/ChainNft.sol +49 -26
  265. package/contracts/registry/IRegistry.sol +53 -25
  266. package/contracts/registry/IRegistryService.sol +53 -16
  267. package/contracts/registry/ITransferInterceptor.sol +1 -0
  268. package/contracts/registry/Registry.sol +289 -313
  269. package/contracts/registry/RegistryAccessManager.sol +216 -0
  270. package/contracts/registry/RegistryService.sol +169 -256
  271. package/contracts/registry/RegistryServiceManager.sol +30 -11
  272. package/contracts/registry/ReleaseManager.sol +324 -0
  273. package/contracts/registry/TokenRegistry.sol +116 -0
  274. package/contracts/shared/ERC165.sol +15 -9
  275. package/contracts/shared/INftOwnable.sol +11 -10
  276. package/contracts/shared/IPolicyHolder.sol +38 -0
  277. package/contracts/shared/IRegisterable.sol +4 -6
  278. package/contracts/shared/IRegistryLinked.sol +11 -0
  279. package/contracts/shared/IService.sol +18 -0
  280. package/contracts/shared/IVersionable.sol +4 -47
  281. package/contracts/shared/NftOwnable.sol +65 -83
  282. package/contracts/shared/PolicyHolder.sol +87 -0
  283. package/contracts/shared/ProxyManager.sol +101 -26
  284. package/contracts/shared/Registerable.sol +25 -39
  285. package/contracts/shared/RegistryLinked.sol +43 -0
  286. package/contracts/shared/Service.sol +72 -0
  287. package/contracts/shared/TokenHandler.sol +13 -7
  288. package/contracts/shared/UpgradableProxyWithAdmin.sol +2 -2
  289. package/contracts/shared/Versionable.sol +5 -93
  290. package/contracts/test/TestFee.sol +2 -2
  291. package/contracts/test/TestRegisterable.sol +1 -1
  292. package/contracts/test/TestRoleId.sol +6 -6
  293. package/contracts/test/TestService.sol +6 -7
  294. package/contracts/types/Amount.sol +70 -0
  295. package/contracts/types/Blocknumber.sol +1 -0
  296. package/contracts/types/ClaimId.sol +75 -0
  297. package/contracts/types/DistributorType.sol +2 -2
  298. package/contracts/types/Fee.sol +15 -7
  299. package/contracts/types/NftId.sol +8 -0
  300. package/contracts/types/NftIdSet.sol +26 -24
  301. package/contracts/types/ObjectType.sol +11 -6
  302. package/contracts/types/PayoutId.sol +82 -0
  303. package/contracts/types/Referral.sol +4 -0
  304. package/contracts/types/RoleId.sol +26 -4
  305. package/contracts/types/Seconds.sol +54 -0
  306. package/contracts/types/StateId.sol +11 -2
  307. package/contracts/types/Timestamp.sol +18 -13
  308. package/contracts/types/UFixed.sol +129 -12
  309. package/contracts/types/Version.sol +5 -1
  310. package/package.json +6 -5
  311. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  312. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  313. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  314. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  315. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  316. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  317. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  318. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  319. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  320. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  321. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  322. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  323. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  324. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  325. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  326. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  327. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  328. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  329. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  330. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  331. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  332. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  333. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  334. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  335. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  336. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  337. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  338. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  339. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  340. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  341. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  342. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  343. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  344. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  345. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  346. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1119
  347. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  348. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
  349. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  350. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  351. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  352. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -457
  353. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  354. package/contracts/components/IBaseComponent.sol +0 -19
  355. package/contracts/experiment/errors/Require.sol +0 -38
  356. package/contracts/experiment/errors/Revert.sol +0 -44
  357. package/contracts/experiment/inheritance/A.sol +0 -53
  358. package/contracts/experiment/inheritance/B.sol +0 -28
  359. package/contracts/experiment/inheritance/C.sol +0 -34
  360. package/contracts/experiment/inheritance/IA.sol +0 -13
  361. package/contracts/experiment/inheritance/IB.sol +0 -10
  362. package/contracts/experiment/inheritance/IC.sol +0 -12
  363. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  364. package/contracts/experiment/statemachine/ISM.sol +0 -25
  365. package/contracts/experiment/statemachine/SM.sol +0 -57
  366. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  367. package/contracts/experiment/types/TypeA.sol +0 -47
  368. package/contracts/experiment/types/TypeB.sol +0 -29
  369. package/contracts/instance/AccessManagedSimple.sol +0 -114
  370. package/contracts/instance/AccessManagerSimple.sol +0 -682
  371. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  372. package/contracts/instance/base/IService.sol +0 -15
  373. package/contracts/instance/base/ServiceBase.sol +0 -44
  374. package/contracts/registry/IChainNft.sol +0 -22
@@ -169,24 +169,6 @@
169
169
  "name": "LogStateUpdated",
170
170
  "type": "event"
171
171
  },
172
- {
173
- "inputs": [
174
- {
175
- "internalType": "Key32",
176
- "name": "key",
177
- "type": "bytes32"
178
- },
179
- {
180
- "internalType": "bytes",
181
- "name": "data",
182
- "type": "bytes"
183
- }
184
- ],
185
- "name": "create",
186
- "outputs": [],
187
- "stateMutability": "nonpayable",
188
- "type": "function"
189
- },
190
172
  {
191
173
  "inputs": [
192
174
  {
@@ -438,65 +420,6 @@
438
420
  ],
439
421
  "stateMutability": "pure",
440
422
  "type": "function"
441
- },
442
- {
443
- "inputs": [
444
- {
445
- "internalType": "Key32",
446
- "name": "key",
447
- "type": "bytes32"
448
- },
449
- {
450
- "internalType": "bytes",
451
- "name": "data",
452
- "type": "bytes"
453
- },
454
- {
455
- "internalType": "StateId",
456
- "name": "state",
457
- "type": "uint8"
458
- }
459
- ],
460
- "name": "update",
461
- "outputs": [],
462
- "stateMutability": "nonpayable",
463
- "type": "function"
464
- },
465
- {
466
- "inputs": [
467
- {
468
- "internalType": "Key32",
469
- "name": "key",
470
- "type": "bytes32"
471
- },
472
- {
473
- "internalType": "bytes",
474
- "name": "data",
475
- "type": "bytes"
476
- }
477
- ],
478
- "name": "updateData",
479
- "outputs": [],
480
- "stateMutability": "nonpayable",
481
- "type": "function"
482
- },
483
- {
484
- "inputs": [
485
- {
486
- "internalType": "Key32",
487
- "name": "key",
488
- "type": "bytes32"
489
- },
490
- {
491
- "internalType": "StateId",
492
- "name": "state",
493
- "type": "uint8"
494
- }
495
- ],
496
- "name": "updateState",
497
- "outputs": [],
498
- "stateMutability": "nonpayable",
499
- "type": "function"
500
423
  }
501
424
  ],
502
425
  "bytecode": "0x",
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/513944a18d93e005314a3ed93f91d5cd.json"
3
+ "buildInfo": "../../../../build-info/37452893015e5bf83358929bf7a72a5c.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/513944a18d93e005314a3ed93f91d5cd.json"
3
+ "buildInfo": "../../../../build-info/37452893015e5bf83358929bf7a72a5c.json"
4
4
  }
@@ -3,11 +3,6 @@
3
3
  "contractName": "KeyValueStore",
4
4
  "sourceName": "contracts/instance/base/KeyValueStore.sol",
5
5
  "abi": [
6
- {
7
- "inputs": [],
8
- "stateMutability": "nonpayable",
9
- "type": "constructor"
10
- },
11
6
  {
12
7
  "inputs": [
13
8
  {
@@ -45,6 +40,29 @@
45
40
  "name": "ErrorNoLifecycle",
46
41
  "type": "error"
47
42
  },
43
+ {
44
+ "inputs": [],
45
+ "name": "InvalidInitialization",
46
+ "type": "error"
47
+ },
48
+ {
49
+ "inputs": [],
50
+ "name": "NotInitializing",
51
+ "type": "error"
52
+ },
53
+ {
54
+ "anonymous": false,
55
+ "inputs": [
56
+ {
57
+ "indexed": false,
58
+ "internalType": "uint64",
59
+ "name": "version",
60
+ "type": "uint64"
61
+ }
62
+ ],
63
+ "name": "Initialized",
64
+ "type": "event"
65
+ },
48
66
  {
49
67
  "anonymous": false,
50
68
  "inputs": [
@@ -197,24 +215,6 @@
197
215
  "stateMutability": "view",
198
216
  "type": "function"
199
217
  },
200
- {
201
- "inputs": [
202
- {
203
- "internalType": "Key32",
204
- "name": "key32",
205
- "type": "bytes32"
206
- },
207
- {
208
- "internalType": "bytes",
209
- "name": "data",
210
- "type": "bytes"
211
- }
212
- ],
213
- "name": "create",
214
- "outputs": [],
215
- "stateMutability": "nonpayable",
216
- "type": "function"
217
- },
218
218
  {
219
219
  "inputs": [
220
220
  {
@@ -414,6 +414,13 @@
414
414
  "stateMutability": "view",
415
415
  "type": "function"
416
416
  },
417
+ {
418
+ "inputs": [],
419
+ "name": "initializeLifecycle",
420
+ "outputs": [],
421
+ "stateMutability": "nonpayable",
422
+ "type": "function"
423
+ },
417
424
  {
418
425
  "inputs": [
419
426
  {
@@ -466,127 +473,16 @@
466
473
  ],
467
474
  "stateMutability": "pure",
468
475
  "type": "function"
469
- },
470
- {
471
- "inputs": [
472
- {
473
- "internalType": "Key32",
474
- "name": "key32",
475
- "type": "bytes32"
476
- },
477
- {
478
- "internalType": "bytes",
479
- "name": "data",
480
- "type": "bytes"
481
- },
482
- {
483
- "internalType": "StateId",
484
- "name": "state",
485
- "type": "uint8"
486
- }
487
- ],
488
- "name": "update",
489
- "outputs": [],
490
- "stateMutability": "nonpayable",
491
- "type": "function"
492
- },
493
- {
494
- "inputs": [
495
- {
496
- "internalType": "Key32",
497
- "name": "key32",
498
- "type": "bytes32"
499
- },
500
- {
501
- "internalType": "bytes",
502
- "name": "data",
503
- "type": "bytes"
504
- }
505
- ],
506
- "name": "updateData",
507
- "outputs": [],
508
- "stateMutability": "nonpayable",
509
- "type": "function"
510
- },
511
- {
512
- "inputs": [
513
- {
514
- "internalType": "Key32",
515
- "name": "key32",
516
- "type": "bytes32"
517
- },
518
- {
519
- "internalType": "StateId",
520
- "name": "state",
521
- "type": "uint8"
522
- }
523
- ],
524
- "name": "updateState",
525
- "outputs": [],
526
- "stateMutability": "nonpayable",
527
- "type": "function"
528
476
  }
529
477
  ],
530
- "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000052565b6200002662000206565b620000306200033f565b6200003a620005a7565b600380546001600160a01b031916331790556200071d565b60dc600090815260208190527f5bd290414b404036f9d63146803dd83b59a8e1905062a5bfed8b0154d20a390d805460ff1916606417905560019081906200009860dc90565b60ff1660ff1681526020019081526020016000206000620000be620006eb60201b60201c565b60ff1660ff1681526020019081526020016000206000620000e4620006f560201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019081906200011760dc90565b60ff1660ff16815260200190815260200160002060006200013d620006f560201b60201c565b60ff1660ff168152602001908152602001600020600062000163620006eb60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019081906200019660dc90565b60ff1660ff1681526020019081526020016000206000620001bc620006f560201b60201c565b60ff1660ff1681526020019081526020016000206000620001e2620006fa60201b60201c565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b7f9db7038e59677010ca8f72fa448bad1b4f3c53346b666689163ccac31db467728054606460ff1991821681179092557f1a3062e9a24818c8281fcfb58ec4f3083a2f9a1314ac63f80d8d646661fdc5098054909116600190811790915560009182526020819052907f1bd07f61ef326b4de236f5b68f225f46ff76ee2c375ae31a06da201c49c70c12906200029a606e90565b60ff1660ff1681526020019081526020016000206000620002c0620006eb60201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001908190620002f3606490565b60ff1660ff168152602001908152602001600020600062000319620006f560201b60201c565b60ff1660ff1681526020019081526020016000206000620001e2620006ff60201b60201c565b60d2600090815260208190527fc0d27dadfcf8ee0186a0f6fe9b5805a51e99869050491e4a3040efec012a214f805460ff1916600a17905560019081906200038560d290565b60ff1660ff1681526020019081526020016000206000620003ab6200070460201b60201c565b60ff1660ff1681526020019081526020016000206000620003d16200070960201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019081906200040460d290565b60ff1660ff16815260200190815260200160002060006200042a6200070460201b60201c565b60ff1660ff1681526020019081526020016000206000620004506200070e60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019081906200048360d290565b60ff1660ff1681526020019081526020016000206000620004a96200070460201b60201c565b60ff1660ff1681526020019081526020016000206000620004cf6200071360201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019081906200050260d290565b60ff1660ff1681526020019081526020016000206000620005286200071360201b60201c565b60ff1660ff16815260200190815260200160002060006200054e620006eb60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019081906200058160d290565b60ff1660ff1681526020019081526020016000206000620001bc620006eb60201b60201c565b60c8600090815260208190527fc5f2c791ab4e0b1a0b6c600884b07e98575b00ebd7c3166c4272a53bebf71403805460ff191660641790556001908190620005ed60c890565b60ff1660ff168152602001908152602001600020600062000613620006eb60201b60201c565b60ff1660ff168152602001908152602001600020600062000639620006f560201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019081906200066c60c890565b60ff1660ff168152602001908152602001600020600062000692620006f560201b60201c565b60ff1660ff1681526020019081526020016000206000620006b8620006eb60201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001908190620002f360c890565b606490565b905090565b606e90565b60c890565b60d290565b600a90565b601490565b601e90565b60006028620006f0565b611c68806200072d6000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c80638eaa6ac01161008c578063a898967511610066578063a8989675146102b6578063bf1db3f9146102c9578063e9e96c70146102dc578063f48016ce1461031a57600080fd5b80638eaa6ac0146101d2578063a238accd146101f2578063a5961b4c1461020557600080fd5b806338a699a4116100c857806338a699a41461016957806354f6127f1461018c5780635b37e150146101ac5780636ec3d940146101bf57600080fd5b806309648a9d146100ef5780630a19a43d1461012e5780630d35818114610143575b600080fd5b6101176100fd366004611687565b600090815260026020526040902054610100900460ff1690565b60405160ff90911681526020015b60405180910390f35b61014161013c366004611755565b61033b565b005b6101176101513660046117b0565b60ff9081166000908152602081905260409020541690565b61017c610177366004611687565b61037e565b6040519015158152602001610125565b61019f61019a366004611687565b61040f565b6040516101259190611813565b6101416101ba366004611826565b6104b4565b6101416101cd366004611826565b6104ec565b6101e56101e0366004611687565b610520565b60405161012591906118b7565b6101416102003660046118eb565b610661565b6102a9610213366004611687565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260026020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b604051610125919061191b565b6101416102c4366004611929565b610695565b61017c6102d73660046117b0565b610786565b61017c6102ea366004611929565b60ff9283166000908152600160209081526040808320948616835293815283822092851682529190915220541690565b61032d610328366004611979565b6107d3565b604051908152602001610125565b6003546001600160a01b0316331461036e5760405162461bcd60e51b8152600401610365906119a7565b60405180910390fd5b61037983838361085d565b505050565b60008181526002602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024015b602060405180830381865af41580156103e5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061040991906119de565b92915050565b600081815260026020526040902060010180546060919061042f90611a00565b80601f016020809104026020016040519081016040528092919081815260200182805461045b90611a00565b80156104a85780601f1061047d576101008083540402835291602001916104a8565b820191906000526020600020905b81548152906001019060200180831161048b57829003601f168201915b50505050509050919050565b6003546001600160a01b031633146104de5760405162461bcd60e51b8152600401610365906119a7565b6104e88282610cd6565b5050565b6003546001600160a01b031633146105165760405162461bcd60e51b8152600401610365906119a7565b6104e882826110eb565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260026020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c082015292835260018101805491928401916105d890611a00565b80601f016020809104026020016040519081016040528092919081815260200182805461060490611a00565b80156106515780601f1061062657610100808354040283529160200191610651565b820191906000526020600020905b81548152906001019060200180831161063457829003601f168201915b5050505050815250509050919050565b6003546001600160a01b0316331461068b5760405162461bcd60e51b8152600401610365906119a7565b6104e88282611363565b60ff8381166000908152602081905260409081902054905163037c8cb160e51b81529116600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af41580156106fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061071e91906119de565b1561072857505050565b60ff80841660009081526001602090815260408083208685168452825280832085851684529091529020541661037957604051636bb20ea760e01b815260ff8085166004830152808416602483015282166044820152606401610365565b60ff81811660009081526020819052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024016103c8565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce90604401602060405180830381865af4158015610832573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108569190611a3a565b9392505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af41580156108af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108d391906119de565b61091f5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3032303a53544154455f554e444546494e45440000006044820152606401610365565b600083815260026020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af415801561098b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109af91906119de565b6109fb5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3032313a4e4f545f4558495354494e470000000000006044820152606401610365565b6000858152600260205260409020600101610a168582611aa1565b508154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b90910416610a5b4390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018890527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015610aed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b119190611b61565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015610b61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b859190611b7e565b8786863287604051610b9d9796959493929190611b9b565b60405180910390a1604051634b00e98f60e11b8152600481018890527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015610c17573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c3b9190611b61565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015610c8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610caf9190611b7e565b87853286604051610cc596959493929190611beb565b60405180910390a150505050505050565b604051634b00e98f60e11b81526004810183905260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015610d29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d4d9190611b61565b60405163b2466acf60e01b815260ff8216600482015290915073__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401602060405180830381865af4158015610da2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dc691906119de565b610e125760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4b56532d3031303a545950455f554e444546494e4544000000006044820152606401610365565b600083815260026020526040908190208054915163037c8cb160e51b815261010090920460ff1660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015610e7b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e9f91906119de565b610eeb5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3031323a414c52454144595f435245415445440000006044820152606401610365565b33436000610ef885610786565b610f03576064610f19565b60ff808616600090815260208190526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b919091021785556000888152600260205260409020909150600101610fa38782611aa1565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015611016573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061103a9190611b61565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af415801561108a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110ae9190611b7e565b6040805160ff938416815260ff199092166020830152918416918101919091526001600160a01b038516606082015232608082015260a001610cc5565b600082815260026020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015611157573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061117b91906119de565b6111c75760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3033303a4e4f545f4558495354494e470000000000006044820152606401610365565b60008481526002602052604090206001016111e28482611aa1565b508154620100003390810262010000600160b01b031983161784559063ffffffff600160b01b909104166112134390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018790527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af41580156112a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112c99190611b61565b604051630713cfad60e31b81526004810189905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015611319573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061133d9190611b7e565b8585328660405161135396959493929190611beb565b60405180910390a1505050505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af41580156113b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113d991906119de565b6114255760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3034303a53544154455f554e444546494e45440000006044820152606401610365565b600082815260026020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015611491573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114b591906119de565b6115015760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3034313a4e4f545f4558495354494e470000000000006044820152606401610365565b8154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b909104166115454390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018790527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af41580156115d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115fb9190611b61565b604051630713cfad60e31b81526004810189905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af415801561164b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061166f9190611b7e565b87868632876040516113539796959493929190611b9b565b60006020828403121561169957600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126116c757600080fd5b813567ffffffffffffffff808211156116e2576116e26116a0565b604051601f8301601f19908116603f0116810190828211818310171561170a5761170a6116a0565b8160405283815286602085880101111561172357600080fd5b836020870160208301376000602085830101528094505050505092915050565b60ff8116811461175257600080fd5b50565b60008060006060848603121561176a57600080fd5b83359250602084013567ffffffffffffffff81111561178857600080fd5b611794868287016116b6565b92505060408401356117a581611743565b809150509250925092565b6000602082840312156117c257600080fd5b813561085681611743565b6000815180845260005b818110156117f3576020818501810151868301820152016117d7565b506000602082860101526020601f19601f83011685010191505092915050565b60208152600061085660208301846117cd565b6000806040838503121561183957600080fd5b82359150602083013567ffffffffffffffff81111561185757600080fd5b611863858286016116b6565b9150509250929050565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b602081526118c960208201835161186d565b6000602083015160c0808401526118e360e08401826117cd565b949350505050565b600080604083850312156118fe57600080fd5b82359150602083013561191081611743565b809150509250929050565b60a08101610409828461186d565b60008060006060848603121561193e57600080fd5b833561194981611743565b9250602084013561195981611743565b915060408401356117a581611743565b60ff198116811461175257600080fd5b6000806040838503121561198c57600080fd5b823561199781611743565b9150602083013561191081611969565b60208082526017908201527f4552524f523a4b56532d3030313a4e4f545f4f574e4552000000000000000000604082015260600190565b6000602082840312156119f057600080fd5b8151801515811461085657600080fd5b600181811c90821680611a1457607f821691505b602082108103611a3457634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215611a4c57600080fd5b5051919050565b601f82111561037957600081815260208120601f850160051c81016020861015611a7a5750805b601f850160051c820191505b81811015611a9957828155600101611a86565b505050505050565b815167ffffffffffffffff811115611abb57611abb6116a0565b611acf81611ac98454611a00565b84611a53565b602080601f831160018114611b045760008415611aec5750858301515b600019600386901b1c1916600185901b178555611a99565b600085815260208120601f198616915b82811015611b3357888601518255948401946001909101908401611b14565b5085821015611b515787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215611b7357600080fd5b815161085681611743565b600060208284031215611b9057600080fd5b815161085681611969565b60ff978816815260ff1996909616602087015293861660408601529190941660608401526001600160a01b03938416608084015290921660a082015263ffffffff9190911660c082015260e00190565b60ff968716815260ff199590951660208601529290941660408401526001600160a01b039081166060840152909216608082015263ffffffff90911660a082015260c0019056fea26469706673582212204cfb46453bae069f0a46215f7492b00d00841d3737edd08742051bd8a184f7f864736f6c63430008140033",
531
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100ea5760003560e01c80638eaa6ac01161008c578063a898967511610066578063a8989675146102b6578063bf1db3f9146102c9578063e9e96c70146102dc578063f48016ce1461031a57600080fd5b80638eaa6ac0146101d2578063a238accd146101f2578063a5961b4c1461020557600080fd5b806338a699a4116100c857806338a699a41461016957806354f6127f1461018c5780635b37e150146101ac5780636ec3d940146101bf57600080fd5b806309648a9d146100ef5780630a19a43d1461012e5780630d35818114610143575b600080fd5b6101176100fd366004611687565b600090815260026020526040902054610100900460ff1690565b60405160ff90911681526020015b60405180910390f35b61014161013c366004611755565b61033b565b005b6101176101513660046117b0565b60ff9081166000908152602081905260409020541690565b61017c610177366004611687565b61037e565b6040519015158152602001610125565b61019f61019a366004611687565b61040f565b6040516101259190611813565b6101416101ba366004611826565b6104b4565b6101416101cd366004611826565b6104ec565b6101e56101e0366004611687565b610520565b60405161012591906118b7565b6101416102003660046118eb565b610661565b6102a9610213366004611687565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260026020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b604051610125919061191b565b6101416102c4366004611929565b610695565b61017c6102d73660046117b0565b610786565b61017c6102ea366004611929565b60ff9283166000908152600160209081526040808320948616835293815283822092851682529190915220541690565b61032d610328366004611979565b6107d3565b604051908152602001610125565b6003546001600160a01b0316331461036e5760405162461bcd60e51b8152600401610365906119a7565b60405180910390fd5b61037983838361085d565b505050565b60008181526002602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024015b602060405180830381865af41580156103e5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061040991906119de565b92915050565b600081815260026020526040902060010180546060919061042f90611a00565b80601f016020809104026020016040519081016040528092919081815260200182805461045b90611a00565b80156104a85780601f1061047d576101008083540402835291602001916104a8565b820191906000526020600020905b81548152906001019060200180831161048b57829003601f168201915b50505050509050919050565b6003546001600160a01b031633146104de5760405162461bcd60e51b8152600401610365906119a7565b6104e88282610cd6565b5050565b6003546001600160a01b031633146105165760405162461bcd60e51b8152600401610365906119a7565b6104e882826110eb565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260026020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c082015292835260018101805491928401916105d890611a00565b80601f016020809104026020016040519081016040528092919081815260200182805461060490611a00565b80156106515780601f1061062657610100808354040283529160200191610651565b820191906000526020600020905b81548152906001019060200180831161063457829003601f168201915b5050505050815250509050919050565b6003546001600160a01b0316331461068b5760405162461bcd60e51b8152600401610365906119a7565b6104e88282611363565b60ff8381166000908152602081905260409081902054905163037c8cb160e51b81529116600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af41580156106fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061071e91906119de565b1561072857505050565b60ff80841660009081526001602090815260408083208685168452825280832085851684529091529020541661037957604051636bb20ea760e01b815260ff8085166004830152808416602483015282166044820152606401610365565b60ff81811660009081526020819052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024016103c8565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce90604401602060405180830381865af4158015610832573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108569190611a3a565b9392505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af41580156108af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108d391906119de565b61091f5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3032303a53544154455f554e444546494e45440000006044820152606401610365565b600083815260026020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af415801561098b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109af91906119de565b6109fb5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3032313a4e4f545f4558495354494e470000000000006044820152606401610365565b6000858152600260205260409020600101610a168582611aa1565b508154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b90910416610a5b4390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018890527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015610aed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b119190611b61565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015610b61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b859190611b7e565b8786863287604051610b9d9796959493929190611b9b565b60405180910390a1604051634b00e98f60e11b8152600481018890527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015610c17573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c3b9190611b61565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015610c8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610caf9190611b7e565b87853286604051610cc596959493929190611beb565b60405180910390a150505050505050565b604051634b00e98f60e11b81526004810183905260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015610d29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d4d9190611b61565b60405163b2466acf60e01b815260ff8216600482015290915073__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401602060405180830381865af4158015610da2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dc691906119de565b610e125760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4b56532d3031303a545950455f554e444546494e4544000000006044820152606401610365565b600083815260026020526040908190208054915163037c8cb160e51b815261010090920460ff1660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015610e7b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e9f91906119de565b610eeb5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3031323a414c52454144595f435245415445440000006044820152606401610365565b33436000610ef885610786565b610f03576064610f19565b60ff808616600090815260208190526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b919091021785556000888152600260205260409020909150600101610fa38782611aa1565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015611016573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061103a9190611b61565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af415801561108a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110ae9190611b7e565b6040805160ff938416815260ff199092166020830152918416918101919091526001600160a01b038516606082015232608082015260a001610cc5565b600082815260026020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015611157573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061117b91906119de565b6111c75760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3033303a4e4f545f4558495354494e470000000000006044820152606401610365565b60008481526002602052604090206001016111e28482611aa1565b508154620100003390810262010000600160b01b031983161784559063ffffffff600160b01b909104166112134390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018790527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af41580156112a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112c99190611b61565b604051630713cfad60e31b81526004810189905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015611319573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061133d9190611b7e565b8585328660405161135396959493929190611beb565b60405180910390a1505050505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af41580156113b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113d991906119de565b6114255760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3034303a53544154455f554e444546494e45440000006044820152606401610365565b600082815260026020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015611491573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114b591906119de565b6115015760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3034313a4e4f545f4558495354494e470000000000006044820152606401610365565b8154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b909104166115454390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018790527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af41580156115d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115fb9190611b61565b604051630713cfad60e31b81526004810189905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af415801561164b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061166f9190611b7e565b87868632876040516113539796959493929190611b9b565b60006020828403121561169957600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126116c757600080fd5b813567ffffffffffffffff808211156116e2576116e26116a0565b604051601f8301601f19908116603f0116810190828211818310171561170a5761170a6116a0565b8160405283815286602085880101111561172357600080fd5b836020870160208301376000602085830101528094505050505092915050565b60ff8116811461175257600080fd5b50565b60008060006060848603121561176a57600080fd5b83359250602084013567ffffffffffffffff81111561178857600080fd5b611794868287016116b6565b92505060408401356117a581611743565b809150509250925092565b6000602082840312156117c257600080fd5b813561085681611743565b6000815180845260005b818110156117f3576020818501810151868301820152016117d7565b506000602082860101526020601f19601f83011685010191505092915050565b60208152600061085660208301846117cd565b6000806040838503121561183957600080fd5b82359150602083013567ffffffffffffffff81111561185757600080fd5b611863858286016116b6565b9150509250929050565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b602081526118c960208201835161186d565b6000602083015160c0808401526118e360e08401826117cd565b949350505050565b600080604083850312156118fe57600080fd5b82359150602083013561191081611743565b809150509250929050565b60a08101610409828461186d565b60008060006060848603121561193e57600080fd5b833561194981611743565b9250602084013561195981611743565b915060408401356117a581611743565b60ff198116811461175257600080fd5b6000806040838503121561198c57600080fd5b823561199781611743565b9150602083013561191081611969565b60208082526017908201527f4552524f523a4b56532d3030313a4e4f545f4f574e4552000000000000000000604082015260600190565b6000602082840312156119f057600080fd5b8151801515811461085657600080fd5b600181811c90821680611a1457607f821691505b602082108103611a3457634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215611a4c57600080fd5b5051919050565b601f82111561037957600081815260208120601f850160051c81016020861015611a7a5750805b601f850160051c820191505b81811015611a9957828155600101611a86565b505050505050565b815167ffffffffffffffff811115611abb57611abb6116a0565b611acf81611ac98454611a00565b84611a53565b602080601f831160018114611b045760008415611aec5750858301515b600019600386901b1c1916600185901b178555611a99565b600085815260208120601f198616915b82811015611b3357888601518255948401946001909101908401611b14565b5085821015611b515787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215611b7357600080fd5b815161085681611743565b600060208284031215611b9057600080fd5b815161085681611969565b60ff978816815260ff1996909616602087015293861660408601529190941660608401526001600160a01b03938416608084015290921660a082015263ffffffff9190911660c082015260e00190565b60ff968716815260ff199590951660208601529290941660408401526001600160a01b039081166060840152909216608082015263ffffffff90911660a082015260c0019056fea26469706673582212204cfb46453bae069f0a46215f7492b00d00841d3737edd08742051bd8a184f7f864736f6c63430008140033",
478
+ "bytecode": "0x608060405234801561001057600080fd5b50610e7b806100206000396000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c80638eaa6ac0116100715780638eaa6ac014610160578063a5961b4c14610180578063a898967514610231578063bf1db3f914610244578063e9e96c7014610257578063f48016ce1461029557600080fd5b806309648a9d146100ae5780630d358181146100ed57806338a699a414610113578063468bce061461013657806354f6127f14610140575b600080fd5b6100d66100bc366004610c18565b600090815260026020526040902054610100900460ff1690565b60405160ff90911681526020015b60405180910390f35b6100d66100fb366004610c43565b60ff9081166000908152602081905260409020541690565b610126610121366004610c18565b6102b6565b60405190151581526020016100e4565b61013e610347565b005b61015361014e366004610c18565b610379565b6040516100e49190610ca6565b61017361016e366004610c18565b61041e565b6040516100e49190610d03565b61022461018e366004610c18565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260026020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b6040516100e49190610d37565b61013e61023f366004610d45565b61055f565b610126610252366004610c43565b610659565b610126610265366004610d45565b60ff9283166000908152600160209081526040808320948616835293815283822092851682529190915220541690565b6102a86102a3366004610d90565b6106a6565b6040519081526020016100e4565b60008181526002602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024015b602060405180830381865af415801561031d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103419190610dd0565b92915050565b61034f610730565b61035761077e565b61035f6108a1565b610367610993565b61036f610aa1565b610377610b5d565b565b600081815260026020526040902060010180546060919061039990610df2565b80601f01602080910402602001604051908101604052809291908181526020018280546103c590610df2565b80156104125780601f106103e757610100808354040283529160200191610412565b820191906000526020600020905b8154815290600101906020018083116103f557829003601f168201915b50505050509050919050565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260026020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c082015292835260018101805491928401916104d690610df2565b80601f016020809104026020016040519081016040528092919081815260200182805461050290610df2565b801561054f5780601f106105245761010080835404028352916020019161054f565b820191906000526020600020905b81548152906001019060200180831161053257829003601f168201915b5050505050815250509050919050565b60ff8381166000908152602081905260409081902054905163037c8cb160e51b81529116600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af41580156105c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e89190610dd0565b156105f257505050565b60ff80841660009081526001602090815260408083208685168452825280832085851684529091529020541661065457604051636bb20ea760e01b815260ff808516600483015280841660248301528216604482015260640160405180910390fd5b505050565b60ff81811660009081526020819052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401610300565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce90604401602060405180830381865af4158015610705573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107299190610e2c565b9392505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff1661037757604051631afcd79f60e31b815260040160405180910390fd5b7f5bd290414b404036f9d63146803dd83b59a8e1905062a5bfed8b0154d20a390d8054606460ff19918216179091557f1578fb1f3721b6c33cae7dfcd025f5660361b090d8a17dcf8a744763f22d32ff8054821660019081179091557f47ebb928e225b2cdc8d8e0079f8da9b87d2bc15cc37a8c27842a5c925baa8b1e80548316821790557ffe60dc71e2c842ec11550e74a003d6f707c74c3b19b04c1b0700bc0fd9efd9508054909216811790915560dc600090815260208290527f81c2bf9f7c6e8ac9bd8bcd9d323e94b867d2f5054aff8759d884773c680ec1ec90606e5b60ff1660ff168152602001908152602001600020600061087d60c890565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b7f9db7038e59677010ca8f72fa448bad1b4f3c53346b666689163ccac31db467728054606460ff1991821681179092557f1a3062e9a24818c8281fcfb58ec4f3083a2f9a1314ac63f80d8d646661fdc50980548216600190811790915560008381527fc884cae9155e1829c27543e26ecbb72f79fe3a85ba4df2c4a97ad5806356754d6020527f2916767ac794614810c43d6c0837244e8b2c8d3f3c02376a214f465d6841db5680549093168217909255918291905b60ff1660ff1681526020019081526020016000206000610975606e90565b60ff1660ff168152602001908152602001600020600061087d60d290565b7fa57aae0b1e878b4cf2d1f237d2c6d245fa2af12f527cffc45e0a81d7b3c46abe8054600a60ff19918216179091557f10d8f68d28031156bb5a2007a6e7fc1ff769776115bd307e1d3f2901ec220eef8054821660019081179091557f71e0ce7e96b0b9ecf53c20706f5891c8e9bb320060393406400136d7ab1db61e80548316821790557f3aa5c1a82b8afaca3213d4302f465dcc339ab680e61c71830f7d9c441c63328380548316821790557f59d2febd485ffaba948645e520694e9996f0c229c4a10430d07956b599b172538054909216811790915560d3600090815260208290527f7415b658af57d740454b01d91722f71a360db8fdd5ec2a068a92c37e2bc3b1d690606461085f565b7f41d63e1348ead7043feb8677b52ff813a7a3d573fdf99c917846a69e8e7b7e608054603260ff19918216179091557f378c5573ee3453f5c9f5c7aa83b807835ecb097b5151d641746b59340336b67d8054821660019081179091557f7f4fc20c9070f9c8378783c3022311e08af436d0fea4b913fe0bbde88023d1268054909216811790915560d4600090815260208290527fb96e7c6ce00677da9e7edc0b5e71a26baf67854c9401b1cb6b18f18ab47e894f90603361085f565b7fc5f2c791ab4e0b1a0b6c600884b07e98575b00ebd7c3166c4272a53bebf714038054606460ff1991821681179092557f66482ac56acdda5113badf732cc46c284136d9d6378a671ac129cd298ff5f96780548216600190811790915560009283527f47d871bf8fdbdfc3d809d1454103f6ff238aad0f5cefde0353363b9e415ef6a76020527ff2de5750d5c9f412b7907640f68a5258fe3f903dfd0cd25c2ea235b23cc926958054909216811790915590819060c8610957565b600060208284031215610c2a57600080fd5b5035919050565b60ff81168114610c4057600080fd5b50565b600060208284031215610c5557600080fd5b813561072981610c31565b6000815180845260005b81811015610c8657602081850181015186830182015201610c6a565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006107296020830184610c60565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b60208152610d15602082018351610cb9565b6000602083015160c080840152610d2f60e0840182610c60565b949350505050565b60a081016103418284610cb9565b600080600060608486031215610d5a57600080fd5b8335610d6581610c31565b92506020840135610d7581610c31565b91506040840135610d8581610c31565b809150509250925092565b60008060408385031215610da357600080fd5b8235610dae81610c31565b9150602083013560ff1981168114610dc557600080fd5b809150509250929050565b600060208284031215610de257600080fd5b8151801515811461072957600080fd5b600181811c90821680610e0657607f821691505b602082108103610e2657634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215610e3e57600080fd5b505191905056fea2646970667358221220591ec95f54c0c0db66527199c5cb9f1c19abf49e51280c450071cb4beb2bb3ce64736f6c63430008140033",
479
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100a95760003560e01c80638eaa6ac0116100715780638eaa6ac014610160578063a5961b4c14610180578063a898967514610231578063bf1db3f914610244578063e9e96c7014610257578063f48016ce1461029557600080fd5b806309648a9d146100ae5780630d358181146100ed57806338a699a414610113578063468bce061461013657806354f6127f14610140575b600080fd5b6100d66100bc366004610c18565b600090815260026020526040902054610100900460ff1690565b60405160ff90911681526020015b60405180910390f35b6100d66100fb366004610c43565b60ff9081166000908152602081905260409020541690565b610126610121366004610c18565b6102b6565b60405190151581526020016100e4565b61013e610347565b005b61015361014e366004610c18565b610379565b6040516100e49190610ca6565b61017361016e366004610c18565b61041e565b6040516100e49190610d03565b61022461018e366004610c18565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260026020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b6040516100e49190610d37565b61013e61023f366004610d45565b61055f565b610126610252366004610c43565b610659565b610126610265366004610d45565b60ff9283166000908152600160209081526040808320948616835293815283822092851682529190915220541690565b6102a86102a3366004610d90565b6106a6565b6040519081526020016100e4565b60008181526002602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024015b602060405180830381865af415801561031d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103419190610dd0565b92915050565b61034f610730565b61035761077e565b61035f6108a1565b610367610993565b61036f610aa1565b610377610b5d565b565b600081815260026020526040902060010180546060919061039990610df2565b80601f01602080910402602001604051908101604052809291908181526020018280546103c590610df2565b80156104125780601f106103e757610100808354040283529160200191610412565b820191906000526020600020905b8154815290600101906020018083116103f557829003601f168201915b50505050509050919050565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260026020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c082015292835260018101805491928401916104d690610df2565b80601f016020809104026020016040519081016040528092919081815260200182805461050290610df2565b801561054f5780601f106105245761010080835404028352916020019161054f565b820191906000526020600020905b81548152906001019060200180831161053257829003601f168201915b5050505050815250509050919050565b60ff8381166000908152602081905260409081902054905163037c8cb160e51b81529116600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af41580156105c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e89190610dd0565b156105f257505050565b60ff80841660009081526001602090815260408083208685168452825280832085851684529091529020541661065457604051636bb20ea760e01b815260ff808516600483015280841660248301528216604482015260640160405180910390fd5b505050565b60ff81811660009081526020819052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401610300565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce90604401602060405180830381865af4158015610705573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107299190610e2c565b9392505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff1661037757604051631afcd79f60e31b815260040160405180910390fd5b7f5bd290414b404036f9d63146803dd83b59a8e1905062a5bfed8b0154d20a390d8054606460ff19918216179091557f1578fb1f3721b6c33cae7dfcd025f5660361b090d8a17dcf8a744763f22d32ff8054821660019081179091557f47ebb928e225b2cdc8d8e0079f8da9b87d2bc15cc37a8c27842a5c925baa8b1e80548316821790557ffe60dc71e2c842ec11550e74a003d6f707c74c3b19b04c1b0700bc0fd9efd9508054909216811790915560dc600090815260208290527f81c2bf9f7c6e8ac9bd8bcd9d323e94b867d2f5054aff8759d884773c680ec1ec90606e5b60ff1660ff168152602001908152602001600020600061087d60c890565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b7f9db7038e59677010ca8f72fa448bad1b4f3c53346b666689163ccac31db467728054606460ff1991821681179092557f1a3062e9a24818c8281fcfb58ec4f3083a2f9a1314ac63f80d8d646661fdc50980548216600190811790915560008381527fc884cae9155e1829c27543e26ecbb72f79fe3a85ba4df2c4a97ad5806356754d6020527f2916767ac794614810c43d6c0837244e8b2c8d3f3c02376a214f465d6841db5680549093168217909255918291905b60ff1660ff1681526020019081526020016000206000610975606e90565b60ff1660ff168152602001908152602001600020600061087d60d290565b7fa57aae0b1e878b4cf2d1f237d2c6d245fa2af12f527cffc45e0a81d7b3c46abe8054600a60ff19918216179091557f10d8f68d28031156bb5a2007a6e7fc1ff769776115bd307e1d3f2901ec220eef8054821660019081179091557f71e0ce7e96b0b9ecf53c20706f5891c8e9bb320060393406400136d7ab1db61e80548316821790557f3aa5c1a82b8afaca3213d4302f465dcc339ab680e61c71830f7d9c441c63328380548316821790557f59d2febd485ffaba948645e520694e9996f0c229c4a10430d07956b599b172538054909216811790915560d3600090815260208290527f7415b658af57d740454b01d91722f71a360db8fdd5ec2a068a92c37e2bc3b1d690606461085f565b7f41d63e1348ead7043feb8677b52ff813a7a3d573fdf99c917846a69e8e7b7e608054603260ff19918216179091557f378c5573ee3453f5c9f5c7aa83b807835ecb097b5151d641746b59340336b67d8054821660019081179091557f7f4fc20c9070f9c8378783c3022311e08af436d0fea4b913fe0bbde88023d1268054909216811790915560d4600090815260208290527fb96e7c6ce00677da9e7edc0b5e71a26baf67854c9401b1cb6b18f18ab47e894f90603361085f565b7fc5f2c791ab4e0b1a0b6c600884b07e98575b00ebd7c3166c4272a53bebf714038054606460ff1991821681179092557f66482ac56acdda5113badf732cc46c284136d9d6378a671ac129cd298ff5f96780548216600190811790915560009283527f47d871bf8fdbdfc3d809d1454103f6ff238aad0f5cefde0353363b9e415ef6a76020527ff2de5750d5c9f412b7907640f68a5258fe3f903dfd0cd25c2ea235b23cc926958054909216811790915590819060c8610957565b600060208284031215610c2a57600080fd5b5035919050565b60ff81168114610c4057600080fd5b50565b600060208284031215610c5557600080fd5b813561072981610c31565b6000815180845260005b81811015610c8657602081850181015186830182015201610c6a565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006107296020830184610c60565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b60208152610d15602082018351610cb9565b6000602083015160c080840152610d2f60e0840182610c60565b949350505050565b60a081016103418284610cb9565b600080600060608486031215610d5a57600080fd5b8335610d6581610c31565b92506020840135610d7581610c31565b91506040840135610d8581610c31565b809150509250925092565b60008060408385031215610da357600080fd5b8235610dae81610c31565b9150602083013560ff1981168114610dc557600080fd5b809150509250929050565b600060208284031215610de257600080fd5b8151801515811461072957600080fd5b600181811c90821680610e0657607f821691505b602082108103610e2657634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215610e3e57600080fd5b505191905056fea2646970667358221220591ec95f54c0c0db66527199c5cb9f1c19abf49e51280c450071cb4beb2bb3ce64736f6c63430008140033",
532
480
  "linkReferences": {
533
481
  "contracts/types/Key32.sol": {
534
482
  "Key32Lib": [
535
483
  {
536
484
  "length": 20,
537
- "start": 3877
538
- },
539
- {
540
- "length": 20,
541
- "start": 4576
542
- },
543
- {
544
- "length": 20,
545
- "start": 4692
546
- },
547
- {
548
- "length": 20,
549
- "start": 4874
550
- },
551
- {
552
- "length": 20,
553
- "start": 4990
554
- },
555
- {
556
- "length": 20,
557
- "start": 5148
558
- },
559
- {
560
- "length": 20,
561
- "start": 5897
562
- },
563
- {
564
- "length": 20,
565
- "start": 6013
566
- },
567
- {
568
- "length": 20,
569
- "start": 6552
570
- },
571
- {
572
- "length": 20,
573
- "start": 6668
574
- },
575
- {
576
- "length": 20,
577
- "start": 7370
578
- },
579
- {
580
- "length": 20,
581
- "start": 7486
582
- }
583
- ]
584
- },
585
- "contracts/types/ObjectType.sol": {
586
- "ObjectTypeLib": [
587
- {
588
- "length": 20,
589
- "start": 5269
485
+ "start": 1771
590
486
  }
591
487
  ]
592
488
  },
@@ -594,39 +490,15 @@
594
490
  "StateIdLib": [
595
491
  {
596
492
  "length": 20,
597
- "start": 2775
598
- },
599
- {
600
- "length": 20,
601
- "start": 3565
602
- },
603
- {
604
- "length": 20,
605
- "start": 3806
606
- },
607
- {
608
- "length": 20,
609
- "start": 4002
610
- },
611
- {
612
- "length": 20,
613
- "start": 4222
614
- },
615
- {
616
- "length": 20,
617
- "start": 5486
493
+ "start": 770
618
494
  },
619
495
  {
620
496
  "length": 20,
621
- "start": 6218
497
+ "start": 1450
622
498
  },
623
499
  {
624
500
  "length": 20,
625
- "start": 6824
626
- },
627
- {
628
- "length": 20,
629
- "start": 7044
501
+ "start": 1700
630
502
  }
631
503
  ]
632
504
  }
@@ -636,59 +508,7 @@
636
508
  "Key32Lib": [
637
509
  {
638
510
  "length": 20,
639
- "start": 2040
640
- },
641
- {
642
- "length": 20,
643
- "start": 2739
644
- },
645
- {
646
- "length": 20,
647
- "start": 2855
648
- },
649
- {
650
- "length": 20,
651
- "start": 3037
652
- },
653
- {
654
- "length": 20,
655
- "start": 3153
656
- },
657
- {
658
- "length": 20,
659
- "start": 3311
660
- },
661
- {
662
- "length": 20,
663
- "start": 4060
664
- },
665
- {
666
- "length": 20,
667
- "start": 4176
668
- },
669
- {
670
- "length": 20,
671
- "start": 4715
672
- },
673
- {
674
- "length": 20,
675
- "start": 4831
676
- },
677
- {
678
- "length": 20,
679
- "start": 5533
680
- },
681
- {
682
- "length": 20,
683
- "start": 5649
684
- }
685
- ]
686
- },
687
- "contracts/types/ObjectType.sol": {
688
- "ObjectTypeLib": [
689
- {
690
- "length": 20,
691
- "start": 3432
511
+ "start": 1739
692
512
  }
693
513
  ]
694
514
  },
@@ -696,39 +516,15 @@
696
516
  "StateIdLib": [
697
517
  {
698
518
  "length": 20,
699
- "start": 938
700
- },
701
- {
702
- "length": 20,
703
- "start": 1728
704
- },
705
- {
706
- "length": 20,
707
- "start": 1969
708
- },
709
- {
710
- "length": 20,
711
- "start": 2165
712
- },
713
- {
714
- "length": 20,
715
- "start": 2385
716
- },
717
- {
718
- "length": 20,
719
- "start": 3649
720
- },
721
- {
722
- "length": 20,
723
- "start": 4381
519
+ "start": 738
724
520
  },
725
521
  {
726
522
  "length": 20,
727
- "start": 4987
523
+ "start": 1418
728
524
  },
729
525
  {
730
526
  "length": 20,
731
- "start": 5207
527
+ "start": 1668
732
528
  }
733
529
  ]
734
530
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/513944a18d93e005314a3ed93f91d5cd.json"
3
+ "buildInfo": "../../../../build-info/37452893015e5bf83358929bf7a72a5c.json"
4
4
  }