@etherisc/gif-next 0.0.2-e769e2e-077 → 0.0.2-e79d227-681

Sign up to get free protection for your applications and to get access to all the features.
Files changed (535) hide show
  1. package/README.md +77 -10
  2. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  3. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1293 -0
  4. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.dbg.json +4 -0
  5. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.json +24 -0
  6. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  7. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1206 -0
  8. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  9. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +414 -0
  10. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/IAccess.sol/IAccess.json +10 -0
  12. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1060 -0
  14. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +295 -0
  16. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  17. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +167 -0
  18. package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.json +1196 -0
  20. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +253 -0
  22. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  23. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1324 -0
  24. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +470 -0
  26. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  27. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +154 -546
  28. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  29. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +380 -229
  30. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  31. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +198 -96
  32. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  33. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +186 -238
  34. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  35. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +223 -47
  36. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  37. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  38. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  39. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1429 -0
  40. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +502 -0
  42. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +1979 -0
  44. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +470 -0
  46. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  48. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  49. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1430 -0
  50. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  51. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1177 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1606 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2281 -0
  56. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  57. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +808 -0
  58. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  59. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +153 -86
  60. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  61. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +181 -119
  62. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  63. package/artifacts/contracts/instance/Instance.sol/Instance.json +174 -215
  64. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  65. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1666 -0
  66. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  67. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +574 -0
  68. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  69. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +876 -160
  70. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  71. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +260 -268
  72. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  73. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +163 -81
  74. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  75. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +506 -338
  76. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  77. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +810 -0
  78. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  79. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +2 -2
  80. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  81. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.json +0 -53
  82. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  83. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  84. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  85. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
  86. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  87. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +181 -0
  88. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  89. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +8 -116
  90. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  91. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  92. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  93. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  94. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  95. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  96. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  97. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  98. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +961 -0
  99. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  100. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +478 -0
  101. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  102. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  103. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  104. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +776 -0
  105. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  106. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +709 -0
  107. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  108. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +877 -0
  109. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  110. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +990 -0
  111. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  112. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +766 -0
  113. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  114. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1254 -0
  115. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  116. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +502 -0
  117. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  118. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +456 -187
  119. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  120. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +218 -80
  121. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  122. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +264 -26
  123. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  124. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +115 -354
  125. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  126. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +464 -223
  127. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  128. package/artifacts/contracts/pool/Pool.sol/Pool.json +152 -682
  129. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  130. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +590 -382
  131. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  132. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +190 -76
  133. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  134. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +147 -161
  135. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  136. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +147 -77
  137. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  138. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1148 -0
  139. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  140. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +470 -0
  141. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  142. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +343 -168
  143. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  144. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +200 -90
  145. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  146. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +88 -8
  147. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  148. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +196 -7
  149. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  150. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +364 -121
  151. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  152. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +134 -86
  153. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  154. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +176 -160
  155. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  156. package/artifacts/contracts/product/{IProductService.sol/IProductService.json → IRiskService.sol/IRiskService.json} +51 -3
  157. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  158. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +475 -294
  159. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  160. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +199 -81
  161. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  162. package/artifacts/contracts/product/PricingService.sol/PricingService.json +229 -275
  163. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  164. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +172 -102
  165. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  166. package/artifacts/contracts/product/Product.sol/Product.json +201 -486
  167. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  168. package/artifacts/contracts/product/RiskService.sol/RiskService.json +638 -0
  169. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  170. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +718 -0
  171. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  172. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  173. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  174. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +412 -35
  175. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  176. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +225 -196
  177. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  178. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  179. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  180. package/artifacts/contracts/registry/Registry.sol/Registry.json +761 -87
  181. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  182. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1899 -0
  183. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  184. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +278 -306
  185. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  186. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +154 -78
  187. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  188. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  189. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  190. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1067 -0
  191. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  192. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +272 -0
  193. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  194. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +185 -135
  195. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  196. package/artifacts/contracts/shared/Component.sol/Component.json +79 -274
  197. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  198. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +626 -252
  199. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  200. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +209 -99
  201. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +1 -1
  202. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +55 -101
  203. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  204. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +488 -0
  205. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  206. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  207. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  208. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  209. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  210. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +74 -79
  211. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  212. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +561 -13
  213. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  214. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +120 -108
  215. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  216. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +45 -13
  217. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  218. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +34 -3
  219. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  220. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +23 -1
  221. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  222. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +16 -30
  223. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  224. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +36 -1
  225. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  226. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  227. package/artifacts/contracts/shared/IService.sol/IService.json +49 -1
  228. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  229. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  230. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  231. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +129 -360
  232. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  233. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +55 -98
  234. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  235. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +42 -62
  236. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  237. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  238. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  239. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +26 -55
  240. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  241. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +20 -124
  242. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  243. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +62 -87
  244. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  245. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  246. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  247. package/artifacts/contracts/shared/Service.sol/Service.json +55 -101
  248. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  249. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +697 -25
  250. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  251. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +395 -0
  252. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  253. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  254. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  255. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +462 -634
  256. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  257. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +546 -48
  258. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  259. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +440 -0
  260. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  261. package/artifacts/contracts/staking/Staking.sol/Staking.json +613 -871
  262. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  263. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
  264. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  265. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +185 -81
  266. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  267. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +587 -0
  268. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  269. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +633 -173
  270. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  271. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +166 -68
  272. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  273. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2283 -0
  274. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  275. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +607 -0
  276. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  277. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +2 -2
  278. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  279. package/artifacts/contracts/type/Amount.sol/AmountLib.json +121 -4
  280. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  281. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +40 -2
  282. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  283. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
  284. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  285. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +4 -4
  286. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  287. package/artifacts/contracts/type/Fee.sol/FeeLib.json +17 -12
  288. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  289. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  290. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  291. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  292. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  293. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +47 -4
  294. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  295. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  296. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  297. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +149 -2
  298. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  299. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
  300. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  301. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +4 -4
  302. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  303. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  304. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  305. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +99 -5
  306. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  307. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +219 -6
  308. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  309. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +124 -2
  310. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  311. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
  312. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  313. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  314. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  315. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
  316. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  317. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  318. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  319. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +36 -4
  320. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +1 -1
  321. package/artifacts/contracts/type/UFixed.sol/MathLib.json +9 -3
  322. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  323. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +71 -2
  324. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  325. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -2
  326. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  327. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +21 -2
  328. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  329. package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +1 -1
  330. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  331. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +618 -0
  332. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  333. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  334. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  335. package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +1 -1
  336. package/contracts/authorization/AccessAdmin.sol +616 -0
  337. package/contracts/authorization/AccessManagerCloneable.sol +16 -0
  338. package/contracts/authorization/Authorization.sol +289 -0
  339. package/contracts/authorization/IAccess.sol +49 -0
  340. package/contracts/authorization/IAccessAdmin.sol +137 -0
  341. package/contracts/authorization/IAuthorization.sol +60 -0
  342. package/contracts/authorization/IServiceAuthorization.sol +40 -0
  343. package/contracts/authorization/ReleaseAccessManager.sol +38 -0
  344. package/contracts/authorization/ServiceAuthorization.sol +106 -0
  345. package/contracts/distribution/BasicDistribution.sol +139 -0
  346. package/contracts/distribution/BasicDistributionAuthorization.sol +47 -0
  347. package/contracts/distribution/Distribution.sol +145 -124
  348. package/contracts/distribution/DistributionService.sol +156 -99
  349. package/contracts/distribution/DistributionServiceManager.sol +13 -25
  350. package/contracts/distribution/IDistributionComponent.sol +27 -41
  351. package/contracts/distribution/IDistributionService.sol +29 -10
  352. package/contracts/examples/fire/DamageLevel.sol +59 -0
  353. package/contracts/examples/fire/FirePool.sol +86 -0
  354. package/contracts/examples/fire/FirePoolAuthorization.sol +34 -0
  355. package/contracts/examples/fire/FireProduct.sol +431 -0
  356. package/contracts/examples/fire/FireProductAuthorization.sol +44 -0
  357. package/contracts/examples/fire/FireUSD.sol +26 -0
  358. package/contracts/examples/unpermissioned/SimpleDistribution.sol +58 -0
  359. package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
  360. package/contracts/examples/unpermissioned/SimplePool.sol +108 -0
  361. package/contracts/examples/unpermissioned/SimpleProduct.sol +345 -0
  362. package/contracts/instance/BundleSet.sol +130 -0
  363. package/contracts/instance/IInstance.sol +39 -44
  364. package/contracts/instance/IInstanceService.sol +33 -42
  365. package/contracts/instance/Instance.sol +137 -124
  366. package/contracts/instance/InstanceAdmin.sol +278 -0
  367. package/contracts/instance/InstanceAuthorizationV3.sol +217 -0
  368. package/contracts/instance/InstanceReader.sol +249 -36
  369. package/contracts/instance/InstanceService.sol +227 -151
  370. package/contracts/instance/InstanceServiceManager.sol +14 -29
  371. package/contracts/instance/InstanceStore.sol +85 -57
  372. package/contracts/instance/RiskSet.sol +119 -0
  373. package/contracts/instance/base/BalanceStore.sol +12 -7
  374. package/contracts/instance/base/Cloneable.sol +2 -25
  375. package/contracts/instance/base/ObjectCounter.sol +21 -0
  376. package/contracts/instance/base/ObjectLifecycle.sol +111 -0
  377. package/contracts/instance/base/ObjectSet.sol +78 -0
  378. package/contracts/instance/module/IAccess.sol +2 -10
  379. package/contracts/instance/module/IBundle.sol +1 -1
  380. package/contracts/instance/module/IComponents.sol +11 -13
  381. package/contracts/instance/module/IDistribution.sol +0 -1
  382. package/contracts/instance/module/IPolicy.sol +26 -25
  383. package/contracts/instance/module/IRisk.sol +1 -0
  384. package/contracts/mock/Dip.sol +26 -0
  385. package/contracts/oracle/BasicOracle.sol +47 -0
  386. package/contracts/oracle/BasicOracleAuthorization.sol +46 -0
  387. package/contracts/oracle/IOracle.sol +36 -0
  388. package/contracts/oracle/IOracleComponent.sol +33 -0
  389. package/contracts/oracle/IOracleService.sol +66 -0
  390. package/contracts/oracle/Oracle.sol +156 -0
  391. package/contracts/oracle/OracleService.sol +309 -0
  392. package/contracts/oracle/OracleServiceManager.sol +39 -0
  393. package/contracts/pool/BasicPool.sol +175 -0
  394. package/contracts/pool/BasicPoolAuthorization.sol +68 -0
  395. package/contracts/pool/BundleService.sol +232 -122
  396. package/contracts/pool/BundleServiceManager.sol +13 -25
  397. package/contracts/pool/IBundleService.sol +34 -18
  398. package/contracts/pool/IPoolComponent.sol +20 -70
  399. package/contracts/pool/IPoolService.sol +57 -51
  400. package/contracts/pool/Pool.sol +208 -162
  401. package/contracts/pool/PoolService.sol +372 -181
  402. package/contracts/pool/PoolServiceManager.sol +12 -24
  403. package/contracts/product/ApplicationService.sol +90 -84
  404. package/contracts/product/ApplicationServiceManager.sol +12 -9
  405. package/contracts/product/BasicProduct.sol +49 -0
  406. package/contracts/product/BasicProductAuthorization.sol +42 -0
  407. package/contracts/product/ClaimService.sol +331 -153
  408. package/contracts/product/ClaimServiceManager.sol +12 -9
  409. package/contracts/product/IApplicationService.sol +7 -3
  410. package/contracts/product/IClaimService.sol +35 -5
  411. package/contracts/product/IPolicyService.sol +47 -35
  412. package/contracts/product/IPricingService.sol +11 -11
  413. package/contracts/product/IProductComponent.sol +26 -9
  414. package/contracts/product/{IProductService.sol → IRiskService.sol} +2 -2
  415. package/contracts/product/PolicyService.sol +524 -262
  416. package/contracts/product/PolicyServiceManager.sol +12 -27
  417. package/contracts/product/PricingService.sol +64 -64
  418. package/contracts/product/PricingServiceManager.sol +12 -24
  419. package/contracts/product/Product.sol +189 -139
  420. package/contracts/product/{ProductService.sol → RiskService.sol} +35 -50
  421. package/contracts/product/RiskServiceManager.sol +39 -0
  422. package/contracts/registry/ChainNft.sol +68 -37
  423. package/contracts/registry/IRegistry.sol +90 -28
  424. package/contracts/registry/IRegistryService.sol +26 -43
  425. package/contracts/registry/ITransferInterceptor.sol +1 -2
  426. package/contracts/registry/Registry.sol +424 -228
  427. package/contracts/registry/RegistryAdmin.sol +451 -0
  428. package/contracts/registry/RegistryService.sol +63 -149
  429. package/contracts/registry/RegistryServiceManager.sol +23 -30
  430. package/contracts/registry/ReleaseLifecycle.sol +30 -0
  431. package/contracts/registry/ReleaseRegistry.sol +485 -0
  432. package/contracts/registry/ServiceAuthorizationV3.sol +175 -0
  433. package/contracts/registry/TokenRegistry.sol +187 -59
  434. package/contracts/shared/Component.sol +56 -125
  435. package/contracts/shared/ComponentService.sol +411 -201
  436. package/contracts/shared/ComponentServiceManager.sol +10 -7
  437. package/contracts/shared/ComponentVerifyingService.sol +40 -23
  438. package/contracts/shared/ContractLib.sol +224 -0
  439. package/contracts/shared/IComponent.sol +11 -18
  440. package/contracts/shared/IComponentService.sol +52 -13
  441. package/contracts/shared/IInstanceLinkedComponent.sol +11 -16
  442. package/contracts/shared/IKeyValueStore.sol +2 -1
  443. package/contracts/shared/ILifecycle.sol +3 -2
  444. package/contracts/shared/INftOwnable.sol +3 -1
  445. package/contracts/shared/IPolicyHolder.sol +12 -17
  446. package/contracts/shared/IRegisterable.sol +11 -0
  447. package/contracts/shared/IService.sol +9 -2
  448. package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +4 -4
  449. package/contracts/shared/InstanceLinkedComponent.sol +103 -43
  450. package/contracts/shared/KeyValueStore.sol +30 -68
  451. package/contracts/shared/Lifecycle.sol +30 -63
  452. package/contracts/shared/NftIdSet.sol +65 -0
  453. package/contracts/shared/NftOwnable.sol +31 -22
  454. package/contracts/shared/PolicyHolder.sol +18 -50
  455. package/contracts/shared/Registerable.sol +19 -11
  456. package/contracts/shared/RegistryLinked.sol +9 -14
  457. package/contracts/shared/Service.sol +44 -37
  458. package/contracts/shared/TokenHandler.sol +358 -27
  459. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  460. package/contracts/staking/IStaking.sol +133 -37
  461. package/contracts/staking/IStakingService.sol +93 -41
  462. package/contracts/staking/StakeManagerLib.sol +224 -0
  463. package/contracts/staking/Staking.sol +394 -101
  464. package/contracts/staking/StakingLifecycle.sol +23 -0
  465. package/contracts/staking/StakingManager.sol +24 -18
  466. package/contracts/staking/StakingReader.sol +190 -0
  467. package/contracts/staking/StakingService.sol +282 -42
  468. package/contracts/staking/StakingServiceManager.sol +10 -7
  469. package/contracts/staking/StakingStore.sol +605 -0
  470. package/contracts/staking/TargetManagerLib.sol +211 -0
  471. package/contracts/type/AddressSet.sol +1 -1
  472. package/contracts/type/Amount.sol +39 -3
  473. package/contracts/type/Blocknumber.sol +20 -2
  474. package/contracts/type/ClaimId.sol +6 -1
  475. package/contracts/type/Fee.sol +1 -1
  476. package/contracts/type/Key32.sol +2 -2
  477. package/contracts/type/Key32Set.sol +62 -0
  478. package/contracts/type/NftId.sol +16 -4
  479. package/contracts/type/NftIdSet.sol +1 -1
  480. package/contracts/type/ObjectType.sol +178 -65
  481. package/contracts/type/PayoutId.sol +10 -10
  482. package/contracts/type/Referral.sol +2 -1
  483. package/contracts/type/RequestId.sol +75 -0
  484. package/contracts/type/RiskId.sol +31 -5
  485. package/contracts/type/RoleId.sol +98 -74
  486. package/contracts/type/Seconds.sol +48 -1
  487. package/contracts/type/Selector.sol +102 -0
  488. package/contracts/type/StateId.sol +41 -2
  489. package/contracts/type/String.sol +53 -0
  490. package/contracts/type/Timestamp.sol +17 -3
  491. package/contracts/type/UFixed.sol +38 -9
  492. package/contracts/type/Version.sol +4 -2
  493. package/contracts/{shared → upgradeability}/ProxyManager.sol +90 -27
  494. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
  495. package/contracts/{shared → upgradeability}/Versionable.sol +2 -2
  496. package/package.json +11 -7
  497. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  498. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -778
  499. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  500. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1348
  501. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +0 -4
  502. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +0 -132
  503. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  504. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +0 -256
  505. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
  506. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
  507. package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -673
  508. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  509. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -636
  510. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  511. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -308
  512. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  513. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -688
  514. package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.dbg.json +0 -4
  515. package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.json +0 -137
  516. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  517. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
  518. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  519. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
  520. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  521. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  522. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -569
  523. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  524. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  525. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  526. package/contracts/instance/BundleManager.sol +0 -126
  527. package/contracts/instance/InstanceAccessManager.sol +0 -543
  528. package/contracts/instance/InstanceAuthorizationsLib.sol +0 -336
  529. package/contracts/instance/base/ObjectManager.sol +0 -82
  530. package/contracts/product/ProductServiceManager.sol +0 -54
  531. package/contracts/registry/RegistryAccessManager.sol +0 -213
  532. package/contracts/registry/ReleaseManager.sol +0 -375
  533. package/contracts/registry/ServiceAuthorizationsLib.sol +0 -173
  534. package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +0 -13
  535. /package/contracts/{shared → upgradeability}/IVersionable.sol +0 -0
@@ -42,294 +42,439 @@
42
42
  "type": "error"
43
43
  },
44
44
  {
45
- "inputs": [
46
- {
47
- "internalType": "address",
48
- "name": "target",
49
- "type": "address"
50
- }
51
- ],
52
- "name": "AddressEmptyCode",
45
+ "inputs": [],
46
+ "name": "ErrorComponentNameLengthZero",
53
47
  "type": "error"
54
48
  },
55
49
  {
56
50
  "inputs": [
57
51
  {
58
52
  "internalType": "address",
59
- "name": "account",
53
+ "name": "caller",
60
54
  "type": "address"
61
55
  }
62
56
  ],
63
- "name": "AddressInsufficientBalance",
57
+ "name": "ErrorComponentNotChainNft",
64
58
  "type": "error"
65
59
  },
66
60
  {
67
61
  "inputs": [],
68
- "name": "ErrorComponentNameLengthZero",
62
+ "name": "ErrorComponentProductNftIdNonzero",
63
+ "type": "error"
64
+ },
65
+ {
66
+ "inputs": [],
67
+ "name": "ErrorComponentProductNftIdZero",
68
+ "type": "error"
69
+ },
70
+ {
71
+ "inputs": [],
72
+ "name": "ErrorComponentTokenAddressNonzero",
73
+ "type": "error"
74
+ },
75
+ {
76
+ "inputs": [],
77
+ "name": "ErrorComponentTokenAddressZero",
78
+ "type": "error"
79
+ },
80
+ {
81
+ "inputs": [],
82
+ "name": "ErrorComponentWalletAddressIsSameAsCurrent",
83
+ "type": "error"
84
+ },
85
+ {
86
+ "inputs": [],
87
+ "name": "ErrorComponentWalletAddressZero",
88
+ "type": "error"
89
+ },
90
+ {
91
+ "inputs": [],
92
+ "name": "ErrorComponentWalletNotComponent",
93
+ "type": "error"
94
+ },
95
+ {
96
+ "inputs": [
97
+ {
98
+ "internalType": "NftId",
99
+ "name": "nftId",
100
+ "type": "uint96"
101
+ }
102
+ ],
103
+ "name": "ErrorNftOwnableAlreadyLinked",
69
104
  "type": "error"
70
105
  },
71
106
  {
72
107
  "inputs": [
73
108
  {
74
109
  "internalType": "address",
75
- "name": "caller",
110
+ "name": "contractAddress",
76
111
  "type": "address"
77
112
  }
78
113
  ],
79
- "name": "ErrorComponentNotChainNft",
114
+ "name": "ErrorNftOwnableContractNotRegistered",
80
115
  "type": "error"
81
116
  },
82
117
  {
83
118
  "inputs": [],
84
- "name": "ErrorComponentTokenAddressZero",
119
+ "name": "ErrorNftOwnableInitialOwnerZero",
85
120
  "type": "error"
86
121
  },
87
122
  {
88
- "inputs": [],
89
- "name": "ErrorComponentWalletAddressIsSameAsCurrent",
123
+ "inputs": [
124
+ {
125
+ "internalType": "NftId",
126
+ "name": "nftId",
127
+ "type": "uint96"
128
+ },
129
+ {
130
+ "internalType": "ObjectType",
131
+ "name": "expectedObjectType",
132
+ "type": "uint8"
133
+ }
134
+ ],
135
+ "name": "ErrorNftOwnableInvalidType",
90
136
  "type": "error"
91
137
  },
92
138
  {
93
- "inputs": [],
94
- "name": "ErrorComponentWalletAddressZero",
139
+ "inputs": [
140
+ {
141
+ "internalType": "address",
142
+ "name": "account",
143
+ "type": "address"
144
+ }
145
+ ],
146
+ "name": "ErrorNftOwnableNotOwner",
95
147
  "type": "error"
96
148
  },
97
149
  {
98
150
  "inputs": [
99
151
  {
100
152
  "internalType": "address",
101
- "name": "oldWallet",
153
+ "name": "registryAddress",
154
+ "type": "address"
155
+ }
156
+ ],
157
+ "name": "ErrorNotRegistry",
158
+ "type": "error"
159
+ },
160
+ {
161
+ "inputs": [
162
+ {
163
+ "internalType": "address",
164
+ "name": "owner",
102
165
  "type": "address"
103
166
  },
104
167
  {
105
168
  "internalType": "address",
106
- "name": "newWallet",
169
+ "name": "tokenHandler",
107
170
  "type": "address"
108
171
  },
109
172
  {
110
173
  "internalType": "uint256",
111
- "name": "allowance",
174
+ "name": "amount",
112
175
  "type": "uint256"
113
176
  },
114
177
  {
115
178
  "internalType": "uint256",
116
- "name": "balance",
179
+ "name": "dipAllowance",
117
180
  "type": "uint256"
118
181
  }
119
182
  ],
120
- "name": "ErrorComponentWalletAllowanceTooSmall",
121
- "type": "error"
122
- },
123
- {
124
- "inputs": [],
125
- "name": "ErrorComponentWalletNotComponent",
183
+ "name": "ErrorStakingDipAllowanceInsufficient",
126
184
  "type": "error"
127
185
  },
128
186
  {
129
187
  "inputs": [
130
188
  {
131
- "internalType": "ObjectType",
132
- "name": "objectType",
133
- "type": "uint8"
189
+ "internalType": "address",
190
+ "name": "owner",
191
+ "type": "address"
134
192
  },
135
193
  {
136
- "internalType": "StateId",
137
- "name": "fromStateId",
138
- "type": "uint8"
194
+ "internalType": "uint256",
195
+ "name": "amount",
196
+ "type": "uint256"
139
197
  },
140
198
  {
141
- "internalType": "StateId",
142
- "name": "toStateId",
143
- "type": "uint8"
199
+ "internalType": "uint256",
200
+ "name": "dipBalance",
201
+ "type": "uint256"
144
202
  }
145
203
  ],
146
- "name": "ErrorInvalidStateTransition",
204
+ "name": "ErrorStakingDipBalanceInsufficient",
147
205
  "type": "error"
148
206
  },
149
207
  {
150
208
  "inputs": [
151
209
  {
152
- "internalType": "Key32",
153
- "name": "key",
154
- "type": "bytes32"
210
+ "internalType": "NftId",
211
+ "name": "targetNftId",
212
+ "type": "uint96"
155
213
  },
156
214
  {
157
- "internalType": "ObjectType",
158
- "name": "objectType",
159
- "type": "uint8"
215
+ "internalType": "Seconds",
216
+ "name": "maxLockingPeriod",
217
+ "type": "uint40"
218
+ },
219
+ {
220
+ "internalType": "Seconds",
221
+ "name": "lockingPeriod",
222
+ "type": "uint40"
160
223
  }
161
224
  ],
162
- "name": "ErrorKeyValueStoreAlreadyCreated",
225
+ "name": "ErrorStakingLockingPeriodTooLong",
163
226
  "type": "error"
164
227
  },
165
228
  {
166
229
  "inputs": [
167
230
  {
168
- "internalType": "Key32",
169
- "name": "key",
170
- "type": "bytes32"
231
+ "internalType": "NftId",
232
+ "name": "targetNftId",
233
+ "type": "uint96"
234
+ },
235
+ {
236
+ "internalType": "Seconds",
237
+ "name": "minLockingPeriod",
238
+ "type": "uint40"
239
+ },
240
+ {
241
+ "internalType": "Seconds",
242
+ "name": "lockingPeriod",
243
+ "type": "uint40"
171
244
  }
172
245
  ],
173
- "name": "ErrorKeyValueStoreNotExisting",
246
+ "name": "ErrorStakingLockingPeriodTooShort",
174
247
  "type": "error"
175
248
  },
176
249
  {
177
250
  "inputs": [
178
251
  {
179
- "internalType": "Key32",
180
- "name": "key",
181
- "type": "bytes32"
252
+ "internalType": "NftId",
253
+ "name": "nftId",
254
+ "type": "uint96"
182
255
  }
183
256
  ],
184
- "name": "ErrorKeyValueStoreStateZero",
257
+ "name": "ErrorStakingNotNftOwner",
185
258
  "type": "error"
186
259
  },
187
260
  {
188
261
  "inputs": [
189
262
  {
190
- "internalType": "ObjectType",
191
- "name": "objectType",
192
- "type": "uint8"
263
+ "internalType": "address",
264
+ "name": "registry",
265
+ "type": "address"
193
266
  }
194
267
  ],
195
- "name": "ErrorKeyValueStoreTypeUndefined",
268
+ "name": "ErrorStakingNotRegistry",
196
269
  "type": "error"
197
270
  },
198
271
  {
199
272
  "inputs": [
200
273
  {
201
274
  "internalType": "NftId",
202
- "name": "nftId",
275
+ "name": "stakeNftId",
203
276
  "type": "uint96"
204
277
  }
205
278
  ],
206
- "name": "ErrorNftOwnableAlreadyLinked",
279
+ "name": "ErrorStakingNotStake",
280
+ "type": "error"
281
+ },
282
+ {
283
+ "inputs": [],
284
+ "name": "ErrorStakingNotStakingOwner",
207
285
  "type": "error"
208
286
  },
209
287
  {
210
288
  "inputs": [
211
289
  {
212
- "internalType": "address",
213
- "name": "contractAddress",
214
- "type": "address"
290
+ "internalType": "NftId",
291
+ "name": "targetNftId",
292
+ "type": "uint96"
215
293
  }
216
294
  ],
217
- "name": "ErrorNftOwnableContractNotRegistered",
295
+ "name": "ErrorStakingNotTarget",
218
296
  "type": "error"
219
297
  },
220
298
  {
221
- "inputs": [],
222
- "name": "ErrorNftOwnableInitialOwnerZero",
299
+ "inputs": [
300
+ {
301
+ "internalType": "NftId",
302
+ "name": "targetNftId",
303
+ "type": "uint96"
304
+ },
305
+ {
306
+ "internalType": "UFixed",
307
+ "name": "maxRewardRate",
308
+ "type": "uint256"
309
+ },
310
+ {
311
+ "internalType": "UFixed",
312
+ "name": "rewardRate",
313
+ "type": "uint256"
314
+ }
315
+ ],
316
+ "name": "ErrorStakingRewardRateTooHigh",
223
317
  "type": "error"
224
318
  },
225
319
  {
226
320
  "inputs": [
227
321
  {
228
- "internalType": "address",
229
- "name": "account",
230
- "type": "address"
322
+ "internalType": "NftId",
323
+ "name": "targetNftId",
324
+ "type": "uint96"
231
325
  }
232
326
  ],
233
- "name": "ErrorNftOwnableNotOwner",
327
+ "name": "ErrorStakingStakeAmountZero",
234
328
  "type": "error"
235
329
  },
236
330
  {
237
331
  "inputs": [
238
332
  {
239
333
  "internalType": "NftId",
240
- "name": "nftId",
334
+ "name": "stakeNftId",
241
335
  "type": "uint96"
242
336
  },
243
337
  {
244
- "internalType": "ObjectType",
245
- "name": "objectType",
246
- "type": "uint8"
338
+ "internalType": "Timestamp",
339
+ "name": "lockedUntil",
340
+ "type": "uint40"
247
341
  }
248
342
  ],
249
- "name": "ErrorNoLifecycle",
343
+ "name": "ErrorStakingStakeLocked",
250
344
  "type": "error"
251
345
  },
252
346
  {
253
347
  "inputs": [
254
348
  {
255
349
  "internalType": "address",
256
- "name": "registryAddress",
350
+ "name": "stakingByStakingReader",
257
351
  "type": "address"
258
352
  }
259
353
  ],
260
- "name": "ErrorNotRegistry",
354
+ "name": "ErrorStakingStakingReaderStakingMismatch",
261
355
  "type": "error"
262
356
  },
263
357
  {
264
- "inputs": [],
265
- "name": "FailedInnerCall",
358
+ "inputs": [
359
+ {
360
+ "internalType": "NftId",
361
+ "name": "targetNftId",
362
+ "type": "uint96"
363
+ }
364
+ ],
365
+ "name": "ErrorStakingTargetAlreadyRegistered",
266
366
  "type": "error"
267
367
  },
268
368
  {
269
369
  "inputs": [],
270
- "name": "InvalidInitialization",
370
+ "name": "ErrorStakingTargetNftIdZero",
271
371
  "type": "error"
272
372
  },
273
373
  {
274
- "inputs": [],
275
- "name": "NotInitializing",
374
+ "inputs": [
375
+ {
376
+ "internalType": "NftId",
377
+ "name": "targetNftId",
378
+ "type": "uint96"
379
+ }
380
+ ],
381
+ "name": "ErrorStakingTargetNotActive",
276
382
  "type": "error"
277
383
  },
278
384
  {
279
385
  "inputs": [
280
386
  {
281
- "internalType": "address",
282
- "name": "token",
283
- "type": "address"
387
+ "internalType": "NftId",
388
+ "name": "targetNftId",
389
+ "type": "uint96"
284
390
  }
285
391
  ],
286
- "name": "SafeERC20FailedOperation",
392
+ "name": "ErrorStakingTargetNotFound",
287
393
  "type": "error"
288
394
  },
289
395
  {
290
- "anonymous": false,
291
396
  "inputs": [
292
397
  {
293
- "indexed": false,
398
+ "internalType": "NftId",
399
+ "name": "targetNftId",
400
+ "type": "uint96"
401
+ },
402
+ {
403
+ "internalType": "uint256",
404
+ "name": "chainId",
405
+ "type": "uint256"
406
+ },
407
+ {
294
408
  "internalType": "address",
295
- "name": "authority",
409
+ "name": "token",
296
410
  "type": "address"
297
411
  }
298
412
  ],
299
- "name": "AuthorityUpdated",
300
- "type": "event"
413
+ "name": "ErrorStakingTargetTokenNotFound",
414
+ "type": "error"
301
415
  },
302
416
  {
303
- "anonymous": false,
304
417
  "inputs": [
305
418
  {
306
- "indexed": false,
307
- "internalType": "uint64",
308
- "name": "version",
309
- "type": "uint64"
419
+ "internalType": "NftId",
420
+ "name": "targetNftId",
421
+ "type": "uint96"
422
+ },
423
+ {
424
+ "internalType": "ObjectType",
425
+ "name": "objectType",
426
+ "type": "uint8"
310
427
  }
311
428
  ],
312
- "name": "Initialized",
313
- "type": "event"
429
+ "name": "ErrorStakingTargetTypeNotSupported",
430
+ "type": "error"
314
431
  },
315
432
  {
316
- "anonymous": false,
317
433
  "inputs": [
318
434
  {
319
- "indexed": false,
320
- "internalType": "address",
321
- "name": "token",
322
- "type": "address"
435
+ "internalType": "NftId",
436
+ "name": "targetNftId",
437
+ "type": "uint96"
323
438
  },
324
439
  {
325
- "indexed": false,
440
+ "internalType": "ObjectType",
441
+ "name": "expectedObjectType",
442
+ "type": "uint8"
443
+ },
444
+ {
445
+ "internalType": "ObjectType",
446
+ "name": "actualObjectType",
447
+ "type": "uint8"
448
+ }
449
+ ],
450
+ "name": "ErrorStakingTargetUnexpectedObjectType",
451
+ "type": "error"
452
+ },
453
+ {
454
+ "inputs": [
455
+ {
326
456
  "internalType": "uint256",
327
- "name": "limit",
457
+ "name": "chainId",
328
458
  "type": "uint256"
459
+ },
460
+ {
461
+ "internalType": "address",
462
+ "name": "token",
463
+ "type": "address"
329
464
  }
330
465
  ],
331
- "name": "LogComponentTokenHandlerApproved",
332
- "type": "event"
466
+ "name": "ErrorStakingTokenNotRegistered",
467
+ "type": "error"
468
+ },
469
+ {
470
+ "inputs": [],
471
+ "name": "InvalidInitialization",
472
+ "type": "error"
473
+ },
474
+ {
475
+ "inputs": [],
476
+ "name": "NotInitializing",
477
+ "type": "error"
333
478
  },
334
479
  {
335
480
  "anonymous": false,
@@ -337,17 +482,24 @@
337
482
  {
338
483
  "indexed": false,
339
484
  "internalType": "address",
340
- "name": "oldWallet",
485
+ "name": "authority",
341
486
  "type": "address"
342
- },
487
+ }
488
+ ],
489
+ "name": "AuthorityUpdated",
490
+ "type": "event"
491
+ },
492
+ {
493
+ "anonymous": false,
494
+ "inputs": [
343
495
  {
344
496
  "indexed": false,
345
- "internalType": "address",
346
- "name": "newWallet",
347
- "type": "address"
497
+ "internalType": "uint64",
498
+ "name": "version",
499
+ "type": "uint64"
348
500
  }
349
501
  ],
350
- "name": "LogComponentWalletAddressChanged",
502
+ "name": "Initialized",
351
503
  "type": "event"
352
504
  },
353
505
  {
@@ -356,60 +508,48 @@
356
508
  {
357
509
  "indexed": false,
358
510
  "internalType": "address",
359
- "name": "from",
511
+ "name": "tokenHandler",
360
512
  "type": "address"
361
513
  },
362
514
  {
363
515
  "indexed": false,
364
516
  "internalType": "address",
365
- "name": "to",
517
+ "name": "token",
366
518
  "type": "address"
367
519
  },
368
520
  {
369
521
  "indexed": false,
370
- "internalType": "uint256",
371
- "name": "amount",
372
- "type": "uint256"
522
+ "internalType": "Amount",
523
+ "name": "limit",
524
+ "type": "uint96"
525
+ },
526
+ {
527
+ "indexed": false,
528
+ "internalType": "bool",
529
+ "name": "isMaxAmount",
530
+ "type": "bool"
373
531
  }
374
532
  ],
375
- "name": "LogComponentWalletTokensTransferred",
533
+ "name": "LogComponentTokenHandlerApproved",
376
534
  "type": "event"
377
535
  },
378
536
  {
379
537
  "anonymous": false,
380
538
  "inputs": [
381
- {
382
- "indexed": false,
383
- "internalType": "ObjectType",
384
- "name": "objectType",
385
- "type": "uint8"
386
- },
387
- {
388
- "indexed": false,
389
- "internalType": "KeyId",
390
- "name": "keyId",
391
- "type": "bytes31"
392
- },
393
- {
394
- "indexed": false,
395
- "internalType": "StateId",
396
- "name": "state",
397
- "type": "uint8"
398
- },
399
539
  {
400
540
  "indexed": false,
401
541
  "internalType": "address",
402
- "name": "createdBy",
542
+ "name": "oldWallet",
403
543
  "type": "address"
404
544
  },
405
545
  {
406
546
  "indexed": false,
407
547
  "internalType": "address",
408
- "name": "txOrigin",
548
+ "name": "newWallet",
409
549
  "type": "address"
410
550
  }
411
551
  ],
412
- "name": "LogInfoCreated",
552
+ "name": "LogComponentWalletAddressChanged",
413
553
  "type": "event"
414
554
  },
415
555
  {
@@ -417,42 +557,49 @@
417
557
  "inputs": [
418
558
  {
419
559
  "indexed": false,
420
- "internalType": "ObjectType",
421
- "name": "objectType",
422
- "type": "uint8"
560
+ "internalType": "address",
561
+ "name": "from",
562
+ "type": "address"
423
563
  },
424
564
  {
425
565
  "indexed": false,
426
- "internalType": "KeyId",
427
- "name": "keyId",
428
- "type": "bytes31"
566
+ "internalType": "address",
567
+ "name": "to",
568
+ "type": "address"
429
569
  },
430
570
  {
431
571
  "indexed": false,
432
- "internalType": "StateId",
433
- "name": "state",
434
- "type": "uint8"
435
- },
572
+ "internalType": "uint256",
573
+ "name": "amount",
574
+ "type": "uint256"
575
+ }
576
+ ],
577
+ "name": "LogComponentWalletTokensTransferred",
578
+ "type": "event"
579
+ },
580
+ {
581
+ "anonymous": false,
582
+ "inputs": [
436
583
  {
437
584
  "indexed": false,
438
- "internalType": "address",
439
- "name": "updatedBy",
440
- "type": "address"
585
+ "internalType": "NftId",
586
+ "name": "targetNftId",
587
+ "type": "uint96"
441
588
  },
442
589
  {
443
590
  "indexed": false,
444
- "internalType": "address",
445
- "name": "txOrigin",
446
- "type": "address"
591
+ "internalType": "Seconds",
592
+ "name": "oldLockingPeriod",
593
+ "type": "uint40"
447
594
  },
448
595
  {
449
596
  "indexed": false,
450
- "internalType": "Blocknumber",
451
- "name": "lastUpdatedIn",
452
- "type": "uint32"
597
+ "internalType": "Seconds",
598
+ "name": "lockingPeriod",
599
+ "type": "uint40"
453
600
  }
454
601
  ],
455
- "name": "LogInfoUpdated",
602
+ "name": "LogStakingLockingPeriodSet",
456
603
  "type": "event"
457
604
  },
458
605
  {
@@ -460,48 +607,55 @@
460
607
  "inputs": [
461
608
  {
462
609
  "indexed": false,
463
- "internalType": "ObjectType",
464
- "name": "objectType",
465
- "type": "uint8"
610
+ "internalType": "NftId",
611
+ "name": "targetNftId",
612
+ "type": "uint96"
466
613
  },
467
614
  {
468
615
  "indexed": false,
469
- "internalType": "KeyId",
470
- "name": "keyId",
471
- "type": "bytes31"
616
+ "internalType": "UFixed",
617
+ "name": "oldRewardRate",
618
+ "type": "uint256"
472
619
  },
473
620
  {
474
621
  "indexed": false,
475
- "internalType": "StateId",
476
- "name": "stateOld",
477
- "type": "uint8"
478
- },
622
+ "internalType": "UFixed",
623
+ "name": "rewardRate",
624
+ "type": "uint256"
625
+ }
626
+ ],
627
+ "name": "LogStakingRewardRateSet",
628
+ "type": "event"
629
+ },
630
+ {
631
+ "anonymous": false,
632
+ "inputs": [
479
633
  {
480
634
  "indexed": false,
481
- "internalType": "StateId",
482
- "name": "stateNew",
483
- "type": "uint8"
635
+ "internalType": "uint256",
636
+ "name": "chainId",
637
+ "type": "uint256"
484
638
  },
485
639
  {
486
640
  "indexed": false,
487
641
  "internalType": "address",
488
- "name": "updatedBy",
642
+ "name": "token",
489
643
  "type": "address"
490
644
  },
491
645
  {
492
646
  "indexed": false,
493
- "internalType": "address",
494
- "name": "txOrigin",
495
- "type": "address"
647
+ "internalType": "UFixed",
648
+ "name": "oldStakingRate",
649
+ "type": "uint256"
496
650
  },
497
651
  {
498
652
  "indexed": false,
499
- "internalType": "Blocknumber",
500
- "name": "lastUpdatedIn",
501
- "type": "uint32"
653
+ "internalType": "UFixed",
654
+ "name": "newStakingRate",
655
+ "type": "uint256"
502
656
  }
503
657
  ],
504
- "name": "LogStateUpdated",
658
+ "name": "LogStakingStakingRateSet",
505
659
  "type": "event"
506
660
  },
507
661
  {
@@ -532,12 +686,12 @@
532
686
  },
533
687
  {
534
688
  "inputs": [],
535
- "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
689
+ "name": "GIF_RELEASE",
536
690
  "outputs": [
537
691
  {
538
- "internalType": "bytes32",
692
+ "internalType": "uint256",
539
693
  "name": "",
540
- "type": "bytes32"
694
+ "type": "uint256"
541
695
  }
542
696
  ],
543
697
  "stateMutability": "view",
@@ -545,7 +699,7 @@
545
699
  },
546
700
  {
547
701
  "inputs": [],
548
- "name": "REGISTERABLE_LOCATION_V1",
702
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
549
703
  "outputs": [
550
704
  {
551
705
  "internalType": "bytes32",
@@ -558,7 +712,7 @@
558
712
  },
559
713
  {
560
714
  "inputs": [],
561
- "name": "STAKING_LOCATION_V1",
715
+ "name": "REGISTERABLE_LOCATION_V1",
562
716
  "outputs": [
563
717
  {
564
718
  "internalType": "bytes32",
@@ -570,29 +724,29 @@
570
724
  "type": "function"
571
725
  },
572
726
  {
573
- "inputs": [
727
+ "inputs": [],
728
+ "name": "STAKING_LOCATION_V1",
729
+ "outputs": [
574
730
  {
575
- "internalType": "uint256",
576
- "name": "spendingLimitAmount",
577
- "type": "uint256"
731
+ "internalType": "bytes32",
732
+ "name": "",
733
+ "type": "bytes32"
578
734
  }
579
735
  ],
580
- "name": "approveTokenHandler",
581
- "outputs": [],
582
- "stateMutability": "nonpayable",
736
+ "stateMutability": "view",
583
737
  "type": "function"
584
738
  },
585
739
  {
586
740
  "inputs": [
587
741
  {
588
- "internalType": "address",
742
+ "internalType": "contract IERC20Metadata",
589
743
  "name": "token",
590
744
  "type": "address"
591
745
  },
592
746
  {
593
- "internalType": "uint256",
594
- "name": "spendingLimitAmount",
595
- "type": "uint256"
747
+ "internalType": "Amount",
748
+ "name": "amount",
749
+ "type": "uint96"
596
750
  }
597
751
  ],
598
752
  "name": "approveTokenHandler",
@@ -617,47 +771,19 @@
617
771
  "inputs": [
618
772
  {
619
773
  "internalType": "NftId",
620
- "name": "targetNftId",
774
+ "name": "stakeNftId",
621
775
  "type": "uint96"
622
- },
623
- {
624
- "internalType": "Timestamp",
625
- "name": "rewardsLastUpdatedAt",
626
- "type": "uint40"
627
776
  }
628
777
  ],
629
- "name": "calculateRewardIncrementAmount",
778
+ "name": "claimRewards",
630
779
  "outputs": [
631
780
  {
632
781
  "internalType": "Amount",
633
- "name": "rewardIncrementAmount",
782
+ "name": "rewardsClaimedAmount",
634
783
  "type": "uint96"
635
784
  }
636
785
  ],
637
- "stateMutability": "view",
638
- "type": "function"
639
- },
640
- {
641
- "inputs": [
642
- {
643
- "internalType": "ObjectType",
644
- "name": "objectType",
645
- "type": "uint8"
646
- },
647
- {
648
- "internalType": "StateId",
649
- "name": "fromId",
650
- "type": "uint8"
651
- },
652
- {
653
- "internalType": "StateId",
654
- "name": "toId",
655
- "type": "uint8"
656
- }
657
- ],
658
- "name": "checkTransition",
659
- "outputs": [],
660
- "stateMutability": "view",
786
+ "stateMutability": "nonpayable",
661
787
  "type": "function"
662
788
  },
663
789
  {
@@ -666,15 +792,7 @@
666
792
  "internalType": "NftId",
667
793
  "name": "stakeNftId",
668
794
  "type": "uint96"
669
- }
670
- ],
671
- "name": "claimRewards",
672
- "outputs": [],
673
- "stateMutability": "nonpayable",
674
- "type": "function"
675
- },
676
- {
677
- "inputs": [
795
+ },
678
796
  {
679
797
  "internalType": "NftId",
680
798
  "name": "targetNftId",
@@ -682,18 +800,12 @@
682
800
  },
683
801
  {
684
802
  "internalType": "Amount",
685
- "name": "dipAmount",
803
+ "name": "stakeAmount",
686
804
  "type": "uint96"
687
805
  }
688
806
  ],
689
807
  "name": "createStake",
690
- "outputs": [
691
- {
692
- "internalType": "NftId",
693
- "name": "stakeNftId",
694
- "type": "uint96"
695
- }
696
- ],
808
+ "outputs": [],
697
809
  "stateMutability": "nonpayable",
698
810
  "type": "function"
699
811
  },
@@ -715,103 +827,27 @@
715
827
  "type": "uint96"
716
828
  }
717
829
  ],
718
- "name": "decreaseTvl",
719
- "outputs": [],
720
- "stateMutability": "nonpayable",
721
- "type": "function"
722
- },
723
- {
724
- "inputs": [
725
- {
726
- "internalType": "Key32",
727
- "name": "key32",
728
- "type": "bytes32"
729
- }
730
- ],
731
- "name": "exists",
830
+ "name": "decreaseTotalValueLocked",
732
831
  "outputs": [
733
832
  {
734
- "internalType": "bool",
735
- "name": "",
736
- "type": "bool"
833
+ "internalType": "Amount",
834
+ "name": "newBalance",
835
+ "type": "uint96"
737
836
  }
738
837
  ],
739
- "stateMutability": "view",
838
+ "stateMutability": "nonpayable",
740
839
  "type": "function"
741
840
  },
742
841
  {
743
- "inputs": [
744
- {
745
- "internalType": "Key32",
746
- "name": "key32",
747
- "type": "bytes32"
748
- }
749
- ],
750
- "name": "get",
842
+ "inputs": [],
843
+ "name": "getComponentInfo",
751
844
  "outputs": [
752
845
  {
753
846
  "components": [
754
847
  {
755
- "components": [
756
- {
757
- "internalType": "ObjectType",
758
- "name": "objectType",
759
- "type": "uint8"
760
- },
761
- {
762
- "internalType": "StateId",
763
- "name": "state",
764
- "type": "uint8"
765
- },
766
- {
767
- "internalType": "address",
768
- "name": "updatedBy",
769
- "type": "address"
770
- },
771
- {
772
- "internalType": "Blocknumber",
773
- "name": "updatedIn",
774
- "type": "uint32"
775
- },
776
- {
777
- "internalType": "Blocknumber",
778
- "name": "createdIn",
779
- "type": "uint32"
780
- }
781
- ],
782
- "internalType": "struct IKeyValueStore.Metadata",
783
- "name": "metadata",
784
- "type": "tuple"
785
- },
786
- {
787
- "internalType": "bytes",
788
- "name": "data",
789
- "type": "bytes"
790
- }
791
- ],
792
- "internalType": "struct IKeyValueStore.Value",
793
- "name": "value",
794
- "type": "tuple"
795
- }
796
- ],
797
- "stateMutability": "view",
798
- "type": "function"
799
- },
800
- {
801
- "inputs": [],
802
- "name": "getComponentInfo",
803
- "outputs": [
804
- {
805
- "components": [
806
- {
807
- "internalType": "string",
808
- "name": "name",
809
- "type": "string"
810
- },
811
- {
812
- "internalType": "NftId",
813
- "name": "productNftId",
814
- "type": "uint96"
848
+ "internalType": "string",
849
+ "name": "name",
850
+ "type": "string"
815
851
  },
816
852
  {
817
853
  "internalType": "contract IERC20Metadata",
@@ -823,11 +859,6 @@
823
859
  "name": "tokenHandler",
824
860
  "type": "address"
825
861
  },
826
- {
827
- "internalType": "address",
828
- "name": "wallet",
829
- "type": "address"
830
- },
831
862
  {
832
863
  "internalType": "bytes",
833
864
  "name": "data",
@@ -842,25 +873,6 @@
842
873
  "stateMutability": "view",
843
874
  "type": "function"
844
875
  },
845
- {
846
- "inputs": [
847
- {
848
- "internalType": "Key32",
849
- "name": "key32",
850
- "type": "bytes32"
851
- }
852
- ],
853
- "name": "getData",
854
- "outputs": [
855
- {
856
- "internalType": "bytes",
857
- "name": "data",
858
- "type": "bytes"
859
- }
860
- ],
861
- "stateMutability": "view",
862
- "type": "function"
863
- },
864
876
  {
865
877
  "inputs": [],
866
878
  "name": "getInitialComponentInfo",
@@ -872,11 +884,6 @@
872
884
  "name": "name",
873
885
  "type": "string"
874
886
  },
875
- {
876
- "internalType": "NftId",
877
- "name": "productNftId",
878
- "type": "uint96"
879
- },
880
887
  {
881
888
  "internalType": "contract IERC20Metadata",
882
889
  "name": "token",
@@ -887,11 +894,6 @@
887
894
  "name": "tokenHandler",
888
895
  "type": "address"
889
896
  },
890
- {
891
- "internalType": "address",
892
- "name": "wallet",
893
- "type": "address"
894
- },
895
897
  {
896
898
  "internalType": "bytes",
897
899
  "name": "data",
@@ -956,71 +958,6 @@
956
958
  "stateMutability": "view",
957
959
  "type": "function"
958
960
  },
959
- {
960
- "inputs": [
961
- {
962
- "internalType": "ObjectType",
963
- "name": "objectType",
964
- "type": "uint8"
965
- }
966
- ],
967
- "name": "getInitialState",
968
- "outputs": [
969
- {
970
- "internalType": "StateId",
971
- "name": "",
972
- "type": "uint8"
973
- }
974
- ],
975
- "stateMutability": "view",
976
- "type": "function"
977
- },
978
- {
979
- "inputs": [
980
- {
981
- "internalType": "Key32",
982
- "name": "key32",
983
- "type": "bytes32"
984
- }
985
- ],
986
- "name": "getMetadata",
987
- "outputs": [
988
- {
989
- "components": [
990
- {
991
- "internalType": "ObjectType",
992
- "name": "objectType",
993
- "type": "uint8"
994
- },
995
- {
996
- "internalType": "StateId",
997
- "name": "state",
998
- "type": "uint8"
999
- },
1000
- {
1001
- "internalType": "address",
1002
- "name": "updatedBy",
1003
- "type": "address"
1004
- },
1005
- {
1006
- "internalType": "Blocknumber",
1007
- "name": "updatedIn",
1008
- "type": "uint32"
1009
- },
1010
- {
1011
- "internalType": "Blocknumber",
1012
- "name": "createdIn",
1013
- "type": "uint32"
1014
- }
1015
- ],
1016
- "internalType": "struct IKeyValueStore.Metadata",
1017
- "name": "metadata",
1018
- "type": "tuple"
1019
- }
1020
- ],
1021
- "stateMutability": "view",
1022
- "type": "function"
1023
- },
1024
961
  {
1025
962
  "inputs": [],
1026
963
  "name": "getName",
@@ -1073,127 +1010,40 @@
1073
1010
  "stateMutability": "view",
1074
1011
  "type": "function"
1075
1012
  },
1076
- {
1077
- "inputs": [
1078
- {
1079
- "internalType": "NftId",
1080
- "name": "targetNftId",
1081
- "type": "uint96"
1082
- }
1083
- ],
1084
- "name": "getRewardRate",
1085
- "outputs": [
1086
- {
1087
- "internalType": "UFixed",
1088
- "name": "rewardRate",
1089
- "type": "uint256"
1090
- }
1091
- ],
1092
- "stateMutability": "view",
1093
- "type": "function"
1094
- },
1095
- {
1096
- "inputs": [
1097
- {
1098
- "internalType": "NftId",
1099
- "name": "targetNftId",
1100
- "type": "uint96"
1101
- }
1102
- ],
1103
- "name": "getRewardReserves",
1104
- "outputs": [
1105
- {
1106
- "internalType": "Amount",
1107
- "name": "rewardReserveAmount",
1108
- "type": "uint96"
1109
- }
1110
- ],
1111
- "stateMutability": "view",
1112
- "type": "function"
1113
- },
1114
1013
  {
1115
1014
  "inputs": [],
1116
- "name": "getStakeInfo",
1015
+ "name": "getRelease",
1117
1016
  "outputs": [
1118
1017
  {
1119
- "internalType": "NftId",
1120
- "name": "stakeNftId",
1121
- "type": "uint96"
1018
+ "internalType": "VersionPart",
1019
+ "name": "release",
1020
+ "type": "uint8"
1122
1021
  }
1123
1022
  ],
1124
- "stateMutability": "view",
1023
+ "stateMutability": "pure",
1125
1024
  "type": "function"
1126
1025
  },
1127
1026
  {
1128
- "inputs": [
1129
- {
1130
- "internalType": "NftId",
1131
- "name": "targetNftId",
1132
- "type": "uint96"
1133
- }
1134
- ],
1135
- "name": "getStakedAmount",
1027
+ "inputs": [],
1028
+ "name": "getStakingReader",
1136
1029
  "outputs": [
1137
1030
  {
1138
- "internalType": "Amount",
1139
- "name": "stakeAmount",
1140
- "type": "uint96"
1141
- }
1142
- ],
1143
- "stateMutability": "view",
1144
- "type": "function"
1145
- },
1146
- {
1147
- "inputs": [
1148
- {
1149
- "internalType": "uint256",
1150
- "name": "chainId",
1151
- "type": "uint256"
1152
- },
1153
- {
1154
- "internalType": "address",
1155
- "name": "token",
1031
+ "internalType": "contract StakingReader",
1032
+ "name": "reader",
1156
1033
  "type": "address"
1157
1034
  }
1158
1035
  ],
1159
- "name": "getStakingRate",
1160
- "outputs": [
1161
- {
1162
- "internalType": "UFixed",
1163
- "name": "stakingRate",
1164
- "type": "uint256"
1165
- }
1166
- ],
1167
- "stateMutability": "view",
1168
- "type": "function"
1169
- },
1170
- {
1171
- "inputs": [
1172
- {
1173
- "internalType": "Key32",
1174
- "name": "key32",
1175
- "type": "bytes32"
1176
- }
1177
- ],
1178
- "name": "getState",
1179
- "outputs": [
1180
- {
1181
- "internalType": "StateId",
1182
- "name": "state",
1183
- "type": "uint8"
1184
- }
1185
- ],
1186
1036
  "stateMutability": "view",
1187
1037
  "type": "function"
1188
1038
  },
1189
1039
  {
1190
1040
  "inputs": [],
1191
- "name": "getTargetInfo",
1041
+ "name": "getStakingStore",
1192
1042
  "outputs": [
1193
1043
  {
1194
- "internalType": "NftId",
1195
- "name": "stakeNftId",
1196
- "type": "uint96"
1044
+ "internalType": "contract StakingStore",
1045
+ "name": "stakingStore",
1046
+ "type": "address"
1197
1047
  }
1198
1048
  ],
1199
1049
  "stateMutability": "view",
@@ -1226,26 +1076,15 @@
1226
1076
  "type": "function"
1227
1077
  },
1228
1078
  {
1229
- "inputs": [
1230
- {
1231
- "internalType": "NftId",
1232
- "name": "targetNftId",
1233
- "type": "uint96"
1234
- },
1079
+ "inputs": [],
1080
+ "name": "getTokenRegistryAddress",
1081
+ "outputs": [
1235
1082
  {
1236
1083
  "internalType": "address",
1237
- "name": "token",
1084
+ "name": "tokenRegistry",
1238
1085
  "type": "address"
1239
1086
  }
1240
1087
  ],
1241
- "name": "getTvlAmount",
1242
- "outputs": [
1243
- {
1244
- "internalType": "Amount",
1245
- "name": "tvlAmount",
1246
- "type": "uint96"
1247
- }
1248
- ],
1249
1088
  "stateMutability": "view",
1250
1089
  "type": "function"
1251
1090
  },
@@ -1275,25 +1114,6 @@
1275
1114
  "stateMutability": "view",
1276
1115
  "type": "function"
1277
1116
  },
1278
- {
1279
- "inputs": [
1280
- {
1281
- "internalType": "ObjectType",
1282
- "name": "objectType",
1283
- "type": "uint8"
1284
- }
1285
- ],
1286
- "name": "hasLifecycle",
1287
- "outputs": [
1288
- {
1289
- "internalType": "bool",
1290
- "name": "",
1291
- "type": "bool"
1292
- }
1293
- ],
1294
- "stateMutability": "view",
1295
- "type": "function"
1296
- },
1297
1117
  {
1298
1118
  "inputs": [
1299
1119
  {
@@ -1312,148 +1132,20 @@
1312
1132
  "type": "uint96"
1313
1133
  }
1314
1134
  ],
1315
- "name": "increaseTvl",
1316
- "outputs": [],
1317
- "stateMutability": "nonpayable",
1318
- "type": "function"
1319
- },
1320
- {
1321
- "inputs": [
1322
- {
1323
- "internalType": "address",
1324
- "name": "authority",
1325
- "type": "address"
1326
- },
1327
- {
1328
- "internalType": "address",
1329
- "name": "registry",
1330
- "type": "address"
1331
- },
1332
- {
1333
- "internalType": "NftId",
1334
- "name": "parentNftId",
1335
- "type": "uint96"
1336
- },
1337
- {
1338
- "internalType": "string",
1339
- "name": "name",
1340
- "type": "string"
1341
- },
1342
- {
1343
- "internalType": "address",
1344
- "name": "token",
1345
- "type": "address"
1346
- },
1347
- {
1348
- "internalType": "ObjectType",
1349
- "name": "componentType",
1350
- "type": "uint8"
1351
- },
1352
- {
1353
- "internalType": "bool",
1354
- "name": "isInterceptor",
1355
- "type": "bool"
1356
- },
1357
- {
1358
- "internalType": "address",
1359
- "name": "initialOwner",
1360
- "type": "address"
1361
- },
1362
- {
1363
- "internalType": "bytes",
1364
- "name": "registryData",
1365
- "type": "bytes"
1366
- },
1367
- {
1368
- "internalType": "bytes",
1369
- "name": "componentData",
1370
- "type": "bytes"
1371
- }
1372
- ],
1373
- "name": "initializeComponent",
1374
- "outputs": [],
1375
- "stateMutability": "nonpayable",
1376
- "type": "function"
1377
- },
1378
- {
1379
- "inputs": [],
1380
- "name": "initializeERC165",
1381
- "outputs": [],
1382
- "stateMutability": "nonpayable",
1383
- "type": "function"
1384
- },
1385
- {
1386
- "inputs": [],
1387
- "name": "initializeLifecycle",
1388
- "outputs": [],
1389
- "stateMutability": "nonpayable",
1390
- "type": "function"
1391
- },
1392
- {
1393
- "inputs": [
1394
- {
1395
- "internalType": "address",
1396
- "name": "initialOwner",
1397
- "type": "address"
1398
- },
1399
- {
1400
- "internalType": "address",
1401
- "name": "registryAddress",
1402
- "type": "address"
1403
- }
1404
- ],
1405
- "name": "initializeNftOwnable",
1406
- "outputs": [],
1407
- "stateMutability": "nonpayable",
1408
- "type": "function"
1409
- },
1410
- {
1411
- "inputs": [
1412
- {
1413
- "internalType": "address",
1414
- "name": "registryAddress",
1415
- "type": "address"
1416
- },
1417
- {
1418
- "internalType": "NftId",
1419
- "name": "parentNftId",
1420
- "type": "uint96"
1421
- },
1422
- {
1423
- "internalType": "ObjectType",
1424
- "name": "objectType",
1425
- "type": "uint8"
1426
- },
1427
- {
1428
- "internalType": "bool",
1429
- "name": "isInterceptor",
1430
- "type": "bool"
1431
- },
1432
- {
1433
- "internalType": "address",
1434
- "name": "initialOwner",
1435
- "type": "address"
1436
- },
1437
- {
1438
- "internalType": "bytes",
1439
- "name": "registryData",
1440
- "type": "bytes"
1441
- }
1442
- ],
1443
- "name": "initializeRegisterable",
1444
- "outputs": [],
1445
- "stateMutability": "nonpayable",
1446
- "type": "function"
1447
- },
1448
- {
1449
- "inputs": [
1135
+ "name": "increaseTotalValueLocked",
1136
+ "outputs": [
1450
1137
  {
1451
- "internalType": "address",
1452
- "name": "registryAddress",
1453
- "type": "address"
1138
+ "internalType": "Amount",
1139
+ "name": "newBalance",
1140
+ "type": "uint96"
1454
1141
  }
1455
1142
  ],
1456
- "name": "initializeRegistryLinked",
1143
+ "stateMutability": "nonpayable",
1144
+ "type": "function"
1145
+ },
1146
+ {
1147
+ "inputs": [],
1148
+ "name": "initializeTokenHandler",
1457
1149
  "outputs": [],
1458
1150
  "stateMutability": "nonpayable",
1459
1151
  "type": "function"
@@ -1515,57 +1207,16 @@
1515
1207
  "stateMutability": "view",
1516
1208
  "type": "function"
1517
1209
  },
1518
- {
1519
- "inputs": [
1520
- {
1521
- "internalType": "ObjectType",
1522
- "name": "objectType",
1523
- "type": "uint8"
1524
- },
1525
- {
1526
- "internalType": "StateId",
1527
- "name": "fromId",
1528
- "type": "uint8"
1529
- },
1530
- {
1531
- "internalType": "StateId",
1532
- "name": "toId",
1533
- "type": "uint8"
1534
- }
1535
- ],
1536
- "name": "isValidTransition",
1537
- "outputs": [
1538
- {
1539
- "internalType": "bool",
1540
- "name": "",
1541
- "type": "bool"
1542
- }
1543
- ],
1544
- "stateMutability": "view",
1545
- "type": "function"
1546
- },
1547
1210
  {
1548
1211
  "inputs": [],
1549
1212
  "name": "linkToRegisteredNftId",
1550
- "outputs": [],
1551
- "stateMutability": "nonpayable",
1552
- "type": "function"
1553
- },
1554
- {
1555
- "inputs": [
1556
- {
1557
- "internalType": "address",
1558
- "name": "to",
1559
- "type": "address"
1560
- },
1213
+ "outputs": [
1561
1214
  {
1562
- "internalType": "uint256",
1563
- "name": "tokenId",
1564
- "type": "uint256"
1215
+ "internalType": "NftId",
1216
+ "name": "nftId",
1217
+ "type": "uint96"
1565
1218
  }
1566
1219
  ],
1567
- "name": "nftMint",
1568
- "outputs": [],
1569
1220
  "stateMutability": "nonpayable",
1570
1221
  "type": "function"
1571
1222
  },
@@ -1585,6 +1236,11 @@
1585
1236
  "internalType": "uint256",
1586
1237
  "name": "tokenId",
1587
1238
  "type": "uint256"
1239
+ },
1240
+ {
1241
+ "internalType": "address",
1242
+ "name": "operator",
1243
+ "type": "address"
1588
1244
  }
1589
1245
  ],
1590
1246
  "name": "nftTransferFrom",
@@ -1606,20 +1262,13 @@
1606
1262
  }
1607
1263
  ],
1608
1264
  "name": "refillRewardReserves",
1609
- "outputs": [],
1610
- "stateMutability": "nonpayable",
1611
- "type": "function"
1612
- },
1613
- {
1614
- "inputs": [
1265
+ "outputs": [
1615
1266
  {
1616
- "internalType": "bytes4",
1617
- "name": "interfaceId",
1618
- "type": "bytes4"
1267
+ "internalType": "Amount",
1268
+ "name": "newBalance",
1269
+ "type": "uint96"
1619
1270
  }
1620
1271
  ],
1621
- "name": "registerInterface",
1622
- "outputs": [],
1623
1272
  "stateMutability": "nonpayable",
1624
1273
  "type": "function"
1625
1274
  },
@@ -1632,11 +1281,6 @@
1632
1281
  },
1633
1282
  {
1634
1283
  "components": [
1635
- {
1636
- "internalType": "NftId",
1637
- "name": "targetNftid",
1638
- "type": "uint96"
1639
- },
1640
1284
  {
1641
1285
  "internalType": "ObjectType",
1642
1286
  "name": "objectType",
@@ -1648,9 +1292,14 @@
1648
1292
  "type": "uint256"
1649
1293
  },
1650
1294
  {
1651
- "internalType": "address",
1652
- "name": "token",
1653
- "type": "address"
1295
+ "internalType": "Seconds",
1296
+ "name": "lockingPeriod",
1297
+ "type": "uint40"
1298
+ },
1299
+ {
1300
+ "internalType": "UFixed",
1301
+ "name": "rewardRate",
1302
+ "type": "uint256"
1654
1303
  }
1655
1304
  ],
1656
1305
  "internalType": "struct IStaking.TargetInfo",
@@ -1669,6 +1318,26 @@
1669
1318
  "internalType": "NftId",
1670
1319
  "name": "targetNftId",
1671
1320
  "type": "uint96"
1321
+ },
1322
+ {
1323
+ "internalType": "ObjectType",
1324
+ "name": "expectedObjectType",
1325
+ "type": "uint8"
1326
+ },
1327
+ {
1328
+ "internalType": "uint256",
1329
+ "name": "chainId",
1330
+ "type": "uint256"
1331
+ },
1332
+ {
1333
+ "internalType": "Seconds",
1334
+ "name": "initialLockingPeriod",
1335
+ "type": "uint40"
1336
+ },
1337
+ {
1338
+ "internalType": "UFixed",
1339
+ "name": "initialRewardRate",
1340
+ "type": "uint256"
1672
1341
  }
1673
1342
  ],
1674
1343
  "name": "registerTarget",
@@ -1682,28 +1351,21 @@
1682
1351
  "internalType": "NftId",
1683
1352
  "name": "stakeNftId",
1684
1353
  "type": "uint96"
1685
- }
1686
- ],
1687
- "name": "restakeRewards",
1688
- "outputs": [],
1689
- "stateMutability": "nonpayable",
1690
- "type": "function"
1691
- },
1692
- {
1693
- "inputs": [
1354
+ },
1694
1355
  {
1695
1356
  "internalType": "NftId",
1696
- "name": "stakeNftId",
1357
+ "name": "newTargetNftId",
1697
1358
  "type": "uint96"
1698
- },
1359
+ }
1360
+ ],
1361
+ "name": "restake",
1362
+ "outputs": [
1699
1363
  {
1700
1364
  "internalType": "NftId",
1701
- "name": "newTarget",
1365
+ "name": "newStakeNftId",
1702
1366
  "type": "uint96"
1703
1367
  }
1704
1368
  ],
1705
- "name": "restakeToNewTarget",
1706
- "outputs": [],
1707
1369
  "stateMutability": "nonpayable",
1708
1370
  "type": "function"
1709
1371
  },
@@ -1720,6 +1382,24 @@
1720
1382
  "stateMutability": "nonpayable",
1721
1383
  "type": "function"
1722
1384
  },
1385
+ {
1386
+ "inputs": [
1387
+ {
1388
+ "internalType": "NftId",
1389
+ "name": "targetNftId",
1390
+ "type": "uint96"
1391
+ },
1392
+ {
1393
+ "internalType": "Seconds",
1394
+ "name": "lockingPeriod",
1395
+ "type": "uint40"
1396
+ }
1397
+ ],
1398
+ "name": "setLockingPeriod",
1399
+ "outputs": [],
1400
+ "stateMutability": "nonpayable",
1401
+ "type": "function"
1402
+ },
1723
1403
  {
1724
1404
  "inputs": [
1725
1405
  {
@@ -1764,12 +1444,12 @@
1764
1444
  {
1765
1445
  "inputs": [
1766
1446
  {
1767
- "internalType": "address",
1768
- "name": "newWallet",
1447
+ "internalType": "contract StakingReader",
1448
+ "name": "stakingReader",
1769
1449
  "type": "address"
1770
1450
  }
1771
1451
  ],
1772
- "name": "setWallet",
1452
+ "name": "setStakingReader",
1773
1453
  "outputs": [],
1774
1454
  "stateMutability": "nonpayable",
1775
1455
  "type": "function"
@@ -1783,12 +1463,18 @@
1783
1463
  },
1784
1464
  {
1785
1465
  "internalType": "Amount",
1786
- "name": "dipAmount",
1466
+ "name": "stakeAmount",
1787
1467
  "type": "uint96"
1788
1468
  }
1789
1469
  ],
1790
1470
  "name": "stake",
1791
- "outputs": [],
1471
+ "outputs": [
1472
+ {
1473
+ "internalType": "Amount",
1474
+ "name": "stakeBalance",
1475
+ "type": "uint96"
1476
+ }
1477
+ ],
1792
1478
  "stateMutability": "nonpayable",
1793
1479
  "type": "function"
1794
1480
  },
@@ -1814,55 +1500,24 @@
1814
1500
  {
1815
1501
  "inputs": [
1816
1502
  {
1817
- "internalType": "ObjectType",
1818
- "name": "objectType",
1819
- "type": "uint8"
1820
- },
1821
- {
1822
- "internalType": "KeyId",
1823
- "name": "id",
1824
- "type": "bytes31"
1503
+ "internalType": "NftId",
1504
+ "name": "stakeNftId",
1505
+ "type": "uint96"
1825
1506
  }
1826
1507
  ],
1827
- "name": "toKey32",
1508
+ "name": "unstake",
1828
1509
  "outputs": [
1829
1510
  {
1830
- "internalType": "Key32",
1831
- "name": "",
1832
- "type": "bytes32"
1833
- }
1834
- ],
1835
- "stateMutability": "pure",
1836
- "type": "function"
1837
- },
1838
- {
1839
- "inputs": [
1840
- {
1841
- "internalType": "NftId",
1842
- "name": "stakeNftId",
1511
+ "internalType": "Amount",
1512
+ "name": "unstakedAmount",
1843
1513
  "type": "uint96"
1844
1514
  },
1845
1515
  {
1846
1516
  "internalType": "Amount",
1847
- "name": "dipAmount",
1848
- "type": "uint96"
1849
- }
1850
- ],
1851
- "name": "unstake",
1852
- "outputs": [],
1853
- "stateMutability": "nonpayable",
1854
- "type": "function"
1855
- },
1856
- {
1857
- "inputs": [
1858
- {
1859
- "internalType": "NftId",
1860
- "name": "stakeNftId",
1517
+ "name": "rewardsClaimedAmount",
1861
1518
  "type": "uint96"
1862
1519
  }
1863
1520
  ],
1864
- "name": "unstake",
1865
- "outputs": [],
1866
1521
  "stateMutability": "nonpayable",
1867
1522
  "type": "function"
1868
1523
  },
@@ -1889,6 +1544,19 @@
1889
1544
  "stateMutability": "nonpayable",
1890
1545
  "type": "function"
1891
1546
  },
1547
+ {
1548
+ "inputs": [
1549
+ {
1550
+ "internalType": "NftId",
1551
+ "name": "stakeNftId",
1552
+ "type": "uint96"
1553
+ }
1554
+ ],
1555
+ "name": "updateRewards",
1556
+ "outputs": [],
1557
+ "stateMutability": "nonpayable",
1558
+ "type": "function"
1559
+ },
1892
1560
  {
1893
1561
  "inputs": [
1894
1562
  {
@@ -1916,71 +1584,105 @@
1916
1584
  }
1917
1585
  ],
1918
1586
  "name": "withdrawRewardReserves",
1919
- "outputs": [],
1587
+ "outputs": [
1588
+ {
1589
+ "internalType": "Amount",
1590
+ "name": "newBalance",
1591
+ "type": "uint96"
1592
+ }
1593
+ ],
1920
1594
  "stateMutability": "nonpayable",
1921
1595
  "type": "function"
1922
1596
  }
1923
1597
  ],
1924
- "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b61474780620000e66000396000f3fe60806040523480156200001157600080fd5b5060043610620004755760003560e01c80636c0a81911162000259578063bb1e0e591162000149578063e9e96c7011620000c7578063f48016ce1162000092578063f48016ce1462000c01578063f57f4aaa1462000893578063f67fef6d1462000646578063f7c34ee01462000c18578063f8bf0d9f1462000c2f57600080fd5b8063e9e96c701462000b6e578063ea15869f1462000b85578063ecd6bf3c1462000b9c578063f43a39191462000bb357600080fd5b8063dea4ccf21162000114578063dea4ccf214620007f9578063deaa59df1462000b29578063e7f7fb861462000b40578063e8ce883d1462000646578063e904ec661462000b5757600080fd5b8063bb1e0e591462000adb578063bf1db3f91462000af2578063bf7e214f1462000b09578063de0eb85f146200064657600080fd5b80638eaa6ac011620001d75780639a72636411620001a25780639a72636414620009dc578063a5961b4c14620009ed578063a89896751462000aa3578063ada9652e1462000aba578063b423086c1462000ad157600080fd5b80638eaa6ac014620009625780638fb36037146200098857806390edbd3514620009ac578063958697a014620009c557600080fd5b806374a4030f116200022457806374a4030f14620008935780637a9e5e4b146200089b5780637b21556114620008b2578063806b5ece146200090a578063893d20e8146200095857600080fd5b80636c0a819114620007f95780636c1e9dff146200064657806370ed62c71462000882578063719f761a14620007f957600080fd5b80632a80f673116200037557806351d3417e11620002f35780635e0dacca11620002be5780635e0dacca14620007f9578063614d08f8146200080d578063644c45e01462000834578063675393bf146200085457806369aff9af146200086b57600080fd5b806351d3417e146200076357806354f6127f14620007c65780635741e5e914620007dd5780635ab1bd5314620007e757600080fd5b806338a699a4116200034057806338a699a414620006ef57806343d752d31462000706578063468bce06146200071057806349bb9e4b146200071a5780634dd84ff7146200073157600080fd5b80632a80f6731462000672578063329d6e741462000683578063346b1db4146200069a57806336fc697e14620006e557600080fd5b8063160e4b1f116200040357806321df0da711620003ce57806321df0da7146200063257806322366844146200063c57806326889b09146200064657806327415b7e14620005c457806327bb7a33146200065b57600080fd5b8063160e4b1f14620005c457806317d7de7c14620005da5780631eff4b2214620005f3578063214cdb80146200061b57600080fd5b80630d8e6e2c11620004445780630d8e6e2c146200055d5780630fec111c146200057c578063132996041462000595578063138461e014620005b857600080fd5b806301ffc9a7146200047a578063062c9cdf14620004bf57806309648a9d14620004f65780630d3581811462000534575b600080fd5b620004aa6200048b3660046200336b565b6001600160e01b03191660009081526003602052604090205460ff1690565b60405190151581526020015b60405180910390f35b620004e77fafe8d4462b2ed26a47154f4b8f6d1497d2f772496965791d25bd456e342b7f0081565b604051908152602001620004b6565b620005216200050736600462003397565b600090815260026020526040902054610100900460ff1690565b60405160ff9091168152602001620004b6565b6200052162000545366004620033d3565b60ff9081166000908152602081905260409020541690565b6200056762000c46565b60405162ffffff9091168152602001620004b6565b6200058662000cd3565b604051620004b6919062003447565b6200059f62000ea4565b6040516001600160a01b039091168152602001620004b6565b620005c262000eb9565b005b620005c2620005d53660046200351b565b505050565b620005e4620010ce565b604051620004b691906200356d565b620004e77f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b620005c26200062c3660046200336b565b620010e0565b6200059f6200110f565b620004aa62001124565b620005c26200065736600462003582565b5050565b620005c26200066c366004620036d6565b62001226565b620005c2620006573660046200377c565b620005c262000694366004620037ab565b620012d1565b620004e7620006ab366004620037e3565b6001600160601b031660009081527fafe8d4462b2ed26a47154f4b8f6d1497d2f772496965791d25bd456e342b7f01602052604090205490565b620005c262001429565b620004aa6200070036600462003397565b62001471565b6200059f62001505565b620005c26200151a565b620005c26200072b36600462003803565b62001558565b6200074a6200074236600462003858565b600092915050565b6040516001600160601b039091168152602001620004b6565b6200074a6200077436600462003894565b6001600160601b0391821660009081527fafe8d4462b2ed26a47154f4b8f6d1497d2f772496965791d25bd456e342b7f04602090815260408083206001600160a01b0394909416835292905220541690565b620005e4620007d736600462003397565b62001660565b620004aa6200170d565b6004546001600160a01b03166200059f565b620005c26200080a366004620037e3565b50565b620005e4604051806040016040528060078152602001665374616b696e6760c81b81525081565b60008051602062004692833981519152546001600160601b03166200074a565b620005c262000865366004620038c7565b620017cc565b620005c26200087c36600462003397565b620018e2565b6200074a6200074236600462003582565b60006200074a565b620005c2620008ac366004620038c7565b62001936565b620004e7620008c3366004620038e7565b60009182527fafe8d4462b2ed26a47154f4b8f6d1497d2f772496965791d25bd456e342b7f00602090815260408084206001600160a01b0393909316845291905290205490565b6200074a6200091b366004620037e3565b6001600160601b0390811660009081527fafe8d4462b2ed26a47154f4b8f6d1497d2f772496965791d25bd456e342b7f0360205260409020541690565b6200059f620019d8565b620009796200097336600462003397565b62001b17565b604051620004b6919062003959565b6200099262001c60565b6040516001600160e01b03199091168152602001620004b6565b620009b662001c9b565b604051620004b6919062003989565b620005c2620009d63660046200351b565b62001cc9565b620005c2620009d636600462003a10565b62000a94620009fe36600462003397565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260026020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b604051620004b6919062003a4b565b620005c262000ab436600462003a5b565b62001d08565b620004e76000805160206200469283398151915281565b620009b662001dff565b620005c262000aec36600462003aa2565b62001e13565b620004aa62000b03366004620033d3565b62001eb7565b600080516020620046d2833981519152546001600160a01b03166200059f565b620005c262000b3a366004620038c7565b62001f05565b620005c262000b5136600462003ac3565b620021a3565b620005c262000b6836600462003aa2565b62002247565b620004aa62000b7f36600462003a5b565b62002398565b620004e7600080516020620046b283398151915281565b620005c262000bad36600462003af8565b620023cc565b6200074a62000bc4366004620037e3565b6001600160601b0390811660009081527fafe8d4462b2ed26a47154f4b8f6d1497d2f772496965791d25bd456e342b7f0260205260409020541690565b620004e762000c1236600462003ba9565b6200240b565b620005c262000c2936600462003be2565b62002491565b620005c262000c4036600462003c03565b62002510565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af415801562000ca8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000cce919062003d19565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801562000d88573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000dae919062003d4d565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00162000df8620019d8565b6001600160a01b0316815260200182600101805462000e179062003d6d565b80601f016020809104026020016040519081016040528092919081815260200182805462000e459062003d6d565b801562000e965780601f1062000e6a5761010080835404028352916020019162000e96565b820191906000526020600020905b81548152906001019060200180831162000e7857829003601f168201915b505050505081525091505090565b600062000eb062001c9b565b60800151905090565b60006000805160206200469283398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801562000f2a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000f50919062003db6565b1562000f825780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b3062000f966004546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801562000fdf573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001005919062003db6565b6200102f5760405163b9304b0d60e01b81526001600160a01b038216600482015260240162000f79565b6004546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa15801562001084573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620010aa919062003d4d565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6060620010da62001c9b565b51919050565b620010ea62002630565b6001600160e01b0319166000908152600360205260409020805460ff19166001179055565b60006200111b62001c9b565b60400151905090565b6000620011396004546001600160a01b031690565b604051636939560f60e11b81523060048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa15801562001180573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620011a6919062003d4d565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801562001200573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000cce919062003db6565b6200123062002630565b6200123c828762002491565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301620012c7838262003e28565b5050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c620012f562000c46565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af415801562001336573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200135c919062003ef4565b600080516020620046f28339815191528054600160401b900460ff168062001391575080546001600160401b03808416911610155b15620013b05760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155620013dc8362002669565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a1505050565b6200143362002630565b6301ffc9a760e01b60005260036020527f28b0ef64f7e82d3b26f3fd404bd0151552f792965f39c29ae82c0a78df67af9c805460ff19166001179055565b60008181526002602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf906024015b602060405180830381865af4158015620014d9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620014ff919062003db6565b92915050565b60006200151162001c9b565b60600151905090565b6200152462002630565b6200152e62002673565b6200153862002797565b620015426200288b565b6200154c620029c3565b6200155662002af0565b565b600080516020620046f28339815191528054600160401b810460ff1615906001600160401b03166000811580156200158d5750825b90506000826001600160401b03166001148015620015aa5750303b155b905081158015620015b9575080155b15620015d85760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156200160357845460ff60401b1916600160401b1785555b6200160f878762002bac565b83156200165757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6000818152600260205260409020600101805460609190620016829062003d6d565b80601f0160208091040260200160405190810160405280929190818152602001828054620016b09062003d6d565b8015620017015780601f10620016d55761010080835404028352916020019162001701565b820191906000526020600020905b815481529060010190602001808311620016e357829003601f168201915b50505050509050919050565b60006200171962001124565b156200179c576004546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f090602401600060405180830381865afa15801562001772573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001511919081019062003f85565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0354600160a01b900460ff1690565b620017d662002630565b806001600160a01b03163b6000036200180e5760405163fdeac91f60e01b81526001600160a01b038216600482015260240162000f79565b600480546001600160a01b0319166001600160a01b03831690811782556040516301ffc9a760e01b815263256dc24d60e21b92810192909252906301ffc9a790602401602060405180830381865afa9250505080156200188d575060408051601f3d908101601f191682019092526200188a9181019062003db6565b60015b620018b75760405163fdeac91f60e01b81526001600160a01b038216600482015260240162000f79565b80620006575760405163fdeac91f60e01b81526001600160a01b038316600482015260240162000f79565b620018ec620019d8565b6001600160a01b0316336001600160a01b031614620019215760405163086391f760e31b815233600482015260240162000f79565b6200080a6200192f6200110f565b8262002247565b3362001958600080516020620046d2833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614620019955760405162d1953b60e31b81526001600160a01b038216600482015260240162000f79565b816001600160a01b03163b600003620019cd576040516361798f2f60e11b81526001600160a01b038316600482015260240162000f79565b620006578262002d94565b6000806000805160206200469283398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801562001a4a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001a70919062003db6565b1562001b01576004546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801562001ad5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001afb91906200406b565b91505090565b54600160601b90046001600160a01b0316919050565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260026020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c0820152928352600181018054919284019162001bd19062003d6d565b80601f016020809104026020016040519081016040528092919081815260200182805462001bff9062003d6d565b801562001c505780601f1062001c245761010080835404028352916020019162001c50565b820191906000526020600020905b81548152906001019060200180831162001c3257829003601f168201915b5050505050815250509050919050565b600080516020620046d2833981519152805460009190600160a01b900460ff1662001c8d57600062001afb565b638fb3603760e01b91505090565b62001ca562003303565b62001caf62001124565b1562001cbf5762000cce62002df0565b62000cce62001dff565b62001cd3620019d8565b6001600160a01b0316336001600160a01b031614620005d55760405163086391f760e31b815233600482015260240162000f79565b60ff8381166000908152602081905260409081902054905163037c8cb160e51b81529116600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af415801562001d6e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001d94919062003db6565b1562001d9f57505050565b60ff808416600090815260016020908152604080832086851684528252808320858516845290915290205416620005d557604051636bb20ea760e01b815260ff808516600483015280841660248301528216604482015260640162000f79565b62001e0962003303565b62000cce62002df0565b6004546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001e5d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001e8391906200406b565b6001600160a01b0316336001600160a01b031614620006575760405162f0630960e01b815233600482015260240162000f79565b60ff81811660009081526020819052604080822054905163b2466acf60e01b8152921660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401620014bb565b62001f0f620019d8565b6001600160a01b0316336001600160a01b03161462001f445760405163086391f760e31b815233600482015260240162000f79565b600062001f5062000ea4565b9050600062001f5e6200110f565b6040516370a0823160e01b81526001600160a01b0384811660048301529192506000918316906370a0823190602401602060405180830381865afa15801562001fab573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001fd191906200408b565b90508015620020aa576001600160a01b0383163014620020aa57604051636eb1769f60e11b81526001600160a01b0384811660048301523060248301526000919084169063dd62ed3e90604401602060405180830381865afa1580156200203c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200206291906200408b565b905081811015620020a8576040516372c963b360e11b81526001600160a01b03808616600483015286166024820152604481018290526064810183905260840162000f79565b505b620020b58462002f71565b80156200219d57306001600160a01b03841603620021435760405163095ea7b360e01b8152306004820152602481018290526001600160a01b0383169063095ea7b3906044016020604051808303816000875af11580156200211b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002141919062003db6565b505b62002151828486846200305e565b604080516001600160a01b038086168252861660208201529081018290527f8f925ed35e36754081a3353f30c5686c405280f94d1cfe322ee5707833d898679060600160405180910390a15b50505050565b6004546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015620021ed573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200221391906200406b565b6001600160a01b0316336001600160a01b031614620005d55760405162f0630960e01b815233600482015260240162000f79565b62002251620019d8565b6001600160a01b0316336001600160a01b031614620022865760405163086391f760e31b815233600482015260240162000f79565b306200229162000ea4565b6001600160a01b031614620022b95760405163b6d7537f60e01b815260040160405180910390fd5b816001600160a01b031663095ea7b3620022d262001505565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af115801562002320573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002346919062003db6565b507f2384a42fdaabc7c18091b047d32d817d2ead07cae899963c6bcf9ab42aff85d46200237262001505565b604080516001600160a01b03909216825260208201849052015b60405180910390a15050565b60ff8084166000908152600160209081526040808320868516845282528083208585168452909152902054165b9392505050565b620023d6620019d8565b6001600160a01b0316336001600160a01b031614620006575760405163086391f760e31b815233600482015260240162000f79565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$4b9aaffa8d044614668dad578b824b8eee$__9063f48016ce90604401602060405180830381865af41580156200246b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620023c591906200408b565b6200249b62002630565b620024a681620017cc565b620024b062001429565b6001600160a01b038216620024d85760405163f17ef42d60e01b815260040160405180910390fd5b506000805160206200469283398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6200251a62002630565b6200252a89898787878762001226565b620025358a620030ba565b6001600160a01b0386166200255d576040516327eab2e360e11b815260040160405180910390fd5b8651600003620025805760405163591eebf360e11b815260040160405180910390fd5b600080516020620046b2833981519152806200259d898262003e28565b506001810180546001600160a01b03199081166001600160a01b038a161790915560028201805490911690556003810180546001600160a81b0319163060ff60a01b191617600160a01b8715150217905560048101620025fe838262003e28565b5062002611634a531f3360e01b620010e0565b6200262363100951f160e31b620010e0565b5050505050505050505050565b600080516020620046f283398151915254600160401b900460ff166200155657604051631afcd79f60e31b815260040160405180910390fd5b6200047562002630565b7f5bd290414b404036f9d63146803dd83b59a8e1905062a5bfed8b0154d20a390d8054606460ff19918216179091557f1578fb1f3721b6c33cae7dfcd025f5660361b090d8a17dcf8a744763f22d32ff8054821660019081179091557f47ebb928e225b2cdc8d8e0079f8da9b87d2bc15cc37a8c27842a5c925baa8b1e80548316821790557ffe60dc71e2c842ec11550e74a003d6f707c74c3b19b04c1b0700bc0fd9efd9508054909216811790915560dc600090815260208290527f81c2bf9f7c6e8ac9bd8bcd9d323e94b867d2f5054aff8759d884773c680ec1ec90606e5b60ff1660ff16815260200190815260200160002060006200277360c890565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b7f9db7038e59677010ca8f72fa448bad1b4f3c53346b666689163ccac31db467728054606460ff1991821681179092557f1a3062e9a24818c8281fcfb58ec4f3083a2f9a1314ac63f80d8d646661fdc50980548216600190811790915560008381527fc884cae9155e1829c27543e26ecbb72f79fe3a85ba4df2c4a97ad5806356754d6020527f2916767ac794614810c43d6c0837244e8b2c8d3f3c02376a214f465d6841db5680549093168217909255918291905b60ff1660ff16815260200190815260200160002060006200286c606e90565b60ff1660ff16815260200190815260200160002060006200277360d290565b7fa57aae0b1e878b4cf2d1f237d2c6d245fa2af12f527cffc45e0a81d7b3c46abe8054600a60ff19918216179091557f10d8f68d28031156bb5a2007a6e7fc1ff769776115bd307e1d3f2901ec220eef8054821660019081179091557f71e0ce7e96b0b9ecf53c20706f5891c8e9bb320060393406400136d7ab1db61e80548316821790557f3aa5c1a82b8afaca3213d4302f465dcc339ab680e61c71830f7d9c441c63328380548316821790557ff9240d619fae1c941eaa4888cff36b0b9489ef130bdb7c814fd3a0e301d8ad1f80548316821790557f59d2febd485ffaba948645e520694e9996f0c229c4a10430d07956b599b172538054909216811790915560d3600090815260208290527f7415b658af57d740454b01d91722f71a360db8fdd5ec2a068a92c37e2bc3b1d690606462002754565b7f41d63e1348ead7043feb8677b52ff813a7a3d573fdf99c917846a69e8e7b7e60805460ff199081166032179091557f378c5573ee3453f5c9f5c7aa83b807835ecb097b5151d641746b59340336b67d8054821660019081179091557f7f4fc20c9070f9c8378783c3022311e08af436d0fea4b913fe0bbde88023d12680548316821790557ff6e14778b29b20f68b5cc5186c105c44b748bec78fd85e0b2ec52bc8586d6a6b80548316821790557fb9ec96904d3ea9e7b01f30f8b9a841d70b77145e37a183ebdbba2b0733adc0ec8054603c93168317905560009182527f77835ececcc7e965708390fdc28b7c7141b063a8a849f3954f1d294d07730184602052907f5e9b6496c2ea16de03007cb0b49643b7231addd52c0cee66d8556b1dd66622a19060dc62002773565b7fc5f2c791ab4e0b1a0b6c600884b07e98575b00ebd7c3166c4272a53bebf714038054606460ff1991821681179092557f66482ac56acdda5113badf732cc46c284136d9d6378a671ac129cd298ff5f96780548216600190811790915560009283527f47d871bf8fdbdfc3d809d1454103f6ff238aad0f5cefde0353363b9e415ef6a76020527ff2de5750d5c9f412b7907640f68a5258fe3f903dfd0cd25c2ea235b23cc926958054909216811790915590819060c86200284d565b600080516020620046f28339815191528054600160401b810460ff1615906001600160401b031660008115801562002be15750825b90506000826001600160401b0316600114801562002bfe5750303b155b90508115801562002c0d575080155b1562002c2c5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831562002c5757845460ff60401b1916600160401b1785555b6000806000808980602001905181019062002c739190620040a5565b935093509350935062002d308484856001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002cc0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002ce6919062003d4d565b6040805180820190915260078152665374616b696e6760c81b602082015286602d600088604051806020016040528060008152506040518060200160405280600081525062002510565b62002d3a620030cf565b62002d4c6339dee94960e01b620010e0565b5050505083156200165757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020016200164e565b600080516020620046d283398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad906020016200238c565b62002dfa62003303565b6000600080516020620046b283398151915290506040518060c0016040528082600001805462002e2a9062003d6d565b80601f016020809104026020016040519081016040528092919081815260200182805462002e589062003d6d565b801562002ea95780601f1062002e7d5761010080835404028352916020019162002ea9565b820191906000526020600020905b81548152906001019060200180831162002e8b57829003601f168201915b5050505050815260200173__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801562002efd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002f23919062003d4d565b6001600160601b0316815260018301546001600160a01b039081166020830152600284015481166040830152600384015416606082015260048301805460809092019162000e179062003d6d565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0354600080516020620046b2833981519152906001600160a01b0390811690831662002fd05760405163185a690f60e11b815260040160405180910390fd5b806001600160a01b0316836001600160a01b031603620030035760405163ade4578160e01b815260040160405180910390fd5b6003820180546001600160a01b0319166001600160a01b0385811691821790925560408051928416835260208301919091527f610ad1290dceadae2c5ce18bae2eb495be595083a257fac7414e50686f7c265091016200141c565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526200219d9085906200316d565b620030c462002630565b6200080a81620031d7565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0154604051600080516020620046b2833981519152916001600160a01b0316906200311a906200335d565b6001600160a01b039091168152602001604051809103906000f08015801562003147573d6000803e3d6000fd5b5060029190910180546001600160a01b0319166001600160a01b03909216919091179055565b6000620031846001600160a01b03841683620031ec565b90508051600014158015620031ac575080806020019051810190620031aa919062003db6565b155b15620005d557604051635274afe760e01b81526001600160a01b038416600482015260240162000f79565b620031e162002630565b6200080a8162002d94565b6060620023c58383600084600080856001600160a01b031684866040516200321591906200410d565b60006040518083038185875af1925050503d806000811462003254576040519150601f19603f3d011682016040523d82523d6000602084013e62003259565b606091505b50915091506200326b86838362003275565b9695505050505050565b6060826200328e576200328882620032d9565b620023c5565b8151158015620032a657506001600160a01b0384163b155b15620032d157604051639996b31560e01b81526001600160a01b038516600482015260240162000f79565b5080620023c5565b805115620032ea5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6040518060c001604052806060815260200160006001600160601b0316815260200160006001600160a01b0316815260200160006001600160a01b0316815260200160006001600160a01b03168152602001606081525090565b610566806200412c83390190565b6000602082840312156200337e57600080fd5b81356001600160e01b031981168114620023c557600080fd5b600060208284031215620033aa57600080fd5b5035919050565b60ff811681146200080a57600080fd5b8035620033ce81620033b1565b919050565b600060208284031215620033e657600080fd5b8135620023c581620033b1565b60005b8381101562003410578181015183820152602001620033f6565b50506000910152565b6000815180845262003433816020860160208601620033f3565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151620034b160c08401826001600160a01b03169052565b5060c083015160e080840152620034cd61010084018262003419565b949350505050565b6001600160601b03811681146200080a57600080fd5b8035620033ce81620034d5565b6001600160a01b03811681146200080a57600080fd5b8035620033ce81620034f8565b6000806000606084860312156200353157600080fd5b83356200353e81620034d5565b925060208401356200355081620034f8565b915060408401356200356281620034d5565b809150509250925092565b602081526000620023c5602083018462003419565b600080604083850312156200359657600080fd5b8235620035a381620034d5565b91506020830135620035b581620034d5565b809150509250929050565b80151581146200080a57600080fd5b8035620033ce81620035c0565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715620036175762003617620035dc565b60405290565b604051601f8201601f191681016001600160401b0381118282101715620036485762003648620035dc565b604052919050565b60006001600160401b038211156200366c576200366c620035dc565b50601f01601f191660200190565b600082601f8301126200368c57600080fd5b8135620036a36200369d8262003650565b6200361d565b818152846020838601011115620036b957600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c08789031215620036f057600080fd5b8635620036fd81620034f8565b955060208701356200370f81620034d5565b945060408701356200372181620033b1565b935060608701356200373381620035c0565b925060808701356200374581620034f8565b915060a08701356001600160401b038111156200376157600080fd5b6200376f89828a016200367a565b9150509295509295509295565b600080604083850312156200379057600080fd5b82356200379d81620034d5565b946020939093013593505050565b600060208284031215620037be57600080fd5b81356001600160401b03811115620037d557600080fd5b620034cd848285016200367a565b600060208284031215620037f657600080fd5b8135620023c581620034d5565b600080604083850312156200381757600080fd5b82356200382481620034f8565b915060208301356001600160401b038111156200384057600080fd5b6200384e858286016200367a565b9150509250929050565b600080604083850312156200386c57600080fd5b82356200387981620034d5565b9150602083013564ffffffffff81168114620035b557600080fd5b60008060408385031215620038a857600080fd5b8235620038b581620034d5565b91506020830135620035b581620034f8565b600060208284031215620038da57600080fd5b8135620023c581620034f8565b60008060408385031215620038fb57600080fd5b823591506020830135620035b581620034f8565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b602081526200396d6020820183516200390f565b6000602083015160c080840152620034cd60e084018262003419565b602081526000825160c06020840152620039a760e084018262003419565b90506001600160601b036020850151166040840152604084015160018060a01b0380821660608601528060608701511660808601528060808701511660a0860152505060a0840151601f198483030160c085015262003a07828262003419565b95945050505050565b60008060006060848603121562003a2657600080fd5b83359250602084013562003a3a81620034f8565b929592945050506040919091013590565b60a08101620014ff82846200390f565b60008060006060848603121562003a7157600080fd5b833562003a7e81620033b1565b9250602084013562003a9081620033b1565b915060408401356200356281620033b1565b6000806040838503121562003ab657600080fd5b82356200379d81620034f8565b60008060006060848603121562003ad957600080fd5b833562003ae681620034f8565b9250602084013562003a3a81620034f8565b60008082840360a081121562003b0d57600080fd5b833562003b1a81620034d5565b92506080601f198201121562003b2f57600080fd5b50604051608081018181106001600160401b038211171562003b555762003b55620035dc565b604052602084013562003b6881620034d5565b8152604084013562003b7a81620033b1565b602082015260608401356040820152608084013562003b9981620034f8565b6060820152919491935090915050565b6000806040838503121562003bbd57600080fd5b823562003bca81620033b1565b9150602083013560ff1981168114620035b557600080fd5b6000806040838503121562003bf657600080fd5b8235620038b581620034f8565b6000806000806000806000806000806101408b8d03121562003c2457600080fd5b62003c2f8b6200350e565b995062003c3f60208c016200350e565b985062003c4f60408c01620034eb565b975060608b01356001600160401b038082111562003c6c57600080fd5b62003c7a8e838f016200367a565b985062003c8a60808e016200350e565b975062003c9a60a08e01620033c1565b965062003caa60c08e01620035cf565b955062003cba60e08e016200350e565b94506101008d013591508082111562003cd257600080fd5b62003ce08e838f016200367a565b93506101208d013591508082111562003cf857600080fd5b5062003d078d828e016200367a565b9150509295989b9194979a5092959850565b60006020828403121562003d2c57600080fd5b815162ffffff81168114620023c557600080fd5b8051620033ce81620034d5565b60006020828403121562003d6057600080fd5b8151620023c581620034d5565b600181811c9082168062003d8257607f821691505b60208210810362003da357634e487b7160e01b600052602260045260246000fd5b50919050565b8051620033ce81620035c0565b60006020828403121562003dc957600080fd5b8151620023c581620035c0565b601f821115620005d557600081815260208120601f850160051c8101602086101562003dff5750805b601f850160051c820191505b8181101562003e205782815560010162003e0b565b505050505050565b81516001600160401b0381111562003e445762003e44620035dc565b62003e5c8162003e55845462003d6d565b8462003dd6565b602080601f83116001811462003e94576000841562003e7b5750858301515b600019600386901b1c1916600185901b17855562003e20565b600085815260208120601f198616915b8281101562003ec55788860151825594840194600190910190840162003ea4565b508582101562003ee45787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121562003f0757600080fd5b81516001600160401b0381168114620023c557600080fd5b8051620033ce81620033b1565b8051620033ce81620034f8565b600082601f83011262003f4b57600080fd5b815162003f5c6200369d8262003650565b81815284602083860101111562003f7257600080fd5b620034cd826020830160208701620033f3565b60006020828403121562003f9857600080fd5b81516001600160401b038082111562003fb057600080fd5b9083019060e0828603121562003fc557600080fd5b62003fcf620035f2565b62003fda8362003d40565b815262003fea6020840162003d40565b602082015262003ffd6040840162003f1f565b6040820152620040106060840162003da9565b6060820152620040236080840162003f2c565b60808201526200403660a0840162003f2c565b60a082015260c0830151828111156200404e57600080fd5b6200405c8782860162003f39565b60c08301525095945050505050565b6000602082840312156200407e57600080fd5b8151620023c581620034f8565b6000602082840312156200409e57600080fd5b5051919050565b60008060008060808587031215620040bc57600080fd5b8451620040c981620034f8565b6020860151909450620040dc81620034f8565b6040860151909350620040ef81620034f8565b60608601519092506200410281620034f8565b939692955090935050565b6000825162004121818460208701620033f3565b919091019291505056fe608060405234801561001057600080fd5b5060405161056638038061056683398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b6104d3806100936000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c806321df0da7146100465780638d7271c314610065578063c661667d1461007a575b600080fd5b600054604080516001600160a01b039092168252519081900360200190f35b61007861007336600461039c565b61008d565b005b6100786100883660046103f0565b61011f565b60405163046e44af60e11b81526001600160601b03821660048201526101199085908590859073__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e906024015b602060405180830381865af41580156100f0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101149190610433565b610179565b50505050565b60005460405163046e44af60e11b81526001600160601b0383166004820152610174916001600160a01b0316908590859073__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e906024016100d3565b505050565b604080516001600160a01b038581166024830152848116604483015260648083018590528351808403909101815260849092019092526020810180516001600160e01b03166323b872dd60e01b179052610119918691906000906101df90841683610232565b90508051600014158015610204575080806020019051810190610202919061044c565b155b1561017457604051635274afe760e01b81526001600160a01b03841660048201526024015b60405180910390fd5b606061024083836000610247565b9392505050565b60608147101561026c5760405163cd78605960e01b8152306004820152602401610229565b600080856001600160a01b03168486604051610288919061046e565b60006040518083038185875af1925050503d80600081146102c5576040519150601f19603f3d011682016040523d82523d6000602084013e6102ca565b606091505b50915091506102da8683836102e4565b9695505050505050565b6060826102f9576102f482610340565b610240565b815115801561031057506001600160a01b0384163b155b1561033957604051639996b31560e01b81526001600160a01b0385166004820152602401610229565b5080610240565b8051156103505780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b80356001600160a01b038116811461038057600080fd5b919050565b80356001600160601b038116811461038057600080fd5b600080600080608085870312156103b257600080fd5b6103bb85610369565b93506103c960208601610369565b92506103d760408601610369565b91506103e560608601610385565b905092959194509250565b60008060006060848603121561040557600080fd5b61040e84610369565b925061041c60208501610369565b915061042a60408501610385565b90509250925092565b60006020828403121561044557600080fd5b5051919050565b60006020828403121561045e57600080fd5b8151801515811461024057600080fd5b6000825160005b8181101561048f5760208186018101518583015201610475565b50600092019182525091905056fea2646970667358221220cef169e5ebf6594361114297bdf3c5c071054018e8f028c23ba2f8f1536ea8ae64736f6c6343000814003307ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00ffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220496af537e5dc16917f0399ef7fb9452683f2bb2d3080e80aa686b501eb34c95264736f6c63430008140033",
1925
- "deployedBytecode": "0x60806040523480156200001157600080fd5b5060043610620004755760003560e01c80636c0a81911162000259578063bb1e0e591162000149578063e9e96c7011620000c7578063f48016ce1162000092578063f48016ce1462000c01578063f57f4aaa1462000893578063f67fef6d1462000646578063f7c34ee01462000c18578063f8bf0d9f1462000c2f57600080fd5b8063e9e96c701462000b6e578063ea15869f1462000b85578063ecd6bf3c1462000b9c578063f43a39191462000bb357600080fd5b8063dea4ccf21162000114578063dea4ccf214620007f9578063deaa59df1462000b29578063e7f7fb861462000b40578063e8ce883d1462000646578063e904ec661462000b5757600080fd5b8063bb1e0e591462000adb578063bf1db3f91462000af2578063bf7e214f1462000b09578063de0eb85f146200064657600080fd5b80638eaa6ac011620001d75780639a72636411620001a25780639a72636414620009dc578063a5961b4c14620009ed578063a89896751462000aa3578063ada9652e1462000aba578063b423086c1462000ad157600080fd5b80638eaa6ac014620009625780638fb36037146200098857806390edbd3514620009ac578063958697a014620009c557600080fd5b806374a4030f116200022457806374a4030f14620008935780637a9e5e4b146200089b5780637b21556114620008b2578063806b5ece146200090a578063893d20e8146200095857600080fd5b80636c0a819114620007f95780636c1e9dff146200064657806370ed62c71462000882578063719f761a14620007f957600080fd5b80632a80f673116200037557806351d3417e11620002f35780635e0dacca11620002be5780635e0dacca14620007f9578063614d08f8146200080d578063644c45e01462000834578063675393bf146200085457806369aff9af146200086b57600080fd5b806351d3417e146200076357806354f6127f14620007c65780635741e5e914620007dd5780635ab1bd5314620007e757600080fd5b806338a699a4116200034057806338a699a414620006ef57806343d752d31462000706578063468bce06146200071057806349bb9e4b146200071a5780634dd84ff7146200073157600080fd5b80632a80f6731462000672578063329d6e741462000683578063346b1db4146200069a57806336fc697e14620006e557600080fd5b8063160e4b1f116200040357806321df0da711620003ce57806321df0da7146200063257806322366844146200063c57806326889b09146200064657806327415b7e14620005c457806327bb7a33146200065b57600080fd5b8063160e4b1f14620005c457806317d7de7c14620005da5780631eff4b2214620005f3578063214cdb80146200061b57600080fd5b80630d8e6e2c11620004445780630d8e6e2c146200055d5780630fec111c146200057c578063132996041462000595578063138461e014620005b857600080fd5b806301ffc9a7146200047a578063062c9cdf14620004bf57806309648a9d14620004f65780630d3581811462000534575b600080fd5b620004aa6200048b3660046200336b565b6001600160e01b03191660009081526003602052604090205460ff1690565b60405190151581526020015b60405180910390f35b620004e77fafe8d4462b2ed26a47154f4b8f6d1497d2f772496965791d25bd456e342b7f0081565b604051908152602001620004b6565b620005216200050736600462003397565b600090815260026020526040902054610100900460ff1690565b60405160ff9091168152602001620004b6565b6200052162000545366004620033d3565b60ff9081166000908152602081905260409020541690565b6200056762000c46565b60405162ffffff9091168152602001620004b6565b6200058662000cd3565b604051620004b6919062003447565b6200059f62000ea4565b6040516001600160a01b039091168152602001620004b6565b620005c262000eb9565b005b620005c2620005d53660046200351b565b505050565b620005e4620010ce565b604051620004b691906200356d565b620004e77f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b620005c26200062c3660046200336b565b620010e0565b6200059f6200110f565b620004aa62001124565b620005c26200065736600462003582565b5050565b620005c26200066c366004620036d6565b62001226565b620005c2620006573660046200377c565b620005c262000694366004620037ab565b620012d1565b620004e7620006ab366004620037e3565b6001600160601b031660009081527fafe8d4462b2ed26a47154f4b8f6d1497d2f772496965791d25bd456e342b7f01602052604090205490565b620005c262001429565b620004aa6200070036600462003397565b62001471565b6200059f62001505565b620005c26200151a565b620005c26200072b36600462003803565b62001558565b6200074a6200074236600462003858565b600092915050565b6040516001600160601b039091168152602001620004b6565b6200074a6200077436600462003894565b6001600160601b0391821660009081527fafe8d4462b2ed26a47154f4b8f6d1497d2f772496965791d25bd456e342b7f04602090815260408083206001600160a01b0394909416835292905220541690565b620005e4620007d736600462003397565b62001660565b620004aa6200170d565b6004546001600160a01b03166200059f565b620005c26200080a366004620037e3565b50565b620005e4604051806040016040528060078152602001665374616b696e6760c81b81525081565b60008051602062004692833981519152546001600160601b03166200074a565b620005c262000865366004620038c7565b620017cc565b620005c26200087c36600462003397565b620018e2565b6200074a6200074236600462003582565b60006200074a565b620005c2620008ac366004620038c7565b62001936565b620004e7620008c3366004620038e7565b60009182527fafe8d4462b2ed26a47154f4b8f6d1497d2f772496965791d25bd456e342b7f00602090815260408084206001600160a01b0393909316845291905290205490565b6200074a6200091b366004620037e3565b6001600160601b0390811660009081527fafe8d4462b2ed26a47154f4b8f6d1497d2f772496965791d25bd456e342b7f0360205260409020541690565b6200059f620019d8565b620009796200097336600462003397565b62001b17565b604051620004b6919062003959565b6200099262001c60565b6040516001600160e01b03199091168152602001620004b6565b620009b662001c9b565b604051620004b6919062003989565b620005c2620009d63660046200351b565b62001cc9565b620005c2620009d636600462003a10565b62000a94620009fe36600462003397565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260026020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b604051620004b6919062003a4b565b620005c262000ab436600462003a5b565b62001d08565b620004e76000805160206200469283398151915281565b620009b662001dff565b620005c262000aec36600462003aa2565b62001e13565b620004aa62000b03366004620033d3565b62001eb7565b600080516020620046d2833981519152546001600160a01b03166200059f565b620005c262000b3a366004620038c7565b62001f05565b620005c262000b5136600462003ac3565b620021a3565b620005c262000b6836600462003aa2565b62002247565b620004aa62000b7f36600462003a5b565b62002398565b620004e7600080516020620046b283398151915281565b620005c262000bad36600462003af8565b620023cc565b6200074a62000bc4366004620037e3565b6001600160601b0390811660009081527fafe8d4462b2ed26a47154f4b8f6d1497d2f772496965791d25bd456e342b7f0260205260409020541690565b620004e762000c1236600462003ba9565b6200240b565b620005c262000c2936600462003be2565b62002491565b620005c262000c4036600462003c03565b62002510565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af415801562000ca8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000cce919062003d19565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801562000d88573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000dae919062003d4d565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00162000df8620019d8565b6001600160a01b0316815260200182600101805462000e179062003d6d565b80601f016020809104026020016040519081016040528092919081815260200182805462000e459062003d6d565b801562000e965780601f1062000e6a5761010080835404028352916020019162000e96565b820191906000526020600020905b81548152906001019060200180831162000e7857829003601f168201915b505050505081525091505090565b600062000eb062001c9b565b60800151905090565b60006000805160206200469283398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801562000f2a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000f50919062003db6565b1562000f825780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b3062000f966004546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801562000fdf573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001005919062003db6565b6200102f5760405163b9304b0d60e01b81526001600160a01b038216600482015260240162000f79565b6004546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa15801562001084573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620010aa919062003d4d565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6060620010da62001c9b565b51919050565b620010ea62002630565b6001600160e01b0319166000908152600360205260409020805460ff19166001179055565b60006200111b62001c9b565b60400151905090565b6000620011396004546001600160a01b031690565b604051636939560f60e11b81523060048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa15801562001180573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620011a6919062003d4d565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801562001200573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000cce919062003db6565b6200123062002630565b6200123c828762002491565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301620012c7838262003e28565b5050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c620012f562000c46565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af415801562001336573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200135c919062003ef4565b600080516020620046f28339815191528054600160401b900460ff168062001391575080546001600160401b03808416911610155b15620013b05760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155620013dc8362002669565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a1505050565b6200143362002630565b6301ffc9a760e01b60005260036020527f28b0ef64f7e82d3b26f3fd404bd0151552f792965f39c29ae82c0a78df67af9c805460ff19166001179055565b60008181526002602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf906024015b602060405180830381865af4158015620014d9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620014ff919062003db6565b92915050565b60006200151162001c9b565b60600151905090565b6200152462002630565b6200152e62002673565b6200153862002797565b620015426200288b565b6200154c620029c3565b6200155662002af0565b565b600080516020620046f28339815191528054600160401b810460ff1615906001600160401b03166000811580156200158d5750825b90506000826001600160401b03166001148015620015aa5750303b155b905081158015620015b9575080155b15620015d85760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156200160357845460ff60401b1916600160401b1785555b6200160f878762002bac565b83156200165757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6000818152600260205260409020600101805460609190620016829062003d6d565b80601f0160208091040260200160405190810160405280929190818152602001828054620016b09062003d6d565b8015620017015780601f10620016d55761010080835404028352916020019162001701565b820191906000526020600020905b815481529060010190602001808311620016e357829003601f168201915b50505050509050919050565b60006200171962001124565b156200179c576004546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f090602401600060405180830381865afa15801562001772573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001511919081019062003f85565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0354600160a01b900460ff1690565b620017d662002630565b806001600160a01b03163b6000036200180e5760405163fdeac91f60e01b81526001600160a01b038216600482015260240162000f79565b600480546001600160a01b0319166001600160a01b03831690811782556040516301ffc9a760e01b815263256dc24d60e21b92810192909252906301ffc9a790602401602060405180830381865afa9250505080156200188d575060408051601f3d908101601f191682019092526200188a9181019062003db6565b60015b620018b75760405163fdeac91f60e01b81526001600160a01b038216600482015260240162000f79565b80620006575760405163fdeac91f60e01b81526001600160a01b038316600482015260240162000f79565b620018ec620019d8565b6001600160a01b0316336001600160a01b031614620019215760405163086391f760e31b815233600482015260240162000f79565b6200080a6200192f6200110f565b8262002247565b3362001958600080516020620046d2833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614620019955760405162d1953b60e31b81526001600160a01b038216600482015260240162000f79565b816001600160a01b03163b600003620019cd576040516361798f2f60e11b81526001600160a01b038316600482015260240162000f79565b620006578262002d94565b6000806000805160206200469283398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801562001a4a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001a70919062003db6565b1562001b01576004546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801562001ad5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001afb91906200406b565b91505090565b54600160601b90046001600160a01b0316919050565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260026020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c0820152928352600181018054919284019162001bd19062003d6d565b80601f016020809104026020016040519081016040528092919081815260200182805462001bff9062003d6d565b801562001c505780601f1062001c245761010080835404028352916020019162001c50565b820191906000526020600020905b81548152906001019060200180831162001c3257829003601f168201915b5050505050815250509050919050565b600080516020620046d2833981519152805460009190600160a01b900460ff1662001c8d57600062001afb565b638fb3603760e01b91505090565b62001ca562003303565b62001caf62001124565b1562001cbf5762000cce62002df0565b62000cce62001dff565b62001cd3620019d8565b6001600160a01b0316336001600160a01b031614620005d55760405163086391f760e31b815233600482015260240162000f79565b60ff8381166000908152602081905260409081902054905163037c8cb160e51b81529116600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af415801562001d6e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001d94919062003db6565b1562001d9f57505050565b60ff808416600090815260016020908152604080832086851684528252808320858516845290915290205416620005d557604051636bb20ea760e01b815260ff808516600483015280841660248301528216604482015260640162000f79565b62001e0962003303565b62000cce62002df0565b6004546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001e5d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001e8391906200406b565b6001600160a01b0316336001600160a01b031614620006575760405162f0630960e01b815233600482015260240162000f79565b60ff81811660009081526020819052604080822054905163b2466acf60e01b8152921660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401620014bb565b62001f0f620019d8565b6001600160a01b0316336001600160a01b03161462001f445760405163086391f760e31b815233600482015260240162000f79565b600062001f5062000ea4565b9050600062001f5e6200110f565b6040516370a0823160e01b81526001600160a01b0384811660048301529192506000918316906370a0823190602401602060405180830381865afa15801562001fab573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001fd191906200408b565b90508015620020aa576001600160a01b0383163014620020aa57604051636eb1769f60e11b81526001600160a01b0384811660048301523060248301526000919084169063dd62ed3e90604401602060405180830381865afa1580156200203c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200206291906200408b565b905081811015620020a8576040516372c963b360e11b81526001600160a01b03808616600483015286166024820152604481018290526064810183905260840162000f79565b505b620020b58462002f71565b80156200219d57306001600160a01b03841603620021435760405163095ea7b360e01b8152306004820152602481018290526001600160a01b0383169063095ea7b3906044016020604051808303816000875af11580156200211b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002141919062003db6565b505b62002151828486846200305e565b604080516001600160a01b038086168252861660208201529081018290527f8f925ed35e36754081a3353f30c5686c405280f94d1cfe322ee5707833d898679060600160405180910390a15b50505050565b6004546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015620021ed573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200221391906200406b565b6001600160a01b0316336001600160a01b031614620005d55760405162f0630960e01b815233600482015260240162000f79565b62002251620019d8565b6001600160a01b0316336001600160a01b031614620022865760405163086391f760e31b815233600482015260240162000f79565b306200229162000ea4565b6001600160a01b031614620022b95760405163b6d7537f60e01b815260040160405180910390fd5b816001600160a01b031663095ea7b3620022d262001505565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af115801562002320573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002346919062003db6565b507f2384a42fdaabc7c18091b047d32d817d2ead07cae899963c6bcf9ab42aff85d46200237262001505565b604080516001600160a01b03909216825260208201849052015b60405180910390a15050565b60ff8084166000908152600160209081526040808320868516845282528083208585168452909152902054165b9392505050565b620023d6620019d8565b6001600160a01b0316336001600160a01b031614620006575760405163086391f760e31b815233600482015260240162000f79565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$4b9aaffa8d044614668dad578b824b8eee$__9063f48016ce90604401602060405180830381865af41580156200246b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620023c591906200408b565b6200249b62002630565b620024a681620017cc565b620024b062001429565b6001600160a01b038216620024d85760405163f17ef42d60e01b815260040160405180910390fd5b506000805160206200469283398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6200251a62002630565b6200252a89898787878762001226565b620025358a620030ba565b6001600160a01b0386166200255d576040516327eab2e360e11b815260040160405180910390fd5b8651600003620025805760405163591eebf360e11b815260040160405180910390fd5b600080516020620046b2833981519152806200259d898262003e28565b506001810180546001600160a01b03199081166001600160a01b038a161790915560028201805490911690556003810180546001600160a81b0319163060ff60a01b191617600160a01b8715150217905560048101620025fe838262003e28565b5062002611634a531f3360e01b620010e0565b6200262363100951f160e31b620010e0565b5050505050505050505050565b600080516020620046f283398151915254600160401b900460ff166200155657604051631afcd79f60e31b815260040160405180910390fd5b6200047562002630565b7f5bd290414b404036f9d63146803dd83b59a8e1905062a5bfed8b0154d20a390d8054606460ff19918216179091557f1578fb1f3721b6c33cae7dfcd025f5660361b090d8a17dcf8a744763f22d32ff8054821660019081179091557f47ebb928e225b2cdc8d8e0079f8da9b87d2bc15cc37a8c27842a5c925baa8b1e80548316821790557ffe60dc71e2c842ec11550e74a003d6f707c74c3b19b04c1b0700bc0fd9efd9508054909216811790915560dc600090815260208290527f81c2bf9f7c6e8ac9bd8bcd9d323e94b867d2f5054aff8759d884773c680ec1ec90606e5b60ff1660ff16815260200190815260200160002060006200277360c890565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b7f9db7038e59677010ca8f72fa448bad1b4f3c53346b666689163ccac31db467728054606460ff1991821681179092557f1a3062e9a24818c8281fcfb58ec4f3083a2f9a1314ac63f80d8d646661fdc50980548216600190811790915560008381527fc884cae9155e1829c27543e26ecbb72f79fe3a85ba4df2c4a97ad5806356754d6020527f2916767ac794614810c43d6c0837244e8b2c8d3f3c02376a214f465d6841db5680549093168217909255918291905b60ff1660ff16815260200190815260200160002060006200286c606e90565b60ff1660ff16815260200190815260200160002060006200277360d290565b7fa57aae0b1e878b4cf2d1f237d2c6d245fa2af12f527cffc45e0a81d7b3c46abe8054600a60ff19918216179091557f10d8f68d28031156bb5a2007a6e7fc1ff769776115bd307e1d3f2901ec220eef8054821660019081179091557f71e0ce7e96b0b9ecf53c20706f5891c8e9bb320060393406400136d7ab1db61e80548316821790557f3aa5c1a82b8afaca3213d4302f465dcc339ab680e61c71830f7d9c441c63328380548316821790557ff9240d619fae1c941eaa4888cff36b0b9489ef130bdb7c814fd3a0e301d8ad1f80548316821790557f59d2febd485ffaba948645e520694e9996f0c229c4a10430d07956b599b172538054909216811790915560d3600090815260208290527f7415b658af57d740454b01d91722f71a360db8fdd5ec2a068a92c37e2bc3b1d690606462002754565b7f41d63e1348ead7043feb8677b52ff813a7a3d573fdf99c917846a69e8e7b7e60805460ff199081166032179091557f378c5573ee3453f5c9f5c7aa83b807835ecb097b5151d641746b59340336b67d8054821660019081179091557f7f4fc20c9070f9c8378783c3022311e08af436d0fea4b913fe0bbde88023d12680548316821790557ff6e14778b29b20f68b5cc5186c105c44b748bec78fd85e0b2ec52bc8586d6a6b80548316821790557fb9ec96904d3ea9e7b01f30f8b9a841d70b77145e37a183ebdbba2b0733adc0ec8054603c93168317905560009182527f77835ececcc7e965708390fdc28b7c7141b063a8a849f3954f1d294d07730184602052907f5e9b6496c2ea16de03007cb0b49643b7231addd52c0cee66d8556b1dd66622a19060dc62002773565b7fc5f2c791ab4e0b1a0b6c600884b07e98575b00ebd7c3166c4272a53bebf714038054606460ff1991821681179092557f66482ac56acdda5113badf732cc46c284136d9d6378a671ac129cd298ff5f96780548216600190811790915560009283527f47d871bf8fdbdfc3d809d1454103f6ff238aad0f5cefde0353363b9e415ef6a76020527ff2de5750d5c9f412b7907640f68a5258fe3f903dfd0cd25c2ea235b23cc926958054909216811790915590819060c86200284d565b600080516020620046f28339815191528054600160401b810460ff1615906001600160401b031660008115801562002be15750825b90506000826001600160401b0316600114801562002bfe5750303b155b90508115801562002c0d575080155b1562002c2c5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831562002c5757845460ff60401b1916600160401b1785555b6000806000808980602001905181019062002c739190620040a5565b935093509350935062002d308484856001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002cc0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002ce6919062003d4d565b6040805180820190915260078152665374616b696e6760c81b602082015286602d600088604051806020016040528060008152506040518060200160405280600081525062002510565b62002d3a620030cf565b62002d4c6339dee94960e01b620010e0565b5050505083156200165757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020016200164e565b600080516020620046d283398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad906020016200238c565b62002dfa62003303565b6000600080516020620046b283398151915290506040518060c0016040528082600001805462002e2a9062003d6d565b80601f016020809104026020016040519081016040528092919081815260200182805462002e589062003d6d565b801562002ea95780601f1062002e7d5761010080835404028352916020019162002ea9565b820191906000526020600020905b81548152906001019060200180831162002e8b57829003601f168201915b5050505050815260200173__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801562002efd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002f23919062003d4d565b6001600160601b0316815260018301546001600160a01b039081166020830152600284015481166040830152600384015416606082015260048301805460809092019162000e179062003d6d565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0354600080516020620046b2833981519152906001600160a01b0390811690831662002fd05760405163185a690f60e11b815260040160405180910390fd5b806001600160a01b0316836001600160a01b031603620030035760405163ade4578160e01b815260040160405180910390fd5b6003820180546001600160a01b0319166001600160a01b0385811691821790925560408051928416835260208301919091527f610ad1290dceadae2c5ce18bae2eb495be595083a257fac7414e50686f7c265091016200141c565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526200219d9085906200316d565b620030c462002630565b6200080a81620031d7565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0154604051600080516020620046b2833981519152916001600160a01b0316906200311a906200335d565b6001600160a01b039091168152602001604051809103906000f08015801562003147573d6000803e3d6000fd5b5060029190910180546001600160a01b0319166001600160a01b03909216919091179055565b6000620031846001600160a01b03841683620031ec565b90508051600014158015620031ac575080806020019051810190620031aa919062003db6565b155b15620005d557604051635274afe760e01b81526001600160a01b038416600482015260240162000f79565b620031e162002630565b6200080a8162002d94565b6060620023c58383600084600080856001600160a01b031684866040516200321591906200410d565b60006040518083038185875af1925050503d806000811462003254576040519150601f19603f3d011682016040523d82523d6000602084013e62003259565b606091505b50915091506200326b86838362003275565b9695505050505050565b6060826200328e576200328882620032d9565b620023c5565b8151158015620032a657506001600160a01b0384163b155b15620032d157604051639996b31560e01b81526001600160a01b038516600482015260240162000f79565b5080620023c5565b805115620032ea5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6040518060c001604052806060815260200160006001600160601b0316815260200160006001600160a01b0316815260200160006001600160a01b0316815260200160006001600160a01b03168152602001606081525090565b610566806200412c83390190565b6000602082840312156200337e57600080fd5b81356001600160e01b031981168114620023c557600080fd5b600060208284031215620033aa57600080fd5b5035919050565b60ff811681146200080a57600080fd5b8035620033ce81620033b1565b919050565b600060208284031215620033e657600080fd5b8135620023c581620033b1565b60005b8381101562003410578181015183820152602001620033f6565b50506000910152565b6000815180845262003433816020860160208601620033f3565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151620034b160c08401826001600160a01b03169052565b5060c083015160e080840152620034cd61010084018262003419565b949350505050565b6001600160601b03811681146200080a57600080fd5b8035620033ce81620034d5565b6001600160a01b03811681146200080a57600080fd5b8035620033ce81620034f8565b6000806000606084860312156200353157600080fd5b83356200353e81620034d5565b925060208401356200355081620034f8565b915060408401356200356281620034d5565b809150509250925092565b602081526000620023c5602083018462003419565b600080604083850312156200359657600080fd5b8235620035a381620034d5565b91506020830135620035b581620034d5565b809150509250929050565b80151581146200080a57600080fd5b8035620033ce81620035c0565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715620036175762003617620035dc565b60405290565b604051601f8201601f191681016001600160401b0381118282101715620036485762003648620035dc565b604052919050565b60006001600160401b038211156200366c576200366c620035dc565b50601f01601f191660200190565b600082601f8301126200368c57600080fd5b8135620036a36200369d8262003650565b6200361d565b818152846020838601011115620036b957600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c08789031215620036f057600080fd5b8635620036fd81620034f8565b955060208701356200370f81620034d5565b945060408701356200372181620033b1565b935060608701356200373381620035c0565b925060808701356200374581620034f8565b915060a08701356001600160401b038111156200376157600080fd5b6200376f89828a016200367a565b9150509295509295509295565b600080604083850312156200379057600080fd5b82356200379d81620034d5565b946020939093013593505050565b600060208284031215620037be57600080fd5b81356001600160401b03811115620037d557600080fd5b620034cd848285016200367a565b600060208284031215620037f657600080fd5b8135620023c581620034d5565b600080604083850312156200381757600080fd5b82356200382481620034f8565b915060208301356001600160401b038111156200384057600080fd5b6200384e858286016200367a565b9150509250929050565b600080604083850312156200386c57600080fd5b82356200387981620034d5565b9150602083013564ffffffffff81168114620035b557600080fd5b60008060408385031215620038a857600080fd5b8235620038b581620034d5565b91506020830135620035b581620034f8565b600060208284031215620038da57600080fd5b8135620023c581620034f8565b60008060408385031215620038fb57600080fd5b823591506020830135620035b581620034f8565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b602081526200396d6020820183516200390f565b6000602083015160c080840152620034cd60e084018262003419565b602081526000825160c06020840152620039a760e084018262003419565b90506001600160601b036020850151166040840152604084015160018060a01b0380821660608601528060608701511660808601528060808701511660a0860152505060a0840151601f198483030160c085015262003a07828262003419565b95945050505050565b60008060006060848603121562003a2657600080fd5b83359250602084013562003a3a81620034f8565b929592945050506040919091013590565b60a08101620014ff82846200390f565b60008060006060848603121562003a7157600080fd5b833562003a7e81620033b1565b9250602084013562003a9081620033b1565b915060408401356200356281620033b1565b6000806040838503121562003ab657600080fd5b82356200379d81620034f8565b60008060006060848603121562003ad957600080fd5b833562003ae681620034f8565b9250602084013562003a3a81620034f8565b60008082840360a081121562003b0d57600080fd5b833562003b1a81620034d5565b92506080601f198201121562003b2f57600080fd5b50604051608081018181106001600160401b038211171562003b555762003b55620035dc565b604052602084013562003b6881620034d5565b8152604084013562003b7a81620033b1565b602082015260608401356040820152608084013562003b9981620034f8565b6060820152919491935090915050565b6000806040838503121562003bbd57600080fd5b823562003bca81620033b1565b9150602083013560ff1981168114620035b557600080fd5b6000806040838503121562003bf657600080fd5b8235620038b581620034f8565b6000806000806000806000806000806101408b8d03121562003c2457600080fd5b62003c2f8b6200350e565b995062003c3f60208c016200350e565b985062003c4f60408c01620034eb565b975060608b01356001600160401b038082111562003c6c57600080fd5b62003c7a8e838f016200367a565b985062003c8a60808e016200350e565b975062003c9a60a08e01620033c1565b965062003caa60c08e01620035cf565b955062003cba60e08e016200350e565b94506101008d013591508082111562003cd257600080fd5b62003ce08e838f016200367a565b93506101208d013591508082111562003cf857600080fd5b5062003d078d828e016200367a565b9150509295989b9194979a5092959850565b60006020828403121562003d2c57600080fd5b815162ffffff81168114620023c557600080fd5b8051620033ce81620034d5565b60006020828403121562003d6057600080fd5b8151620023c581620034d5565b600181811c9082168062003d8257607f821691505b60208210810362003da357634e487b7160e01b600052602260045260246000fd5b50919050565b8051620033ce81620035c0565b60006020828403121562003dc957600080fd5b8151620023c581620035c0565b601f821115620005d557600081815260208120601f850160051c8101602086101562003dff5750805b601f850160051c820191505b8181101562003e205782815560010162003e0b565b505050505050565b81516001600160401b0381111562003e445762003e44620035dc565b62003e5c8162003e55845462003d6d565b8462003dd6565b602080601f83116001811462003e94576000841562003e7b5750858301515b600019600386901b1c1916600185901b17855562003e20565b600085815260208120601f198616915b8281101562003ec55788860151825594840194600190910190840162003ea4565b508582101562003ee45787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121562003f0757600080fd5b81516001600160401b0381168114620023c557600080fd5b8051620033ce81620033b1565b8051620033ce81620034f8565b600082601f83011262003f4b57600080fd5b815162003f5c6200369d8262003650565b81815284602083860101111562003f7257600080fd5b620034cd826020830160208701620033f3565b60006020828403121562003f9857600080fd5b81516001600160401b038082111562003fb057600080fd5b9083019060e0828603121562003fc557600080fd5b62003fcf620035f2565b62003fda8362003d40565b815262003fea6020840162003d40565b602082015262003ffd6040840162003f1f565b6040820152620040106060840162003da9565b6060820152620040236080840162003f2c565b60808201526200403660a0840162003f2c565b60a082015260c0830151828111156200404e57600080fd5b6200405c8782860162003f39565b60c08301525095945050505050565b6000602082840312156200407e57600080fd5b8151620023c581620034f8565b6000602082840312156200409e57600080fd5b5051919050565b60008060008060808587031215620040bc57600080fd5b8451620040c981620034f8565b6020860151909450620040dc81620034f8565b6040860151909350620040ef81620034f8565b60608601519092506200410281620034f8565b939692955090935050565b6000825162004121818460208701620033f3565b919091019291505056fe608060405234801561001057600080fd5b5060405161056638038061056683398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b6104d3806100936000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c806321df0da7146100465780638d7271c314610065578063c661667d1461007a575b600080fd5b600054604080516001600160a01b039092168252519081900360200190f35b61007861007336600461039c565b61008d565b005b6100786100883660046103f0565b61011f565b60405163046e44af60e11b81526001600160601b03821660048201526101199085908590859073__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e906024015b602060405180830381865af41580156100f0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101149190610433565b610179565b50505050565b60005460405163046e44af60e11b81526001600160601b0383166004820152610174916001600160a01b0316908590859073__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e906024016100d3565b505050565b604080516001600160a01b038581166024830152848116604483015260648083018590528351808403909101815260849092019092526020810180516001600160e01b03166323b872dd60e01b179052610119918691906000906101df90841683610232565b90508051600014158015610204575080806020019051810190610202919061044c565b155b1561017457604051635274afe760e01b81526001600160a01b03841660048201526024015b60405180910390fd5b606061024083836000610247565b9392505050565b60608147101561026c5760405163cd78605960e01b8152306004820152602401610229565b600080856001600160a01b03168486604051610288919061046e565b60006040518083038185875af1925050503d80600081146102c5576040519150601f19603f3d011682016040523d82523d6000602084013e6102ca565b606091505b50915091506102da8683836102e4565b9695505050505050565b6060826102f9576102f482610340565b610240565b815115801561031057506001600160a01b0384163b155b1561033957604051639996b31560e01b81526001600160a01b0385166004820152602401610229565b5080610240565b8051156103505780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b80356001600160a01b038116811461038057600080fd5b919050565b80356001600160601b038116811461038057600080fd5b600080600080608085870312156103b257600080fd5b6103bb85610369565b93506103c960208601610369565b92506103d760408601610369565b91506103e560608601610385565b905092959194509250565b60008060006060848603121561040557600080fd5b61040e84610369565b925061041c60208501610369565b915061042a60408501610385565b90509250925092565b60006020828403121561044557600080fd5b5051919050565b60006020828403121561045e57600080fd5b8151801515811461024057600080fd5b6000825160005b8181101561048f5760208186018101518583015201610475565b50600092019182525091905056fea2646970667358221220cef169e5ebf6594361114297bdf3c5c071054018e8f028c23ba2f8f1536ea8ae64736f6c6343000814003307ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00ffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220496af537e5dc16917f0399ef7fb9452683f2bb2d3080e80aa686b501eb34c95264736f6c63430008140033",
1598
+ "bytecode": "0x6080604052348015600e575f80fd5b5060156019565b60c9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161560685760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b039081161460c65780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6148aa806100d65f395ff3fe608060405234801561000f575f80fd5b50600436106102cb575f3560e01c8063614d08f81161017b578063958697a0116100e4578063caed98971161009e578063dea4ccf211610079578063dea4ccf214610675578063e8ce883d146106a8578063ea15869f146106bb578063ea48ce9b146106e2575f80fd5b8063caed989714610647578063d44f8a4b1461064f578063de0eb85f14610662575f80fd5b8063958697a0146105ea5780639a726364146105fd578063ad12ad6014610610578063ada9652e14610623578063b423086c14610637578063bf7e214f1461063f575f80fd5b80637a9e5e4b116101355780637a9e5e4b1461058957806386c757541461059c5780638899278a146105a4578063893d20e8146105ac5780638fb36037146105b457806390edbd35146105d5575f80fd5b8063614d08f8146104fe5780636291423a14610524578063644c45e01461052c5780636c1e9dff14610549578063719f761a1461055c57806376b707b71461056f575f80fd5b80632a80f6731161023757806349bb9e4b116101f15780635ab1bd53116101cc5780635ab1bd53146104b45780635cbb7d85146104c55780635ecf260f146104d85780635fd1efec146104eb575f80fd5b806349bb9e4b14610486578063562119ee146104995780635741e5e9146104ac575f80fd5b80632a80f6731461041f57806331ecc5cc14610432578063329d6e741461044557806336644da614610458578063419197fe1461046b57806343d752d31461047e575f80fd5b806313299604116102885780631329960414610393578063138461e0146103b357806317d7de7c146103d35780631eff4b22146103e857806321df0da71461040f5780632236684414610417575f80fd5b806301ffc9a7146102cf578063062c9cdf1461031057806309980bfd146103455780630d8e6e2c1461034f5780630fec111c1461036b57806310a0638a14610380575b5f80fd5b6102fb6102dd366004613bdf565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6103377fafe8d4462b2ed26a47154f4b8f6d1497d2f772496965791d25bd456e342b7f0081565b604051908152602001610307565b61034d6106f5565b005b610357610875565b60405162ffffff9091168152602001610307565b6103736108fc565b6040516103079190613c3b565b61034d61038e366004613cdb565b610aba565b61039b610b9e565b6040516001600160a01b039091168152602001610307565b6103bb610c06565b6040516001600160601b039091168152602001610307565b6103db610c10565b6040516103079190613cf6565b6103377f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b61039b610c20565b6102fb610c32565b61034d61042d366004613d08565b610d28565b61034d610440366004613d32565b610f92565b61034d610453366004613e80565b611140565b61034d610466366004613ed1565b61128a565b61034d610479366004613f5e565b6112d2565b61039b611317565b61034d610494366004613f95565b611332565b61034d6104a7366004613fe1565b61142e565b6102fb61155e565b6001546001600160a01b031661039b565b6103bb6104d3366004614038565b61161b565b61034d6104e6366004614054565b6116dd565b61034d6104f9366004614080565b61194c565b6103db604051806040016040528060078152602001665374616b696e6760c81b81525081565b61039b611ab1565b5f80516020614815833981519152546001600160601b03166103bb565b6103bb610557366004614038565b611acc565b6103bb61056a366004613cdb565b611c56565b610577611ec7565b60405160ff9091168152602001610307565b61034d610597366004614080565b611f3b565b61039b611fbd565b610337600381565b61039b611fd8565b6105bc612109565b6040516001600160e01b03199091168152602001610307565b6105dd61213e565b604051610307919061409b565b61034d6105f83660046140f8565b612163565b61034d61060b366004614125565b6121ac565b61034d61061e36600461415a565b6123c5565b6103375f8051602061481583398151915281565b6105dd612467565b61039b612477565b61039b612492565b6103bb61065d3660046140f8565b6124ad565b6103bb610670366004614038565b61263b565b610688610683366004613cdb565b6126d6565b604080516001600160601b03938416815292909116602083015201610307565b6103bb6106b6366004614038565b612a50565b6103377fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b6103bb6106f03660046140f8565b612aa7565b6001546001600160a01b0316331461072757604051632a6e1a8960e01b81523360048201526024015b60405180910390fd5b5f610730612bea565b905073__$51089c37ca0df1177a910c640c8c5f8165$__6350c6470d61075e6001546001600160a01b031690565b30610767610c20565b6001546001600160a01b03166001600160a01b031663e2b178a06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107ae573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107d291906141ba565b60405160e086901b6001600160e01b03191681526001600160a01b039485166004820152928416602484015290831660448301529091166064820152608401602060405180830381865af415801561082c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061085091906141ba565b60029190910180546001600160a01b0319166001600160a01b03909216919091179055565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156108d3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108f791906141d5565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156109ac573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109d09190614202565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610a18611fd8565b6001600160a01b03168152602001826001018054610a359061421d565b80601f0160208091040260200160405190810160405280929190818152602001828054610a619061421d565b8015610aac5780601f10610a8357610100808354040283529160200191610aac565b820191905f5260205f20905b815481529060010190602001808311610a8f57829003601f168201915b505050505081525091505090565b610ac6335b5f36612c0e565b80610acf612bea565b60030154604051634f9c1c0960e01b81526001600160601b03831660048201526001600160a01b0390911690634f9c1c0990602401602060405180830381865afa158015610b1f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b439190614264565b610b6b57604051632ab4595b60e11b81526001600160601b038216600482015260240161071e565b5f610b74612bea565b60048101546003820154919250610b98916001600160a01b03918216911685612d0c565b50505050565b5f610ba7611317565b6001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa158015610be2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108f791906141ba565b5f6108f730612e8e565b6060610c1a61213e565b51919050565b5f610c2961213e565b60200151905090565b5f610c456001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610c89573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cad9190614202565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610d04573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108f79190614264565b610d3133610abf565b81610d3a612bea565b6003015f9054906101000a90046001600160a01b03166001600160a01b0316635cce3fa16040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d8b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610daf91906141ba565b604051634f9c1c0960e01b81526001600160601b03831660048201526001600160a01b039190911690634f9c1c0990602401602060405180830381865afa158015610dfc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e209190614264565b610e48576040516396cff01560e01b81526001600160601b038216600482015260240161071e565b604051633a39e8ad60e21b81523060048201526001600160601b0384166024820152604481018390525f90819073__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__9063e8e7a2b49060640160a060405180830381865af4158015610eaf573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ed391906142de565b91509150610edf612bea565b60030154604051630300f49160e31b81526001600160a01b0390911690631807a48890610f129088908590600401614309565b5f604051808303815f87803b158015610f29575f80fd5b505af1158015610f3b573d5f803e3d5ffd5b5050604080516001600160601b0389168152602081018690529081018790527f3e76c26439d1ec3386e26dfeebf955ea11f5f5f30459052b70e061ade8c9554f925060600190505b60405180910390a15050505050565b610f9b33610abf565b5f610fa4612bea565b600481810154604051630e8d845760e31b81526001600160a01b03909116918101919091526001600160601b038086166024830152841660448201529091505f9073__$dbe4bf03c942dc0574f54ee579c90d56ef$__9063746c22b890606401602060405180830381865af415801561101f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110439190614352565b60038301546040805160208101825264ffffffffff848116825291516331420df160e11b81526001600160601b038a166004820152905190911660248201529192506001600160a01b0316906362841be2906044015f604051808303815f87803b1580156110af575f80fd5b505af11580156110c1573d5f803e3d5ffd5b505050506003820154604051633861317f60e01b81526001600160601b0380881660048301528087166024830152851660448201526001600160a01b0390911690633861317f906064015b5f604051808303815f87803b158015611123575f80fd5b505af1158015611135573d5f803e3d5ffd5b505050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c611162610875565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156111a0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111c4919061436d565b5f805160206148558339815191528054600160401b900460ff16806111f6575080546001600160401b03808416911610155b156112145760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561123e83613087565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b61129333610abf565b61129b611fd8565b6001600160a01b0316336001600160a01b0316146112ce5760405163086391f760e31b815233600482015260240161071e565b5050565b6112da611fd8565b6001600160a01b0316336001600160a01b03161461130d5760405163086391f760e31b815233600482015260240161071e565b6112ce828261308f565b5f611320612bea565b600201546001600160a01b0316919050565b5f805160206148558339815191528054600160401b810460ff1615906001600160401b03165f811580156113635750825b90505f826001600160401b0316600114801561137e5750303b155b90508115801561138c575080155b156113aa5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156113d457845460ff60401b1916600160401b1785555b6113de87876130fc565b831561142557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b61143733610abf565b73__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__639ed616cd6114636001546001600160a01b031690565b61146b612bea565b60049081015460405160e085901b6001600160e01b03191681526001600160a01b03938416928101929092529190911660248201526001600160601b038816604482015260ff8716606482015264ffffffffff8516608482015260a4810184905260c4015f6040518083038186803b1580156114e5575f80fd5b505af41580156114f7573d5f803e3d5ffd5b50505050611503612bea565b600301546040805160808101825260ff871681526020810186905264ffffffffff851681830152606081018490529051632df8be9b60e01b81526001600160a01b0390921691632df8be9b9161110c91899190600401614309565b5f611567610c32565b156115eb576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa1580156115bb573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526115e291908101906143e0565b60600151905090565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0154600160a01b900460ff1690565b5f61162533610abf565b8261162e612bea565b60030154604051634f9c1c0960e01b81526001600160601b03831660048201526001600160a01b0390911690634f9c1c0990602401602060405180830381865afa15801561167e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116a29190614264565b6116ca57604051632ab4595b60e11b81526001600160601b038216600482015260240161071e565b5f6116d3612bea565b9050505092915050565b6116e633610abf565b816116ef612bea565b6003015f9054906101000a90046001600160a01b03166001600160a01b0316635cce3fa16040518163ffffffff1660e01b8152600401602060405180830381865afa158015611740573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061176491906141ba565b604051634f9c1c0960e01b81526001600160601b03831660048201526001600160a01b039190911690634f9c1c0990602401602060405180830381865afa1580156117b1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117d59190614264565b6117fd576040516396cff01560e01b81526001600160601b038216600482015260240161071e565b604051635f9c0df360e11b81523060048201526001600160601b038416602482015264ffffffffff831660448201525f90819073__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__9063bf381be69060640160a060405180830381865af415801561186a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061188e91906144b0565b9150915061189a612bea565b60030154604051630300f49160e31b81526001600160a01b0390911690631807a488906118cd9088908590600401614309565b5f604051808303815f87803b1580156118e4575f80fd5b505af11580156118f6573d5f803e3d5ffd5b5050604080516001600160601b038916815264ffffffffff80871660208301528816918101919091527fb847665302c1d8b6f507e07b17145514cea04af84e1665d629d82246992311e792506060019050610f83565b611954611fd8565b6001600160a01b0316336001600160a01b0316146119875760405163086391f760e31b815233600482015260240161071e565b306001600160a01b0316816001600160a01b0316637b1391a66040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119cd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119f191906141ba565b6001600160a01b031614611a8457806001600160a01b0316637b1391a66040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a3b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a5f91906141ba565b604051631641c88f60e11b81526001600160a01b03909116600482015260240161071e565b80611a8d612bea565b60040180546001600160a01b0319166001600160a01b039290921691909117905550565b5f611aba612bea565b600401546001600160a01b0316919050565b5f611ad633610abf565b82611adf612bea565b60030154604051634f9c1c0960e01b81526001600160601b03831660048201526001600160a01b0390911690634f9c1c0990602401602060405180830381865afa158015611b2f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b539190614264565b611b7b57604051632ab4595b60e11b81526001600160601b038216600482015260240161071e565b5f611b84612bea565b905073__$dbe4bf03c942dc0574f54ee579c90d56ef$__630fcf5d08611bb26001546001600160a01b031690565b600484810154600386015460405160e086901b6001600160e01b03191681526001600160a01b039485169381019390935290831660248301529190911660448201526001600160601b0380891660648301528716608482015260a401602060405180830381865af4158015611c29573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c4d9190614202565b95945050505050565b5f611c6033610abf565b81611c69612bea565b60030154604051634f9c1c0960e01b81526001600160601b03831660048201526001600160a01b0390911690634f9c1c0990602401602060405180830381865afa158015611cb9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cdd9190614264565b611d0557604051632ab4595b60e11b81526001600160601b038216600482015260240161071e565b5f611d0e612bea565b600481015460038201549192505f91611d34916001600160a01b03908116911687612d0c565b9050816003015f9054906101000a90046001600160a01b03166001600160a01b0316633fbdfe32868373__$3bac17678db7ae928afa209f2f44deec9c$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af4158015611da4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611dc89190614202565b60405160e085901b6001600160e01b03191681526001600160601b039384166004820152918316602483015290911660448201526064016020604051808303815f875af1158015611e1b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e3f9190614202565b600383015460405163136cfef760e01b81526001600160601b038085166004830152831660248201529195506001600160a01b03169063136cfef7906044016020604051808303815f875af1158015611e9a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ebe9190614202565b50505050919050565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015611f17573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108f791906144db565b33611f44612477565b6001600160a01b0316816001600160a01b031614611f7f5760405162d1953b60e31b81526001600160a01b038216600482015260240161071e565b816001600160a01b03163b5f03611fb4576040516361798f2f60e11b81526001600160a01b038316600482015260240161071e565b6112ce826134dc565b5f611fc6612bea565b600301546001600160a01b0316919050565b5f805f8051602061481583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612044573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120689190614264565b156120f3576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156120c9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120ed91906141ba565b91505090565b54600160601b90046001600160a01b0316919050565b5f8051602061483583398151915280545f9190600160a01b900460ff16612130575f6120ed565b638fb3603760e01b91505090565b612146613ba7565b61214e610c32565b1561215b576108f761353c565b6108f7612467565b61216c33610abf565b612174611fd8565b6001600160a01b0316336001600160a01b0316146121a75760405163086391f760e31b815233600482015260240161071e565b505050565b6121b4611fd8565b6001600160a01b0316336001600160a01b0316146121e75760405163086391f760e31b815233600482015260240161071e565b5f6121f0612bea565b6001810154604051631703edc360e31b8152600481018790526001600160a01b03868116602483015292935091169063b81f6e1890604401602060405180830381865afa158015612243573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122679190614264565b612296576040516374ddbd6960e01b8152600481018590526001600160a01b038416602482015260440161071e565b6003810154604051637b21556160e01b8152600481018690526001600160a01b0385811660248301525f921690637b21556190604401602060405180830381865afa1580156122e7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061230b91906144f6565b600383015460405163269c98d960e21b8152600481018890526001600160a01b03878116602483015260448201879052929350911690639a726364906064015f604051808303815f87803b158015612361575f80fd5b505af1158015612373573d5f803e3d5ffd5b5050604080518881526001600160a01b0388166020820152908101849052606081018690527f8075f599388073d04550222731e9c7e00c284a4f858d8a0ffc0657164981c76e92506080019050610f83565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa15801561240c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061243091906141ba565b6001600160a01b0316336001600160a01b0316146124625760405162f0630960e01b815233600482015260240161071e565b610b98565b61246f613ba7565b6108f761353c565b5f80516020614835833981519152546001600160a01b031690565b5f61249b612bea565b600101546001600160a01b0316919050565b5f6124b733610abf565b5f6124c0612bea565b60048181015460405163153d412560e31b81526001600160601b038916928101929092529192505f916001600160a01b03169063a9ea092890602401608060405180830381865afa158015612517573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061253b919061450d565b60200151600483810154604051637b21556160e01b81529182018390526001600160a01b0388811660248401529293505f921690637b21556190604401602060405180830381865afa158015612593573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125b791906144f6565b6003840154604051633ece552760e21b81529192506001600160a01b03169063fb39549c906125f0908a9085908b908b90600401614527565b6020604051808303815f875af115801561260c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126309190614202565b979650505050505050565b5f61264533610abf565b5f61264e612bea565b600381015460405163d7537c3760e01b81526001600160601b038088166004830152861660248201529192506001600160a01b03169063d7537c37906044015b6020604051808303815f875af11580156126aa573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126ce9190614202565b949350505050565b5f806126e133610abf565b826126ea612bea565b60030154604051634f9c1c0960e01b81526001600160601b03831660048201526001600160a01b0390911690634f9c1c0990602401602060405180830381865afa15801561273a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061275e9190614264565b61278657604051632ab4595b60e11b81526001600160601b038216600482015260240161071e565b5f61278f612bea565b60048181015460405163b3eff9e160e01b81526001600160a01b03909116918101919091526001600160601b038716602482015290915073__$dbe4bf03c942dc0574f54ee579c90d56ef$__9063b3eff9e1906044016040805180830381865af41580156127ff573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612823919061455b565b5050600481015460038201545f91612848916001600160a01b03918216911688612d0c565b9050816003015f9054906101000a90046001600160a01b03166001600160a01b031663eb98e8a0878373__$3bac17678db7ae928afa209f2f44deec9c$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af41580156128b8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128dc9190614202565b73__$3bac17678db7ae928afa209f2f44deec9c$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af4158015612923573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906129479190614202565b60405160e086901b6001600160e01b03191681526001600160601b03948516600482015292841660248401529083166044830152909116606482015260840160408051808303815f875af11580156129a1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906129c5919061457f565b600384015460405163136cfef760e01b81526001600160601b038086166004830152831660248201529297509095506001600160a01b03169063136cfef7906044016020604051808303815f875af1158015612a23573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a479190614202565b50505050915091565b5f612a5a33610abf565b5f612a63612bea565b600381015460405163136cfef760e01b81526001600160601b038088166004830152861660248201529192506001600160a01b03169063136cfef79060440161268e565b5f612ab133610abf565b5f612aba612bea565b60048181015460405163153d412560e31b81526001600160601b038916928101929092529192505f916001600160a01b03169063a9ea092890602401608060405180830381865afa158015612b11573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612b35919061450d565b60200151600483810154604051637b21556160e01b81529182018390526001600160a01b0388811660248401529293505f921690637b21556190604401602060405180830381865afa158015612b8d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612bb191906144f6565b60038401546040516377f9185160e01b81529192506001600160a01b0316906377f91851906125f0908a9085908b908b90600401614527565b7fafe8d4462b2ed26a47154f4b8f6d1497d2f772496965791d25bd456e342b7f0090565b5f805160206148358339815191525f80612c46612c29612477565b8730612c3860045f8a8c6145ac565b612c41916145d3565b61362e565b9150915081612d045763ffffffff811615612ce157825460ff60a01b1916600160a01b178355612c74612477565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401612ca39392919061460b565b5f604051808303815f87803b158015612cba575f80fd5b505af1158015612ccc573d5f803e3d5ffd5b5050845460ff60a01b1916855550612d049050565b60405162d1953b60e31b81526001600160a01b038716600482015260240161071e565b505050505050565b6040516312b9a5c960e01b81526001600160601b03821660048201525f9081906001600160a01b038616906312b9a5c9906024016040805180830381865afa158015612d5a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d7e919061464a565b60405163e048754d60e01b81526001600160a01b03881660048201526001600160601b03861660248201526044810182905291935091505f9073__$dbe4bf03c942dc0574f54ee579c90d56ef$__9063e048754d906064016040805180830381865af4158015612df0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612e14919061457f565b50604051634a2101d160e01b81526001600160601b0380871660048301528086166024830152821660448201529091506001600160a01b03861690634a2101d1906064015f604051808303815f87803b158015612e6f575f80fd5b505af1158015612e81573d5f803e3d5ffd5b5050505050509392505050565b5f805f8051602061481583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612efa573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f1e9190614264565b15612f4a5780546040516301ab8b6760e21b81526001600160601b03909116600482015260240161071e565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015612f9c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612fc09190614264565b612fe85760405163b9304b0d60e01b81526001600160a01b038416600482015260240161071e565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa15801561303a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061305e9190614202565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b6102cb613736565b613099600b61376e565b6040516318c9565960e11b81526001600160a01b0384811660048301526001600160601b03841660248301529190911690633192acb2906044015f604051808303815f87803b1580156130ea575f80fd5b505af1158015612d04573d5f803e3d5ffd5b5f805160206148558339815191528054600160401b810460ff1615906001600160401b03165f8115801561312d5750825b90505f826001600160401b031660011480156131485750303b155b905081158015613156575080155b156131745760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561319e57845460ff60401b1916600160401b1785555b5f805f80898060200190518101906131b69190614676565b93509350935093505f8490505f816001600160a01b031663e2b178a06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156131ff573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061322391906141ba565b90505f8590505f816001600160a01b031663b201f7096040518163ffffffff1660e01b8152600401602060405180830381865afa158015613266573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061328a91906141ba565b90506133378389866001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156132cd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906132f19190614202565b6040805180820190915260078152665374616b696e6760c81b60208201528560035f8c60405180602001604052805f81525060405180602001604052805f815250613805565b5f613340612bea565b90506133546001546001600160a01b031690565b6001600160a01b031663fff74f6c6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561338f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906133b39190614202565b600480830180546001600160601b0393909316600160a01b026001600160a01b03938416179055600383018054928a166001600160a01b0319939093168317905560408051633148a11d60e11b81529051636291423a928281019260209291908290030181865afa15801561342a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061344e91906141ba565b6004820180546001600160a01b03199081166001600160a01b0393841617909155600183018054909116918a16919091179055613491637641aba360e01b61392a565b505050505050505050831561142557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200161141c565b5f8051602061483583398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b613544613ba7565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060800160405280825f0180546135819061421d565b80601f01602080910402602001604051908101604052809291908181526020018280546135ad9061421d565b80156135f85780601f106135cf576101008083540402835291602001916135f8565b820191905f5260205f20905b8154815290600101906020018083116135db57829003601f168201915b505050918352505060018301546001600160a01b031660208201525f6040820152600283018054606090920191610a359061421d565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161369c91906146c7565b5f60405180830381855afa9150503d805f81146136d4576040519150601f19603f3d011682016040523d82523d5f602084013e6136d9565b606091505b5091509150811561372b57604081511061370b578080602001905181019061370191906146dd565b909450925061372b565b602081511061372b57808060200190518101906137289190614264565b93505b505094509492505050565b5f8051602061485583398151915254600160401b900460ff1661376c57604051631afcd79f60e31b815260040160405180910390fd5b565b5f6137816001546001600160a01b031690565b6001600160a01b031663d39e604383613798611ec7565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156137db573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906137ff91906141ba565b92915050565b61380d613736565b6001600160a01b038616613834576040516327eab2e360e11b815260040160405180910390fd5b86515f036138555760405163591eebf360e11b815260040160405180910390fd5b613863898987878787613956565b61386c8a6139fb565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0080613898898261475a565b50600181018054861515600160a01b026001600160a81b03199091166001600160a01b038a1617179055600281016138d0838261475a565b506138db600b61376e565b6003820180546001600160a01b0319166001600160a01b039290921691909117905561390d634a531f3360e01b61392a565b61391d633b6f5c0360e11b61392a565b5050505050505050505050565b613932613736565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b61395e613736565b6139688683613a0f565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016139f1838261475a565b5050505050505050565b613a03613736565b613a0c81613a85565b50565b613a17613736565b613a2082613a96565b613a28613b62565b6001600160a01b038116613a4f5760405163f17ef42d60e01b815260040160405180910390fd5b5f8051602061481583398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b613a8d613736565b613a0c816134dc565b613a9e613736565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015613af4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613b189190614264565b613b405760405163fdeac91f60e01b81526001600160a01b038216600482015260240161071e565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b613b6a613736565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6040518060800160405280606081526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b5f60208284031215613bef575f80fd5b81356001600160e01b031981168114613c06575f80fd5b9392505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151613c83608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e0808401526126ce610100840182613c0d565b6001600160601b0381168114613a0c575f80fd5b5f60208284031215613ceb575f80fd5b8135613c0681613cc7565b602081525f613c066020830184613c0d565b5f8060408385031215613d19575f80fd5b8235613d2481613cc7565b946020939093013593505050565b5f805f60608486031215613d44575f80fd5b8335613d4f81613cc7565b92506020840135613d5f81613cc7565b91506040840135613d6f81613cc7565b809150509250925092565b634e487b7160e01b5f52604160045260245ffd5b604051608081016001600160401b0381118282101715613db057613db0613d7a565b60405290565b60405160e081016001600160401b0381118282101715613db057613db0613d7a565b604051601f8201601f191681016001600160401b0381118282101715613e0057613e00613d7a565b604052919050565b5f6001600160401b03821115613e2057613e20613d7a565b50601f01601f191660200190565b5f82601f830112613e3d575f80fd5b8135613e50613e4b82613e08565b613dd8565b818152846020838601011115613e64575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60208284031215613e90575f80fd5b81356001600160401b03811115613ea5575f80fd5b6126ce84828501613e2e565b60ff81168114613a0c575f80fd5b64ffffffffff81168114613a0c575f80fd5b5f8082840360a0811215613ee3575f80fd5b8335613eee81613cc7565b92506080601f1982011215613f01575f80fd5b50613f0a613d8e565b6020840135613f1881613eb1565b8152604084013560208201526060840135613f3281613ebf565b60408201526080939093013560608401525092909150565b6001600160a01b0381168114613a0c575f80fd5b5f8060408385031215613f6f575f80fd5b8235613f7a81613f4a565b91506020830135613f8a81613cc7565b809150509250929050565b5f8060408385031215613fa6575f80fd5b8235613fb181613f4a565b915060208301356001600160401b03811115613fcb575f80fd5b613fd785828601613e2e565b9150509250929050565b5f805f805f60a08688031215613ff5575f80fd5b853561400081613cc7565b9450602086013561401081613eb1565b935060408601359250606086013561402781613ebf565b949793965091946080013592915050565b5f8060408385031215614049575f80fd5b8235613f7a81613cc7565b5f8060408385031215614065575f80fd5b823561407081613cc7565b91506020830135613f8a81613ebf565b5f60208284031215614090575f80fd5b8135613c0681613f4a565b602081525f8251608060208401526140b660a0840182613c0d565b60208501516001600160a01b0390811660408681019190915286015116606080860191909152850151848203601f19016080860152909150611c4d8282613c0d565b5f805f6060848603121561410a575f80fd5b833561411581613cc7565b92506020840135613d5f81613f4a565b5f805f60608486031215614137575f80fd5b83359250602084013561414981613f4a565b929592945050506040919091013590565b5f805f806080858703121561416d575f80fd5b843561417881613f4a565b9350602085013561418881613f4a565b925060408501359150606085013561419f81613f4a565b939692955090935050565b80516141b581613f4a565b919050565b5f602082840312156141ca575f80fd5b8151613c0681613f4a565b5f602082840312156141e5575f80fd5b815162ffffff81168114613c06575f80fd5b80516141b581613cc7565b5f60208284031215614212575f80fd5b8151613c0681613cc7565b600181811c9082168061423157607f821691505b60208210810361424f57634e487b7160e01b5f52602260045260245ffd5b50919050565b805180151581146141b5575f80fd5b5f60208284031215614274575f80fd5b613c0682614255565b80516141b581613eb1565b5f60808284031215614298575f80fd5b6142a0613d8e565b905081516142ad81613eb1565b81526020828101519082015260408201516142c781613ebf565b604082015260609182015191810191909152919050565b5f8060a083850312156142ef575f80fd5b825191506143008460208501614288565b90509250929050565b5f60a0820190506001600160601b038416825260ff83511660208301526020830151604083015264ffffffffff6040840151166060830152606083015160808301529392505050565b5f60208284031215614362575f80fd5b8151613c0681613ebf565b5f6020828403121561437d575f80fd5b81516001600160401b0381168114613c06575f80fd5b5f82601f8301126143a2575f80fd5b81516143b0613e4b82613e08565b8181528460208386010111156143c4575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f602082840312156143f0575f80fd5b81516001600160401b03811115614405575f80fd5b820160e08185031215614416575f80fd5b61441e613db6565b614427826141f7565b8152614435602083016141f7565b60208201526144466040830161427d565b604082015261445760608301614255565b6060820152614468608083016141aa565b608082015261447960a083016141aa565b60a082015260c08201516001600160401b03811115614496575f80fd5b6144a286828501614393565b60c083015250949350505050565b5f8060a083850312156144c1575f80fd5b82516144cc81613ebf565b91506143008460208501614288565b5f602082840312156144eb575f80fd5b8151613c0681613eb1565b5f60208284031215614506575f80fd5b5051919050565b5f6080828403121561451d575f80fd5b613c068383614288565b6001600160601b03948516815260208101939093526001600160a01b03919091166040830152909116606082015260800190565b5f806040838503121561456c575f80fd5b82516020840151909250613f8a81613ebf565b5f8060408385031215614590575f80fd5b825161459b81613cc7565b6020840151909250613f8a81613cc7565b5f80858511156145ba575f80fd5b838611156145c6575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015614604576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f806040838503121561465b575f80fd5b825161466681613cc7565b6020939093015192949293505050565b5f805f8060808587031215614689575f80fd5b845161469481613f4a565b60208601519094506146a581613f4a565b60408601519093506146b681613f4a565b606086015190925061419f81613f4a565b5f82518060208501845e5f920191825250919050565b5f80604083850312156146ee575f80fd5b6146f783614255565b9150602083015163ffffffff81168114613f8a575f80fd5b601f8211156121a757805f5260205f20601f840160051c810160208510156147345750805b601f840160051c820191505b81811015614753575f8155600101614740565b5050505050565b81516001600160401b0381111561477357614773613d7a565b61478781614781845461421d565b8461470f565b6020601f8211600181146147b9575f83156147a25750848201515b5f19600385901b1c1916600184901b178455614753565b5f84815260208120601f198516915b828110156147e857878501518255602094850194600190920191016147c8565b508482101561480557868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212203f5c35d023db962a8f381fb33ac72bc075b496334dbfc6cd7621c531f396c85b64736f6c634300081a0033",
1599
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106102cb575f3560e01c8063614d08f81161017b578063958697a0116100e4578063caed98971161009e578063dea4ccf211610079578063dea4ccf214610675578063e8ce883d146106a8578063ea15869f146106bb578063ea48ce9b146106e2575f80fd5b8063caed989714610647578063d44f8a4b1461064f578063de0eb85f14610662575f80fd5b8063958697a0146105ea5780639a726364146105fd578063ad12ad6014610610578063ada9652e14610623578063b423086c14610637578063bf7e214f1461063f575f80fd5b80637a9e5e4b116101355780637a9e5e4b1461058957806386c757541461059c5780638899278a146105a4578063893d20e8146105ac5780638fb36037146105b457806390edbd35146105d5575f80fd5b8063614d08f8146104fe5780636291423a14610524578063644c45e01461052c5780636c1e9dff14610549578063719f761a1461055c57806376b707b71461056f575f80fd5b80632a80f6731161023757806349bb9e4b116101f15780635ab1bd53116101cc5780635ab1bd53146104b45780635cbb7d85146104c55780635ecf260f146104d85780635fd1efec146104eb575f80fd5b806349bb9e4b14610486578063562119ee146104995780635741e5e9146104ac575f80fd5b80632a80f6731461041f57806331ecc5cc14610432578063329d6e741461044557806336644da614610458578063419197fe1461046b57806343d752d31461047e575f80fd5b806313299604116102885780631329960414610393578063138461e0146103b357806317d7de7c146103d35780631eff4b22146103e857806321df0da71461040f5780632236684414610417575f80fd5b806301ffc9a7146102cf578063062c9cdf1461031057806309980bfd146103455780630d8e6e2c1461034f5780630fec111c1461036b57806310a0638a14610380575b5f80fd5b6102fb6102dd366004613bdf565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6103377fafe8d4462b2ed26a47154f4b8f6d1497d2f772496965791d25bd456e342b7f0081565b604051908152602001610307565b61034d6106f5565b005b610357610875565b60405162ffffff9091168152602001610307565b6103736108fc565b6040516103079190613c3b565b61034d61038e366004613cdb565b610aba565b61039b610b9e565b6040516001600160a01b039091168152602001610307565b6103bb610c06565b6040516001600160601b039091168152602001610307565b6103db610c10565b6040516103079190613cf6565b6103377f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b61039b610c20565b6102fb610c32565b61034d61042d366004613d08565b610d28565b61034d610440366004613d32565b610f92565b61034d610453366004613e80565b611140565b61034d610466366004613ed1565b61128a565b61034d610479366004613f5e565b6112d2565b61039b611317565b61034d610494366004613f95565b611332565b61034d6104a7366004613fe1565b61142e565b6102fb61155e565b6001546001600160a01b031661039b565b6103bb6104d3366004614038565b61161b565b61034d6104e6366004614054565b6116dd565b61034d6104f9366004614080565b61194c565b6103db604051806040016040528060078152602001665374616b696e6760c81b81525081565b61039b611ab1565b5f80516020614815833981519152546001600160601b03166103bb565b6103bb610557366004614038565b611acc565b6103bb61056a366004613cdb565b611c56565b610577611ec7565b60405160ff9091168152602001610307565b61034d610597366004614080565b611f3b565b61039b611fbd565b610337600381565b61039b611fd8565b6105bc612109565b6040516001600160e01b03199091168152602001610307565b6105dd61213e565b604051610307919061409b565b61034d6105f83660046140f8565b612163565b61034d61060b366004614125565b6121ac565b61034d61061e36600461415a565b6123c5565b6103375f8051602061481583398151915281565b6105dd612467565b61039b612477565b61039b612492565b6103bb61065d3660046140f8565b6124ad565b6103bb610670366004614038565b61263b565b610688610683366004613cdb565b6126d6565b604080516001600160601b03938416815292909116602083015201610307565b6103bb6106b6366004614038565b612a50565b6103377fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b6103bb6106f03660046140f8565b612aa7565b6001546001600160a01b0316331461072757604051632a6e1a8960e01b81523360048201526024015b60405180910390fd5b5f610730612bea565b905073__$51089c37ca0df1177a910c640c8c5f8165$__6350c6470d61075e6001546001600160a01b031690565b30610767610c20565b6001546001600160a01b03166001600160a01b031663e2b178a06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107ae573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107d291906141ba565b60405160e086901b6001600160e01b03191681526001600160a01b039485166004820152928416602484015290831660448301529091166064820152608401602060405180830381865af415801561082c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061085091906141ba565b60029190910180546001600160a01b0319166001600160a01b03909216919091179055565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156108d3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108f791906141d5565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156109ac573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109d09190614202565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610a18611fd8565b6001600160a01b03168152602001826001018054610a359061421d565b80601f0160208091040260200160405190810160405280929190818152602001828054610a619061421d565b8015610aac5780601f10610a8357610100808354040283529160200191610aac565b820191905f5260205f20905b815481529060010190602001808311610a8f57829003601f168201915b505050505081525091505090565b610ac6335b5f36612c0e565b80610acf612bea565b60030154604051634f9c1c0960e01b81526001600160601b03831660048201526001600160a01b0390911690634f9c1c0990602401602060405180830381865afa158015610b1f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b439190614264565b610b6b57604051632ab4595b60e11b81526001600160601b038216600482015260240161071e565b5f610b74612bea565b60048101546003820154919250610b98916001600160a01b03918216911685612d0c565b50505050565b5f610ba7611317565b6001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa158015610be2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108f791906141ba565b5f6108f730612e8e565b6060610c1a61213e565b51919050565b5f610c2961213e565b60200151905090565b5f610c456001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610c89573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cad9190614202565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610d04573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108f79190614264565b610d3133610abf565b81610d3a612bea565b6003015f9054906101000a90046001600160a01b03166001600160a01b0316635cce3fa16040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d8b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610daf91906141ba565b604051634f9c1c0960e01b81526001600160601b03831660048201526001600160a01b039190911690634f9c1c0990602401602060405180830381865afa158015610dfc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e209190614264565b610e48576040516396cff01560e01b81526001600160601b038216600482015260240161071e565b604051633a39e8ad60e21b81523060048201526001600160601b0384166024820152604481018390525f90819073__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__9063e8e7a2b49060640160a060405180830381865af4158015610eaf573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ed391906142de565b91509150610edf612bea565b60030154604051630300f49160e31b81526001600160a01b0390911690631807a48890610f129088908590600401614309565b5f604051808303815f87803b158015610f29575f80fd5b505af1158015610f3b573d5f803e3d5ffd5b5050604080516001600160601b0389168152602081018690529081018790527f3e76c26439d1ec3386e26dfeebf955ea11f5f5f30459052b70e061ade8c9554f925060600190505b60405180910390a15050505050565b610f9b33610abf565b5f610fa4612bea565b600481810154604051630e8d845760e31b81526001600160a01b03909116918101919091526001600160601b038086166024830152841660448201529091505f9073__$dbe4bf03c942dc0574f54ee579c90d56ef$__9063746c22b890606401602060405180830381865af415801561101f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110439190614352565b60038301546040805160208101825264ffffffffff848116825291516331420df160e11b81526001600160601b038a166004820152905190911660248201529192506001600160a01b0316906362841be2906044015f604051808303815f87803b1580156110af575f80fd5b505af11580156110c1573d5f803e3d5ffd5b505050506003820154604051633861317f60e01b81526001600160601b0380881660048301528087166024830152851660448201526001600160a01b0390911690633861317f906064015b5f604051808303815f87803b158015611123575f80fd5b505af1158015611135573d5f803e3d5ffd5b505050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c611162610875565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156111a0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111c4919061436d565b5f805160206148558339815191528054600160401b900460ff16806111f6575080546001600160401b03808416911610155b156112145760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561123e83613087565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b61129333610abf565b61129b611fd8565b6001600160a01b0316336001600160a01b0316146112ce5760405163086391f760e31b815233600482015260240161071e565b5050565b6112da611fd8565b6001600160a01b0316336001600160a01b03161461130d5760405163086391f760e31b815233600482015260240161071e565b6112ce828261308f565b5f611320612bea565b600201546001600160a01b0316919050565b5f805160206148558339815191528054600160401b810460ff1615906001600160401b03165f811580156113635750825b90505f826001600160401b0316600114801561137e5750303b155b90508115801561138c575080155b156113aa5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156113d457845460ff60401b1916600160401b1785555b6113de87876130fc565b831561142557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b61143733610abf565b73__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__639ed616cd6114636001546001600160a01b031690565b61146b612bea565b60049081015460405160e085901b6001600160e01b03191681526001600160a01b03938416928101929092529190911660248201526001600160601b038816604482015260ff8716606482015264ffffffffff8516608482015260a4810184905260c4015f6040518083038186803b1580156114e5575f80fd5b505af41580156114f7573d5f803e3d5ffd5b50505050611503612bea565b600301546040805160808101825260ff871681526020810186905264ffffffffff851681830152606081018490529051632df8be9b60e01b81526001600160a01b0390921691632df8be9b9161110c91899190600401614309565b5f611567610c32565b156115eb576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa1580156115bb573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526115e291908101906143e0565b60600151905090565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0154600160a01b900460ff1690565b5f61162533610abf565b8261162e612bea565b60030154604051634f9c1c0960e01b81526001600160601b03831660048201526001600160a01b0390911690634f9c1c0990602401602060405180830381865afa15801561167e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116a29190614264565b6116ca57604051632ab4595b60e11b81526001600160601b038216600482015260240161071e565b5f6116d3612bea565b9050505092915050565b6116e633610abf565b816116ef612bea565b6003015f9054906101000a90046001600160a01b03166001600160a01b0316635cce3fa16040518163ffffffff1660e01b8152600401602060405180830381865afa158015611740573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061176491906141ba565b604051634f9c1c0960e01b81526001600160601b03831660048201526001600160a01b039190911690634f9c1c0990602401602060405180830381865afa1580156117b1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117d59190614264565b6117fd576040516396cff01560e01b81526001600160601b038216600482015260240161071e565b604051635f9c0df360e11b81523060048201526001600160601b038416602482015264ffffffffff831660448201525f90819073__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__9063bf381be69060640160a060405180830381865af415801561186a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061188e91906144b0565b9150915061189a612bea565b60030154604051630300f49160e31b81526001600160a01b0390911690631807a488906118cd9088908590600401614309565b5f604051808303815f87803b1580156118e4575f80fd5b505af11580156118f6573d5f803e3d5ffd5b5050604080516001600160601b038916815264ffffffffff80871660208301528816918101919091527fb847665302c1d8b6f507e07b17145514cea04af84e1665d629d82246992311e792506060019050610f83565b611954611fd8565b6001600160a01b0316336001600160a01b0316146119875760405163086391f760e31b815233600482015260240161071e565b306001600160a01b0316816001600160a01b0316637b1391a66040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119cd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119f191906141ba565b6001600160a01b031614611a8457806001600160a01b0316637b1391a66040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a3b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a5f91906141ba565b604051631641c88f60e11b81526001600160a01b03909116600482015260240161071e565b80611a8d612bea565b60040180546001600160a01b0319166001600160a01b039290921691909117905550565b5f611aba612bea565b600401546001600160a01b0316919050565b5f611ad633610abf565b82611adf612bea565b60030154604051634f9c1c0960e01b81526001600160601b03831660048201526001600160a01b0390911690634f9c1c0990602401602060405180830381865afa158015611b2f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b539190614264565b611b7b57604051632ab4595b60e11b81526001600160601b038216600482015260240161071e565b5f611b84612bea565b905073__$dbe4bf03c942dc0574f54ee579c90d56ef$__630fcf5d08611bb26001546001600160a01b031690565b600484810154600386015460405160e086901b6001600160e01b03191681526001600160a01b039485169381019390935290831660248301529190911660448201526001600160601b0380891660648301528716608482015260a401602060405180830381865af4158015611c29573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c4d9190614202565b95945050505050565b5f611c6033610abf565b81611c69612bea565b60030154604051634f9c1c0960e01b81526001600160601b03831660048201526001600160a01b0390911690634f9c1c0990602401602060405180830381865afa158015611cb9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cdd9190614264565b611d0557604051632ab4595b60e11b81526001600160601b038216600482015260240161071e565b5f611d0e612bea565b600481015460038201549192505f91611d34916001600160a01b03908116911687612d0c565b9050816003015f9054906101000a90046001600160a01b03166001600160a01b0316633fbdfe32868373__$3bac17678db7ae928afa209f2f44deec9c$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af4158015611da4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611dc89190614202565b60405160e085901b6001600160e01b03191681526001600160601b039384166004820152918316602483015290911660448201526064016020604051808303815f875af1158015611e1b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e3f9190614202565b600383015460405163136cfef760e01b81526001600160601b038085166004830152831660248201529195506001600160a01b03169063136cfef7906044016020604051808303815f875af1158015611e9a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ebe9190614202565b50505050919050565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015611f17573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108f791906144db565b33611f44612477565b6001600160a01b0316816001600160a01b031614611f7f5760405162d1953b60e31b81526001600160a01b038216600482015260240161071e565b816001600160a01b03163b5f03611fb4576040516361798f2f60e11b81526001600160a01b038316600482015260240161071e565b6112ce826134dc565b5f611fc6612bea565b600301546001600160a01b0316919050565b5f805f8051602061481583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612044573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120689190614264565b156120f3576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156120c9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120ed91906141ba565b91505090565b54600160601b90046001600160a01b0316919050565b5f8051602061483583398151915280545f9190600160a01b900460ff16612130575f6120ed565b638fb3603760e01b91505090565b612146613ba7565b61214e610c32565b1561215b576108f761353c565b6108f7612467565b61216c33610abf565b612174611fd8565b6001600160a01b0316336001600160a01b0316146121a75760405163086391f760e31b815233600482015260240161071e565b505050565b6121b4611fd8565b6001600160a01b0316336001600160a01b0316146121e75760405163086391f760e31b815233600482015260240161071e565b5f6121f0612bea565b6001810154604051631703edc360e31b8152600481018790526001600160a01b03868116602483015292935091169063b81f6e1890604401602060405180830381865afa158015612243573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122679190614264565b612296576040516374ddbd6960e01b8152600481018590526001600160a01b038416602482015260440161071e565b6003810154604051637b21556160e01b8152600481018690526001600160a01b0385811660248301525f921690637b21556190604401602060405180830381865afa1580156122e7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061230b91906144f6565b600383015460405163269c98d960e21b8152600481018890526001600160a01b03878116602483015260448201879052929350911690639a726364906064015f604051808303815f87803b158015612361575f80fd5b505af1158015612373573d5f803e3d5ffd5b5050604080518881526001600160a01b0388166020820152908101849052606081018690527f8075f599388073d04550222731e9c7e00c284a4f858d8a0ffc0657164981c76e92506080019050610f83565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa15801561240c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061243091906141ba565b6001600160a01b0316336001600160a01b0316146124625760405162f0630960e01b815233600482015260240161071e565b610b98565b61246f613ba7565b6108f761353c565b5f80516020614835833981519152546001600160a01b031690565b5f61249b612bea565b600101546001600160a01b0316919050565b5f6124b733610abf565b5f6124c0612bea565b60048181015460405163153d412560e31b81526001600160601b038916928101929092529192505f916001600160a01b03169063a9ea092890602401608060405180830381865afa158015612517573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061253b919061450d565b60200151600483810154604051637b21556160e01b81529182018390526001600160a01b0388811660248401529293505f921690637b21556190604401602060405180830381865afa158015612593573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125b791906144f6565b6003840154604051633ece552760e21b81529192506001600160a01b03169063fb39549c906125f0908a9085908b908b90600401614527565b6020604051808303815f875af115801561260c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126309190614202565b979650505050505050565b5f61264533610abf565b5f61264e612bea565b600381015460405163d7537c3760e01b81526001600160601b038088166004830152861660248201529192506001600160a01b03169063d7537c37906044015b6020604051808303815f875af11580156126aa573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126ce9190614202565b949350505050565b5f806126e133610abf565b826126ea612bea565b60030154604051634f9c1c0960e01b81526001600160601b03831660048201526001600160a01b0390911690634f9c1c0990602401602060405180830381865afa15801561273a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061275e9190614264565b61278657604051632ab4595b60e11b81526001600160601b038216600482015260240161071e565b5f61278f612bea565b60048181015460405163b3eff9e160e01b81526001600160a01b03909116918101919091526001600160601b038716602482015290915073__$dbe4bf03c942dc0574f54ee579c90d56ef$__9063b3eff9e1906044016040805180830381865af41580156127ff573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612823919061455b565b5050600481015460038201545f91612848916001600160a01b03918216911688612d0c565b9050816003015f9054906101000a90046001600160a01b03166001600160a01b031663eb98e8a0878373__$3bac17678db7ae928afa209f2f44deec9c$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af41580156128b8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128dc9190614202565b73__$3bac17678db7ae928afa209f2f44deec9c$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af4158015612923573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906129479190614202565b60405160e086901b6001600160e01b03191681526001600160601b03948516600482015292841660248401529083166044830152909116606482015260840160408051808303815f875af11580156129a1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906129c5919061457f565b600384015460405163136cfef760e01b81526001600160601b038086166004830152831660248201529297509095506001600160a01b03169063136cfef7906044016020604051808303815f875af1158015612a23573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a479190614202565b50505050915091565b5f612a5a33610abf565b5f612a63612bea565b600381015460405163136cfef760e01b81526001600160601b038088166004830152861660248201529192506001600160a01b03169063136cfef79060440161268e565b5f612ab133610abf565b5f612aba612bea565b60048181015460405163153d412560e31b81526001600160601b038916928101929092529192505f916001600160a01b03169063a9ea092890602401608060405180830381865afa158015612b11573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612b35919061450d565b60200151600483810154604051637b21556160e01b81529182018390526001600160a01b0388811660248401529293505f921690637b21556190604401602060405180830381865afa158015612b8d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612bb191906144f6565b60038401546040516377f9185160e01b81529192506001600160a01b0316906377f91851906125f0908a9085908b908b90600401614527565b7fafe8d4462b2ed26a47154f4b8f6d1497d2f772496965791d25bd456e342b7f0090565b5f805160206148358339815191525f80612c46612c29612477565b8730612c3860045f8a8c6145ac565b612c41916145d3565b61362e565b9150915081612d045763ffffffff811615612ce157825460ff60a01b1916600160a01b178355612c74612477565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401612ca39392919061460b565b5f604051808303815f87803b158015612cba575f80fd5b505af1158015612ccc573d5f803e3d5ffd5b5050845460ff60a01b1916855550612d049050565b60405162d1953b60e31b81526001600160a01b038716600482015260240161071e565b505050505050565b6040516312b9a5c960e01b81526001600160601b03821660048201525f9081906001600160a01b038616906312b9a5c9906024016040805180830381865afa158015612d5a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d7e919061464a565b60405163e048754d60e01b81526001600160a01b03881660048201526001600160601b03861660248201526044810182905291935091505f9073__$dbe4bf03c942dc0574f54ee579c90d56ef$__9063e048754d906064016040805180830381865af4158015612df0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612e14919061457f565b50604051634a2101d160e01b81526001600160601b0380871660048301528086166024830152821660448201529091506001600160a01b03861690634a2101d1906064015f604051808303815f87803b158015612e6f575f80fd5b505af1158015612e81573d5f803e3d5ffd5b5050505050509392505050565b5f805f8051602061481583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612efa573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f1e9190614264565b15612f4a5780546040516301ab8b6760e21b81526001600160601b03909116600482015260240161071e565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015612f9c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612fc09190614264565b612fe85760405163b9304b0d60e01b81526001600160a01b038416600482015260240161071e565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa15801561303a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061305e9190614202565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b6102cb613736565b613099600b61376e565b6040516318c9565960e11b81526001600160a01b0384811660048301526001600160601b03841660248301529190911690633192acb2906044015f604051808303815f87803b1580156130ea575f80fd5b505af1158015612d04573d5f803e3d5ffd5b5f805160206148558339815191528054600160401b810460ff1615906001600160401b03165f8115801561312d5750825b90505f826001600160401b031660011480156131485750303b155b905081158015613156575080155b156131745760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561319e57845460ff60401b1916600160401b1785555b5f805f80898060200190518101906131b69190614676565b93509350935093505f8490505f816001600160a01b031663e2b178a06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156131ff573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061322391906141ba565b90505f8590505f816001600160a01b031663b201f7096040518163ffffffff1660e01b8152600401602060405180830381865afa158015613266573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061328a91906141ba565b90506133378389866001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156132cd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906132f19190614202565b6040805180820190915260078152665374616b696e6760c81b60208201528560035f8c60405180602001604052805f81525060405180602001604052805f815250613805565b5f613340612bea565b90506133546001546001600160a01b031690565b6001600160a01b031663fff74f6c6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561338f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906133b39190614202565b600480830180546001600160601b0393909316600160a01b026001600160a01b03938416179055600383018054928a166001600160a01b0319939093168317905560408051633148a11d60e11b81529051636291423a928281019260209291908290030181865afa15801561342a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061344e91906141ba565b6004820180546001600160a01b03199081166001600160a01b0393841617909155600183018054909116918a16919091179055613491637641aba360e01b61392a565b505050505050505050831561142557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200161141c565b5f8051602061483583398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b613544613ba7565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060800160405280825f0180546135819061421d565b80601f01602080910402602001604051908101604052809291908181526020018280546135ad9061421d565b80156135f85780601f106135cf576101008083540402835291602001916135f8565b820191905f5260205f20905b8154815290600101906020018083116135db57829003601f168201915b505050918352505060018301546001600160a01b031660208201525f6040820152600283018054606090920191610a359061421d565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161369c91906146c7565b5f60405180830381855afa9150503d805f81146136d4576040519150601f19603f3d011682016040523d82523d5f602084013e6136d9565b606091505b5091509150811561372b57604081511061370b578080602001905181019061370191906146dd565b909450925061372b565b602081511061372b57808060200190518101906137289190614264565b93505b505094509492505050565b5f8051602061485583398151915254600160401b900460ff1661376c57604051631afcd79f60e31b815260040160405180910390fd5b565b5f6137816001546001600160a01b031690565b6001600160a01b031663d39e604383613798611ec7565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156137db573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906137ff91906141ba565b92915050565b61380d613736565b6001600160a01b038616613834576040516327eab2e360e11b815260040160405180910390fd5b86515f036138555760405163591eebf360e11b815260040160405180910390fd5b613863898987878787613956565b61386c8a6139fb565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0080613898898261475a565b50600181018054861515600160a01b026001600160a81b03199091166001600160a01b038a1617179055600281016138d0838261475a565b506138db600b61376e565b6003820180546001600160a01b0319166001600160a01b039290921691909117905561390d634a531f3360e01b61392a565b61391d633b6f5c0360e11b61392a565b5050505050505050505050565b613932613736565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b61395e613736565b6139688683613a0f565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016139f1838261475a565b5050505050505050565b613a03613736565b613a0c81613a85565b50565b613a17613736565b613a2082613a96565b613a28613b62565b6001600160a01b038116613a4f5760405163f17ef42d60e01b815260040160405180910390fd5b5f8051602061481583398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b613a8d613736565b613a0c816134dc565b613a9e613736565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015613af4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613b189190614264565b613b405760405163fdeac91f60e01b81526001600160a01b038216600482015260240161071e565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b613b6a613736565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6040518060800160405280606081526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b5f60208284031215613bef575f80fd5b81356001600160e01b031981168114613c06575f80fd5b9392505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151613c83608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e0808401526126ce610100840182613c0d565b6001600160601b0381168114613a0c575f80fd5b5f60208284031215613ceb575f80fd5b8135613c0681613cc7565b602081525f613c066020830184613c0d565b5f8060408385031215613d19575f80fd5b8235613d2481613cc7565b946020939093013593505050565b5f805f60608486031215613d44575f80fd5b8335613d4f81613cc7565b92506020840135613d5f81613cc7565b91506040840135613d6f81613cc7565b809150509250925092565b634e487b7160e01b5f52604160045260245ffd5b604051608081016001600160401b0381118282101715613db057613db0613d7a565b60405290565b60405160e081016001600160401b0381118282101715613db057613db0613d7a565b604051601f8201601f191681016001600160401b0381118282101715613e0057613e00613d7a565b604052919050565b5f6001600160401b03821115613e2057613e20613d7a565b50601f01601f191660200190565b5f82601f830112613e3d575f80fd5b8135613e50613e4b82613e08565b613dd8565b818152846020838601011115613e64575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60208284031215613e90575f80fd5b81356001600160401b03811115613ea5575f80fd5b6126ce84828501613e2e565b60ff81168114613a0c575f80fd5b64ffffffffff81168114613a0c575f80fd5b5f8082840360a0811215613ee3575f80fd5b8335613eee81613cc7565b92506080601f1982011215613f01575f80fd5b50613f0a613d8e565b6020840135613f1881613eb1565b8152604084013560208201526060840135613f3281613ebf565b60408201526080939093013560608401525092909150565b6001600160a01b0381168114613a0c575f80fd5b5f8060408385031215613f6f575f80fd5b8235613f7a81613f4a565b91506020830135613f8a81613cc7565b809150509250929050565b5f8060408385031215613fa6575f80fd5b8235613fb181613f4a565b915060208301356001600160401b03811115613fcb575f80fd5b613fd785828601613e2e565b9150509250929050565b5f805f805f60a08688031215613ff5575f80fd5b853561400081613cc7565b9450602086013561401081613eb1565b935060408601359250606086013561402781613ebf565b949793965091946080013592915050565b5f8060408385031215614049575f80fd5b8235613f7a81613cc7565b5f8060408385031215614065575f80fd5b823561407081613cc7565b91506020830135613f8a81613ebf565b5f60208284031215614090575f80fd5b8135613c0681613f4a565b602081525f8251608060208401526140b660a0840182613c0d565b60208501516001600160a01b0390811660408681019190915286015116606080860191909152850151848203601f19016080860152909150611c4d8282613c0d565b5f805f6060848603121561410a575f80fd5b833561411581613cc7565b92506020840135613d5f81613f4a565b5f805f60608486031215614137575f80fd5b83359250602084013561414981613f4a565b929592945050506040919091013590565b5f805f806080858703121561416d575f80fd5b843561417881613f4a565b9350602085013561418881613f4a565b925060408501359150606085013561419f81613f4a565b939692955090935050565b80516141b581613f4a565b919050565b5f602082840312156141ca575f80fd5b8151613c0681613f4a565b5f602082840312156141e5575f80fd5b815162ffffff81168114613c06575f80fd5b80516141b581613cc7565b5f60208284031215614212575f80fd5b8151613c0681613cc7565b600181811c9082168061423157607f821691505b60208210810361424f57634e487b7160e01b5f52602260045260245ffd5b50919050565b805180151581146141b5575f80fd5b5f60208284031215614274575f80fd5b613c0682614255565b80516141b581613eb1565b5f60808284031215614298575f80fd5b6142a0613d8e565b905081516142ad81613eb1565b81526020828101519082015260408201516142c781613ebf565b604082015260609182015191810191909152919050565b5f8060a083850312156142ef575f80fd5b825191506143008460208501614288565b90509250929050565b5f60a0820190506001600160601b038416825260ff83511660208301526020830151604083015264ffffffffff6040840151166060830152606083015160808301529392505050565b5f60208284031215614362575f80fd5b8151613c0681613ebf565b5f6020828403121561437d575f80fd5b81516001600160401b0381168114613c06575f80fd5b5f82601f8301126143a2575f80fd5b81516143b0613e4b82613e08565b8181528460208386010111156143c4575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f602082840312156143f0575f80fd5b81516001600160401b03811115614405575f80fd5b820160e08185031215614416575f80fd5b61441e613db6565b614427826141f7565b8152614435602083016141f7565b60208201526144466040830161427d565b604082015261445760608301614255565b6060820152614468608083016141aa565b608082015261447960a083016141aa565b60a082015260c08201516001600160401b03811115614496575f80fd5b6144a286828501614393565b60c083015250949350505050565b5f8060a083850312156144c1575f80fd5b82516144cc81613ebf565b91506143008460208501614288565b5f602082840312156144eb575f80fd5b8151613c0681613eb1565b5f60208284031215614506575f80fd5b5051919050565b5f6080828403121561451d575f80fd5b613c068383614288565b6001600160601b03948516815260208101939093526001600160a01b03919091166040830152909116606082015260800190565b5f806040838503121561456c575f80fd5b82516020840151909250613f8a81613ebf565b5f8060408385031215614590575f80fd5b825161459b81613cc7565b6020840151909250613f8a81613cc7565b5f80858511156145ba575f80fd5b838611156145c6575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015614604576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f806040838503121561465b575f80fd5b825161466681613cc7565b6020939093015192949293505050565b5f805f8060808587031215614689575f80fd5b845161469481613f4a565b60208601519094506146a581613f4a565b60408601519093506146b681613f4a565b606086015190925061419f81613f4a565b5f82518060208501845e5f920191825250919050565b5f80604083850312156146ee575f80fd5b6146f783614255565b9150602083015163ffffffff81168114613f8a575f80fd5b601f8211156121a757805f5260205f20601f840160051c810160208510156147345750805b601f840160051c820191505b81811015614753575f8155600101614740565b5050505050565b81516001600160401b0381111561477357614773613d7a565b61478781614781845461421d565b8461470f565b6020601f8211600181146147b9575f83156147a25750848201515b5f19600385901b1c1916600184901b178455614753565b5f84815260208120601f198516915b828110156147e857878501518255602094850194600190920191016147c8565b508482101561480557868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212203f5c35d023db962a8f381fb33ac72bc075b496334dbfc6cd7621c531f396c85b64736f6c634300081a0033",
1926
1600
  "linkReferences": {
1927
- "contracts/type/Amount.sol": {
1928
- "AmountLib": [
1601
+ "contracts/shared/ContractLib.sol": {
1602
+ "ContractLib": [
1929
1603
  {
1930
1604
  "length": 20,
1931
- "start": 17242
1932
- },
1605
+ "start": 15250
1606
+ }
1607
+ ]
1608
+ },
1609
+ "contracts/shared/TokenHandlerDeployerLib.sol": {
1610
+ "TokenHandlerDeployerLib": [
1933
1611
  {
1934
1612
  "length": 20,
1935
- "start": 17399
1613
+ "start": 2058
1936
1614
  }
1937
1615
  ]
1938
1616
  },
1939
- "contracts/type/Key32.sol": {
1940
- "Key32Lib": [
1617
+ "contracts/staking/StakeManagerLib.sol": {
1618
+ "StakeManagerLib": [
1619
+ {
1620
+ "length": 20,
1621
+ "start": 4285
1622
+ },
1623
+ {
1624
+ "length": 20,
1625
+ "start": 7262
1626
+ },
1627
+ {
1628
+ "length": 20,
1629
+ "start": 10398
1630
+ },
1941
1631
  {
1942
1632
  "length": 20,
1943
- "start": 9494
1633
+ "start": 11919
1944
1634
  }
1945
1635
  ]
1946
1636
  },
1947
- "contracts/type/NftId.sol": {
1948
- "NftIdLib": [
1637
+ "contracts/staking/TargetManagerLib.sol": {
1638
+ "TargetManagerLib": [
1949
1639
  {
1950
1640
  "length": 20,
1951
- "start": 3622
1641
+ "start": 3917
1952
1642
  },
1953
1643
  {
1954
1644
  "length": 20,
1955
- "start": 4053
1645
+ "start": 5391
1956
1646
  },
1957
1647
  {
1958
1648
  "length": 20,
1959
- "start": 4779
1649
+ "start": 6408
1650
+ }
1651
+ ]
1652
+ },
1653
+ "contracts/type/Amount.sol": {
1654
+ "AmountLib": [
1655
+ {
1656
+ "length": 20,
1657
+ "start": 7733
1960
1658
  },
1961
1659
  {
1962
1660
  "length": 20,
1963
- "start": 6901
1661
+ "start": 10569
1964
1662
  },
1965
1663
  {
1966
1664
  "length": 20,
1967
- "start": 12187
1665
+ "start": 10676
1968
1666
  }
1969
1667
  ]
1970
1668
  },
1971
- "contracts/type/StateId.sol": {
1972
- "StateIdLib": [
1669
+ "contracts/type/NftId.sol": {
1670
+ "NftIdLib": [
1973
1671
  {
1974
1672
  "length": 20,
1975
- "start": 5507
1673
+ "start": 2621
1976
1674
  },
1977
1675
  {
1978
1676
  "length": 20,
1979
- "start": 7705
1677
+ "start": 3490
1980
1678
  },
1981
1679
  {
1982
1680
  "length": 20,
1983
- "start": 8136
1681
+ "start": 8418
1682
+ },
1683
+ {
1684
+ "length": 20,
1685
+ "start": 12184
1984
1686
  }
1985
1687
  ]
1986
1688
  },
@@ -1988,73 +1690,107 @@
1988
1690
  "VersionLib": [
1989
1691
  {
1990
1692
  "length": 20,
1991
- "start": 3411
1693
+ "start": 2417
1992
1694
  },
1993
1695
  {
1994
1696
  "length": 20,
1995
- "start": 5049
1697
+ "start": 4632
1698
+ }
1699
+ ],
1700
+ "VersionPartLib": [
1701
+ {
1702
+ "length": 20,
1703
+ "start": 8117
1996
1704
  }
1997
1705
  ]
1998
1706
  }
1999
1707
  },
2000
1708
  "deployedLinkReferences": {
2001
- "contracts/type/Amount.sol": {
2002
- "AmountLib": [
1709
+ "contracts/shared/ContractLib.sol": {
1710
+ "ContractLib": [
2003
1711
  {
2004
1712
  "length": 20,
2005
- "start": 17012
2006
- },
1713
+ "start": 15036
1714
+ }
1715
+ ]
1716
+ },
1717
+ "contracts/shared/TokenHandlerDeployerLib.sol": {
1718
+ "TokenHandlerDeployerLib": [
2007
1719
  {
2008
1720
  "length": 20,
2009
- "start": 17169
1721
+ "start": 1844
2010
1722
  }
2011
1723
  ]
2012
1724
  },
2013
- "contracts/type/Key32.sol": {
2014
- "Key32Lib": [
1725
+ "contracts/staking/StakeManagerLib.sol": {
1726
+ "StakeManagerLib": [
1727
+ {
1728
+ "length": 20,
1729
+ "start": 4071
1730
+ },
2015
1731
  {
2016
1732
  "length": 20,
2017
- "start": 9264
1733
+ "start": 7048
1734
+ },
1735
+ {
1736
+ "length": 20,
1737
+ "start": 10184
1738
+ },
1739
+ {
1740
+ "length": 20,
1741
+ "start": 11705
2018
1742
  }
2019
1743
  ]
2020
1744
  },
2021
- "contracts/type/NftId.sol": {
2022
- "NftIdLib": [
1745
+ "contracts/staking/TargetManagerLib.sol": {
1746
+ "TargetManagerLib": [
2023
1747
  {
2024
1748
  "length": 20,
2025
- "start": 3392
1749
+ "start": 3703
2026
1750
  },
2027
1751
  {
2028
1752
  "length": 20,
2029
- "start": 3823
1753
+ "start": 5177
2030
1754
  },
2031
1755
  {
2032
1756
  "length": 20,
2033
- "start": 4549
1757
+ "start": 6194
1758
+ }
1759
+ ]
1760
+ },
1761
+ "contracts/type/Amount.sol": {
1762
+ "AmountLib": [
1763
+ {
1764
+ "length": 20,
1765
+ "start": 7519
2034
1766
  },
2035
1767
  {
2036
1768
  "length": 20,
2037
- "start": 6671
1769
+ "start": 10355
2038
1770
  },
2039
1771
  {
2040
1772
  "length": 20,
2041
- "start": 11957
1773
+ "start": 10462
2042
1774
  }
2043
1775
  ]
2044
1776
  },
2045
- "contracts/type/StateId.sol": {
2046
- "StateIdLib": [
1777
+ "contracts/type/NftId.sol": {
1778
+ "NftIdLib": [
1779
+ {
1780
+ "length": 20,
1781
+ "start": 2407
1782
+ },
2047
1783
  {
2048
1784
  "length": 20,
2049
- "start": 5277
1785
+ "start": 3276
2050
1786
  },
2051
1787
  {
2052
1788
  "length": 20,
2053
- "start": 7475
1789
+ "start": 8204
2054
1790
  },
2055
1791
  {
2056
1792
  "length": 20,
2057
- "start": 7906
1793
+ "start": 11970
2058
1794
  }
2059
1795
  ]
2060
1796
  },
@@ -2062,11 +1798,17 @@
2062
1798
  "VersionLib": [
2063
1799
  {
2064
1800
  "length": 20,
2065
- "start": 3181
1801
+ "start": 2203
2066
1802
  },
2067
1803
  {
2068
1804
  "length": 20,
2069
- "start": 4819
1805
+ "start": 4418
1806
+ }
1807
+ ],
1808
+ "VersionPartLib": [
1809
+ {
1810
+ "length": 20,
1811
+ "start": 7903
2070
1812
  }
2071
1813
  ]
2072
1814
  }