@etherisc/gif-next 0.0.2-f13c010-035 → 0.0.2-f13d67f-541

Sign up to get free protection for your applications and to get access to all the features.
Files changed (560) hide show
  1. package/README.md +90 -317
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1075 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +810 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +843 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +729 -287
  10. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +2008 -0
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +202 -5
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +438 -35
  16. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +1 -1
  17. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +1 -1
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +560 -220
  19. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +191 -21
  21. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +256 -16
  23. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +426 -27
  25. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +132 -300
  27. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +427 -53
  29. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +64 -173
  31. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +585 -231
  33. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +190 -78
  35. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +44 -135
  37. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +401 -78
  39. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +1 -1
  40. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +1 -1
  41. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +160 -224
  42. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +1 -1
  43. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +426 -52
  44. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +1 -1
  45. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +308 -337
  46. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +1 -1
  47. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +426 -52
  48. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +1 -1
  49. package/artifacts/contracts/examples/flight/FlightLib.sol/FlightLib.dbg.json +4 -0
  50. package/artifacts/contracts/examples/flight/FlightLib.sol/FlightLib.json +408 -0
  51. package/artifacts/contracts/examples/flight/FlightOracle.sol/FlightOracle.dbg.json +4 -0
  52. package/artifacts/contracts/examples/flight/FlightOracle.sol/FlightOracle.json +1198 -0
  53. package/artifacts/contracts/examples/flight/FlightOracleAuthorization.sol/FlightOracleAuthorization.dbg.json +4 -0
  54. package/artifacts/contracts/examples/flight/FlightOracleAuthorization.sol/FlightOracleAuthorization.json +849 -0
  55. package/artifacts/contracts/examples/flight/FlightPool.sol/FlightPool.dbg.json +4 -0
  56. package/artifacts/contracts/examples/flight/FlightPool.sol/FlightPool.json +1466 -0
  57. package/artifacts/contracts/examples/flight/FlightPoolAuthorization.sol/FlightPoolAuthorization.dbg.json +4 -0
  58. package/artifacts/contracts/examples/flight/FlightPoolAuthorization.sol/FlightPoolAuthorization.json +844 -0
  59. package/artifacts/contracts/examples/flight/FlightProduct.sol/FlightProduct.dbg.json +4 -0
  60. package/artifacts/contracts/examples/flight/FlightProduct.sol/FlightProduct.json +2185 -0
  61. package/artifacts/contracts/examples/flight/FlightProductAuthorization.sol/FlightProductAuthorization.dbg.json +4 -0
  62. package/artifacts/contracts/examples/flight/FlightProductAuthorization.sol/FlightProductAuthorization.json +844 -0
  63. package/artifacts/contracts/examples/flight/FlightUSD.sol/FlightUSD.dbg.json +4 -0
  64. package/artifacts/contracts/examples/flight/FlightUSD.sol/FlightUSD.json +376 -0
  65. package/artifacts/contracts/examples/flight/originalV1.sol/FlightDelayChainlink.dbg.json +4 -0
  66. package/artifacts/contracts/examples/flight/originalV1.sol/FlightDelayChainlink.json +901 -0
  67. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +1 -1
  68. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +215 -257
  69. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  70. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +844 -0
  71. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +1 -1
  72. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +95 -165
  73. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +1 -1
  74. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +278 -233
  75. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  76. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +844 -0
  77. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +1 -1
  78. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +946 -466
  79. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  80. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +844 -0
  81. package/artifacts/contracts/instance/BaseStore.sol/BaseStore.dbg.json +4 -0
  82. package/artifacts/contracts/{shared/IKeyValueStore.sol/IKeyValueStore.json → instance/BaseStore.sol/BaseStore.json} +51 -229
  83. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
  84. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +193 -45
  85. package/artifacts/contracts/instance/IBaseStore.sol/IBaseStore.dbg.json +4 -0
  86. package/artifacts/contracts/instance/IBaseStore.sol/IBaseStore.json +304 -0
  87. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  88. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +551 -50
  89. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  90. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +417 -17
  91. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  92. package/artifacts/contracts/instance/Instance.sol/Instance.json +615 -105
  93. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  94. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1121 -374
  95. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  96. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +379 -68
  97. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  98. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1127 -557
  99. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  100. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +434 -81
  101. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  102. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +119 -49
  103. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  104. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +1286 -1925
  105. package/artifacts/contracts/instance/ProductStore.sol/ProductStore.dbg.json +4 -0
  106. package/artifacts/contracts/instance/ProductStore.sol/ProductStore.json +3427 -0
  107. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  108. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +866 -0
  109. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  110. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +8 -8
  111. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  112. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  113. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  114. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
  115. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +2 -2
  116. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +1 -1
  117. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +16 -5
  118. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  119. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  120. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  121. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  122. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  123. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  124. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  125. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  126. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
  127. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +83 -175
  128. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  129. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +425 -54
  130. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  131. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  132. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +48 -74
  133. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  134. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +56 -3
  135. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  136. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +67 -111
  137. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  138. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +157 -81
  139. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  140. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +154 -46
  141. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  142. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +106 -173
  143. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  144. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +426 -52
  145. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  146. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +317 -344
  147. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  148. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +144 -92
  149. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  150. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +219 -146
  151. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  152. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +63 -128
  153. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  154. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +380 -214
  155. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  156. package/artifacts/contracts/pool/Pool.sol/Pool.json +76 -159
  157. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  158. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +522 -0
  159. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  160. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +621 -413
  161. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  162. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +186 -66
  163. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  164. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +327 -62
  165. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  166. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +143 -43
  167. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  168. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +199 -223
  169. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  170. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +426 -52
  171. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  172. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +294 -189
  173. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  174. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +151 -83
  175. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  176. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +268 -10
  177. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  178. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +181 -19
  179. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  180. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +167 -56
  181. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  182. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +77 -3
  183. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  184. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +175 -181
  185. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +1 -1
  186. package/artifacts/contracts/product/IRiskService.sol/IRiskService.json +258 -22
  187. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  188. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +296 -194
  189. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  190. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +783 -0
  191. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  192. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +169 -77
  193. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  194. package/artifacts/contracts/product/PricingService.sol/PricingService.json +139 -114
  195. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  196. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +131 -59
  197. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  198. package/artifacts/contracts/product/Product.sol/Product.json +193 -217
  199. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +1 -1
  200. package/artifacts/contracts/product/RiskService.sol/RiskService.json +338 -87
  201. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +1 -1
  202. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +141 -41
  203. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  204. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +2 -2
  205. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  206. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +78 -19
  207. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  208. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +56 -3
  209. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  210. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  211. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  212. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  213. package/artifacts/contracts/registry/Registry.sol/Registry.json +116 -57
  214. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  215. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +848 -479
  216. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  217. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1137 -0
  218. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  219. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +89 -37
  220. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  221. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +119 -39
  222. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  223. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2271 -0
  224. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  225. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +2 -2
  226. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
  227. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +398 -64
  228. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  229. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +459 -26
  230. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  231. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +120 -60
  232. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  233. package/artifacts/contracts/shared/Component.sol/Component.json +66 -96
  234. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  235. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +308 -542
  236. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  237. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +155 -83
  238. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +1 -1
  239. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +544 -4
  240. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  241. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  242. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  243. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  244. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  245. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  246. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  247. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +48 -60
  248. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  249. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +171 -356
  250. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  251. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +48 -74
  252. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  253. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  254. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +19 -0
  255. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  256. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  257. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +139 -1
  258. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  259. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  260. package/artifacts/contracts/shared/IService.sol/IService.json +56 -3
  261. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
  262. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +2 -2
  263. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  264. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +66 -110
  265. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  266. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
  267. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
  268. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  269. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +21 -2
  270. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  271. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +2 -2
  272. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  273. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +137 -62
  274. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  275. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -2
  276. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  277. package/artifacts/contracts/shared/Service.sol/Service.json +51 -11
  278. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  279. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +289 -112
  280. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  281. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  282. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +1 -1
  283. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +70 -30
  284. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  285. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1446 -164
  286. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  287. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +214 -110
  288. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.dbg.json +4 -0
  289. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.json +50 -0
  290. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  291. package/artifacts/contracts/staking/Staking.sol/Staking.json +1583 -296
  292. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  293. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +470 -0
  294. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  295. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +160 -69
  296. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  297. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +294 -177
  298. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  299. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +257 -162
  300. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  301. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +122 -46
  302. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  303. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +1632 -818
  304. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.dbg.json +4 -0
  305. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.json +309 -0
  306. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  307. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +160 -88
  308. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  309. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  310. package/artifacts/contracts/type/Amount.sol/AmountLib.json +11 -11
  311. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  312. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +64 -19
  313. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.dbg.json +4 -0
  314. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.json +193 -0
  315. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  316. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +2 -2
  317. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  318. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  319. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  320. package/artifacts/contracts/type/Fee.sol/FeeLib.json +94 -38
  321. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  322. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  323. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  324. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  325. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  326. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +23 -4
  327. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  328. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  329. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  330. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +49 -50
  331. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  332. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +2 -2
  333. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  334. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +23 -4
  335. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  336. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
  337. package/artifacts/contracts/type/RequestIdSet.sol/LibRequestIdSet.dbg.json +4 -0
  338. package/artifacts/contracts/type/RequestIdSet.sol/LibRequestIdSet.json +33 -0
  339. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  340. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +69 -7
  341. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  342. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +42 -157
  343. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  344. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +64 -2
  345. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  346. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +21 -2
  347. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  348. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +2 -2
  349. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  350. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  351. package/artifacts/contracts/type/String.sol/StrLib.json +69 -2
  352. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  353. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +37 -5
  354. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  355. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +61 -37
  356. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  357. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -21
  358. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  359. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +101 -2
  360. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
  361. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +10 -0
  362. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  363. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +95 -25
  364. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  365. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +15 -2
  366. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
  367. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +10 -0
  368. package/contracts/accounting/AccountingService.sol +274 -0
  369. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  370. package/contracts/accounting/IAccountingService.sol +47 -0
  371. package/contracts/authorization/AccessAdmin.sol +389 -306
  372. package/contracts/authorization/AccessAdminLib.sol +678 -0
  373. package/contracts/authorization/AccessManagerCloneable.sol +128 -4
  374. package/contracts/authorization/Authorization.sol +161 -260
  375. package/contracts/authorization/IAccess.sol +29 -12
  376. package/contracts/authorization/IAccessAdmin.sol +89 -84
  377. package/contracts/authorization/IAuthorization.sol +9 -43
  378. package/contracts/authorization/IServiceAuthorization.sol +55 -17
  379. package/contracts/authorization/ServiceAuthorization.sol +228 -34
  380. package/contracts/distribution/BasicDistribution.sol +19 -18
  381. package/contracts/distribution/BasicDistributionAuthorization.sol +30 -10
  382. package/contracts/distribution/Distribution.sol +45 -85
  383. package/contracts/distribution/DistributionService.sol +192 -99
  384. package/contracts/distribution/DistributionServiceManager.sol +1 -1
  385. package/contracts/distribution/IDistributionComponent.sol +3 -10
  386. package/contracts/distribution/IDistributionService.sol +38 -24
  387. package/contracts/examples/fire/FirePool.sol +21 -8
  388. package/contracts/examples/fire/FirePoolAuthorization.sol +2 -1
  389. package/contracts/examples/fire/FireProduct.sol +38 -20
  390. package/contracts/examples/fire/FireProductAuthorization.sol +2 -1
  391. package/contracts/examples/flight/FlightLib.sol +279 -0
  392. package/contracts/examples/flight/FlightOracle.sol +168 -0
  393. package/contracts/examples/flight/FlightOracleAuthorization.sol +34 -0
  394. package/contracts/examples/flight/FlightPool.sol +89 -0
  395. package/contracts/examples/flight/FlightPoolAuthorization.sol +37 -0
  396. package/contracts/examples/flight/FlightProduct.sol +470 -0
  397. package/contracts/examples/flight/FlightProductAuthorization.sol +44 -0
  398. package/contracts/examples/flight/FlightUSD.sol +26 -0
  399. package/contracts/examples/flight/originalV1.sol +396 -0
  400. package/contracts/examples/unpermissioned/SimpleDistribution.sol +39 -8
  401. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  402. package/contracts/examples/unpermissioned/SimpleOracle.sol +4 -8
  403. package/contracts/examples/unpermissioned/SimplePool.sol +32 -6
  404. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  405. package/contracts/examples/unpermissioned/SimpleProduct.sol +132 -46
  406. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  407. package/contracts/instance/BaseStore.sol +93 -0
  408. package/contracts/instance/BundleSet.sol +42 -38
  409. package/contracts/instance/IBaseStore.sol +37 -0
  410. package/contracts/instance/IInstance.sol +109 -19
  411. package/contracts/instance/IInstanceService.sol +61 -14
  412. package/contracts/instance/Instance.sol +184 -65
  413. package/contracts/instance/InstanceAdmin.sol +221 -193
  414. package/contracts/instance/InstanceAuthorizationV3.sol +153 -72
  415. package/contracts/instance/InstanceReader.sol +447 -314
  416. package/contracts/instance/InstanceService.sol +315 -214
  417. package/contracts/instance/InstanceServiceManager.sol +1 -1
  418. package/contracts/instance/InstanceStore.sol +152 -116
  419. package/contracts/instance/ProductStore.sol +290 -0
  420. package/contracts/instance/RiskSet.sol +126 -0
  421. package/contracts/instance/TargetNames.sol +10 -0
  422. package/contracts/instance/base/BalanceStore.sol +4 -6
  423. package/contracts/instance/base/ObjectCounter.sol +1 -2
  424. package/contracts/instance/base/ObjectLifecycle.sol +6 -8
  425. package/contracts/instance/base/ObjectSet.sol +31 -33
  426. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  427. package/contracts/instance/module/IBundle.sol +6 -5
  428. package/contracts/instance/module/IComponents.sol +19 -10
  429. package/contracts/instance/module/IDistribution.sol +21 -8
  430. package/contracts/instance/module/IPolicy.sol +28 -7
  431. package/contracts/instance/module/IRisk.sol +5 -0
  432. package/contracts/oracle/BasicOracle.sol +3 -6
  433. package/contracts/oracle/BasicOracleAuthorization.sol +15 -8
  434. package/contracts/oracle/IOracle.sol +9 -4
  435. package/contracts/oracle/IOracleService.sol +12 -12
  436. package/contracts/oracle/Oracle.sol +5 -9
  437. package/contracts/oracle/OracleService.sol +98 -79
  438. package/contracts/oracle/OracleServiceManager.sol +1 -1
  439. package/contracts/pool/BasicPool.sol +26 -19
  440. package/contracts/pool/BasicPoolAuthorization.sol +34 -10
  441. package/contracts/pool/BundleService.sol +75 -182
  442. package/contracts/pool/BundleServiceManager.sol +1 -1
  443. package/contracts/pool/IBundleService.sol +28 -55
  444. package/contracts/pool/IPoolComponent.sol +1 -7
  445. package/contracts/pool/IPoolService.sol +65 -62
  446. package/contracts/pool/Pool.sol +111 -115
  447. package/contracts/pool/PoolLib.sol +341 -0
  448. package/contracts/pool/PoolService.sol +299 -229
  449. package/contracts/pool/PoolServiceManager.sol +1 -1
  450. package/contracts/product/ApplicationService.sol +93 -25
  451. package/contracts/product/ApplicationServiceManager.sol +1 -1
  452. package/contracts/product/BasicProduct.sol +10 -15
  453. package/contracts/product/BasicProductAuthorization.sol +33 -11
  454. package/contracts/product/ClaimService.sol +221 -207
  455. package/contracts/product/ClaimServiceManager.sol +1 -1
  456. package/contracts/product/IApplicationService.sol +28 -3
  457. package/contracts/product/IClaimService.sol +18 -5
  458. package/contracts/product/IPolicyService.sol +34 -12
  459. package/contracts/product/IPricingService.sol +1 -0
  460. package/contracts/product/IProductComponent.sol +4 -1
  461. package/contracts/product/IRiskService.sol +25 -10
  462. package/contracts/product/PolicyService.sol +260 -306
  463. package/contracts/product/PolicyServiceLib.sol +139 -0
  464. package/contracts/product/PolicyServiceManager.sol +1 -1
  465. package/contracts/product/PricingService.sol +52 -46
  466. package/contracts/product/PricingServiceManager.sol +3 -3
  467. package/contracts/product/Product.sol +106 -70
  468. package/contracts/product/RiskService.sol +130 -37
  469. package/contracts/product/RiskServiceManager.sol +1 -1
  470. package/contracts/registry/ChainNft.sol +4 -2
  471. package/contracts/registry/IRegistry.sol +25 -24
  472. package/contracts/registry/IRelease.sol +29 -0
  473. package/contracts/registry/Registry.sol +31 -12
  474. package/contracts/registry/RegistryAdmin.sol +94 -369
  475. package/contracts/registry/RegistryAuthorization.sol +337 -0
  476. package/contracts/registry/RegistryService.sol +4 -4
  477. package/contracts/registry/RegistryServiceManager.sol +1 -1
  478. package/contracts/registry/ReleaseAdmin.sol +199 -0
  479. package/contracts/registry/ReleaseLifecycle.sol +2 -0
  480. package/contracts/registry/ReleaseRegistry.sol +158 -134
  481. package/contracts/registry/ServiceAuthorizationV3.sol +200 -52
  482. package/contracts/registry/TokenRegistry.sol +61 -59
  483. package/contracts/shared/Component.sol +58 -119
  484. package/contracts/shared/ComponentService.sol +400 -395
  485. package/contracts/shared/ComponentServiceManager.sol +1 -1
  486. package/contracts/shared/ContractLib.sol +277 -3
  487. package/contracts/shared/IComponent.sol +2 -18
  488. package/contracts/shared/IComponentService.sol +28 -38
  489. package/contracts/shared/IInstanceLinkedComponent.sol +0 -11
  490. package/contracts/shared/INftOwnable.sol +2 -0
  491. package/contracts/shared/IRegisterable.sol +15 -5
  492. package/contracts/shared/IService.sol +3 -5
  493. package/contracts/shared/InitializableERC165.sol +9 -1
  494. package/contracts/shared/InstanceLinkedComponent.sol +63 -44
  495. package/contracts/shared/NftOwnable.sol +8 -6
  496. package/contracts/shared/PolicyHolder.sol +4 -3
  497. package/contracts/shared/Registerable.sol +41 -20
  498. package/contracts/shared/RegistryLinked.sol +7 -13
  499. package/contracts/shared/Service.sol +13 -30
  500. package/contracts/shared/TokenHandler.sol +264 -105
  501. package/contracts/shared/TokenHandlerDeployerLib.sol +10 -2
  502. package/contracts/staking/IStaking.sol +270 -72
  503. package/contracts/staking/IStakingService.sol +45 -75
  504. package/contracts/staking/ITargetLimitHandler.sol +17 -0
  505. package/contracts/staking/Staking.sol +522 -222
  506. package/contracts/staking/{StakeManagerLib.sol → StakingLib.sol} +55 -84
  507. package/contracts/staking/StakingManager.sol +4 -3
  508. package/contracts/staking/StakingReader.sol +58 -77
  509. package/contracts/staking/StakingService.sol +62 -148
  510. package/contracts/staking/StakingServiceManager.sol +6 -4
  511. package/contracts/staking/StakingStore.sol +1093 -330
  512. package/contracts/staking/TargetHandler.sol +132 -0
  513. package/contracts/staking/TargetManagerLib.sol +69 -46
  514. package/contracts/type/Amount.sol +4 -0
  515. package/contracts/type/Blocknumber.sol +17 -22
  516. package/contracts/type/ChainId.sol +101 -0
  517. package/contracts/type/Fee.sol +8 -8
  518. package/contracts/type/Key32.sol +2 -2
  519. package/contracts/type/Key32Set.sol +62 -0
  520. package/contracts/type/NftId.sol +6 -0
  521. package/contracts/type/ObjectType.sol +70 -68
  522. package/contracts/type/Referral.sol +6 -0
  523. package/contracts/type/RequestIdSet.sol +62 -0
  524. package/contracts/type/RiskId.sol +26 -8
  525. package/contracts/type/RoleId.sol +63 -45
  526. package/contracts/type/Seconds.sol +23 -0
  527. package/contracts/type/Selector.sol +5 -0
  528. package/contracts/type/String.sol +42 -0
  529. package/contracts/type/Timestamp.sol +14 -8
  530. package/contracts/type/UFixed.sol +35 -127
  531. package/contracts/type/Version.sol +54 -5
  532. package/contracts/upgradeability/IVersionable.sol +3 -0
  533. package/contracts/upgradeability/ProxyManager.sol +27 -13
  534. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +12 -2
  535. package/contracts/upgradeability/Versionable.sol +6 -3
  536. package/package.json +4 -4
  537. package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.dbg.json +0 -4
  538. package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.json +0 -1196
  539. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  540. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -129
  541. package/artifacts/contracts/shared/ComponentServiceHelperLib.sol/ComponentServiceHelperLib.dbg.json +0 -4
  542. package/artifacts/contracts/shared/ComponentServiceHelperLib.sol/ComponentServiceHelperLib.json +0 -206
  543. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +0 -4
  544. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +0 -474
  545. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  546. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  547. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +0 -538
  548. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +0 -4
  549. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +0 -440
  550. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +0 -4
  551. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +0 -205
  552. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +0 -4
  553. package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -16
  554. package/contracts/authorization/ReleaseAccessManager.sol +0 -38
  555. package/contracts/instance/module/IAccess.sol +0 -46
  556. package/contracts/shared/ComponentServiceHelperLib.sol +0 -118
  557. package/contracts/shared/ComponentVerifyingService.sol +0 -126
  558. package/contracts/shared/IKeyValueStore.sol +0 -54
  559. package/contracts/shared/KeyValueStore.sol +0 -131
  560. package/contracts/staking/StakingLifecycle.sol +0 -23
@@ -41,6 +41,17 @@
41
41
  "name": "AccessManagedUnauthorized",
42
42
  "type": "error"
43
43
  },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "address",
48
+ "name": "authority",
49
+ "type": "address"
50
+ }
51
+ ],
52
+ "name": "ErrorAuthorityInvalid",
53
+ "type": "error"
54
+ },
44
55
  {
45
56
  "inputs": [],
46
57
  "name": "ErrorComponentNameLengthZero",
@@ -67,16 +78,6 @@
67
78
  "name": "ErrorComponentProductNftIdZero",
68
79
  "type": "error"
69
80
  },
70
- {
71
- "inputs": [],
72
- "name": "ErrorComponentTokenAddressNonzero",
73
- "type": "error"
74
- },
75
- {
76
- "inputs": [],
77
- "name": "ErrorComponentTokenAddressZero",
78
- "type": "error"
79
- },
80
81
  {
81
82
  "inputs": [],
82
83
  "name": "ErrorComponentWalletAddressIsSameAsCurrent",
@@ -157,6 +158,27 @@
157
158
  "name": "ErrorNotRegistry",
158
159
  "type": "error"
159
160
  },
161
+ {
162
+ "inputs": [],
163
+ "name": "ErrorRegisterableNotActive",
164
+ "type": "error"
165
+ },
166
+ {
167
+ "inputs": [
168
+ {
169
+ "internalType": "NftId",
170
+ "name": "targetNftId",
171
+ "type": "uint96"
172
+ },
173
+ {
174
+ "internalType": "ObjectType",
175
+ "name": "objectType",
176
+ "type": "uint8"
177
+ }
178
+ ],
179
+ "name": "ErrorStakingCrossChainTargetsNotSupported",
180
+ "type": "error"
181
+ },
160
182
  {
161
183
  "inputs": [
162
184
  {
@@ -213,25 +235,25 @@
213
235
  },
214
236
  {
215
237
  "internalType": "Seconds",
216
- "name": "maxLockingPeriod",
238
+ "name": "lockingPeriod",
217
239
  "type": "uint40"
218
240
  },
219
241
  {
220
242
  "internalType": "Seconds",
221
- "name": "lockingPeriod",
243
+ "name": "minLockingPeriod",
244
+ "type": "uint40"
245
+ },
246
+ {
247
+ "internalType": "Seconds",
248
+ "name": "maxLockingPeriod",
222
249
  "type": "uint40"
223
250
  }
224
251
  ],
225
- "name": "ErrorStakingLockingPeriodTooLong",
252
+ "name": "ErrorStakingLockingPeriodInvalid",
226
253
  "type": "error"
227
254
  },
228
255
  {
229
256
  "inputs": [
230
- {
231
- "internalType": "NftId",
232
- "name": "targetNftId",
233
- "type": "uint96"
234
- },
235
257
  {
236
258
  "internalType": "Seconds",
237
259
  "name": "minLockingPeriod",
@@ -239,11 +261,11 @@
239
261
  },
240
262
  {
241
263
  "internalType": "Seconds",
242
- "name": "lockingPeriod",
264
+ "name": "maxLockingPeriod",
243
265
  "type": "uint40"
244
266
  }
245
267
  ],
246
- "name": "ErrorStakingLockingPeriodTooShort",
268
+ "name": "ErrorStakingLockingPeriodsInvalid",
247
269
  "type": "error"
248
270
  },
249
271
  {
@@ -257,6 +279,38 @@
257
279
  "name": "ErrorStakingNotNftOwner",
258
280
  "type": "error"
259
281
  },
282
+ {
283
+ "inputs": [
284
+ {
285
+ "internalType": "NftId",
286
+ "name": "stakeNftId",
287
+ "type": "uint96"
288
+ },
289
+ {
290
+ "internalType": "address",
291
+ "name": "expectedOwner",
292
+ "type": "address"
293
+ },
294
+ {
295
+ "internalType": "address",
296
+ "name": "actualOwner",
297
+ "type": "address"
298
+ }
299
+ ],
300
+ "name": "ErrorStakingNotOwner",
301
+ "type": "error"
302
+ },
303
+ {
304
+ "inputs": [
305
+ {
306
+ "internalType": "address",
307
+ "name": "registry",
308
+ "type": "address"
309
+ }
310
+ ],
311
+ "name": "ErrorStakingNotRegistry",
312
+ "type": "error"
313
+ },
260
314
  {
261
315
  "inputs": [
262
316
  {
@@ -284,6 +338,17 @@
284
338
  "name": "ErrorStakingNotTarget",
285
339
  "type": "error"
286
340
  },
341
+ {
342
+ "inputs": [
343
+ {
344
+ "internalType": "VersionPart",
345
+ "name": "release",
346
+ "type": "uint8"
347
+ }
348
+ ],
349
+ "name": "ErrorStakingReleaseNotActive",
350
+ "type": "error"
351
+ },
287
352
  {
288
353
  "inputs": [
289
354
  {
@@ -291,18 +356,50 @@
291
356
  "name": "targetNftId",
292
357
  "type": "uint96"
293
358
  },
359
+ {
360
+ "internalType": "UFixed",
361
+ "name": "rewardRate",
362
+ "type": "uint160"
363
+ },
364
+ {
365
+ "internalType": "UFixed",
366
+ "name": "minRewardRate",
367
+ "type": "uint160"
368
+ },
294
369
  {
295
370
  "internalType": "UFixed",
296
371
  "name": "maxRewardRate",
297
- "type": "uint256"
372
+ "type": "uint160"
373
+ }
374
+ ],
375
+ "name": "ErrorStakingRewardRateInvalid",
376
+ "type": "error"
377
+ },
378
+ {
379
+ "inputs": [
380
+ {
381
+ "internalType": "UFixed",
382
+ "name": "minRewardRate",
383
+ "type": "uint160"
298
384
  },
299
385
  {
300
386
  "internalType": "UFixed",
301
- "name": "rewardRate",
302
- "type": "uint256"
387
+ "name": "maxRewardRate",
388
+ "type": "uint160"
389
+ }
390
+ ],
391
+ "name": "ErrorStakingRewardRatesInvalid",
392
+ "type": "error"
393
+ },
394
+ {
395
+ "inputs": [
396
+ {
397
+ "internalType": "VersionPart",
398
+ "name": "release",
399
+ "type": "uint8"
303
400
  }
304
401
  ],
305
- "name": "ErrorStakingRewardRateTooHigh",
402
+ "name": "ErrorStakingServiceNotFound",
306
403
  "type": "error"
307
404
  },
308
405
  {
@@ -332,6 +429,22 @@
332
429
  "name": "ErrorStakingStakeLocked",
333
430
  "type": "error"
334
431
  },
432
+ {
433
+ "inputs": [
434
+ {
435
+ "internalType": "Amount",
436
+ "name": "minStakingAmount",
437
+ "type": "uint96"
438
+ },
439
+ {
440
+ "internalType": "Amount",
441
+ "name": "maxStakingAmount",
442
+ "type": "uint96"
443
+ }
444
+ ],
445
+ "name": "ErrorStakingStakingAmountsInvalid",
446
+ "type": "error"
447
+ },
335
448
  {
336
449
  "inputs": [
337
450
  {
@@ -343,6 +456,17 @@
343
456
  "name": "ErrorStakingStakingReaderStakingMismatch",
344
457
  "type": "error"
345
458
  },
459
+ {
460
+ "inputs": [
461
+ {
462
+ "internalType": "ObjectType",
463
+ "name": "targetType",
464
+ "type": "uint8"
465
+ }
466
+ ],
467
+ "name": "ErrorStakingSupportTypeInvalid",
468
+ "type": "error"
469
+ },
346
470
  {
347
471
  "inputs": [
348
472
  {
@@ -354,20 +478,30 @@
354
478
  "name": "ErrorStakingTargetAlreadyRegistered",
355
479
  "type": "error"
356
480
  },
357
- {
358
- "inputs": [],
359
- "name": "ErrorStakingTargetNftIdZero",
360
- "type": "error"
361
- },
362
481
  {
363
482
  "inputs": [
364
483
  {
365
484
  "internalType": "NftId",
366
485
  "name": "targetNftId",
367
486
  "type": "uint96"
487
+ },
488
+ {
489
+ "internalType": "Amount",
490
+ "name": "stakeLimitAmount",
491
+ "type": "uint96"
492
+ },
493
+ {
494
+ "internalType": "Amount",
495
+ "name": "stakedAmount",
496
+ "type": "uint96"
368
497
  }
369
498
  ],
370
- "name": "ErrorStakingTargetNotActive",
499
+ "name": "ErrorStakingTargetMaxStakedAmountExceeded",
500
+ "type": "error"
501
+ },
502
+ {
503
+ "inputs": [],
504
+ "name": "ErrorStakingTargetNftIdZero",
371
505
  "type": "error"
372
506
  },
373
507
  {
@@ -389,9 +523,9 @@
389
523
  "type": "uint96"
390
524
  },
391
525
  {
392
- "internalType": "uint256",
526
+ "internalType": "ChainId",
393
527
  "name": "chainId",
394
- "type": "uint256"
528
+ "type": "uint96"
395
529
  },
396
530
  {
397
531
  "internalType": "address",
@@ -442,9 +576,9 @@
442
576
  {
443
577
  "inputs": [
444
578
  {
445
- "internalType": "uint256",
579
+ "internalType": "ChainId",
446
580
  "name": "chainId",
447
- "type": "uint256"
581
+ "type": "uint96"
448
582
  },
449
583
  {
450
584
  "internalType": "address",
@@ -455,6 +589,16 @@
455
589
  "name": "ErrorStakingTokenNotRegistered",
456
590
  "type": "error"
457
591
  },
592
+ {
593
+ "inputs": [],
594
+ "name": "ErrorVersionableInitializeNotImplemented",
595
+ "type": "error"
596
+ },
597
+ {
598
+ "inputs": [],
599
+ "name": "ErrorVersionableUpgradeNotImplemented",
600
+ "type": "error"
601
+ },
458
602
  {
459
603
  "inputs": [],
460
604
  "name": "InvalidInitialization",
@@ -494,6 +638,12 @@
494
638
  {
495
639
  "anonymous": false,
496
640
  "inputs": [
641
+ {
642
+ "indexed": false,
643
+ "internalType": "address",
644
+ "name": "tokenHandler",
645
+ "type": "address"
646
+ },
497
647
  {
498
648
  "indexed": false,
499
649
  "internalType": "address",
@@ -560,6 +710,25 @@
560
710
  "name": "LogComponentWalletTokensTransferred",
561
711
  "type": "event"
562
712
  },
713
+ {
714
+ "anonymous": false,
715
+ "inputs": [
716
+ {
717
+ "indexed": false,
718
+ "internalType": "NftId",
719
+ "name": "nftId",
720
+ "type": "uint96"
721
+ },
722
+ {
723
+ "indexed": false,
724
+ "internalType": "address",
725
+ "name": "owner",
726
+ "type": "address"
727
+ }
728
+ ],
729
+ "name": "LogNftOwnableNftLinkedToAddress",
730
+ "type": "event"
731
+ },
563
732
  {
564
733
  "anonymous": false,
565
734
  "inputs": [
@@ -571,18 +740,24 @@
571
740
  },
572
741
  {
573
742
  "indexed": false,
574
- "internalType": "Seconds",
575
- "name": "oldLockingPeriod",
576
- "type": "uint40"
743
+ "internalType": "Amount",
744
+ "name": "marginAmount",
745
+ "type": "uint96"
577
746
  },
578
747
  {
579
748
  "indexed": false,
580
- "internalType": "Seconds",
581
- "name": "lockingPeriod",
749
+ "internalType": "Amount",
750
+ "name": "hardLimitAmount",
751
+ "type": "uint96"
752
+ },
753
+ {
754
+ "indexed": false,
755
+ "internalType": "Blocknumber",
756
+ "name": "lastUpdateIn",
582
757
  "type": "uint40"
583
758
  }
584
759
  ],
585
- "name": "LogStakingLockingPeriodSet",
760
+ "name": "LogStakingLimitsSet",
586
761
  "type": "event"
587
762
  },
588
763
  {
@@ -596,18 +771,30 @@
596
771
  },
597
772
  {
598
773
  "indexed": false,
599
- "internalType": "UFixed",
600
- "name": "oldRewardRate",
601
- "type": "uint256"
774
+ "internalType": "Amount",
775
+ "name": "dipAmount",
776
+ "type": "uint96"
602
777
  },
603
778
  {
604
779
  "indexed": false,
605
- "internalType": "UFixed",
606
- "name": "rewardRate",
607
- "type": "uint256"
780
+ "internalType": "address",
781
+ "name": "targetOwner",
782
+ "type": "address"
783
+ },
784
+ {
785
+ "indexed": false,
786
+ "internalType": "Amount",
787
+ "name": "reserveBalance",
788
+ "type": "uint96"
789
+ },
790
+ {
791
+ "indexed": false,
792
+ "internalType": "Blocknumber",
793
+ "name": "lastUpdateIn",
794
+ "type": "uint40"
608
795
  }
609
796
  ],
610
- "name": "LogStakingRewardRateSet",
797
+ "name": "LogStakingRewardReservesRefilled",
611
798
  "type": "event"
612
799
  },
613
800
  {
@@ -615,53 +802,905 @@
615
802
  "inputs": [
616
803
  {
617
804
  "indexed": false,
618
- "internalType": "uint256",
619
- "name": "chainId",
620
- "type": "uint256"
805
+ "internalType": "NftId",
806
+ "name": "targetNftId",
807
+ "type": "uint96"
621
808
  },
622
809
  {
623
810
  "indexed": false,
624
- "internalType": "address",
625
- "name": "token",
626
- "type": "address"
811
+ "internalType": "Amount",
812
+ "name": "dipAmount",
813
+ "type": "uint96"
627
814
  },
628
815
  {
629
816
  "indexed": false,
630
- "internalType": "UFixed",
631
- "name": "oldStakingRate",
632
- "type": "uint256"
817
+ "internalType": "Amount",
818
+ "name": "reserveBalance",
819
+ "type": "uint96"
633
820
  },
634
821
  {
635
822
  "indexed": false,
636
- "internalType": "UFixed",
637
- "name": "newStakingRate",
638
- "type": "uint256"
823
+ "internalType": "Blocknumber",
824
+ "name": "lastUpdateIn",
825
+ "type": "uint40"
639
826
  }
640
827
  ],
641
- "name": "LogStakingStakingRateSet",
828
+ "name": "LogStakingRewardReservesSpent",
642
829
  "type": "event"
643
830
  },
644
831
  {
645
- "inputs": [],
646
- "name": "COMPONENT_LOCATION_V1",
647
- "outputs": [
832
+ "anonymous": false,
833
+ "inputs": [
648
834
  {
649
- "internalType": "bytes32",
650
- "name": "",
651
- "type": "bytes32"
835
+ "indexed": false,
836
+ "internalType": "NftId",
837
+ "name": "targetNftId",
838
+ "type": "uint96"
839
+ },
840
+ {
841
+ "indexed": false,
842
+ "internalType": "Amount",
843
+ "name": "dipAmount",
844
+ "type": "uint96"
845
+ },
846
+ {
847
+ "indexed": false,
848
+ "internalType": "address",
849
+ "name": "targetOwner",
850
+ "type": "address"
851
+ },
852
+ {
853
+ "indexed": false,
854
+ "internalType": "Amount",
855
+ "name": "reserveBalance",
856
+ "type": "uint96"
857
+ },
858
+ {
859
+ "indexed": false,
860
+ "internalType": "Blocknumber",
861
+ "name": "lastUpdateIn",
862
+ "type": "uint40"
863
+ }
864
+ ],
865
+ "name": "LogStakingRewardReservesWithdrawn",
866
+ "type": "event"
867
+ },
868
+ {
869
+ "anonymous": false,
870
+ "inputs": [
871
+ {
872
+ "indexed": false,
873
+ "internalType": "NftId",
874
+ "name": "stakeNftId",
875
+ "type": "uint96"
876
+ },
877
+ {
878
+ "indexed": false,
879
+ "internalType": "Amount",
880
+ "name": "claimedAmount",
881
+ "type": "uint96"
882
+ },
883
+ {
884
+ "indexed": false,
885
+ "internalType": "Amount",
886
+ "name": "stakeBalance",
887
+ "type": "uint96"
888
+ },
889
+ {
890
+ "indexed": false,
891
+ "internalType": "Amount",
892
+ "name": "rewardBalance",
893
+ "type": "uint96"
894
+ },
895
+ {
896
+ "indexed": false,
897
+ "internalType": "Timestamp",
898
+ "name": "lockedUntil",
899
+ "type": "uint40"
900
+ },
901
+ {
902
+ "indexed": false,
903
+ "internalType": "Blocknumber",
904
+ "name": "lastUpdateIn",
905
+ "type": "uint40"
906
+ }
907
+ ],
908
+ "name": "LogStakingRewardsClaimed",
909
+ "type": "event"
910
+ },
911
+ {
912
+ "anonymous": false,
913
+ "inputs": [
914
+ {
915
+ "indexed": false,
916
+ "internalType": "NftId",
917
+ "name": "stakeNftId",
918
+ "type": "uint96"
919
+ },
920
+ {
921
+ "indexed": false,
922
+ "internalType": "Amount",
923
+ "name": "restakedAmount",
924
+ "type": "uint96"
925
+ },
926
+ {
927
+ "indexed": false,
928
+ "internalType": "Amount",
929
+ "name": "stakeBalance",
930
+ "type": "uint96"
931
+ },
932
+ {
933
+ "indexed": false,
934
+ "internalType": "Amount",
935
+ "name": "rewardBalance",
936
+ "type": "uint96"
937
+ },
938
+ {
939
+ "indexed": false,
940
+ "internalType": "Timestamp",
941
+ "name": "lockedUntil",
942
+ "type": "uint40"
943
+ },
944
+ {
945
+ "indexed": false,
946
+ "internalType": "Blocknumber",
947
+ "name": "lastUpdateIn",
948
+ "type": "uint40"
949
+ }
950
+ ],
951
+ "name": "LogStakingRewardsRestaked",
952
+ "type": "event"
953
+ },
954
+ {
955
+ "anonymous": false,
956
+ "inputs": [
957
+ {
958
+ "indexed": false,
959
+ "internalType": "NftId",
960
+ "name": "stakeNftId",
961
+ "type": "uint96"
962
+ },
963
+ {
964
+ "indexed": false,
965
+ "internalType": "NftId",
966
+ "name": "targetNftId",
967
+ "type": "uint96"
968
+ },
969
+ {
970
+ "indexed": false,
971
+ "internalType": "Amount",
972
+ "name": "stakeAmount",
973
+ "type": "uint96"
974
+ },
975
+ {
976
+ "indexed": false,
977
+ "internalType": "Timestamp",
978
+ "name": "lockedUntil",
979
+ "type": "uint40"
980
+ },
981
+ {
982
+ "indexed": false,
983
+ "internalType": "address",
984
+ "name": "stakeOwner",
985
+ "type": "address"
986
+ }
987
+ ],
988
+ "name": "LogStakingStakeCreated",
989
+ "type": "event"
990
+ },
991
+ {
992
+ "anonymous": false,
993
+ "inputs": [
994
+ {
995
+ "indexed": false,
996
+ "internalType": "NftId",
997
+ "name": "stakeNftId",
998
+ "type": "uint96"
999
+ },
1000
+ {
1001
+ "indexed": false,
1002
+ "internalType": "NftId",
1003
+ "name": "targetNftId",
1004
+ "type": "uint96"
1005
+ },
1006
+ {
1007
+ "indexed": false,
1008
+ "internalType": "Amount",
1009
+ "name": "stakeAmount",
1010
+ "type": "uint96"
1011
+ },
1012
+ {
1013
+ "indexed": false,
1014
+ "internalType": "address",
1015
+ "name": "owner",
1016
+ "type": "address"
1017
+ },
1018
+ {
1019
+ "indexed": false,
1020
+ "internalType": "NftId",
1021
+ "name": "oldStakeNftId",
1022
+ "type": "uint96"
1023
+ }
1024
+ ],
1025
+ "name": "LogStakingStakeRestaked",
1026
+ "type": "event"
1027
+ },
1028
+ {
1029
+ "anonymous": false,
1030
+ "inputs": [
1031
+ {
1032
+ "indexed": false,
1033
+ "internalType": "NftId",
1034
+ "name": "stakeNftId",
1035
+ "type": "uint96"
1036
+ },
1037
+ {
1038
+ "indexed": false,
1039
+ "internalType": "Amount",
1040
+ "name": "rewardIncrementAmount",
1041
+ "type": "uint96"
1042
+ },
1043
+ {
1044
+ "indexed": false,
1045
+ "internalType": "Amount",
1046
+ "name": "stakeBalance",
1047
+ "type": "uint96"
1048
+ },
1049
+ {
1050
+ "indexed": false,
1051
+ "internalType": "Amount",
1052
+ "name": "rewardBalance",
1053
+ "type": "uint96"
1054
+ },
1055
+ {
1056
+ "indexed": false,
1057
+ "internalType": "Timestamp",
1058
+ "name": "lockedUntil",
1059
+ "type": "uint40"
1060
+ },
1061
+ {
1062
+ "indexed": false,
1063
+ "internalType": "Blocknumber",
1064
+ "name": "lastUpdateIn",
1065
+ "type": "uint40"
1066
+ }
1067
+ ],
1068
+ "name": "LogStakingStakeRewardsUpdated",
1069
+ "type": "event"
1070
+ },
1071
+ {
1072
+ "anonymous": false,
1073
+ "inputs": [
1074
+ {
1075
+ "indexed": false,
1076
+ "internalType": "NftId",
1077
+ "name": "stakeNftId",
1078
+ "type": "uint96"
1079
+ },
1080
+ {
1081
+ "indexed": false,
1082
+ "internalType": "Amount",
1083
+ "name": "stakedAmount",
1084
+ "type": "uint96"
1085
+ },
1086
+ {
1087
+ "indexed": false,
1088
+ "internalType": "Amount",
1089
+ "name": "stakeBalance",
1090
+ "type": "uint96"
1091
+ },
1092
+ {
1093
+ "indexed": false,
1094
+ "internalType": "Amount",
1095
+ "name": "rewardBalance",
1096
+ "type": "uint96"
1097
+ },
1098
+ {
1099
+ "indexed": false,
1100
+ "internalType": "Timestamp",
1101
+ "name": "lockedUntil",
1102
+ "type": "uint40"
1103
+ },
1104
+ {
1105
+ "indexed": false,
1106
+ "internalType": "Blocknumber",
1107
+ "name": "lastUpdateIn",
1108
+ "type": "uint40"
1109
+ }
1110
+ ],
1111
+ "name": "LogStakingStaked",
1112
+ "type": "event"
1113
+ },
1114
+ {
1115
+ "anonymous": false,
1116
+ "inputs": [
1117
+ {
1118
+ "indexed": false,
1119
+ "internalType": "ChainId",
1120
+ "name": "chainId",
1121
+ "type": "uint96"
1122
+ },
1123
+ {
1124
+ "indexed": false,
1125
+ "internalType": "address",
1126
+ "name": "token",
1127
+ "type": "address"
1128
+ },
1129
+ {
1130
+ "indexed": false,
1131
+ "internalType": "UFixed",
1132
+ "name": "newStakingRate",
1133
+ "type": "uint160"
1134
+ },
1135
+ {
1136
+ "indexed": false,
1137
+ "internalType": "UFixed",
1138
+ "name": "oldStakingRate",
1139
+ "type": "uint160"
1140
+ },
1141
+ {
1142
+ "indexed": false,
1143
+ "internalType": "Blocknumber",
1144
+ "name": "lastUpdateIn",
1145
+ "type": "uint40"
1146
+ }
1147
+ ],
1148
+ "name": "LogStakingStakingRateSet",
1149
+ "type": "event"
1150
+ },
1151
+ {
1152
+ "anonymous": false,
1153
+ "inputs": [
1154
+ {
1155
+ "indexed": false,
1156
+ "internalType": "address",
1157
+ "name": "stakingReader",
1158
+ "type": "address"
1159
+ },
1160
+ {
1161
+ "indexed": false,
1162
+ "internalType": "address",
1163
+ "name": "oldStakingReader",
1164
+ "type": "address"
1165
+ }
1166
+ ],
1167
+ "name": "LogStakingStakingReaderSet",
1168
+ "type": "event"
1169
+ },
1170
+ {
1171
+ "anonymous": false,
1172
+ "inputs": [
1173
+ {
1174
+ "indexed": false,
1175
+ "internalType": "address",
1176
+ "name": "stakingService",
1177
+ "type": "address"
1178
+ },
1179
+ {
1180
+ "indexed": false,
1181
+ "internalType": "VersionPart",
1182
+ "name": "release",
1183
+ "type": "uint8"
1184
+ },
1185
+ {
1186
+ "indexed": false,
1187
+ "internalType": "address",
1188
+ "name": "oldStakingService",
1189
+ "type": "address"
1190
+ }
1191
+ ],
1192
+ "name": "LogStakingStakingServiceSet",
1193
+ "type": "event"
1194
+ },
1195
+ {
1196
+ "anonymous": false,
1197
+ "inputs": [
1198
+ {
1199
+ "indexed": false,
1200
+ "internalType": "ObjectType",
1201
+ "name": "objectType",
1202
+ "type": "uint8"
1203
+ },
1204
+ {
1205
+ "indexed": false,
1206
+ "internalType": "bool",
1207
+ "name": "isSupported",
1208
+ "type": "bool"
1209
+ },
1210
+ {
1211
+ "indexed": false,
1212
+ "internalType": "bool",
1213
+ "name": "allowNewTargets",
1214
+ "type": "bool"
1215
+ },
1216
+ {
1217
+ "indexed": false,
1218
+ "internalType": "bool",
1219
+ "name": "allowCrossChain",
1220
+ "type": "bool"
1221
+ },
1222
+ {
1223
+ "indexed": false,
1224
+ "internalType": "Amount",
1225
+ "name": "minStakingAmount",
1226
+ "type": "uint96"
1227
+ },
1228
+ {
1229
+ "indexed": false,
1230
+ "internalType": "Amount",
1231
+ "name": "maxStakingAmount",
1232
+ "type": "uint96"
1233
+ },
1234
+ {
1235
+ "indexed": false,
1236
+ "internalType": "Seconds",
1237
+ "name": "minLockingPeriod",
1238
+ "type": "uint40"
1239
+ },
1240
+ {
1241
+ "indexed": false,
1242
+ "internalType": "Seconds",
1243
+ "name": "maxLockingPeriod",
1244
+ "type": "uint40"
1245
+ },
1246
+ {
1247
+ "indexed": false,
1248
+ "internalType": "UFixed",
1249
+ "name": "minRewardRate",
1250
+ "type": "uint160"
1251
+ },
1252
+ {
1253
+ "indexed": false,
1254
+ "internalType": "UFixed",
1255
+ "name": "maxRewardRate",
1256
+ "type": "uint160"
1257
+ },
1258
+ {
1259
+ "indexed": false,
1260
+ "internalType": "Blocknumber",
1261
+ "name": "lastUpdateIn",
1262
+ "type": "uint40"
1263
+ }
1264
+ ],
1265
+ "name": "LogStakingSupportInfoSet",
1266
+ "type": "event"
1267
+ },
1268
+ {
1269
+ "anonymous": false,
1270
+ "inputs": [
1271
+ {
1272
+ "indexed": false,
1273
+ "internalType": "NftId",
1274
+ "name": "targetNftId",
1275
+ "type": "uint96"
1276
+ },
1277
+ {
1278
+ "indexed": false,
1279
+ "internalType": "ObjectType",
1280
+ "name": "objectType",
1281
+ "type": "uint8"
1282
+ },
1283
+ {
1284
+ "indexed": false,
1285
+ "internalType": "Seconds",
1286
+ "name": "lockingPeriod",
1287
+ "type": "uint40"
1288
+ },
1289
+ {
1290
+ "indexed": false,
1291
+ "internalType": "UFixed",
1292
+ "name": "rewardRate",
1293
+ "type": "uint160"
1294
+ }
1295
+ ],
1296
+ "name": "LogStakingTargetCreated",
1297
+ "type": "event"
1298
+ },
1299
+ {
1300
+ "anonymous": false,
1301
+ "inputs": [
1302
+ {
1303
+ "indexed": false,
1304
+ "internalType": "address",
1305
+ "name": "targetManager",
1306
+ "type": "address"
1307
+ },
1308
+ {
1309
+ "indexed": false,
1310
+ "internalType": "address",
1311
+ "name": "oldTargetHandler",
1312
+ "type": "address"
1313
+ }
1314
+ ],
1315
+ "name": "LogStakingTargetHandlerSet",
1316
+ "type": "event"
1317
+ },
1318
+ {
1319
+ "anonymous": false,
1320
+ "inputs": [
1321
+ {
1322
+ "indexed": false,
1323
+ "internalType": "NftId",
1324
+ "name": "targetNftId",
1325
+ "type": "uint96"
1326
+ },
1327
+ {
1328
+ "indexed": false,
1329
+ "internalType": "Amount",
1330
+ "name": "limitAmount",
1331
+ "type": "uint96"
1332
+ },
1333
+ {
1334
+ "indexed": false,
1335
+ "internalType": "Amount",
1336
+ "name": "hardLimitAmount",
1337
+ "type": "uint96"
1338
+ },
1339
+ {
1340
+ "indexed": false,
1341
+ "internalType": "Amount",
1342
+ "name": "requiredStakeAmount",
1343
+ "type": "uint96"
1344
+ },
1345
+ {
1346
+ "indexed": false,
1347
+ "internalType": "Amount",
1348
+ "name": "actualStakeAmount",
1349
+ "type": "uint96"
1350
+ },
1351
+ {
1352
+ "indexed": false,
1353
+ "internalType": "Blocknumber",
1354
+ "name": "lastUpdateIn",
1355
+ "type": "uint40"
1356
+ }
1357
+ ],
1358
+ "name": "LogStakingTargetLimitUpdated",
1359
+ "type": "event"
1360
+ },
1361
+ {
1362
+ "anonymous": false,
1363
+ "inputs": [
1364
+ {
1365
+ "indexed": false,
1366
+ "internalType": "NftId",
1367
+ "name": "targetNftId",
1368
+ "type": "uint96"
1369
+ },
1370
+ {
1371
+ "indexed": false,
1372
+ "internalType": "Amount",
1373
+ "name": "stakeLimitAmount",
1374
+ "type": "uint96"
1375
+ },
1376
+ {
1377
+ "indexed": false,
1378
+ "internalType": "Amount",
1379
+ "name": "marginAmount",
1380
+ "type": "uint96"
1381
+ },
1382
+ {
1383
+ "indexed": false,
1384
+ "internalType": "Amount",
1385
+ "name": "limitAmount",
1386
+ "type": "uint96"
1387
+ }
1388
+ ],
1389
+ "name": "LogStakingTargetLimitsSet",
1390
+ "type": "event"
1391
+ },
1392
+ {
1393
+ "anonymous": false,
1394
+ "inputs": [
1395
+ {
1396
+ "indexed": false,
1397
+ "internalType": "NftId",
1398
+ "name": "targetNftId",
1399
+ "type": "uint96"
1400
+ },
1401
+ {
1402
+ "indexed": false,
1403
+ "internalType": "Amount",
1404
+ "name": "marginAmount",
1405
+ "type": "uint96"
1406
+ },
1407
+ {
1408
+ "indexed": false,
1409
+ "internalType": "Amount",
1410
+ "name": "hardLimitAmount",
1411
+ "type": "uint96"
1412
+ },
1413
+ {
1414
+ "indexed": false,
1415
+ "internalType": "Blocknumber",
1416
+ "name": "lastUpdateIn",
1417
+ "type": "uint40"
1418
+ }
1419
+ ],
1420
+ "name": "LogStakingTargetLimitsUpdated",
1421
+ "type": "event"
1422
+ },
1423
+ {
1424
+ "anonymous": false,
1425
+ "inputs": [
1426
+ {
1427
+ "indexed": false,
1428
+ "internalType": "NftId",
1429
+ "name": "targetNftId",
1430
+ "type": "uint96"
1431
+ },
1432
+ {
1433
+ "indexed": false,
1434
+ "internalType": "Seconds",
1435
+ "name": "oldLockingPeriod",
1436
+ "type": "uint40"
1437
+ },
1438
+ {
1439
+ "indexed": false,
1440
+ "internalType": "Seconds",
1441
+ "name": "lockingPeriod",
1442
+ "type": "uint40"
1443
+ },
1444
+ {
1445
+ "indexed": false,
1446
+ "internalType": "Blocknumber",
1447
+ "name": "lastUpdateIn",
1448
+ "type": "uint40"
1449
+ }
1450
+ ],
1451
+ "name": "LogStakingTargetLockingPeriodSet",
1452
+ "type": "event"
1453
+ },
1454
+ {
1455
+ "anonymous": false,
1456
+ "inputs": [
1457
+ {
1458
+ "indexed": false,
1459
+ "internalType": "NftId",
1460
+ "name": "targetNftId",
1461
+ "type": "uint96"
1462
+ },
1463
+ {
1464
+ "indexed": false,
1465
+ "internalType": "Amount",
1466
+ "name": "stakeLimitAmount",
1467
+ "type": "uint96"
1468
+ },
1469
+ {
1470
+ "indexed": false,
1471
+ "internalType": "Blocknumber",
1472
+ "name": "lastUpdateIn",
1473
+ "type": "uint40"
1474
+ }
1475
+ ],
1476
+ "name": "LogStakingTargetMaxStakedAmountSet",
1477
+ "type": "event"
1478
+ },
1479
+ {
1480
+ "anonymous": false,
1481
+ "inputs": [
1482
+ {
1483
+ "indexed": false,
1484
+ "internalType": "NftId",
1485
+ "name": "targetNftId",
1486
+ "type": "uint96"
1487
+ },
1488
+ {
1489
+ "indexed": false,
1490
+ "internalType": "UFixed",
1491
+ "name": "rewardRate",
1492
+ "type": "uint160"
1493
+ },
1494
+ {
1495
+ "indexed": false,
1496
+ "internalType": "UFixed",
1497
+ "name": "oldRewardRate",
1498
+ "type": "uint160"
1499
+ },
1500
+ {
1501
+ "indexed": false,
1502
+ "internalType": "Blocknumber",
1503
+ "name": "lastUpdateIn",
1504
+ "type": "uint40"
1505
+ }
1506
+ ],
1507
+ "name": "LogStakingTargetRewardRateSet",
1508
+ "type": "event"
1509
+ },
1510
+ {
1511
+ "anonymous": false,
1512
+ "inputs": [
1513
+ {
1514
+ "indexed": false,
1515
+ "internalType": "NftId",
1516
+ "name": "targetNftId",
1517
+ "type": "uint96"
1518
+ },
1519
+ {
1520
+ "indexed": false,
1521
+ "internalType": "ChainId",
1522
+ "name": "chainId",
1523
+ "type": "uint96"
1524
+ },
1525
+ {
1526
+ "indexed": false,
1527
+ "internalType": "address",
1528
+ "name": "token",
1529
+ "type": "address"
1530
+ }
1531
+ ],
1532
+ "name": "LogStakingTargetTokenAdded",
1533
+ "type": "event"
1534
+ },
1535
+ {
1536
+ "anonymous": false,
1537
+ "inputs": [
1538
+ {
1539
+ "indexed": false,
1540
+ "internalType": "ChainId",
1541
+ "name": "chainId",
1542
+ "type": "uint96"
1543
+ },
1544
+ {
1545
+ "indexed": false,
1546
+ "internalType": "address",
1547
+ "name": "token",
1548
+ "type": "address"
1549
+ }
1550
+ ],
1551
+ "name": "LogStakingTokenAdded",
1552
+ "type": "event"
1553
+ },
1554
+ {
1555
+ "anonymous": false,
1556
+ "inputs": [
1557
+ {
1558
+ "indexed": false,
1559
+ "internalType": "address",
1560
+ "name": "token",
1561
+ "type": "address"
1562
+ },
1563
+ {
1564
+ "indexed": false,
1565
+ "internalType": "Amount",
1566
+ "name": "approvalAmount",
1567
+ "type": "uint96"
1568
+ },
1569
+ {
1570
+ "indexed": false,
1571
+ "internalType": "Amount",
1572
+ "name": "oldApprovalAmount",
1573
+ "type": "uint96"
1574
+ }
1575
+ ],
1576
+ "name": "LogStakingTokenHandlerApproved",
1577
+ "type": "event"
1578
+ },
1579
+ {
1580
+ "anonymous": false,
1581
+ "inputs": [
1582
+ {
1583
+ "indexed": false,
1584
+ "internalType": "NftId",
1585
+ "name": "targetNftId",
1586
+ "type": "uint96"
1587
+ },
1588
+ {
1589
+ "indexed": false,
1590
+ "internalType": "address",
1591
+ "name": "token",
1592
+ "type": "address"
1593
+ },
1594
+ {
1595
+ "indexed": false,
1596
+ "internalType": "Amount",
1597
+ "name": "amount",
1598
+ "type": "uint96"
1599
+ },
1600
+ {
1601
+ "indexed": false,
1602
+ "internalType": "Amount",
1603
+ "name": "newBalance",
1604
+ "type": "uint96"
1605
+ },
1606
+ {
1607
+ "indexed": false,
1608
+ "internalType": "Blocknumber",
1609
+ "name": "lastUpdateIn",
1610
+ "type": "uint40"
1611
+ }
1612
+ ],
1613
+ "name": "LogStakingTvlDecreased",
1614
+ "type": "event"
1615
+ },
1616
+ {
1617
+ "anonymous": false,
1618
+ "inputs": [
1619
+ {
1620
+ "indexed": false,
1621
+ "internalType": "NftId",
1622
+ "name": "targetNftId",
1623
+ "type": "uint96"
1624
+ },
1625
+ {
1626
+ "indexed": false,
1627
+ "internalType": "address",
1628
+ "name": "token",
1629
+ "type": "address"
1630
+ },
1631
+ {
1632
+ "indexed": false,
1633
+ "internalType": "Amount",
1634
+ "name": "amount",
1635
+ "type": "uint96"
1636
+ },
1637
+ {
1638
+ "indexed": false,
1639
+ "internalType": "Amount",
1640
+ "name": "newBalance",
1641
+ "type": "uint96"
1642
+ },
1643
+ {
1644
+ "indexed": false,
1645
+ "internalType": "Blocknumber",
1646
+ "name": "lastUpdateIn",
1647
+ "type": "uint40"
1648
+ }
1649
+ ],
1650
+ "name": "LogStakingTvlIncreased",
1651
+ "type": "event"
1652
+ },
1653
+ {
1654
+ "anonymous": false,
1655
+ "inputs": [
1656
+ {
1657
+ "indexed": false,
1658
+ "internalType": "NftId",
1659
+ "name": "stakeNftId",
1660
+ "type": "uint96"
1661
+ },
1662
+ {
1663
+ "indexed": false,
1664
+ "internalType": "Amount",
1665
+ "name": "unstakedAmount",
1666
+ "type": "uint96"
1667
+ },
1668
+ {
1669
+ "indexed": false,
1670
+ "internalType": "Amount",
1671
+ "name": "stakeBalance",
1672
+ "type": "uint96"
1673
+ },
1674
+ {
1675
+ "indexed": false,
1676
+ "internalType": "Amount",
1677
+ "name": "rewardBalance",
1678
+ "type": "uint96"
1679
+ },
1680
+ {
1681
+ "indexed": false,
1682
+ "internalType": "Timestamp",
1683
+ "name": "lockedUntil",
1684
+ "type": "uint40"
1685
+ },
1686
+ {
1687
+ "indexed": false,
1688
+ "internalType": "Blocknumber",
1689
+ "name": "lastUpdateIn",
1690
+ "type": "uint40"
652
1691
  }
653
1692
  ],
654
- "stateMutability": "view",
655
- "type": "function"
1693
+ "name": "LogStakingUnstaked",
1694
+ "type": "event"
656
1695
  },
657
1696
  {
658
1697
  "inputs": [],
659
- "name": "CONTRACT_NAME",
1698
+ "name": "COMPONENT_LOCATION_V1",
660
1699
  "outputs": [
661
1700
  {
662
- "internalType": "string",
1701
+ "internalType": "bytes32",
663
1702
  "name": "",
664
- "type": "string"
1703
+ "type": "bytes32"
665
1704
  }
666
1705
  ],
667
1706
  "stateMutability": "view",
@@ -669,12 +1708,12 @@
669
1708
  },
670
1709
  {
671
1710
  "inputs": [],
672
- "name": "GIF_RELEASE",
1711
+ "name": "CONTRACT_NAME",
673
1712
  "outputs": [
674
1713
  {
675
- "internalType": "uint256",
1714
+ "internalType": "string",
676
1715
  "name": "",
677
- "type": "uint256"
1716
+ "type": "string"
678
1717
  }
679
1718
  ],
680
1719
  "stateMutability": "view",
@@ -721,27 +1760,50 @@
721
1760
  },
722
1761
  {
723
1762
  "inputs": [
1763
+ {
1764
+ "internalType": "NftId",
1765
+ "name": "targetNftId",
1766
+ "type": "uint96"
1767
+ },
724
1768
  {
725
1769
  "internalType": "address",
726
1770
  "name": "token",
727
1771
  "type": "address"
728
- },
1772
+ }
1773
+ ],
1774
+ "name": "addTargetToken",
1775
+ "outputs": [],
1776
+ "stateMutability": "nonpayable",
1777
+ "type": "function"
1778
+ },
1779
+ {
1780
+ "inputs": [
729
1781
  {
730
- "internalType": "Amount",
731
- "name": "spendingLimitAmount",
1782
+ "internalType": "ChainId",
1783
+ "name": "chainId",
732
1784
  "type": "uint96"
1785
+ },
1786
+ {
1787
+ "internalType": "address",
1788
+ "name": "token",
1789
+ "type": "address"
733
1790
  }
734
1791
  ],
735
- "name": "approveTokenHandler",
1792
+ "name": "addToken",
736
1793
  "outputs": [],
737
1794
  "stateMutability": "nonpayable",
738
1795
  "type": "function"
739
1796
  },
740
1797
  {
741
1798
  "inputs": [
1799
+ {
1800
+ "internalType": "contract IERC20Metadata",
1801
+ "name": "token",
1802
+ "type": "address"
1803
+ },
742
1804
  {
743
1805
  "internalType": "Amount",
744
- "name": "spendingLimitAmount",
1806
+ "name": "amount",
745
1807
  "type": "uint96"
746
1808
  }
747
1809
  ],
@@ -775,7 +1837,7 @@
775
1837
  "outputs": [
776
1838
  {
777
1839
  "internalType": "Amount",
778
- "name": "rewardsClaimedAmount",
1840
+ "name": "claimedAmount",
779
1841
  "type": "uint96"
780
1842
  }
781
1843
  ],
@@ -785,41 +1847,29 @@
785
1847
  {
786
1848
  "inputs": [
787
1849
  {
788
- "internalType": "address",
789
- "name": "from",
790
- "type": "address"
1850
+ "internalType": "NftId",
1851
+ "name": "targetNftId",
1852
+ "type": "uint96"
791
1853
  },
792
1854
  {
793
1855
  "internalType": "Amount",
794
- "name": "dipAmount",
1856
+ "name": "stakeAmount",
795
1857
  "type": "uint96"
1858
+ },
1859
+ {
1860
+ "internalType": "address",
1861
+ "name": "stakeOwner",
1862
+ "type": "address"
796
1863
  }
797
1864
  ],
798
- "name": "collectDipAmount",
799
- "outputs": [],
800
- "stateMutability": "nonpayable",
801
- "type": "function"
802
- },
803
- {
804
- "inputs": [
1865
+ "name": "createStake",
1866
+ "outputs": [
805
1867
  {
806
1868
  "internalType": "NftId",
807
1869
  "name": "stakeNftId",
808
1870
  "type": "uint96"
809
- },
810
- {
811
- "internalType": "NftId",
812
- "name": "targetNftId",
813
- "type": "uint96"
814
- },
815
- {
816
- "internalType": "Amount",
817
- "name": "stakeAmount",
818
- "type": "uint96"
819
1871
  }
820
1872
  ],
821
- "name": "createStake",
822
- "outputs": [],
823
1873
  "stateMutability": "nonpayable",
824
1874
  "type": "function"
825
1875
  },
@@ -842,13 +1892,7 @@
842
1892
  }
843
1893
  ],
844
1894
  "name": "decreaseTotalValueLocked",
845
- "outputs": [
846
- {
847
- "internalType": "Amount",
848
- "name": "newBalance",
849
- "type": "uint96"
850
- }
851
- ],
1895
+ "outputs": [],
852
1896
  "stateMutability": "nonpayable",
853
1897
  "type": "function"
854
1898
  },
@@ -863,25 +1907,10 @@
863
1907
  "name": "name",
864
1908
  "type": "string"
865
1909
  },
866
- {
867
- "internalType": "contract IERC20Metadata",
868
- "name": "token",
869
- "type": "address"
870
- },
871
1910
  {
872
1911
  "internalType": "contract TokenHandler",
873
1912
  "name": "tokenHandler",
874
1913
  "type": "address"
875
- },
876
- {
877
- "internalType": "address",
878
- "name": "wallet",
879
- "type": "address"
880
- },
881
- {
882
- "internalType": "bytes",
883
- "name": "data",
884
- "type": "bytes"
885
1914
  }
886
1915
  ],
887
1916
  "internalType": "struct IComponents.ComponentInfo",
@@ -903,25 +1932,10 @@
903
1932
  "name": "name",
904
1933
  "type": "string"
905
1934
  },
906
- {
907
- "internalType": "contract IERC20Metadata",
908
- "name": "token",
909
- "type": "address"
910
- },
911
1935
  {
912
1936
  "internalType": "contract TokenHandler",
913
1937
  "name": "tokenHandler",
914
1938
  "type": "address"
915
- },
916
- {
917
- "internalType": "address",
918
- "name": "wallet",
919
- "type": "address"
920
- },
921
- {
922
- "internalType": "bytes",
923
- "name": "data",
924
- "type": "bytes"
925
1939
  }
926
1940
  ],
927
1941
  "internalType": "struct IComponents.ComponentInfo",
@@ -1040,7 +2054,7 @@
1040
2054
  "outputs": [
1041
2055
  {
1042
2056
  "internalType": "VersionPart",
1043
- "name": "release",
2057
+ "name": "",
1044
2058
  "type": "uint8"
1045
2059
  }
1046
2060
  ],
@@ -1073,6 +2087,19 @@
1073
2087
  "stateMutability": "view",
1074
2088
  "type": "function"
1075
2089
  },
2090
+ {
2091
+ "inputs": [],
2092
+ "name": "getTargetHandler",
2093
+ "outputs": [
2094
+ {
2095
+ "internalType": "contract TargetHandler",
2096
+ "name": "targetHandler",
2097
+ "type": "address"
2098
+ }
2099
+ ],
2100
+ "stateMutability": "view",
2101
+ "type": "function"
2102
+ },
1076
2103
  {
1077
2104
  "inputs": [],
1078
2105
  "name": "getToken",
@@ -1157,13 +2184,14 @@
1157
2184
  }
1158
2185
  ],
1159
2186
  "name": "increaseTotalValueLocked",
1160
- "outputs": [
1161
- {
1162
- "internalType": "Amount",
1163
- "name": "newBalance",
1164
- "type": "uint96"
1165
- }
1166
- ],
2187
+ "outputs": [],
2188
+ "stateMutability": "nonpayable",
2189
+ "type": "function"
2190
+ },
2191
+ {
2192
+ "inputs": [],
2193
+ "name": "initializeTokenHandler",
2194
+ "outputs": [],
1167
2195
  "stateMutability": "nonpayable",
1168
2196
  "type": "function"
1169
2197
  },
@@ -1185,6 +2213,19 @@
1185
2213
  "stateMutability": "nonpayable",
1186
2214
  "type": "function"
1187
2215
  },
2216
+ {
2217
+ "inputs": [],
2218
+ "name": "isActive",
2219
+ "outputs": [
2220
+ {
2221
+ "internalType": "bool",
2222
+ "name": "active",
2223
+ "type": "bool"
2224
+ }
2225
+ ],
2226
+ "stateMutability": "view",
2227
+ "type": "function"
2228
+ },
1188
2229
  {
1189
2230
  "inputs": [],
1190
2231
  "name": "isConsumingScheduledOp",
@@ -1289,6 +2330,35 @@
1289
2330
  "stateMutability": "nonpayable",
1290
2331
  "type": "function"
1291
2332
  },
2333
+ {
2334
+ "inputs": [
2335
+ {
2336
+ "internalType": "NftId",
2337
+ "name": "targetNftId",
2338
+ "type": "uint96"
2339
+ },
2340
+ {
2341
+ "internalType": "Amount",
2342
+ "name": "dipAmount",
2343
+ "type": "uint96"
2344
+ },
2345
+ {
2346
+ "internalType": "address",
2347
+ "name": "transferFrom",
2348
+ "type": "address"
2349
+ }
2350
+ ],
2351
+ "name": "refillRewardReservesByService",
2352
+ "outputs": [
2353
+ {
2354
+ "internalType": "Amount",
2355
+ "name": "newBalance",
2356
+ "type": "uint96"
2357
+ }
2358
+ ],
2359
+ "stateMutability": "nonpayable",
2360
+ "type": "function"
2361
+ },
1292
2362
  {
1293
2363
  "inputs": [
1294
2364
  {
@@ -1299,24 +2369,49 @@
1299
2369
  {
1300
2370
  "components": [
1301
2371
  {
1302
- "internalType": "ObjectType",
1303
- "name": "objectType",
1304
- "type": "uint8"
2372
+ "internalType": "Amount",
2373
+ "name": "stakedAmount",
2374
+ "type": "uint96"
1305
2375
  },
1306
2376
  {
1307
- "internalType": "uint256",
1308
- "name": "chainId",
1309
- "type": "uint256"
2377
+ "internalType": "Amount",
2378
+ "name": "rewardAmount",
2379
+ "type": "uint96"
2380
+ },
2381
+ {
2382
+ "internalType": "Blocknumber",
2383
+ "name": "lastUpdateIn",
2384
+ "type": "uint40"
2385
+ },
2386
+ {
2387
+ "internalType": "Amount",
2388
+ "name": "reserveAmount",
2389
+ "type": "uint96"
2390
+ },
2391
+ {
2392
+ "internalType": "Amount",
2393
+ "name": "limitAmount",
2394
+ "type": "uint96"
1310
2395
  },
1311
2396
  {
1312
2397
  "internalType": "Seconds",
1313
2398
  "name": "lockingPeriod",
1314
2399
  "type": "uint40"
1315
2400
  },
2401
+ {
2402
+ "internalType": "ObjectType",
2403
+ "name": "objectType",
2404
+ "type": "uint8"
2405
+ },
1316
2406
  {
1317
2407
  "internalType": "UFixed",
1318
2408
  "name": "rewardRate",
1319
- "type": "uint256"
2409
+ "type": "uint160"
2410
+ },
2411
+ {
2412
+ "internalType": "ChainId",
2413
+ "name": "chainId",
2414
+ "type": "uint96"
1320
2415
  }
1321
2416
  ],
1322
2417
  "internalType": "struct IStaking.TargetInfo",
@@ -1341,11 +2436,6 @@
1341
2436
  "name": "expectedObjectType",
1342
2437
  "type": "uint8"
1343
2438
  },
1344
- {
1345
- "internalType": "uint256",
1346
- "name": "chainId",
1347
- "type": "uint256"
1348
- },
1349
2439
  {
1350
2440
  "internalType": "Seconds",
1351
2441
  "name": "initialLockingPeriod",
@@ -1354,7 +2444,7 @@
1354
2444
  {
1355
2445
  "internalType": "UFixed",
1356
2446
  "name": "initialRewardRate",
1357
- "type": "uint256"
2447
+ "type": "uint160"
1358
2448
  }
1359
2449
  ],
1360
2450
  "name": "registerTarget",
@@ -1378,23 +2468,77 @@
1378
2468
  "name": "restake",
1379
2469
  "outputs": [
1380
2470
  {
1381
- "internalType": "NftId",
1382
- "name": "newStakeNftId",
2471
+ "internalType": "NftId",
2472
+ "name": "newStakeNftId",
2473
+ "type": "uint96"
2474
+ },
2475
+ {
2476
+ "internalType": "Amount",
2477
+ "name": "newStakedAmount",
2478
+ "type": "uint96"
2479
+ }
2480
+ ],
2481
+ "stateMutability": "nonpayable",
2482
+ "type": "function"
2483
+ },
2484
+ {
2485
+ "inputs": [
2486
+ {
2487
+ "internalType": "address",
2488
+ "name": "newAuthority",
2489
+ "type": "address"
2490
+ }
2491
+ ],
2492
+ "name": "setAuthority",
2493
+ "outputs": [],
2494
+ "stateMutability": "nonpayable",
2495
+ "type": "function"
2496
+ },
2497
+ {
2498
+ "inputs": [
2499
+ {
2500
+ "internalType": "NftId",
2501
+ "name": "targetNftId",
2502
+ "type": "uint96"
2503
+ },
2504
+ {
2505
+ "internalType": "Seconds",
2506
+ "name": "lockingPeriod",
2507
+ "type": "uint40"
2508
+ }
2509
+ ],
2510
+ "name": "setLockingPeriod",
2511
+ "outputs": [],
2512
+ "stateMutability": "nonpayable",
2513
+ "type": "function"
2514
+ },
2515
+ {
2516
+ "inputs": [
2517
+ {
2518
+ "internalType": "NftId",
2519
+ "name": "targetNftId",
2520
+ "type": "uint96"
2521
+ },
2522
+ {
2523
+ "internalType": "Amount",
2524
+ "name": "stakeLimitAmount",
1383
2525
  "type": "uint96"
1384
2526
  }
1385
2527
  ],
2528
+ "name": "setMaxStakedAmount",
2529
+ "outputs": [],
1386
2530
  "stateMutability": "nonpayable",
1387
2531
  "type": "function"
1388
2532
  },
1389
2533
  {
1390
2534
  "inputs": [
1391
2535
  {
1392
- "internalType": "address",
1393
- "name": "newAuthority",
1394
- "type": "address"
2536
+ "internalType": "Seconds",
2537
+ "name": "newLockingPeriod",
2538
+ "type": "uint40"
1395
2539
  }
1396
2540
  ],
1397
- "name": "setAuthority",
2541
+ "name": "setProtocolLockingPeriod",
1398
2542
  "outputs": [],
1399
2543
  "stateMutability": "nonpayable",
1400
2544
  "type": "function"
@@ -1402,17 +2546,12 @@
1402
2546
  {
1403
2547
  "inputs": [
1404
2548
  {
1405
- "internalType": "NftId",
1406
- "name": "targetNftId",
1407
- "type": "uint96"
1408
- },
1409
- {
1410
- "internalType": "Seconds",
1411
- "name": "lockingPeriod",
1412
- "type": "uint40"
2549
+ "internalType": "UFixed",
2550
+ "name": "newRewardRate",
2551
+ "type": "uint160"
1413
2552
  }
1414
2553
  ],
1415
- "name": "setLockingPeriod",
2554
+ "name": "setProtocolRewardRate",
1416
2555
  "outputs": [],
1417
2556
  "stateMutability": "nonpayable",
1418
2557
  "type": "function"
@@ -1427,7 +2566,7 @@
1427
2566
  {
1428
2567
  "internalType": "UFixed",
1429
2568
  "name": "rewardRate",
1430
- "type": "uint256"
2569
+ "type": "uint160"
1431
2570
  }
1432
2571
  ],
1433
2572
  "name": "setRewardRate",
@@ -1438,9 +2577,9 @@
1438
2577
  {
1439
2578
  "inputs": [
1440
2579
  {
1441
- "internalType": "uint256",
2580
+ "internalType": "ChainId",
1442
2581
  "name": "chainId",
1443
- "type": "uint256"
2582
+ "type": "uint96"
1444
2583
  },
1445
2584
  {
1446
2585
  "internalType": "address",
@@ -1450,7 +2589,7 @@
1450
2589
  {
1451
2590
  "internalType": "UFixed",
1452
2591
  "name": "stakingRate",
1453
- "type": "uint256"
2592
+ "type": "uint160"
1454
2593
  }
1455
2594
  ],
1456
2595
  "name": "setStakingRate",
@@ -1461,8 +2600,8 @@
1461
2600
  {
1462
2601
  "inputs": [
1463
2602
  {
1464
- "internalType": "contract StakingReader",
1465
- "name": "stakingReader",
2603
+ "internalType": "address",
2604
+ "name": "reader",
1466
2605
  "type": "address"
1467
2606
  }
1468
2607
  ],
@@ -1474,12 +2613,111 @@
1474
2613
  {
1475
2614
  "inputs": [
1476
2615
  {
1477
- "internalType": "address",
1478
- "name": "newWallet",
1479
- "type": "address"
2616
+ "internalType": "VersionPart",
2617
+ "name": "release",
2618
+ "type": "uint8"
2619
+ }
2620
+ ],
2621
+ "name": "setStakingService",
2622
+ "outputs": [],
2623
+ "stateMutability": "nonpayable",
2624
+ "type": "function"
2625
+ },
2626
+ {
2627
+ "inputs": [
2628
+ {
2629
+ "internalType": "ObjectType",
2630
+ "name": "targetType",
2631
+ "type": "uint8"
2632
+ },
2633
+ {
2634
+ "internalType": "bool",
2635
+ "name": "isSupported",
2636
+ "type": "bool"
2637
+ },
2638
+ {
2639
+ "internalType": "bool",
2640
+ "name": "allowNewTargets",
2641
+ "type": "bool"
2642
+ },
2643
+ {
2644
+ "internalType": "bool",
2645
+ "name": "allowCrossChain",
2646
+ "type": "bool"
2647
+ },
2648
+ {
2649
+ "internalType": "Amount",
2650
+ "name": "minStakingAmount",
2651
+ "type": "uint96"
2652
+ },
2653
+ {
2654
+ "internalType": "Amount",
2655
+ "name": "maxStakingAmount",
2656
+ "type": "uint96"
2657
+ },
2658
+ {
2659
+ "internalType": "Seconds",
2660
+ "name": "minLockingPeriod",
2661
+ "type": "uint40"
2662
+ },
2663
+ {
2664
+ "internalType": "Seconds",
2665
+ "name": "maxLockingPeriod",
2666
+ "type": "uint40"
2667
+ },
2668
+ {
2669
+ "internalType": "UFixed",
2670
+ "name": "minRewardRate",
2671
+ "type": "uint160"
2672
+ },
2673
+ {
2674
+ "internalType": "UFixed",
2675
+ "name": "maxRewardRate",
2676
+ "type": "uint160"
2677
+ }
2678
+ ],
2679
+ "name": "setSupportInfo",
2680
+ "outputs": [],
2681
+ "stateMutability": "nonpayable",
2682
+ "type": "function"
2683
+ },
2684
+ {
2685
+ "inputs": [
2686
+ {
2687
+ "internalType": "NftId",
2688
+ "name": "targetNftId",
2689
+ "type": "uint96"
2690
+ },
2691
+ {
2692
+ "internalType": "Amount",
2693
+ "name": "marginAmount",
2694
+ "type": "uint96"
2695
+ },
2696
+ {
2697
+ "internalType": "Amount",
2698
+ "name": "limitAmount",
2699
+ "type": "uint96"
2700
+ }
2701
+ ],
2702
+ "name": "setTargetLimits",
2703
+ "outputs": [],
2704
+ "stateMutability": "nonpayable",
2705
+ "type": "function"
2706
+ },
2707
+ {
2708
+ "inputs": [
2709
+ {
2710
+ "internalType": "uint16",
2711
+ "name": "tvlUpdatesTrigger",
2712
+ "type": "uint16"
2713
+ },
2714
+ {
2715
+ "internalType": "UFixed",
2716
+ "name": "minTvlRatioTrigger",
2717
+ "type": "uint160"
1480
2718
  }
1481
2719
  ],
1482
- "name": "setWallet",
2720
+ "name": "setUpdateTriggers",
1483
2721
  "outputs": [],
1484
2722
  "stateMutability": "nonpayable",
1485
2723
  "type": "function"
@@ -1501,7 +2739,7 @@
1501
2739
  "outputs": [
1502
2740
  {
1503
2741
  "internalType": "Amount",
1504
- "name": "stakeBalance",
2742
+ "name": "newStakeBalance",
1505
2743
  "type": "uint96"
1506
2744
  }
1507
2745
  ],
@@ -1527,24 +2765,6 @@
1527
2765
  "stateMutability": "view",
1528
2766
  "type": "function"
1529
2767
  },
1530
- {
1531
- "inputs": [
1532
- {
1533
- "internalType": "address",
1534
- "name": "to",
1535
- "type": "address"
1536
- },
1537
- {
1538
- "internalType": "Amount",
1539
- "name": "dipAmount",
1540
- "type": "uint96"
1541
- }
1542
- ],
1543
- "name": "transferDipAmount",
1544
- "outputs": [],
1545
- "stateMutability": "nonpayable",
1546
- "type": "function"
1547
- },
1548
2768
  {
1549
2769
  "inputs": [
1550
2770
  {
@@ -1559,11 +2779,6 @@
1559
2779
  "internalType": "Amount",
1560
2780
  "name": "unstakedAmount",
1561
2781
  "type": "uint96"
1562
- },
1563
- {
1564
- "internalType": "Amount",
1565
- "name": "rewardsClaimedAmount",
1566
- "type": "uint96"
1567
2782
  }
1568
2783
  ],
1569
2784
  "stateMutability": "nonpayable",
@@ -1601,6 +2816,25 @@
1601
2816
  }
1602
2817
  ],
1603
2818
  "name": "updateRewards",
2819
+ "outputs": [
2820
+ {
2821
+ "internalType": "Amount",
2822
+ "name": "newRewardAmount",
2823
+ "type": "uint96"
2824
+ }
2825
+ ],
2826
+ "stateMutability": "nonpayable",
2827
+ "type": "function"
2828
+ },
2829
+ {
2830
+ "inputs": [
2831
+ {
2832
+ "internalType": "NftId",
2833
+ "name": "targetNftId",
2834
+ "type": "uint96"
2835
+ }
2836
+ ],
2837
+ "name": "updateTargetLimit",
1604
2838
  "outputs": [],
1605
2839
  "stateMutability": "nonpayable",
1606
2840
  "type": "function"
@@ -1641,52 +2875,65 @@
1641
2875
  ],
1642
2876
  "stateMutability": "nonpayable",
1643
2877
  "type": "function"
1644
- }
1645
- ],
1646
- "bytecode": "0x6080604052348015600e575f80fd5b5060156019565b60c9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161560685760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b039081161460c65780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b614f7c806100d65f395ff3fe608060405234801561000f575f80fd5b5060043610610319575f3560e01c80636291423a116101af578063ad12ad60116100fe578063de0eb85f1161009e578063e3a817cd11610079578063e3a817cd14610727578063e8ce883d1461073a578063ea15869f1461074d578063ea48ce9b14610761575f80fd5b8063de0eb85f146106ce578063dea4ccf2146106e1578063deaa59df14610714575f80fd5b8063bae99c99116100d9578063bae99c9914610698578063bf7e214f146106ab578063caed9897146106b3578063d44f8a4b146106bb575f80fd5b8063ad12ad6014610669578063ada9652e1461067c578063b423086c14610690575f80fd5b806386c75754116101695780638fb36037116101445780638fb360371461060d57806390edbd351461062e578063958697a0146106435780639a72636414610656575f80fd5b806386c75754146105f55780638899278a146105fd578063893d20e814610605575f80fd5b80636291423a1461057d578063644c45e0146105855780636c1e9dff146105a2578063719f761a146105b557806376b707b7146105c85780637a9e5e4b146105e2575f80fd5b8063329d6e741161026b5780635741e5e9116102255780635ecf260f116102005780635ecf260f1461051e5780635fd1efec14610531578063614d08f814610544578063628937d21461056a575f80fd5b80635741e5e9146104f25780635ab1bd53146104fa5780635cbb7d851461050b575f80fd5b8063329d6e741461048b57806336644da61461049e578063419197fe146104b157806343d752d3146104c457806349bb9e4b146104cc578063562119ee146104df575f80fd5b8063138461e0116102d657806321df0da7116102b157806321df0da714610455578063223668441461045d5780632a80f6731461046557806331ecc5cc14610478575f80fd5b8063138461e0146103f957806317d7de7c146104195780631eff4b221461042e575f80fd5b806301ffc9a71461031d578063062c9cdf1461035e5780630d8e6e2c146103935780630fec111c146103af57806310a0638a146103c457806313299604146103d9575b5f80fd5b61034961032b366004614265565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6103857fafe8d4462b2ed26a47154f4b8f6d1497d2f772496965791d25bd456e342b7f0081565b604051908152602001610355565b61039b610774565b60405162ffffff9091168152602001610355565b6103b76107fb565b60405161035591906142ba565b6103d76103d236600461435a565b6109b9565b005b6103e1610aa2565b6040516001600160a01b039091168152602001610355565b610401610ab4565b6040516001600160601b039091168152602001610355565b610421610abe565b6040516103559190614375565b6103857f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6103e1610ace565b610349610ae0565b6103d7610473366004614387565b610bd6565b6103d76104863660046143b1565b610e40565b6103d76104993660046144ff565b610fee565b6103d76104ac366004614550565b611139565b6103d76104bf3660046145dd565b611181565b6103e16113d3565b6103d76104da366004614614565b6113ee565b6103d76104ed366004614660565b6114ea565b61034961161a565b6001546001600160a01b03166103e1565b6104016105193660046146b7565b6116ce565b6103d761052c3660046146d3565b611790565b6103d761053f3660046146ff565b6119ff565b610421604051806040016040528060078152602001665374616b696e6760c81b81525081565b6103d76105783660046145dd565b611b64565b6103e1611bdc565b5f80516020614ec7833981519152546001600160601b0316610401565b6104016105b03660046146b7565b611bf7565b6104016105c336600461435a565b611d81565b6105d0611ff2565b60405160ff9091168152602001610355565b6103d76105f03660046146ff565b612066565b6103e16120e8565b610385600381565b6103e1612103565b610615612234565b6040516001600160e01b03199091168152602001610355565b610636612269565b604051610355919061471a565b6103d7610651366004614785565b61228e565b6103d76106643660046147b2565b6122d7565b6103d76106773660046147e7565b6124f0565b6103855f80516020614ec783398151915281565b610636612592565b6103d76106a636600461435a565b6125a2565b6103e16125f1565b6103e161260c565b6104016106c9366004614785565b612627565b6104016106dc3660046146b7565b6127b5565b6106f46106ef36600461435a565b612850565b604080516001600160601b03938416815292909116602083015201610355565b6103d76107223660046146ff565b612bca565b6103d76107353660046145dd565b612f69565b6104016107483660046146b7565b612fb0565b6103855f80516020614ee783398151915281565b61040161076f366004614785565b613007565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156107d2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107f69190614837565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156108ab573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108cf9190614869565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610917612103565b6001600160a01b0316815260200182600101805461093490614884565b80601f016020809104026020016040519081016040528092919081815260200182805461096090614884565b80156109ab5780601f10610982576101008083540402835291602001916109ab565b820191905f5260205f20905b81548152906001019060200180831161098e57829003601f168201915b505050505081525091505090565b6109c5335b5f3661314a565b806109ce613240565b60030154604051634f9c1c0960e01b81526001600160601b03831660048201526001600160a01b0390911690634f9c1c0990602401602060405180830381865afa158015610a1e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a4291906148cb565b610a6f57604051632ab4595b60e11b81526001600160601b03821660048201526024015b60405180910390fd5b5f610a78613240565b60048101546003820154919250610a9c916001600160a01b03918216911685613264565b50505050565b5f610aab612269565b60600151905090565b5f6107f6306133e6565b6060610ac8612269565b51919050565b5f610ad7612269565b60200151905090565b5f610af36001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610b37573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b5b9190614869565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610bb2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107f691906148cb565b610bdf336109be565b81610be8613240565b6003015f9054906101000a90046001600160a01b03166001600160a01b0316635cce3fa16040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c39573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c5d91906148e4565b604051634f9c1c0960e01b81526001600160601b03831660048201526001600160a01b039190911690634f9c1c0990602401602060405180830381865afa158015610caa573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cce91906148cb565b610cf6576040516396cff01560e01b81526001600160601b0382166004820152602401610a66565b604051633a39e8ad60e21b81523060048201526001600160601b0384166024820152604481018390525f90819073__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__9063e8e7a2b49060640160a060405180830381865af4158015610d5d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d819190614960565b91509150610d8d613240565b60030154604051630300f49160e31b81526001600160a01b0390911690631807a48890610dc0908890859060040161498b565b5f604051808303815f87803b158015610dd7575f80fd5b505af1158015610de9573d5f803e3d5ffd5b5050604080516001600160601b0389168152602081018690529081018790527f3e76c26439d1ec3386e26dfeebf955ea11f5f5f30459052b70e061ade8c9554f925060600190505b60405180910390a15050505050565b610e49336109be565b5f610e52613240565b600481810154604051630e8d845760e31b81526001600160a01b03909116918101919091526001600160601b038086166024830152841660448201529091505f9073__$dbe4bf03c942dc0574f54ee579c90d56ef$__9063746c22b890606401602060405180830381865af4158015610ecd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ef191906149d4565b60038301546040805160208101825264ffffffffff848116825291516331420df160e11b81526001600160601b038a166004820152905190911660248201529192506001600160a01b0316906362841be2906044015f604051808303815f87803b158015610f5d575f80fd5b505af1158015610f6f573d5f803e3d5ffd5b505050506003820154604051633861317f60e01b81526001600160601b0380881660048301528087166024830152851660448201526001600160a01b0390911690633861317f906064015b5f604051808303815f87803b158015610fd1575f80fd5b505af1158015610fe3573d5f803e3d5ffd5b505050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c611010610774565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af415801561104e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061107291906149ef565b5f80516020614f278339815191528054600160401b900460ff16806110a4575080546001600160401b03808416911610155b156110c25760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556110ec836135df565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a1505050565b611142336109be565b61114a612103565b6001600160a01b0316336001600160a01b03161461117d5760405163086391f760e31b8152336004820152602401610a66565b5050565b611189612103565b6001600160a01b0316336001600160a01b0316146111bc5760405163086391f760e31b8152336004820152602401610a66565b306111c5610aa2565b6001600160a01b0316146111ec5760405163b6d7537f60e01b815260040160405180910390fd5b60405163046e44af60e11b81526001600160601b03821660048201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015611244573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112689190614a15565b90505f6112df8373__$3bac17678db7ae928afa209f2f44deec9c$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af41580156112b6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112da9190614869565b6135e7565b156112ec57505f19905060015b7f99d7b1d3869e469ab19cd2c6e66718a63bca93dc1a2d27d375cb4bebbf5348ce6113156113d3565b604080516001600160a01b0390921682526001600160601b03861660208301528315159082015260600160405180910390a1836001600160a01b031663095ea7b361135e6113d3565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018590526044016020604051808303815f875af11580156113a8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113cc91906148cb565b5050505050565b5f6113dc613240565b600201546001600160a01b0316919050565b5f80516020614f278339815191528054600160401b810460ff1615906001600160401b03165f8115801561141f5750825b90505f826001600160401b0316600114801561143a5750303b155b905081158015611448575080155b156114665760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561149057845460ff60401b1916600160401b1785555b61149a8787613672565b83156114e157845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6114f3336109be565b73__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__639ed616cd61151f6001546001600160a01b031690565b611527613240565b60049081015460405160e085901b6001600160e01b03191681526001600160a01b03938416928101929092529190911660248201526001600160601b038816604482015260ff8716606482015264ffffffffff8516608482015260a4810184905260c4015f6040518083038186803b1580156115a1575f80fd5b505af41580156115b3573d5f803e3d5ffd5b505050506115bf613240565b600301546040805160808101825260ff871681526020810186905264ffffffffff851681830152606081018490529051632df8be9b60e01b81526001600160a01b0390921691632df8be9b91610fba9189919060040161498b565b5f611623610ae0565b1561169e576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015611677573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610aab9190810190614a84565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0254600160a01b900460ff1690565b5f6116d8336109be565b826116e1613240565b60030154604051634f9c1c0960e01b81526001600160601b03831660048201526001600160a01b0390911690634f9c1c0990602401602060405180830381865afa158015611731573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061175591906148cb565b61177d57604051632ab4595b60e11b81526001600160601b0382166004820152602401610a66565b5f611786613240565b9050505092915050565b611799336109be565b816117a2613240565b6003015f9054906101000a90046001600160a01b03166001600160a01b0316635cce3fa16040518163ffffffff1660e01b8152600401602060405180830381865afa1580156117f3573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061181791906148e4565b604051634f9c1c0960e01b81526001600160601b03831660048201526001600160a01b039190911690634f9c1c0990602401602060405180830381865afa158015611864573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061188891906148cb565b6118b0576040516396cff01560e01b81526001600160601b0382166004820152602401610a66565b604051635f9c0df360e11b81523060048201526001600160601b038416602482015264ffffffffff831660448201525f90819073__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__9063bf381be69060640160a060405180830381865af415801561191d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119419190614b54565b9150915061194d613240565b60030154604051630300f49160e31b81526001600160a01b0390911690631807a48890611980908890859060040161498b565b5f604051808303815f87803b158015611997575f80fd5b505af11580156119a9573d5f803e3d5ffd5b5050604080516001600160601b038916815264ffffffffff80871660208301528816918101919091527fb847665302c1d8b6f507e07b17145514cea04af84e1665d629d82246992311e792506060019050610e31565b611a07612103565b6001600160a01b0316336001600160a01b031614611a3a5760405163086391f760e31b8152336004820152602401610a66565b306001600160a01b0316816001600160a01b0316637b1391a66040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a80573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611aa491906148e4565b6001600160a01b031614611b3757806001600160a01b0316637b1391a66040518163ffffffff1660e01b8152600401602060405180830381865afa158015611aee573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b1291906148e4565b604051631641c88f60e11b81526001600160a01b039091166004820152602401610a66565b80611b40613240565b60040180546001600160a01b0319166001600160a01b039290921691909117905550565b611b6d336109be565b611b756113d3565b6001600160a01b03166354f0d84c611b8b610aa2565b84846040518463ffffffff1660e01b8152600401611bab93929190614b7f565b5f604051808303815f87803b158015611bc2575f80fd5b505af1158015611bd4573d5f803e3d5ffd5b505050505050565b5f611be5613240565b600401546001600160a01b0316919050565b5f611c01336109be565b82611c0a613240565b60030154604051634f9c1c0960e01b81526001600160601b03831660048201526001600160a01b0390911690634f9c1c0990602401602060405180830381865afa158015611c5a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c7e91906148cb565b611ca657604051632ab4595b60e11b81526001600160601b0382166004820152602401610a66565b5f611caf613240565b905073__$dbe4bf03c942dc0574f54ee579c90d56ef$__630fcf5d08611cdd6001546001600160a01b031690565b600484810154600386015460405160e086901b6001600160e01b03191681526001600160a01b039485169381019390935290831660248301529190911660448201526001600160601b0380891660648301528716608482015260a401602060405180830381865af4158015611d54573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d789190614869565b95945050505050565b5f611d8b336109be565b81611d94613240565b60030154604051634f9c1c0960e01b81526001600160601b03831660048201526001600160a01b0390911690634f9c1c0990602401602060405180830381865afa158015611de4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e0891906148cb565b611e3057604051632ab4595b60e11b81526001600160601b0382166004820152602401610a66565b5f611e39613240565b600481015460038201549192505f91611e5f916001600160a01b03908116911687613264565b9050816003015f9054906101000a90046001600160a01b03166001600160a01b0316633fbdfe32868373__$3bac17678db7ae928afa209f2f44deec9c$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af4158015611ecf573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ef39190614869565b60405160e085901b6001600160e01b03191681526001600160601b039384166004820152918316602483015290911660448201526064016020604051808303815f875af1158015611f46573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f6a9190614869565b600383015460405163136cfef760e01b81526001600160601b038085166004830152831660248201529195506001600160a01b03169063136cfef7906044016020604051808303815f875af1158015611fc5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fe99190614869565b50505050919050565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015612042573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107f69190614bab565b3361206f6125f1565b6001600160a01b0316816001600160a01b0316146120aa5760405162d1953b60e31b81526001600160a01b0382166004820152602401610a66565b816001600160a01b03163b5f036120df576040516361798f2f60e11b81526001600160a01b0383166004820152602401610a66565b61117d82613af5565b5f6120f1613240565b600301546001600160a01b0316919050565b5f805f80516020614ec783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561216f573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061219391906148cb565b1561221e576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156121f4573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061221891906148e4565b91505090565b54600160601b90046001600160a01b0316919050565b5f80516020614f0783398151915280545f9190600160a01b900460ff1661225b575f612218565b638fb3603760e01b91505090565b61227161421e565b612279610ae0565b15612286576107f6613b55565b6107f6612592565b612297336109be565b61229f612103565b6001600160a01b0316336001600160a01b0316146122d25760405163086391f760e31b8152336004820152602401610a66565b505050565b6122df612103565b6001600160a01b0316336001600160a01b0316146123125760405163086391f760e31b8152336004820152602401610a66565b5f61231b613240565b6001810154604051631703edc360e31b8152600481018790526001600160a01b03868116602483015292935091169063b81f6e1890604401602060405180830381865afa15801561236e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061239291906148cb565b6123c1576040516374ddbd6960e01b8152600481018590526001600160a01b0384166024820152604401610a66565b6003810154604051637b21556160e01b8152600481018690526001600160a01b0385811660248301525f921690637b21556190604401602060405180830381865afa158015612412573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124369190614a15565b600383015460405163269c98d960e21b8152600481018890526001600160a01b03878116602483015260448201879052929350911690639a726364906064015f604051808303815f87803b15801561248c575f80fd5b505af115801561249e573d5f803e3d5ffd5b5050604080518881526001600160a01b0388166020820152908101849052606081018690527f8075f599388073d04550222731e9c7e00c284a4f858d8a0ffc0657164981c76e92506080019050610e31565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015612537573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061255b91906148e4565b6001600160a01b0316336001600160a01b03161461258d5760405162f0630960e01b8152336004820152602401610a66565b610a9c565b61259a61421e565b6107f6613b55565b6125aa612103565b6001600160a01b0316336001600160a01b0316146125dd5760405163086391f760e31b8152336004820152602401610a66565b6125ee6125e8610ace565b82611181565b50565b5f80516020614f07833981519152546001600160a01b031690565b5f612615613240565b600101546001600160a01b0316919050565b5f612631336109be565b5f61263a613240565b60048181015460405163153d412560e31b81526001600160601b038916928101929092529192505f916001600160a01b03169063a9ea092890602401608060405180830381865afa158015612691573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126b59190614bc6565b60200151600483810154604051637b21556160e01b81529182018390526001600160a01b0388811660248401529293505f921690637b21556190604401602060405180830381865afa15801561270d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127319190614a15565b6003840154604051633ece552760e21b81529192506001600160a01b03169063fb39549c9061276a908a9085908b908b90600401614be0565b6020604051808303815f875af1158015612786573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127aa9190614869565b979650505050505050565b5f6127bf336109be565b5f6127c8613240565b600381015460405163d7537c3760e01b81526001600160601b038088166004830152861660248201529192506001600160a01b03169063d7537c37906044015b6020604051808303815f875af1158015612824573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128489190614869565b949350505050565b5f8061285b336109be565b82612864613240565b60030154604051634f9c1c0960e01b81526001600160601b03831660048201526001600160a01b0390911690634f9c1c0990602401602060405180830381865afa1580156128b4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128d891906148cb565b61290057604051632ab4595b60e11b81526001600160601b0382166004820152602401610a66565b5f612909613240565b60048181015460405163b3eff9e160e01b81526001600160a01b03909116918101919091526001600160601b038716602482015290915073__$dbe4bf03c942dc0574f54ee579c90d56ef$__9063b3eff9e1906044016040805180830381865af4158015612979573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061299d9190614c14565b5050600481015460038201545f916129c2916001600160a01b03918216911688613264565b9050816003015f9054906101000a90046001600160a01b03166001600160a01b031663eb98e8a0878373__$3bac17678db7ae928afa209f2f44deec9c$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af4158015612a32573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a569190614869565b73__$3bac17678db7ae928afa209f2f44deec9c$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af4158015612a9d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ac19190614869565b60405160e086901b6001600160e01b03191681526001600160601b03948516600482015292841660248401529083166044830152909116606482015260840160408051808303815f875af1158015612b1b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612b3f9190614c38565b600384015460405163136cfef760e01b81526001600160601b038086166004830152831660248201529297509095506001600160a01b03169063136cfef7906044016020604051808303815f875af1158015612b9d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612bc19190614869565b50505050915091565b612bd2612103565b6001600160a01b0316336001600160a01b031614612c055760405163086391f760e31b8152336004820152602401610a66565b5f612c0e610aa2565b90505f612c19610ace565b6040516370a0823160e01b81526001600160a01b03848116600483015291909116906370a0823190602401602060405180830381865afa158015612c5f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c839190614a15565b9050612c8e83613c41565b612c966113d3565b60405163182562b360e01b81526001600160a01b038481166004830152919091169063182562b3906024015f604051808303815f87803b158015612cd8575f80fd5b505af1158015612cea573d5f803e3d5ffd5b505050505f811115612f0d57604080516001600160a01b038085168252851660208201529081018290527f8f925ed35e36754081a3353f30c5686c405280f94d1cfe322ee5707833d898679060600160405180910390a1306001600160a01b03831603612e3157612d596113d3565b6001600160a01b03166354f0d84c838573__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b8152600401612da291815260200190565b602060405180830381865af4158015612dbd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612de19190614869565b6040518463ffffffff1660e01b8152600401612dff93929190614b7f565b5f604051808303815f87803b158015612e16575f80fd5b505af1158015612e28573d5f803e3d5ffd5b50505050612f0d565b612e396113d3565b6001600160a01b031663c7d63d57838573__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b8152600401612e8291815260200190565b602060405180830381865af4158015612e9d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ec19190614869565b6040518463ffffffff1660e01b8152600401612edf93929190614b7f565b5f604051808303815f87803b158015612ef6575f80fd5b505af1158015612f08573d5f803e3d5ffd5b505050505b612f156113d3565b60405163162d3cef60e11b81526001600160a01b0384811660048301529190911690632c5a79de906024015f604051808303815f87803b158015612f57575f80fd5b505af11580156114e1573d5f803e3d5ffd5b612f72336109be565b612f7a6113d3565b6001600160a01b031663c7d63d5783612f91610aa2565b846040518463ffffffff1660e01b8152600401611bab93929190614b7f565b5f612fba336109be565b5f612fc3613240565b600381015460405163136cfef760e01b81526001600160601b038088166004830152861660248201529192506001600160a01b03169063136cfef790604401612808565b5f613011336109be565b5f61301a613240565b60048181015460405163153d412560e31b81526001600160601b038916928101929092529192505f916001600160a01b03169063a9ea092890602401608060405180830381865afa158015613071573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906130959190614bc6565b60200151600483810154604051637b21556160e01b81529182018390526001600160a01b0388811660248401529293505f921690637b21556190604401602060405180830381865afa1580156130ed573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906131119190614a15565b60038401546040516377f9185160e01b81529192506001600160a01b0316906377f918519061276a908a9085908b908b90600401614be0565b5f80516020614f078339815191525f806131826131656125f1565b873061317460045f8a8c614c65565b61317d91614c8c565b613d29565b9150915081611bd45763ffffffff81161561321d57825460ff60a01b1916600160a01b1783556131b06125f1565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016131df93929190614cc4565b5f604051808303815f87803b1580156131f6575f80fd5b505af1158015613208573d5f803e3d5ffd5b5050845460ff60a01b1916855550611bd49050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610a66565b7fafe8d4462b2ed26a47154f4b8f6d1497d2f772496965791d25bd456e342b7f0090565b6040516312b9a5c960e01b81526001600160601b03821660048201525f9081906001600160a01b038616906312b9a5c9906024016040805180830381865afa1580156132b2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906132d69190614d03565b60405163e048754d60e01b81526001600160a01b03881660048201526001600160601b03861660248201526044810182905291935091505f9073__$dbe4bf03c942dc0574f54ee579c90d56ef$__9063e048754d906064016040805180830381865af4158015613348573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061336c9190614c38565b50604051634a2101d160e01b81526001600160601b0380871660048301528086166024830152821660448201529091506001600160a01b03861690634a2101d1906064015f604051808303815f87803b1580156133c7575f80fd5b505af11580156133d9573d5f803e3d5ffd5b5050505050509392505050565b5f805f80516020614ec783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015613452573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061347691906148cb565b156134a25780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610a66565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156134f4573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061351891906148cb565b6135405760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610a66565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015613592573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906135b69190614869565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b610319613e31565b60405163c4cade9d60e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401602060405180830381865af4158015613647573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061366b91906148cb565b9392505050565b5f80516020614f278339815191528054600160401b810460ff1615906001600160401b03165f811580156136a35750825b90505f826001600160401b031660011480156136be5750303b155b9050811580156136cc575080155b156136ea5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561371457845460ff60401b1916600160401b1785555b5f805f808980602001905181019061372c9190614d2f565b93509350935093505f8490505f816001600160a01b031663e2b178a06040518163ffffffff1660e01b8152600401602060405180830381865afa158015613775573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061379991906148e4565b90505f8590505f816001600160a01b031663b201f7096040518163ffffffff1660e01b8152600401602060405180830381865afa1580156137dc573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061380091906148e4565b90506138ad8389866001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015613843573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906138679190614869565b6040805180820190915260078152665374616b696e6760c81b60208201528560035f8c60405180602001604052805f81525060405180602001604052805f815250613e69565b5f6138b6613240565b90506138ca6001546001600160a01b031690565b6001600160a01b031663fff74f6c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613905573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906139299190614869565b600480830180546001600160601b0393909316600160a01b026001600160a01b03938416179055600383018054928a166001600160a01b0319939093168317905560408051633148a11d60e11b81529051636291423a928281019260209291908290030181865afa1580156139a0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906139c491906148e4565b600482810180546001600160a01b03199081166001600160a01b03948516179091556001840180549091168b8416179055604051639b81979f60e01b815284831691810191909152908516602482015230604482015273__$51089c37ca0df1177a910c640c8c5f8165$__90639b81979f90606401602060405180830381865af4158015613a54573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613a7891906148e4565b6002820180546001600160a01b0319166001600160a01b0392909216919091179055613aaa63fef8804160e01b613f68565b50505050505050505083156114e157845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020016114d8565b5f80516020614f0783398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b613b5d61421e565b5f5f80516020614ee783398151915290506040518060a00160405280825f018054613b8790614884565b80601f0160208091040260200160405190810160405280929190818152602001828054613bb390614884565b8015613bfe5780601f10613bd557610100808354040283529160200191613bfe565b820191905f5260205f20905b815481529060010190602001808311613be157829003601f168201915b505050918352505060018301546001600160a01b0390811660208301525f6040830152600284015416606082015260038301805460809092019161093490614884565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f02545f80516020614ee7833981519152906001600160a01b03908116908316613c9d5760405163185a690f60e11b815260040160405180910390fd5b806001600160a01b0316836001600160a01b031603613ccf5760405163ade4578160e01b815260040160405180910390fd5b6002820180546001600160a01b0319166001600160a01b0385811691821790925560408051928416835260208301919091527f610ad1290dceadae2c5ce18bae2eb495be595083a257fac7414e50686f7c2650910161112c565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251613d979190614d80565b5f60405180830381855afa9150503d805f8114613dcf576040519150601f19603f3d011682016040523d82523d5f602084013e613dd4565b606091505b50915091508115613e26576040815110613e065780806020019051810190613dfc9190614d96565b9094509250613e26565b6020815110613e265780806020019051810190613e2391906148cb565b93505b505094509492505050565b5f80516020614f2783398151915254600160401b900460ff16613e6757604051631afcd79f60e31b815260040160405180910390fd5b565b613e71613e31565b6001600160a01b038616613e98576040516327eab2e360e11b815260040160405180910390fd5b86515f03613eb95760405163591eebf360e11b815260040160405180910390fd5b613ec7898987878787613f94565b613ed08a614039565b5f80516020614ee783398151915280613ee98982614e0c565b506001810180546001600160a01b0319166001600160a01b0389161790556002810180546001600160a81b0319163060ff60a01b191617600160a01b8715150217905560038101613f3a8382614e0c565b50613f4b634a531f3360e01b613f68565b613f5b632986755f60e11b613f68565b5050505050505050505050565b613f70613e31565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b613f9c613e31565b613fa6868361404a565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30161402f8382614e0c565b5050505050505050565b614041613e31565b6125ee816140c0565b614052613e31565b61405b826140d1565b6140636141d9565b6001600160a01b03811661408a5760405163f17ef42d60e01b815260040160405180910390fd5b5f80516020614ec783398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b6140c8613e31565b6125ee81613af5565b6140d9613e31565b806001600160a01b03163b5f0361410e5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a66565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526325713e4b60e21b60048201526301ffc9a790602401602060405180830381865afa925050508015614188575060408051601f3d908101601f19168201909252614185918101906148cb565b60015b6141b05760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a66565b8061117d5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610a66565b6141e1613e31565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6040518060a00160405280606081526020015f6001600160a01b031681526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b5f60208284031215614275575f80fd5b81356001600160e01b03198116811461366b575f80fd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151614302608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e08084015261284861010084018261428c565b6001600160601b03811681146125ee575f80fd5b5f6020828403121561436a575f80fd5b813561366b81614346565b602081525f61366b602083018461428c565b5f8060408385031215614398575f80fd5b82356143a381614346565b946020939093013593505050565b5f805f606084860312156143c3575f80fd5b83356143ce81614346565b925060208401356143de81614346565b915060408401356143ee81614346565b809150509250925092565b634e487b7160e01b5f52604160045260245ffd5b604051608081016001600160401b038111828210171561442f5761442f6143f9565b60405290565b60405160e081016001600160401b038111828210171561442f5761442f6143f9565b604051601f8201601f191681016001600160401b038111828210171561447f5761447f6143f9565b604052919050565b5f6001600160401b0382111561449f5761449f6143f9565b50601f01601f191660200190565b5f82601f8301126144bc575f80fd5b81356144cf6144ca82614487565b614457565b8181528460208386010111156144e3575f80fd5b816020850160208301375f918101602001919091529392505050565b5f6020828403121561450f575f80fd5b81356001600160401b03811115614524575f80fd5b612848848285016144ad565b60ff811681146125ee575f80fd5b64ffffffffff811681146125ee575f80fd5b5f8082840360a0811215614562575f80fd5b833561456d81614346565b92506080601f1982011215614580575f80fd5b5061458961440d565b602084013561459781614530565b81526040840135602082015260608401356145b18161453e565b60408201526080939093013560608401525092909150565b6001600160a01b03811681146125ee575f80fd5b5f80604083850312156145ee575f80fd5b82356145f9816145c9565b9150602083013561460981614346565b809150509250929050565b5f8060408385031215614625575f80fd5b8235614630816145c9565b915060208301356001600160401b0381111561464a575f80fd5b614656858286016144ad565b9150509250929050565b5f805f805f60a08688031215614674575f80fd5b853561467f81614346565b9450602086013561468f81614530565b93506040860135925060608601356146a68161453e565b949793965091946080013592915050565b5f80604083850312156146c8575f80fd5b82356145f981614346565b5f80604083850312156146e4575f80fd5b82356146ef81614346565b915060208301356146098161453e565b5f6020828403121561470f575f80fd5b813561366b816145c9565b602081525f825160a0602084015261473560c084018261428c565b60208501516001600160a01b03908116604086810191909152860151811660608087019190915286015116608080860191909152850151848203601f190160a0860152909150611d78828261428c565b5f805f60608486031215614797575f80fd5b83356147a281614346565b925060208401356143de816145c9565b5f805f606084860312156147c4575f80fd5b8335925060208401356147d6816145c9565b929592945050506040919091013590565b5f805f80608085870312156147fa575f80fd5b8435614805816145c9565b93506020850135614815816145c9565b925060408501359150606085013561482c816145c9565b939692955090935050565b5f60208284031215614847575f80fd5b815162ffffff8116811461366b575f80fd5b805161486481614346565b919050565b5f60208284031215614879575f80fd5b815161366b81614346565b600181811c9082168061489857607f821691505b6020821081036148b657634e487b7160e01b5f52602260045260245ffd5b50919050565b80518015158114614864575f80fd5b5f602082840312156148db575f80fd5b61366b826148bc565b5f602082840312156148f4575f80fd5b815161366b816145c9565b805161486481614530565b5f6080828403121561491a575f80fd5b61492261440d565b9050815161492f81614530565b81526020828101519082015260408201516149498161453e565b604082015260609182015191810191909152919050565b5f8060a08385031215614971575f80fd5b82519150614982846020850161490a565b90509250929050565b5f60a0820190506001600160601b038416825260ff83511660208301526020830151604083015264ffffffffff6040840151166060830152606083015160808301529392505050565b5f602082840312156149e4575f80fd5b815161366b8161453e565b5f602082840312156149ff575f80fd5b81516001600160401b038116811461366b575f80fd5b5f60208284031215614a25575f80fd5b5051919050565b8051614864816145c9565b5f82601f830112614a46575f80fd5b8151614a546144ca82614487565b818152846020838601011115614a68575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f60208284031215614a94575f80fd5b81516001600160401b03811115614aa9575f80fd5b820160e08185031215614aba575f80fd5b614ac2614435565b614acb82614859565b8152614ad960208301614859565b6020820152614aea604083016148ff565b6040820152614afb606083016148bc565b6060820152614b0c60808301614a2c565b6080820152614b1d60a08301614a2c565b60a082015260c08201516001600160401b03811115614b3a575f80fd5b614b4686828501614a37565b60c083015250949350505050565b5f8060a08385031215614b65575f80fd5b8251614b708161453e565b9150614982846020850161490a565b6001600160a01b0393841681529190921660208201526001600160601b03909116604082015260600190565b5f60208284031215614bbb575f80fd5b815161366b81614530565b5f60808284031215614bd6575f80fd5b61366b838361490a565b6001600160601b03948516815260208101939093526001600160a01b03919091166040830152909116606082015260800190565b5f8060408385031215614c25575f80fd5b825160208401519092506146098161453e565b5f8060408385031215614c49575f80fd5b8251614c5481614346565b602084015190925061460981614346565b5f8085851115614c73575f80fd5b83861115614c7f575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015614cbd576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f8060408385031215614d14575f80fd5b8251614d1f81614346565b6020939093015192949293505050565b5f805f8060808587031215614d42575f80fd5b8451614d4d816145c9565b6020860151909450614d5e816145c9565b6040860151909350614d6f816145c9565b606086015190925061482c816145c9565b5f82518060208501845e5f920191825250919050565b5f8060408385031215614da7575f80fd5b614db0836148bc565b9150602083015163ffffffff81168114614609575f80fd5b601f8211156122d257805f5260205f20601f840160051c81016020851015614ded5750805b601f840160051c820191505b818110156113cc575f8155600101614df9565b81516001600160401b03811115614e2557614e256143f9565b614e3981614e338454614884565b84614dc8565b6020601f821160018114614e6b575f8315614e545750848201515b5f19600385901b1c1916600184901b1784556113cc565b5f84815260208120601f198516915b82811015614e9a5787850151825560209485019460019092019101614e7a565b5084821015614eb757868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00ffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220b624af05fad1b4bf41196e049d0bd004694ad424f6bdded64a097cd64d772d9764736f6c634300081a0033",
1647
- "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610319575f3560e01c80636291423a116101af578063ad12ad60116100fe578063de0eb85f1161009e578063e3a817cd11610079578063e3a817cd14610727578063e8ce883d1461073a578063ea15869f1461074d578063ea48ce9b14610761575f80fd5b8063de0eb85f146106ce578063dea4ccf2146106e1578063deaa59df14610714575f80fd5b8063bae99c99116100d9578063bae99c9914610698578063bf7e214f146106ab578063caed9897146106b3578063d44f8a4b146106bb575f80fd5b8063ad12ad6014610669578063ada9652e1461067c578063b423086c14610690575f80fd5b806386c75754116101695780638fb36037116101445780638fb360371461060d57806390edbd351461062e578063958697a0146106435780639a72636414610656575f80fd5b806386c75754146105f55780638899278a146105fd578063893d20e814610605575f80fd5b80636291423a1461057d578063644c45e0146105855780636c1e9dff146105a2578063719f761a146105b557806376b707b7146105c85780637a9e5e4b146105e2575f80fd5b8063329d6e741161026b5780635741e5e9116102255780635ecf260f116102005780635ecf260f1461051e5780635fd1efec14610531578063614d08f814610544578063628937d21461056a575f80fd5b80635741e5e9146104f25780635ab1bd53146104fa5780635cbb7d851461050b575f80fd5b8063329d6e741461048b57806336644da61461049e578063419197fe146104b157806343d752d3146104c457806349bb9e4b146104cc578063562119ee146104df575f80fd5b8063138461e0116102d657806321df0da7116102b157806321df0da714610455578063223668441461045d5780632a80f6731461046557806331ecc5cc14610478575f80fd5b8063138461e0146103f957806317d7de7c146104195780631eff4b221461042e575f80fd5b806301ffc9a71461031d578063062c9cdf1461035e5780630d8e6e2c146103935780630fec111c146103af57806310a0638a146103c457806313299604146103d9575b5f80fd5b61034961032b366004614265565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6103857fafe8d4462b2ed26a47154f4b8f6d1497d2f772496965791d25bd456e342b7f0081565b604051908152602001610355565b61039b610774565b60405162ffffff9091168152602001610355565b6103b76107fb565b60405161035591906142ba565b6103d76103d236600461435a565b6109b9565b005b6103e1610aa2565b6040516001600160a01b039091168152602001610355565b610401610ab4565b6040516001600160601b039091168152602001610355565b610421610abe565b6040516103559190614375565b6103857f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6103e1610ace565b610349610ae0565b6103d7610473366004614387565b610bd6565b6103d76104863660046143b1565b610e40565b6103d76104993660046144ff565b610fee565b6103d76104ac366004614550565b611139565b6103d76104bf3660046145dd565b611181565b6103e16113d3565b6103d76104da366004614614565b6113ee565b6103d76104ed366004614660565b6114ea565b61034961161a565b6001546001600160a01b03166103e1565b6104016105193660046146b7565b6116ce565b6103d761052c3660046146d3565b611790565b6103d761053f3660046146ff565b6119ff565b610421604051806040016040528060078152602001665374616b696e6760c81b81525081565b6103d76105783660046145dd565b611b64565b6103e1611bdc565b5f80516020614ec7833981519152546001600160601b0316610401565b6104016105b03660046146b7565b611bf7565b6104016105c336600461435a565b611d81565b6105d0611ff2565b60405160ff9091168152602001610355565b6103d76105f03660046146ff565b612066565b6103e16120e8565b610385600381565b6103e1612103565b610615612234565b6040516001600160e01b03199091168152602001610355565b610636612269565b604051610355919061471a565b6103d7610651366004614785565b61228e565b6103d76106643660046147b2565b6122d7565b6103d76106773660046147e7565b6124f0565b6103855f80516020614ec783398151915281565b610636612592565b6103d76106a636600461435a565b6125a2565b6103e16125f1565b6103e161260c565b6104016106c9366004614785565b612627565b6104016106dc3660046146b7565b6127b5565b6106f46106ef36600461435a565b612850565b604080516001600160601b03938416815292909116602083015201610355565b6103d76107223660046146ff565b612bca565b6103d76107353660046145dd565b612f69565b6104016107483660046146b7565b612fb0565b6103855f80516020614ee783398151915281565b61040161076f366004614785565b613007565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156107d2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107f69190614837565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156108ab573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108cf9190614869565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610917612103565b6001600160a01b0316815260200182600101805461093490614884565b80601f016020809104026020016040519081016040528092919081815260200182805461096090614884565b80156109ab5780601f10610982576101008083540402835291602001916109ab565b820191905f5260205f20905b81548152906001019060200180831161098e57829003601f168201915b505050505081525091505090565b6109c5335b5f3661314a565b806109ce613240565b60030154604051634f9c1c0960e01b81526001600160601b03831660048201526001600160a01b0390911690634f9c1c0990602401602060405180830381865afa158015610a1e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a4291906148cb565b610a6f57604051632ab4595b60e11b81526001600160601b03821660048201526024015b60405180910390fd5b5f610a78613240565b60048101546003820154919250610a9c916001600160a01b03918216911685613264565b50505050565b5f610aab612269565b60600151905090565b5f6107f6306133e6565b6060610ac8612269565b51919050565b5f610ad7612269565b60200151905090565b5f610af36001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610b37573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b5b9190614869565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610bb2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107f691906148cb565b610bdf336109be565b81610be8613240565b6003015f9054906101000a90046001600160a01b03166001600160a01b0316635cce3fa16040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c39573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c5d91906148e4565b604051634f9c1c0960e01b81526001600160601b03831660048201526001600160a01b039190911690634f9c1c0990602401602060405180830381865afa158015610caa573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cce91906148cb565b610cf6576040516396cff01560e01b81526001600160601b0382166004820152602401610a66565b604051633a39e8ad60e21b81523060048201526001600160601b0384166024820152604481018390525f90819073__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__9063e8e7a2b49060640160a060405180830381865af4158015610d5d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d819190614960565b91509150610d8d613240565b60030154604051630300f49160e31b81526001600160a01b0390911690631807a48890610dc0908890859060040161498b565b5f604051808303815f87803b158015610dd7575f80fd5b505af1158015610de9573d5f803e3d5ffd5b5050604080516001600160601b0389168152602081018690529081018790527f3e76c26439d1ec3386e26dfeebf955ea11f5f5f30459052b70e061ade8c9554f925060600190505b60405180910390a15050505050565b610e49336109be565b5f610e52613240565b600481810154604051630e8d845760e31b81526001600160a01b03909116918101919091526001600160601b038086166024830152841660448201529091505f9073__$dbe4bf03c942dc0574f54ee579c90d56ef$__9063746c22b890606401602060405180830381865af4158015610ecd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ef191906149d4565b60038301546040805160208101825264ffffffffff848116825291516331420df160e11b81526001600160601b038a166004820152905190911660248201529192506001600160a01b0316906362841be2906044015f604051808303815f87803b158015610f5d575f80fd5b505af1158015610f6f573d5f803e3d5ffd5b505050506003820154604051633861317f60e01b81526001600160601b0380881660048301528087166024830152851660448201526001600160a01b0390911690633861317f906064015b5f604051808303815f87803b158015610fd1575f80fd5b505af1158015610fe3573d5f803e3d5ffd5b505050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c611010610774565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af415801561104e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061107291906149ef565b5f80516020614f278339815191528054600160401b900460ff16806110a4575080546001600160401b03808416911610155b156110c25760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556110ec836135df565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a1505050565b611142336109be565b61114a612103565b6001600160a01b0316336001600160a01b03161461117d5760405163086391f760e31b8152336004820152602401610a66565b5050565b611189612103565b6001600160a01b0316336001600160a01b0316146111bc5760405163086391f760e31b8152336004820152602401610a66565b306111c5610aa2565b6001600160a01b0316146111ec5760405163b6d7537f60e01b815260040160405180910390fd5b60405163046e44af60e11b81526001600160601b03821660048201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015611244573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112689190614a15565b90505f6112df8373__$3bac17678db7ae928afa209f2f44deec9c$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af41580156112b6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112da9190614869565b6135e7565b156112ec57505f19905060015b7f99d7b1d3869e469ab19cd2c6e66718a63bca93dc1a2d27d375cb4bebbf5348ce6113156113d3565b604080516001600160a01b0390921682526001600160601b03861660208301528315159082015260600160405180910390a1836001600160a01b031663095ea7b361135e6113d3565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018590526044016020604051808303815f875af11580156113a8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113cc91906148cb565b5050505050565b5f6113dc613240565b600201546001600160a01b0316919050565b5f80516020614f278339815191528054600160401b810460ff1615906001600160401b03165f8115801561141f5750825b90505f826001600160401b0316600114801561143a5750303b155b905081158015611448575080155b156114665760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561149057845460ff60401b1916600160401b1785555b61149a8787613672565b83156114e157845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6114f3336109be565b73__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__639ed616cd61151f6001546001600160a01b031690565b611527613240565b60049081015460405160e085901b6001600160e01b03191681526001600160a01b03938416928101929092529190911660248201526001600160601b038816604482015260ff8716606482015264ffffffffff8516608482015260a4810184905260c4015f6040518083038186803b1580156115a1575f80fd5b505af41580156115b3573d5f803e3d5ffd5b505050506115bf613240565b600301546040805160808101825260ff871681526020810186905264ffffffffff851681830152606081018490529051632df8be9b60e01b81526001600160a01b0390921691632df8be9b91610fba9189919060040161498b565b5f611623610ae0565b1561169e576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015611677573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610aab9190810190614a84565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0254600160a01b900460ff1690565b5f6116d8336109be565b826116e1613240565b60030154604051634f9c1c0960e01b81526001600160601b03831660048201526001600160a01b0390911690634f9c1c0990602401602060405180830381865afa158015611731573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061175591906148cb565b61177d57604051632ab4595b60e11b81526001600160601b0382166004820152602401610a66565b5f611786613240565b9050505092915050565b611799336109be565b816117a2613240565b6003015f9054906101000a90046001600160a01b03166001600160a01b0316635cce3fa16040518163ffffffff1660e01b8152600401602060405180830381865afa1580156117f3573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061181791906148e4565b604051634f9c1c0960e01b81526001600160601b03831660048201526001600160a01b039190911690634f9c1c0990602401602060405180830381865afa158015611864573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061188891906148cb565b6118b0576040516396cff01560e01b81526001600160601b0382166004820152602401610a66565b604051635f9c0df360e11b81523060048201526001600160601b038416602482015264ffffffffff831660448201525f90819073__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__9063bf381be69060640160a060405180830381865af415801561191d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119419190614b54565b9150915061194d613240565b60030154604051630300f49160e31b81526001600160a01b0390911690631807a48890611980908890859060040161498b565b5f604051808303815f87803b158015611997575f80fd5b505af11580156119a9573d5f803e3d5ffd5b5050604080516001600160601b038916815264ffffffffff80871660208301528816918101919091527fb847665302c1d8b6f507e07b17145514cea04af84e1665d629d82246992311e792506060019050610e31565b611a07612103565b6001600160a01b0316336001600160a01b031614611a3a5760405163086391f760e31b8152336004820152602401610a66565b306001600160a01b0316816001600160a01b0316637b1391a66040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a80573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611aa491906148e4565b6001600160a01b031614611b3757806001600160a01b0316637b1391a66040518163ffffffff1660e01b8152600401602060405180830381865afa158015611aee573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b1291906148e4565b604051631641c88f60e11b81526001600160a01b039091166004820152602401610a66565b80611b40613240565b60040180546001600160a01b0319166001600160a01b039290921691909117905550565b611b6d336109be565b611b756113d3565b6001600160a01b03166354f0d84c611b8b610aa2565b84846040518463ffffffff1660e01b8152600401611bab93929190614b7f565b5f604051808303815f87803b158015611bc2575f80fd5b505af1158015611bd4573d5f803e3d5ffd5b505050505050565b5f611be5613240565b600401546001600160a01b0316919050565b5f611c01336109be565b82611c0a613240565b60030154604051634f9c1c0960e01b81526001600160601b03831660048201526001600160a01b0390911690634f9c1c0990602401602060405180830381865afa158015611c5a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c7e91906148cb565b611ca657604051632ab4595b60e11b81526001600160601b0382166004820152602401610a66565b5f611caf613240565b905073__$dbe4bf03c942dc0574f54ee579c90d56ef$__630fcf5d08611cdd6001546001600160a01b031690565b600484810154600386015460405160e086901b6001600160e01b03191681526001600160a01b039485169381019390935290831660248301529190911660448201526001600160601b0380891660648301528716608482015260a401602060405180830381865af4158015611d54573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d789190614869565b95945050505050565b5f611d8b336109be565b81611d94613240565b60030154604051634f9c1c0960e01b81526001600160601b03831660048201526001600160a01b0390911690634f9c1c0990602401602060405180830381865afa158015611de4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e0891906148cb565b611e3057604051632ab4595b60e11b81526001600160601b0382166004820152602401610a66565b5f611e39613240565b600481015460038201549192505f91611e5f916001600160a01b03908116911687613264565b9050816003015f9054906101000a90046001600160a01b03166001600160a01b0316633fbdfe32868373__$3bac17678db7ae928afa209f2f44deec9c$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af4158015611ecf573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ef39190614869565b60405160e085901b6001600160e01b03191681526001600160601b039384166004820152918316602483015290911660448201526064016020604051808303815f875af1158015611f46573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f6a9190614869565b600383015460405163136cfef760e01b81526001600160601b038085166004830152831660248201529195506001600160a01b03169063136cfef7906044016020604051808303815f875af1158015611fc5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fe99190614869565b50505050919050565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015612042573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107f69190614bab565b3361206f6125f1565b6001600160a01b0316816001600160a01b0316146120aa5760405162d1953b60e31b81526001600160a01b0382166004820152602401610a66565b816001600160a01b03163b5f036120df576040516361798f2f60e11b81526001600160a01b0383166004820152602401610a66565b61117d82613af5565b5f6120f1613240565b600301546001600160a01b0316919050565b5f805f80516020614ec783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561216f573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061219391906148cb565b1561221e576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156121f4573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061221891906148e4565b91505090565b54600160601b90046001600160a01b0316919050565b5f80516020614f0783398151915280545f9190600160a01b900460ff1661225b575f612218565b638fb3603760e01b91505090565b61227161421e565b612279610ae0565b15612286576107f6613b55565b6107f6612592565b612297336109be565b61229f612103565b6001600160a01b0316336001600160a01b0316146122d25760405163086391f760e31b8152336004820152602401610a66565b505050565b6122df612103565b6001600160a01b0316336001600160a01b0316146123125760405163086391f760e31b8152336004820152602401610a66565b5f61231b613240565b6001810154604051631703edc360e31b8152600481018790526001600160a01b03868116602483015292935091169063b81f6e1890604401602060405180830381865afa15801561236e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061239291906148cb565b6123c1576040516374ddbd6960e01b8152600481018590526001600160a01b0384166024820152604401610a66565b6003810154604051637b21556160e01b8152600481018690526001600160a01b0385811660248301525f921690637b21556190604401602060405180830381865afa158015612412573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124369190614a15565b600383015460405163269c98d960e21b8152600481018890526001600160a01b03878116602483015260448201879052929350911690639a726364906064015f604051808303815f87803b15801561248c575f80fd5b505af115801561249e573d5f803e3d5ffd5b5050604080518881526001600160a01b0388166020820152908101849052606081018690527f8075f599388073d04550222731e9c7e00c284a4f858d8a0ffc0657164981c76e92506080019050610e31565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015612537573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061255b91906148e4565b6001600160a01b0316336001600160a01b03161461258d5760405162f0630960e01b8152336004820152602401610a66565b610a9c565b61259a61421e565b6107f6613b55565b6125aa612103565b6001600160a01b0316336001600160a01b0316146125dd5760405163086391f760e31b8152336004820152602401610a66565b6125ee6125e8610ace565b82611181565b50565b5f80516020614f07833981519152546001600160a01b031690565b5f612615613240565b600101546001600160a01b0316919050565b5f612631336109be565b5f61263a613240565b60048181015460405163153d412560e31b81526001600160601b038916928101929092529192505f916001600160a01b03169063a9ea092890602401608060405180830381865afa158015612691573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126b59190614bc6565b60200151600483810154604051637b21556160e01b81529182018390526001600160a01b0388811660248401529293505f921690637b21556190604401602060405180830381865afa15801561270d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127319190614a15565b6003840154604051633ece552760e21b81529192506001600160a01b03169063fb39549c9061276a908a9085908b908b90600401614be0565b6020604051808303815f875af1158015612786573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127aa9190614869565b979650505050505050565b5f6127bf336109be565b5f6127c8613240565b600381015460405163d7537c3760e01b81526001600160601b038088166004830152861660248201529192506001600160a01b03169063d7537c37906044015b6020604051808303815f875af1158015612824573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128489190614869565b949350505050565b5f8061285b336109be565b82612864613240565b60030154604051634f9c1c0960e01b81526001600160601b03831660048201526001600160a01b0390911690634f9c1c0990602401602060405180830381865afa1580156128b4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128d891906148cb565b61290057604051632ab4595b60e11b81526001600160601b0382166004820152602401610a66565b5f612909613240565b60048181015460405163b3eff9e160e01b81526001600160a01b03909116918101919091526001600160601b038716602482015290915073__$dbe4bf03c942dc0574f54ee579c90d56ef$__9063b3eff9e1906044016040805180830381865af4158015612979573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061299d9190614c14565b5050600481015460038201545f916129c2916001600160a01b03918216911688613264565b9050816003015f9054906101000a90046001600160a01b03166001600160a01b031663eb98e8a0878373__$3bac17678db7ae928afa209f2f44deec9c$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af4158015612a32573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a569190614869565b73__$3bac17678db7ae928afa209f2f44deec9c$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af4158015612a9d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ac19190614869565b60405160e086901b6001600160e01b03191681526001600160601b03948516600482015292841660248401529083166044830152909116606482015260840160408051808303815f875af1158015612b1b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612b3f9190614c38565b600384015460405163136cfef760e01b81526001600160601b038086166004830152831660248201529297509095506001600160a01b03169063136cfef7906044016020604051808303815f875af1158015612b9d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612bc19190614869565b50505050915091565b612bd2612103565b6001600160a01b0316336001600160a01b031614612c055760405163086391f760e31b8152336004820152602401610a66565b5f612c0e610aa2565b90505f612c19610ace565b6040516370a0823160e01b81526001600160a01b03848116600483015291909116906370a0823190602401602060405180830381865afa158015612c5f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c839190614a15565b9050612c8e83613c41565b612c966113d3565b60405163182562b360e01b81526001600160a01b038481166004830152919091169063182562b3906024015f604051808303815f87803b158015612cd8575f80fd5b505af1158015612cea573d5f803e3d5ffd5b505050505f811115612f0d57604080516001600160a01b038085168252851660208201529081018290527f8f925ed35e36754081a3353f30c5686c405280f94d1cfe322ee5707833d898679060600160405180910390a1306001600160a01b03831603612e3157612d596113d3565b6001600160a01b03166354f0d84c838573__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b8152600401612da291815260200190565b602060405180830381865af4158015612dbd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612de19190614869565b6040518463ffffffff1660e01b8152600401612dff93929190614b7f565b5f604051808303815f87803b158015612e16575f80fd5b505af1158015612e28573d5f803e3d5ffd5b50505050612f0d565b612e396113d3565b6001600160a01b031663c7d63d57838573__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b8152600401612e8291815260200190565b602060405180830381865af4158015612e9d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ec19190614869565b6040518463ffffffff1660e01b8152600401612edf93929190614b7f565b5f604051808303815f87803b158015612ef6575f80fd5b505af1158015612f08573d5f803e3d5ffd5b505050505b612f156113d3565b60405163162d3cef60e11b81526001600160a01b0384811660048301529190911690632c5a79de906024015f604051808303815f87803b158015612f57575f80fd5b505af11580156114e1573d5f803e3d5ffd5b612f72336109be565b612f7a6113d3565b6001600160a01b031663c7d63d5783612f91610aa2565b846040518463ffffffff1660e01b8152600401611bab93929190614b7f565b5f612fba336109be565b5f612fc3613240565b600381015460405163136cfef760e01b81526001600160601b038088166004830152861660248201529192506001600160a01b03169063136cfef790604401612808565b5f613011336109be565b5f61301a613240565b60048181015460405163153d412560e31b81526001600160601b038916928101929092529192505f916001600160a01b03169063a9ea092890602401608060405180830381865afa158015613071573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906130959190614bc6565b60200151600483810154604051637b21556160e01b81529182018390526001600160a01b0388811660248401529293505f921690637b21556190604401602060405180830381865afa1580156130ed573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906131119190614a15565b60038401546040516377f9185160e01b81529192506001600160a01b0316906377f918519061276a908a9085908b908b90600401614be0565b5f80516020614f078339815191525f806131826131656125f1565b873061317460045f8a8c614c65565b61317d91614c8c565b613d29565b9150915081611bd45763ffffffff81161561321d57825460ff60a01b1916600160a01b1783556131b06125f1565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016131df93929190614cc4565b5f604051808303815f87803b1580156131f6575f80fd5b505af1158015613208573d5f803e3d5ffd5b5050845460ff60a01b1916855550611bd49050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610a66565b7fafe8d4462b2ed26a47154f4b8f6d1497d2f772496965791d25bd456e342b7f0090565b6040516312b9a5c960e01b81526001600160601b03821660048201525f9081906001600160a01b038616906312b9a5c9906024016040805180830381865afa1580156132b2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906132d69190614d03565b60405163e048754d60e01b81526001600160a01b03881660048201526001600160601b03861660248201526044810182905291935091505f9073__$dbe4bf03c942dc0574f54ee579c90d56ef$__9063e048754d906064016040805180830381865af4158015613348573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061336c9190614c38565b50604051634a2101d160e01b81526001600160601b0380871660048301528086166024830152821660448201529091506001600160a01b03861690634a2101d1906064015f604051808303815f87803b1580156133c7575f80fd5b505af11580156133d9573d5f803e3d5ffd5b5050505050509392505050565b5f805f80516020614ec783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015613452573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061347691906148cb565b156134a25780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610a66565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156134f4573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061351891906148cb565b6135405760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610a66565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015613592573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906135b69190614869565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b610319613e31565b60405163c4cade9d60e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401602060405180830381865af4158015613647573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061366b91906148cb565b9392505050565b5f80516020614f278339815191528054600160401b810460ff1615906001600160401b03165f811580156136a35750825b90505f826001600160401b031660011480156136be5750303b155b9050811580156136cc575080155b156136ea5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561371457845460ff60401b1916600160401b1785555b5f805f808980602001905181019061372c9190614d2f565b93509350935093505f8490505f816001600160a01b031663e2b178a06040518163ffffffff1660e01b8152600401602060405180830381865afa158015613775573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061379991906148e4565b90505f8590505f816001600160a01b031663b201f7096040518163ffffffff1660e01b8152600401602060405180830381865afa1580156137dc573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061380091906148e4565b90506138ad8389866001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015613843573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906138679190614869565b6040805180820190915260078152665374616b696e6760c81b60208201528560035f8c60405180602001604052805f81525060405180602001604052805f815250613e69565b5f6138b6613240565b90506138ca6001546001600160a01b031690565b6001600160a01b031663fff74f6c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613905573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906139299190614869565b600480830180546001600160601b0393909316600160a01b026001600160a01b03938416179055600383018054928a166001600160a01b0319939093168317905560408051633148a11d60e11b81529051636291423a928281019260209291908290030181865afa1580156139a0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906139c491906148e4565b600482810180546001600160a01b03199081166001600160a01b03948516179091556001840180549091168b8416179055604051639b81979f60e01b815284831691810191909152908516602482015230604482015273__$51089c37ca0df1177a910c640c8c5f8165$__90639b81979f90606401602060405180830381865af4158015613a54573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613a7891906148e4565b6002820180546001600160a01b0319166001600160a01b0392909216919091179055613aaa63fef8804160e01b613f68565b50505050505050505083156114e157845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020016114d8565b5f80516020614f0783398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b613b5d61421e565b5f5f80516020614ee783398151915290506040518060a00160405280825f018054613b8790614884565b80601f0160208091040260200160405190810160405280929190818152602001828054613bb390614884565b8015613bfe5780601f10613bd557610100808354040283529160200191613bfe565b820191905f5260205f20905b815481529060010190602001808311613be157829003601f168201915b505050918352505060018301546001600160a01b0390811660208301525f6040830152600284015416606082015260038301805460809092019161093490614884565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f02545f80516020614ee7833981519152906001600160a01b03908116908316613c9d5760405163185a690f60e11b815260040160405180910390fd5b806001600160a01b0316836001600160a01b031603613ccf5760405163ade4578160e01b815260040160405180910390fd5b6002820180546001600160a01b0319166001600160a01b0385811691821790925560408051928416835260208301919091527f610ad1290dceadae2c5ce18bae2eb495be595083a257fac7414e50686f7c2650910161112c565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251613d979190614d80565b5f60405180830381855afa9150503d805f8114613dcf576040519150601f19603f3d011682016040523d82523d5f602084013e613dd4565b606091505b50915091508115613e26576040815110613e065780806020019051810190613dfc9190614d96565b9094509250613e26565b6020815110613e265780806020019051810190613e2391906148cb565b93505b505094509492505050565b5f80516020614f2783398151915254600160401b900460ff16613e6757604051631afcd79f60e31b815260040160405180910390fd5b565b613e71613e31565b6001600160a01b038616613e98576040516327eab2e360e11b815260040160405180910390fd5b86515f03613eb95760405163591eebf360e11b815260040160405180910390fd5b613ec7898987878787613f94565b613ed08a614039565b5f80516020614ee783398151915280613ee98982614e0c565b506001810180546001600160a01b0319166001600160a01b0389161790556002810180546001600160a81b0319163060ff60a01b191617600160a01b8715150217905560038101613f3a8382614e0c565b50613f4b634a531f3360e01b613f68565b613f5b632986755f60e11b613f68565b5050505050505050505050565b613f70613e31565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b613f9c613e31565b613fa6868361404a565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30161402f8382614e0c565b5050505050505050565b614041613e31565b6125ee816140c0565b614052613e31565b61405b826140d1565b6140636141d9565b6001600160a01b03811661408a5760405163f17ef42d60e01b815260040160405180910390fd5b5f80516020614ec783398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b6140c8613e31565b6125ee81613af5565b6140d9613e31565b806001600160a01b03163b5f0361410e5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a66565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526325713e4b60e21b60048201526301ffc9a790602401602060405180830381865afa925050508015614188575060408051601f3d908101601f19168201909252614185918101906148cb565b60015b6141b05760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a66565b8061117d5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610a66565b6141e1613e31565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6040518060a00160405280606081526020015f6001600160a01b031681526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b5f60208284031215614275575f80fd5b81356001600160e01b03198116811461366b575f80fd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151614302608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e08084015261284861010084018261428c565b6001600160601b03811681146125ee575f80fd5b5f6020828403121561436a575f80fd5b813561366b81614346565b602081525f61366b602083018461428c565b5f8060408385031215614398575f80fd5b82356143a381614346565b946020939093013593505050565b5f805f606084860312156143c3575f80fd5b83356143ce81614346565b925060208401356143de81614346565b915060408401356143ee81614346565b809150509250925092565b634e487b7160e01b5f52604160045260245ffd5b604051608081016001600160401b038111828210171561442f5761442f6143f9565b60405290565b60405160e081016001600160401b038111828210171561442f5761442f6143f9565b604051601f8201601f191681016001600160401b038111828210171561447f5761447f6143f9565b604052919050565b5f6001600160401b0382111561449f5761449f6143f9565b50601f01601f191660200190565b5f82601f8301126144bc575f80fd5b81356144cf6144ca82614487565b614457565b8181528460208386010111156144e3575f80fd5b816020850160208301375f918101602001919091529392505050565b5f6020828403121561450f575f80fd5b81356001600160401b03811115614524575f80fd5b612848848285016144ad565b60ff811681146125ee575f80fd5b64ffffffffff811681146125ee575f80fd5b5f8082840360a0811215614562575f80fd5b833561456d81614346565b92506080601f1982011215614580575f80fd5b5061458961440d565b602084013561459781614530565b81526040840135602082015260608401356145b18161453e565b60408201526080939093013560608401525092909150565b6001600160a01b03811681146125ee575f80fd5b5f80604083850312156145ee575f80fd5b82356145f9816145c9565b9150602083013561460981614346565b809150509250929050565b5f8060408385031215614625575f80fd5b8235614630816145c9565b915060208301356001600160401b0381111561464a575f80fd5b614656858286016144ad565b9150509250929050565b5f805f805f60a08688031215614674575f80fd5b853561467f81614346565b9450602086013561468f81614530565b93506040860135925060608601356146a68161453e565b949793965091946080013592915050565b5f80604083850312156146c8575f80fd5b82356145f981614346565b5f80604083850312156146e4575f80fd5b82356146ef81614346565b915060208301356146098161453e565b5f6020828403121561470f575f80fd5b813561366b816145c9565b602081525f825160a0602084015261473560c084018261428c565b60208501516001600160a01b03908116604086810191909152860151811660608087019190915286015116608080860191909152850151848203601f190160a0860152909150611d78828261428c565b5f805f60608486031215614797575f80fd5b83356147a281614346565b925060208401356143de816145c9565b5f805f606084860312156147c4575f80fd5b8335925060208401356147d6816145c9565b929592945050506040919091013590565b5f805f80608085870312156147fa575f80fd5b8435614805816145c9565b93506020850135614815816145c9565b925060408501359150606085013561482c816145c9565b939692955090935050565b5f60208284031215614847575f80fd5b815162ffffff8116811461366b575f80fd5b805161486481614346565b919050565b5f60208284031215614879575f80fd5b815161366b81614346565b600181811c9082168061489857607f821691505b6020821081036148b657634e487b7160e01b5f52602260045260245ffd5b50919050565b80518015158114614864575f80fd5b5f602082840312156148db575f80fd5b61366b826148bc565b5f602082840312156148f4575f80fd5b815161366b816145c9565b805161486481614530565b5f6080828403121561491a575f80fd5b61492261440d565b9050815161492f81614530565b81526020828101519082015260408201516149498161453e565b604082015260609182015191810191909152919050565b5f8060a08385031215614971575f80fd5b82519150614982846020850161490a565b90509250929050565b5f60a0820190506001600160601b038416825260ff83511660208301526020830151604083015264ffffffffff6040840151166060830152606083015160808301529392505050565b5f602082840312156149e4575f80fd5b815161366b8161453e565b5f602082840312156149ff575f80fd5b81516001600160401b038116811461366b575f80fd5b5f60208284031215614a25575f80fd5b5051919050565b8051614864816145c9565b5f82601f830112614a46575f80fd5b8151614a546144ca82614487565b818152846020838601011115614a68575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f60208284031215614a94575f80fd5b81516001600160401b03811115614aa9575f80fd5b820160e08185031215614aba575f80fd5b614ac2614435565b614acb82614859565b8152614ad960208301614859565b6020820152614aea604083016148ff565b6040820152614afb606083016148bc565b6060820152614b0c60808301614a2c565b6080820152614b1d60a08301614a2c565b60a082015260c08201516001600160401b03811115614b3a575f80fd5b614b4686828501614a37565b60c083015250949350505050565b5f8060a08385031215614b65575f80fd5b8251614b708161453e565b9150614982846020850161490a565b6001600160a01b0393841681529190921660208201526001600160601b03909116604082015260600190565b5f60208284031215614bbb575f80fd5b815161366b81614530565b5f60808284031215614bd6575f80fd5b61366b838361490a565b6001600160601b03948516815260208101939093526001600160a01b03919091166040830152909116606082015260800190565b5f8060408385031215614c25575f80fd5b825160208401519092506146098161453e565b5f8060408385031215614c49575f80fd5b8251614c5481614346565b602084015190925061460981614346565b5f8085851115614c73575f80fd5b83861115614c7f575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015614cbd576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f8060408385031215614d14575f80fd5b8251614d1f81614346565b6020939093015192949293505050565b5f805f8060808587031215614d42575f80fd5b8451614d4d816145c9565b6020860151909450614d5e816145c9565b6040860151909350614d6f816145c9565b606086015190925061482c816145c9565b5f82518060208501845e5f920191825250919050565b5f8060408385031215614da7575f80fd5b614db0836148bc565b9150602083015163ffffffff81168114614609575f80fd5b601f8211156122d257805f5260205f20601f840160051c81016020851015614ded5750805b601f840160051c820191505b818110156113cc575f8155600101614df9565b81516001600160401b03811115614e2557614e256143f9565b614e3981614e338454614884565b84614dc8565b6020601f821160018114614e6b575f8315614e545750848201515b5f19600385901b1c1916600184901b1784556113cc565b5f84815260208120601f198516915b82811015614e9a5787850151825560209485019460019092019101614e7a565b5084821015614eb757868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00ffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220b624af05fad1b4bf41196e049d0bd004694ad424f6bdded64a097cd64d772d9764736f6c634300081a0033",
1648
- "linkReferences": {
1649
- "contracts/shared/TokenHandlerDeployerLib.sol": {
1650
- "TokenHandlerDeployerLib": [
1651
- {
1652
- "length": 20,
1653
- "start": 15090
1654
- }
1655
- ]
1656
2878
  },
1657
- "contracts/staking/StakeManagerLib.sol": {
1658
- "StakeManagerLib": [
2879
+ {
2880
+ "inputs": [
1659
2881
  {
1660
- "length": 20,
1661
- "start": 3947
2882
+ "internalType": "NftId",
2883
+ "name": "targetNftId",
2884
+ "type": "uint96"
1662
2885
  },
1663
2886
  {
1664
- "length": 20,
1665
- "start": 7561
2887
+ "internalType": "Amount",
2888
+ "name": "dipAmount",
2889
+ "type": "uint96"
1666
2890
  },
2891
+ {
2892
+ "internalType": "address",
2893
+ "name": "transferTo",
2894
+ "type": "address"
2895
+ }
2896
+ ],
2897
+ "name": "withdrawRewardReservesByService",
2898
+ "outputs": [
2899
+ {
2900
+ "internalType": "Amount",
2901
+ "name": "newBalance",
2902
+ "type": "uint96"
2903
+ }
2904
+ ],
2905
+ "stateMutability": "nonpayable",
2906
+ "type": "function"
2907
+ }
2908
+ ],
2909
+ "bytecode": "0x6080604052348015600e575f80fd5b5060156019565b60c9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161560685760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b039081161460c65780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b615672806100d65f395ff3fe608060405234801561000f575f80fd5b50600436106103b4575f3560e01c80636c1e9dff116101f5578063b283765d11610114578063d43a2623116100a9578063e8ce883d11610079578063e8ce883d1461086a578063ea15869f1461087d578063ea48ce9b146108a4578063ec0407d9146108b7575f80fd5b8063d43a26231461081e578063d44f8a4b14610831578063de0eb85f14610844578063dea4ccf214610857575f80fd5b8063bf7e214f116100e4578063bf7e214f146107e8578063c813d791146107f0578063caed989714610803578063cdf73d501461080b575f80fd5b8063b283765d146107a7578063b423086c146107ba578063b47f4888146107c2578063bac475b7146107d5575f80fd5b8063893d20e81161018a578063a6bc7cb81161015a578063a6bc7cb81461075a578063a71bfbb71461076d578063ad12ad6014610780578063ada9652e14610793575f80fd5b8063893d20e8146107095780638fb360371461071157806390edbd3514610732578063958697a014610747575f80fd5b806376ba15b6116101c557806376ba15b6146106d35780637a9e5e4b146106e657806381f137f8146106f957806386c7575414610701575f80fd5b80636c1e9dff146106805780636d387fe414610693578063719f761a146106a657806376b707b7146106b9575f80fd5b80632391b052116102e15780635ab1bd53116102765780635fd1efec116102465780635fd1efec14610622578063614d08f8146106355780636291423a1461065b578063644c45e014610663575f80fd5b80635ab1bd53146105b85780635b0ee099146105c95780635cbb7d85146105dc5780635ecf260f1461060f575f80fd5b806343d752d3116102b157806343d752d31461058257806344dcf7301461058a57806349bb9e4b1461059d5780635741e5e9146105b0575f80fd5b80632391b0521461053657806325c083cf14610549578063329d6e741461055c578063419197fe1461056f575f80fd5b8063132996041161035757806321df0da71161032757806321df0da71461050b578063223668441461051357806322e164061461051b57806322f3e2d41461052e575f80fd5b806313299604146104a7578063138461e0146104c757806317d7de7c146104cf5780631eff4b22146104e4575f80fd5b806309980bfd1161039257806309980bfd146104435780630d8e6e2c1461044b5780630fec111c1461046757806310a0638a1461047c575f80fd5b806301ffc9a7146103b85780630345861d146103f9578063062c9cdf1461040e575b5f80fd5b6103e46103c6366004614922565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61040c61040736600461498c565b6108ca565b005b6104357fafe8d4462b2ed26a47154f4b8f6d1497d2f772496965791d25bd456e342b7f0081565b6040519081526020016103f0565b61040c610951565b610453610b47565b60405162ffffff90911681526020016103f0565b61046f610bce565b6040516103f091906149f1565b61048f61048a366004614a85565b610d88565b6040516001600160601b0390911681526020016103f0565b6104af610e1f565b6040516001600160a01b0390911681526020016103f0565b61048f610e87565b6104d7610e91565b6040516103f09190614aa0565b6104357f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6104af610ea1565b6103e4610ee5565b61040c61052936600461498c565b610fdb565b6103e4611035565b61048f610544366004614ab2565b6110ac565b61040c610557366004614a85565b6112a2565b61040c61056a366004614c01565b61133a565b61040c61057d366004614c32565b611498565b6104af61169d565b61040c610598366004614c94565b6116b8565b61040c6105ab366004614ced565b611751565b6103e461185e565b6001546001600160a01b03166104af565b61040c6105d7366004614d46565b611914565b6105ef6105ea366004614e0c565b611a29565b604080516001600160601b039384168152929091166020830152016103f0565b61040c61061d366004614e28565b611d4a565b61040c610630366004614e54565b611db0565b6104d7604051806040016040528060078152602001665374616b696e6760c81b81525081565b6104af611f51565b5f805160206155fd833981519152546001600160601b031661048f565b61048f61068e366004614e0c565b611f6c565b61040c6106a1366004614e0c565b612208565b61048f6106b4366004614a85565b6122b6565b6106c1612553565b60405160ff90911681526020016103f0565b61040c6106e1366004614e6f565b6125c7565b61040c6106f4366004614e54565b612619565b6104af61269b565b6104af6126b6565b6104af6126d1565b610719612802565b6040516001600160e01b031990911681526020016103f0565b61073a612837565b6040516103f09190614e91565b61040c610755366004614ecd565b612868565b61040c610768366004614f0a565b6128ac565b61040c61077b36600461498c565b6129f9565b61040c61078e366004614f37565b612bcc565b6104355f805160206155fd83398151915281565b61040c6107b5366004614e54565b612c6f565b61073a612d2f565b61040c6107d0366004614f7c565b612d4b565b61040c6107e3366004614f97565b612df2565b6104af612e91565b61040c6107fe366004614fc4565b612eac565b6104af612ef0565b61040c6108193660046150a3565b612f08565b61048f61082c366004614ab2565b613066565b61040c61083f366004614ecd565b613087565b61048f610852366004614e0c565b61312c565b61048f610865366004614a85565b613157565b61048f610878366004614e0c565b613250565b6104357fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b61040c6108b2366004614ecd565b6134ac565b61048f6108c5366004614ab2565b61350e565b6108d6335b5f36613607565b816108e481601f5b5f6136fd565b6108ec61399a565b600490810154604051630345861d60e01b81526001600160a01b0390911691630345861d9161091f9187918791016150be565b5f604051808303815f87803b158015610936575f80fd5b505af1158015610948573d5f803e3d5ffd5b50505050505050565b6001546001600160a01b0316331461098357604051632a6e1a8960e01b81523360048201526024015b60405180910390fd5b5f61098c61399a565b90505f61099761399a565b546040805163b201f70960e01b815290516001600160a01b039092169163b201f709916004808201926020929091908290030181865afa1580156109dd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a0191906150eb565b905073__$51089c37ca0df1177a910c640c8c5f8165$__6350c6470d610a2f6001546001600160a01b031690565b3084610a436001546001600160a01b031690565b6001600160a01b031663e2b178a06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a7e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610aa291906150eb565b60405160e086901b6001600160e01b03191681526001600160a01b039485166004820152928416602484015290831660448301529091166064820152608401602060405180830381865af4158015610afc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b2091906150eb565b60019290920180546001600160a01b0319166001600160a01b039093169290921790915550565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610ba5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bc99190615106565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610c7a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c9e9190615133565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610ce66126d1565b6001600160a01b03168152602001826001018054610d039061514e565b80601f0160208091040260200160405190810160405280929190818152602001828054610d2f9061514e565b8015610d7a5780601f10610d5157610100808354040283529160200191610d7a565b820191905f5260205f20905b815481529060010190602001808311610d5d57829003601f168201915b505050505081525091505090565b5f610d92336108cf565b81610da181601e5b60016136fd565b5f610daa61399a565b60048082015460405163085031c560e11b81529293506001600160a01b0316916310a0638a91610deb918891016001600160601b0391909116815260200190565b5f604051808303815f87803b158015610e02575f80fd5b505af1158015610e14573d5f803e3d5ffd5b505050505050919050565b5f610e2861169d565b6001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e63573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bc991906150eb565b5f610bc9306139be565b6060610e9b612837565b51919050565b5f610eaa61169d565b6001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e63573d5f803e3d5ffd5b5f610ef86001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610f3c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f609190615133565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610fb7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bc99190615191565b610fe4336108cf565b610fec6126d1565b6001600160a01b0316336001600160a01b03161461101f5760405163086391f760e31b815233600482015260240161097a565b61103161102a61399a565b8383613c00565b5050565b5f61103e612e91565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015611082573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110a69190615191565b15905090565b5f6110b6336108cf565b836110c281601f6108de565b5f6110cb61399a565b6002810154604051627c1b7d60e71b81529192506001600160a01b031690633e0dbe80906110ff90899088906004016150be565b6020604051808303815f875af115801561111b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061113f9190615133565b6004808301546040516351486e7d60e01b81529295506001600160a01b0316916351486e7d916111779187918b918a918c91016151ac565b6020604051808303815f875af1158015611193573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111b791906151e0565b506040516330b8415f60e01b81526001600160601b038616600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af415801561120e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112329190615191565b1561129957600281015460405163f71c4cef60e01b81526001600160a01b039091169063f71c4cef9061126b90889088906004016150be565b5f604051808303815f87803b158015611282575f80fd5b505af1158015611294573d5f803e3d5ffd5b505050505b50509392505050565b6112ab336108cf565b5f6112b461399a565b6004808201546040516325c083cf60e01b81529293506001600160a01b0316916325c083cf916112f5918691016001600160601b0391909116815260200190565b6020604051808303815f875af1158015611311573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113359190615133565b505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c61135c610b47565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af415801561139a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113be91906151fb565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b900460ff1680611403575080546001600160401b03808416911610155b156114215760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561144b83613c33565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a1505050565b6114a1336108cf565b6114a96126d1565b6001600160a01b0316336001600160a01b0316146114dc5760405163086391f760e31b815233600482015260240161097a565b5f6114e561399a565b6001810154604051636eb1769f60e11b81523060048201526001600160a01b0391821660248201529192505f9173__$3bac17678db7ae928afa209f2f44deec9c$__91634c41dd96919087169063dd62ed3e90604401602060405180830381865afa158015611556573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061157a9190615221565b6040518263ffffffff1660e01b815260040161159891815260200190565b602060405180830381865af41580156115b3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115d79190615133565b60028301546040516320c8cbff60e11b81526001600160a01b0387811660048301526001600160601b038716602483015292935091169063419197fe906044015f604051808303815f87803b15801561162e575f80fd5b505af1158015611640573d5f803e3d5ffd5b5050604080516001600160a01b03881681526001600160601b03878116602083015285168183015290517fd04c7a08e8de83264477350e162e0d3e26406e3eaf786d06d976ea7f229d5c4e9350908190036060019150a150505050565b5f6116a661399a565b600101546001600160a01b0316919050565b6116c1336108cf565b6116c961399a565b600490810154604051639a148b7f60e01b81526001600160601b0387169281019290925260ff8516602483015264ffffffffff841660448301526001600160a01b0383811660648401521690639a148b7f906084015f604051808303815f87803b158015611735575f80fd5b505af1158015611747573d5f803e3d5ffd5b5050505050505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f811580156117955750825b90505f826001600160401b031660011480156117b05750303b155b9050811580156117be575080155b156117dc5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561180657845460ff60401b1916600160401b1785555b6118108787613c54565b831561094857845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a150505050505050565b5f611867610ee5565b156118eb576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa1580156118bb573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526118e29190810190615290565b60600151905090565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f015460ff1690565b61191d336108cf565b6119256126d1565b6001600160a01b0316336001600160a01b0316146119585760405163086391f760e31b815233600482015260240161097a565b5f61196161399a565b600481810154604051635b0ee09960e01b815260ff8f16928101929092528c151560248301528b151560448301528a151560648301526001600160601b03808b166084840152891660a483015264ffffffffff80891660c4840152871660e48301526001600160a01b038681166101048401528581166101248401529293509190911690635b0ee09990610144015f604051808303815f87803b158015611a06575f80fd5b505af1158015611a18573d5f803e3d5ffd5b505050505050505050505050505050565b5f80611a34336108cf565b83611a4081601e610d9a565b83611a4c81601f6108de565b5f611a5561399a565b9050806004015f9054906101000a90046001600160a01b03166001600160a01b0316630ad044ce8860018073__$3bac17678db7ae928afa209f2f44deec9c$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af4158015611ac7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611aeb9190615133565b60405160e086901b6001600160e01b03191681526001600160601b0394851660048201529215156024840152901515604483015290911660648201526084016020604051808303815f875af1158015611b46573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b6a9190615133565b93505f611b7f6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b038a1660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611bcc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bf091906150eb565b6002830154604051627c1b7d60e71b81529192506001600160a01b031690633e0dbe8090611c24908a9085906004016150be565b6020604051808303815f875af1158015611c40573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c649190615133565b6004808401546040516351486e7d60e01b81529298506001600160a01b0316916351486e7d91611c9c918a918c9187918c91016151ac565b6020604051808303815f875af1158015611cb8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cdc91906151e0565b50604080516001600160601b0388811682528981166020830152878116828401526001600160a01b03841660608301528a16608082015290517fb83b505434e350ef4d02aa4d11d8c3bf9903b943ecba24fffa1061de4a109e199181900360a00190a1505050509250929050565b611d53336108cf565b81611d5f81601f6108de565b611d6761399a565b600490810154604051635ecf260f60e01b81526001600160601b0386169281019290925264ffffffffff841660248301526001600160a01b031690635ecf260f9060440161091f565b611db9336108cf565b611dc16126d1565b6001600160a01b0316336001600160a01b031614611df45760405163086391f760e31b815233600482015260240161097a565b5f819050306001600160a01b0316816001600160a01b0316637b1391a66040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e3e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e6291906150eb565b6001600160a01b031614611ef557806001600160a01b0316637b1391a66040518163ffffffff1660e01b8152600401602060405180830381865afa158015611eac573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ed091906150eb565b604051631641c88f60e11b81526001600160a01b03909116600482015260240161097a565b5f611efe61399a565b6005810180546001600160a01b0319166001600160a01b03858116919091179091556004808301546040516317f47bfb60e21b815287841692810192909252929350911690635fd1efec9060240161091f565b5f611f5a61399a565b600501546001600160a01b0316919050565b5f611f76336108cf565b82611f8281601e610d9a565b5f611f8b61399a565b9050806004015f9054906101000a90046001600160a01b03166001600160a01b03166359386f8e8660018073__$71e292c09eace9601b3e21e68a1278917a$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af4158015611ffd573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061202191906151e0565b6040516001600160e01b031960e087901b1681526001600160601b0394851660048201529215156024840152901515604483015264ffffffffff166064820152908716608482015260a4015f604051808303815f87803b158015612083575f80fd5b505af1158015612095573d5f803e3d5ffd5b50506040516330b8415f60e01b81526001600160601b038716600482015273__$3bac17678db7ae928afa209f2f44deec9c$__92506330b8415f9150602401602060405180830381865af41580156120ef573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121139190615191565b15612200575f61212b6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03881660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015612178573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061219c91906150eb565b600283015460405163f71c4cef60e01b81529192506001600160a01b03169063f71c4cef906121d190889085906004016150be565b5f604051808303815f87803b1580156121e8575f80fd5b505af11580156121fa573d5f803e3d5ffd5b50505050505b505092915050565b612211336108cf565b8161221d81601f6108de565b5f61222661399a565b600480820154604051631b4e1ff960e21b81529293506001600160a01b031691636d387fe49161226f9188918891016001600160601b0392831681529116602082015260400190565b60408051808303815f875af115801561228a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122ae9190615360565b505050505050565b5f6122c0336108cf565b816122cc81601e610d9a565b5f6122d561399a565b9050806004015f9054906101000a90046001600160a01b03166001600160a01b0316634a923f0c85600173__$3bac17678db7ae928afa209f2f44deec9c$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af4158015612346573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061236a9190615133565b60405160e085901b6001600160e01b03191681526001600160601b039384166004820152911515602483015290911660448201526064015b6020604051808303815f875af11580156123be573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123e29190615133565b6040516330b8415f60e01b81526001600160601b038216600482015290935073__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af415801561243b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061245f9190615191565b1561254c575f6124776001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03871660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156124c4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124e891906150eb565b6002830154604051630cb9145560e41b81529192506001600160a01b03169063cb9145509061251d90879085906004016150be565b5f604051808303815f87803b158015612534575f80fd5b505af1158015612546573d5f803e3d5ffd5b50505050505b5050919050565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156125a3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bc9919061538d565b6125d0336108cf565b5f6125d961399a565b6003810154604051633b5d0adb60e11b815261ffff861660048201526001600160a01b0385811660248301529293509116906376ba15b69060440161091f565b33612622612e91565b6001600160a01b0316816001600160a01b03161461265d5760405162d1953b60e31b81526001600160a01b038216600482015260240161097a565b816001600160a01b03163b5f03612692576040516361798f2f60e11b81526001600160a01b038316600482015260240161097a565b61103182613eca565b5f6126a461399a565b600301546001600160a01b0316919050565b5f6126bf61399a565b600401546001600160a01b0316919050565b5f805f805160206155fd83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561273d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127619190615191565b156127ec576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156127c2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127e691906150eb565b91505090565b54600160601b90046001600160a01b0316919050565b5f8051602061561d83398151915280545f9190600160a01b900460ff16612829575f6127e6565b638fb3603760e01b91505090565b60408051808201909152606081525f6020820152612853610ee5565b1561286057610bc9613f2a565b610bc9612d2f565b612871336108cf565b6128796126d1565b6001600160a01b0316336001600160a01b0316146113355760405163086391f760e31b815233600482015260240161097a565b6128b5336108cf565b6128bd6126d1565b6001600160a01b0316336001600160a01b0316146128f05760405163086391f760e31b815233600482015260240161097a565b5f806128fa61399a565b6004908101546040516314d78f9760e31b81526001600160601b038816928101929092526001600160a01b0386811660248401528581166044840152169063a6bc7cb89060640160408051808303815f875af115801561295c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061298091906153a8565b604080516001600160601b03891681526001600160a01b03808916602083015280881692820192909252908316606082015264ffffffffff8216608082015291935091507f519b91b3c7a09332814e208f4ff950747fd39d6aa537517322893c161f6ac9459060a0015b60405180910390a15050505050565b612a02336108cf565b81612a0e81601f6108de565b5f612a1761399a565b6040516301f8588560e51b81526001600160601b03861660048201529091505f9073__$dacf551d137a232f87fa09e79113e25430$__90633f0b10a090602401602060405180830381865af4158015612a72573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a969190615133565b600480840154604051630a2e0d3b60e31b81529293506001600160a01b03169163517069d891612aca9185918991016150be565b602060405180830381865afa158015612ae5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612b099190615191565b612b1857612b18828286613c00565b60048083015460405163a71bfbb760e01b81526001600160a01b039091169163a71bfbb791612b4b9189918991016150be565b5f604051808303815f87803b158015612b62575f80fd5b505af1158015612b74573d5f803e3d5ffd5b5050604080516001600160601b03808a168252851660208201526001600160a01b038816918101919091527f7a2e316a9c20094b9155914cb3caab21339f9fc6d45d341144e1c25011031328925060600190506129ea565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015612c13573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c3791906150eb565b6001600160a01b0316336001600160a01b031614612c695760405162f0630960e01b815233600482015260240161097a565b50505050565b612c78336108cf565b612c806126d1565b6001600160a01b0316336001600160a01b031614612cb35760405163086391f760e31b815233600482015260240161097a565b5f612cbc61399a565b6004818101546005830154604051630345861d60e01b81529394506001600160a01b0390911692630345861d92612d0692600160a01b90046001600160601b0316918791016150be565b5f604051808303815f87803b158015612d1d575f80fd5b505af11580156122ae573d5f803e3d5ffd5b60408051808201909152606081525f6020820152610bc9613f2a565b612d54336108cf565b612d5c6126d1565b6001600160a01b0316336001600160a01b031614612d8f5760405163086391f760e31b815233600482015260240161097a565b5f612d9861399a565b6004818101546005830154604051635ecf260f60e01b8152600160a01b9091046001600160601b03169281019290925264ffffffffff851660248301529192506001600160a01b0390911690635ecf260f90604401612d06565b612dfb336108cf565b82612e0781601f610d9a565b5f612e1061399a565b60048181015460405163bac475b760e01b81526001600160601b03808a1693820193909352828816602482015291861660448301529192506001600160a01b039091169063bac475b7906064015f604051808303815f87803b158015612e74575f80fd5b505af1158015612e86573d5f803e3d5ffd5b505050505050505050565b5f8051602061561d833981519152546001600160a01b031690565b612eb5336108cf565b612ebd6126d1565b6001600160a01b0316336001600160a01b0316146110315760405163086391f760e31b815233600482015260240161097a565b5f612ef961399a565b546001600160a01b0316919050565b612f11336108cf565b612f196126d1565b6001600160a01b0316336001600160a01b031614612f4c5760405163086391f760e31b815233600482015260240161097a565b5f612f5561399a565b60028101549091506001600160a01b031673__$f048dbd5170c0ac319fa0222065b281d84$__63cf7601bf612f926001546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260ff86166024820152604401602060405180830381865af4158015612fdd573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061300191906150eb565b6002830180546001600160a01b0319166001600160a01b039283169081179091556040805191825260ff86166020830152918316918101919091527f0d3c2937ad932ccd841592977cdeb6dabbfb6fc4df9d7569f35a84f0864ac3c59060600161148b565b5f613070336108cf565b8361307c81601f6108de565b611299858585614007565b613090336108cf565b5f61309961399a565b60048181015460405163d44f8a4b60e01b81526001600160601b03808916938201939093526001600160a01b0387811660248301529286166044820152929350169063d44f8a4b906064015b6020604051808303815f875af1158015613101573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906131259190615133565b5050505050565b5f613136336108cf565b8261314281601f6108de565b3361314e858583614007565b50505092915050565b5f613161336108cf565b8161316d81601e610d9a565b5f61317661399a565b9050806004015f9054906101000a90046001600160a01b03166001600160a01b0316630ad044ce8560018073__$3bac17678db7ae928afa209f2f44deec9c$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af41580156131e8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061320c9190615133565b60405160e086901b6001600160e01b03191681526001600160601b0394851660048201529215156024840152901515604483015290911660648201526084016123a2565b5f61325a336108cf565b8261326681601f6108de565b5f6132e18561327d6001546001600160a01b031690565b6001600160a01b031663fff74f6c6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156132b8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906132dc9190615133565b614185565b1561331e576132ee6126d1565b9050336001600160a01b0382161461331957604051631928390360e21b815260040160405180910390fd5b613498565b60405163f2c821f760e01b81526001600160601b038616600482015273__$dacf551d137a232f87fa09e79113e25430$__9063f2c821f790602401602060405180830381865af4158015613374573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906133989190615191565b15613450576001546001600160a01b0316604051631c5da14d60e11b81526001600160601b03871660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156133f6573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061341a91906150eb565b9050336001600160a01b0382161461331957604051635520388f60e01b81526001600160601b038616600482015260240161097a565b60405162461bcd60e51b815260206004820181905260248201527f43726f73732d636861696e20746172676574206e6f7420737570706f72746564604482015260640161097a565b6134a3858583614210565b95945050505050565b6134b5336108cf565b5f6134be61399a565b60048181015460405163ea48ce9b60e01b81526001600160601b03808916938201939093526001600160a01b0387811660248301529286166044820152929350169063ea48ce9b906064016130e5565b5f613518336108cf565b8361352481601f6108de565b61353a8561327d6001546001600160a01b031690565b1561356a57604051632778739960e11b81526001600160601b03861660048201526001602482015260440161097a565b5f61357d6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03881660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156135ca573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906135ee91906150eb565b90506135fb868683614210565b9250505b509392505050565b5f8051602061561d8339815191525f8061363f613622612e91565b873061363160045f8a8c6153c4565b61363a916153eb565b614359565b91509150816122ae5763ffffffff8116156136da57825460ff60a01b1916600160a01b17835561366d612e91565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161369c93929190615423565b5f604051808303815f87803b1580156136b3575f80fd5b505af11580156136c5573d5f803e3d5ffd5b5050845460ff60a01b19168555506122ae9050565b60405162d1953b60e31b81526001600160a01b038716600482015260240161097a565b5f61370661399a565b905060ff8316601e036137b657600481810154604051634f9c1c0960e01b81526001600160601b038716928101929092526001600160a01b031690634f9c1c0990602401602060405180830381865afa158015613765573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906137899190615191565b6137b157604051632ab4595b60e11b81526001600160601b038516600482015260240161097a565b6138c5565b60ff8316601f036138c55760048082015460408051633a208dc760e01b815290516001600160a01b0390921692633a208dc79282820192602092908290030181865afa158015613808573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061382c91906150eb565b604051634f9c1c0960e01b81526001600160601b03861660048201526001600160a01b039190911690634f9c1c0990602401602060405180830381865afa158015613879573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061389d9190615191565b6138c5576040516396cff01560e01b81526001600160601b038516600482015260240161097a565b8115612c69575f6138de6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03871660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561392b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061394f91906150eb565b9050336001600160a01b0382161461312557604051630807d41d60e41b81526001600160601b03861660048201526001600160a01b038216602482015233604482015260640161097a565b7fafe8d4462b2ed26a47154f4b8f6d1497d2f772496965791d25bd456e342b7f0090565b5f805f805160206155fd83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015613a2a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613a4e9190615191565b15613a7a5780546040516301ab8b6760e21b81526001600160601b03909116600482015260240161097a565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015613acc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613af09190615191565b613b185760405163b9304b0d60e01b81526001600160a01b038416600482015260240161097a565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015613b6a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613b8e9190615133565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b5490613bda6126d1565b604051613be89291906150be565b60405180910390a1546001600160601b031692915050565b600480840154604051631170b20360e11b81526001600160a01b03909116916322e164069161091f9186918691016150be565b613c3b614461565b60405163502ec37160e01b815260040160405180910390fd5b613c5c614461565b5f805f8084806020019051810190613c749190615462565b92965090945092509050835f613c8861399a565b9050816001600160a01b031663fff74f6c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613cc6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613cea9190615133565b6005820180546001600160601b0392909216600160a01b026001600160a01b039283161790556003820180548783166001600160a01b0319918216179091556004808401805493881693909216831790915560408051633148a11d60e11b81529051636291423a928281019260209291908290030181865afa158015613d72573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613d9691906150eb565b6005820180546001600160a01b03199081166001600160a01b0393841617909155825416848216178255604080516307158bc560e51b81529051613eba9285169163e2b178a09160048083019260209291908290030181865afa158015613dff573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613e2391906150eb565b83846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015613e60573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613e849190615133565b6040805180820190915260078152665374616b696e6760c81b602082015260035f8e60405180602001604052805f8152506144ac565b611747632a9e68e360e11b61456f565b5f8051602061561d83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b60408051808201909152606081525f60208201525f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060400160405280825f018054613f7b9061514e565b80601f0160208091040260200160405190810160405280929190818152602001828054613fa79061514e565b8015613ff25780601f10613fc957610100808354040283529160200191613ff2565b820191905f5260205f20905b815481529060010190602001808311613fd557829003601f168201915b50505091835250505f60209091015292915050565b5f8061401161399a565b60048082015460405163de0eb85f60e01b81529293506001600160a01b03169163de0eb85f9161405a9189918991016001600160601b0392831681529116602082015260400190565b6020604051808303815f875af1158015614076573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061409a9190615133565b6040516330b8415f60e01b81526001600160601b038616600482015290925073__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af41580156140f3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906141179190615191565b156135ff57600281015460405163f71c4cef60e01b81526001600160a01b039091169063f71c4cef9061415090879087906004016150be565b5f604051808303815f87803b158015614167575f80fd5b505af1158015614179573d5f803e3d5ffd5b50505050509392505050565b60405163c4cade9d60e01b81526001600160601b038084166004830152821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__9063c4cade9d90604401602060405180830381865af41580156141e5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906142099190615191565b9392505050565b5f8061421a61399a565b60048082015460405163e8ce883d60e01b81529293506001600160a01b03169163e8ce883d916142639189918991016001600160601b0392831681529116602082015260400190565b6020604051808303815f875af115801561427f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906142a39190615133565b6040516330b8415f60e01b81526001600160601b038616600482015290925073__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af41580156142fc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906143209190615191565b156135ff576002810154604051630cb9145560e41b81526001600160a01b039091169063cb9145509061415090879087906004016150be565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516143c791906154b3565b5f60405180830381855afa9150503d805f81146143ff576040519150601f19603f3d011682016040523d82523d5f602084013e614404565b606091505b50915091508115614456576040815110614436578080602001905181019061442c91906154c9565b9094509250614456565b602081511061445657808060200190518101906144539190615191565b93505b505094509492505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166144aa57604051631afcd79f60e31b815260040160405180910390fd5b565b6144b4614461565b84515f036144d55760405163591eebf360e11b815260040160405180910390fd5b6144e4888888878787876145a2565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f00806145108782615542565b5060018101805460ff191685151517905561452b600b6146df565b8160010160016101000a8154816001600160a01b0302191690836001600160a01b03160217905550614563634a531f3360e01b61456f565b612e866306e9e5ff60e31b5b614577614461565b61459f816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b6145aa614461565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af4158015614600573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906146249190615191565b61464c5760405163cf6935e560e01b81526001600160a01b038816600482015260240161097a565b61465587614776565b61465f8683614787565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016146ce8382615542565b50611747634a531f3360e01b61456f565b5f6146f26001546001600160a01b031690565b6001600160a01b031663d39e604383614709612553565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561474c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061477091906150eb565b92915050565b61477e614461565b61459f816147fd565b61478f614461565b61479761480e565b6147a082614856565b6001600160a01b0381166147c75760405163f17ef42d60e01b815260040160405180910390fd5b5f805160206155fd83398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b614805614461565b61459f81613eca565b614816614461565b6144aa6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61485e614461565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af41580156148b4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906148d89190615191565b6149005760405163fdeac91f60e01b81526001600160a01b038216600482015260240161097a565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b5f60208284031215614932575f80fd5b81356001600160e01b031981168114614209575f80fd5b6001600160601b038116811461459f575f80fd5b803561496881614949565b919050565b6001600160a01b038116811461459f575f80fd5b80356149688161496d565b5f806040838503121561499d575f80fd5b82356149a881614949565b915060208301356149b88161496d565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151614a39608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152614a7d6101008401826149c3565b949350505050565b5f60208284031215614a95575f80fd5b813561420981614949565b602081525f61420960208301846149c3565b5f805f60608486031215614ac4575f80fd5b8335614acf81614949565b92506020840135614adf81614949565b91506040840135614aef8161496d565b809150509250925092565b634e487b7160e01b5f52604160045260245ffd5b60405161012081016001600160401b0381118282101715614b3157614b31614afa565b60405290565b60405160e081016001600160401b0381118282101715614b3157614b31614afa565b604051601f8201601f191681016001600160401b0381118282101715614b8157614b81614afa565b604052919050565b5f6001600160401b03821115614ba157614ba1614afa565b50601f01601f191660200190565b5f82601f830112614bbe575f80fd5b8135614bd1614bcc82614b89565b614b59565b818152846020838601011115614be5575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60208284031215614c11575f80fd5b81356001600160401b03811115614c26575f80fd5b614a7d84828501614baf565b5f8060408385031215614c43575f80fd5b8235614c4e8161496d565b915060208301356149b881614949565b60ff8116811461459f575f80fd5b803561496881614c5e565b64ffffffffff8116811461459f575f80fd5b803561496881614c77565b5f805f8060808587031215614ca7575f80fd5b8435614cb281614949565b93506020850135614cc281614c5e565b92506040850135614cd281614c77565b91506060850135614ce28161496d565b939692955090935050565b5f8060408385031215614cfe575f80fd5b8235614d098161496d565b915060208301356001600160401b03811115614d23575f80fd5b614d2f85828601614baf565b9150509250929050565b801515811461459f575f80fd5b5f805f805f805f805f806101408b8d031215614d60575f80fd5b8a35614d6b81614c5e565b995060208b0135614d7b81614d39565b985060408b0135614d8b81614d39565b975060608b0135614d9b81614d39565b965060808b0135614dab81614949565b955060a08b0135614dbb81614949565b945060c08b0135614dcb81614c77565b935060e08b0135614ddb81614c77565b92506101008b0135614dec8161496d565b9150614dfb6101208c01614981565b90509295989b9194979a5092959850565b5f8060408385031215614e1d575f80fd5b8235614c4e81614949565b5f8060408385031215614e39575f80fd5b8235614e4481614949565b915060208301356149b881614c77565b5f60208284031215614e64575f80fd5b81356142098161496d565b5f8060408385031215614e80575f80fd5b823561ffff811681146149a8575f80fd5b602081525f825160406020840152614eac60608401826149c3565b602094909401516001600160a01b0316604093909301929092525090919050565b5f805f60608486031215614edf575f80fd5b8335614eea81614949565b92506020840135614efa8161496d565b91506040840135614aef81614949565b5f805f60608486031215614f1c575f80fd5b8335614f2781614949565b92506020840135614adf8161496d565b5f805f8060808587031215614f4a575f80fd5b8435614f558161496d565b93506020850135614f658161496d565b9250604085013591506060850135614ce28161496d565b5f60208284031215614f8c575f80fd5b813561420981614c77565b5f805f60608486031215614fa9575f80fd5b8335614fb481614949565b92506020840135614efa81614949565b5f80828403610140811215614fd7575f80fd5b8335614fe281614949565b9250610120601f1982011215614ff6575f80fd5b50614fff614b0e565b61500b6020850161495d565b81526150196040850161495d565b602082015261502a60608501614c89565b604082015261503b6080850161495d565b606082015261504c60a0850161495d565b608082015261505d60c08501614c89565b60a082015261506e60e08501614c6c565b60c08201526150806101008501614981565b60e0820152615092610120850161495d565b610100820152809150509250929050565b5f602082840312156150b3575f80fd5b813561420981614c5e565b6001600160601b039290921682526001600160a01b0316602082015260400190565b80516149688161496d565b5f602082840312156150fb575f80fd5b81516142098161496d565b5f60208284031215615116575f80fd5b815162ffffff81168114614209575f80fd5b805161496881614949565b5f60208284031215615143575f80fd5b815161420981614949565b600181811c9082168061516257607f821691505b60208210810361518057634e487b7160e01b5f52602260045260245ffd5b50919050565b805161496881614d39565b5f602082840312156151a1575f80fd5b815161420981614d39565b6001600160601b03948516815292841660208401526001600160a01b03919091166040830152909116606082015260800190565b5f602082840312156151f0575f80fd5b815161420981614c77565b5f6020828403121561520b575f80fd5b81516001600160401b0381168114614209575f80fd5b5f60208284031215615231575f80fd5b5051919050565b805161496881614c5e565b5f82601f830112615252575f80fd5b8151615260614bcc82614b89565b818152846020838601011115615274575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f602082840312156152a0575f80fd5b81516001600160401b038111156152b5575f80fd5b820160e081850312156152c6575f80fd5b6152ce614b37565b6152d782615128565b81526152e560208301615128565b60208201526152f660408301615238565b604082015261530760608301615186565b6060820152615318608083016150e0565b608082015261532960a083016150e0565b60a082015260c08201516001600160401b03811115615346575f80fd5b61535286828501615243565b60c083015250949350505050565b5f8060408385031215615371575f80fd5b825161537c81614949565b60208401519092506149b881614c77565b5f6020828403121561539d575f80fd5b815161420981614c5e565b5f80604083850312156153b9575f80fd5b825161537c8161496d565b5f80858511156153d2575f80fd5b838611156153de575f80fd5b5050820193919092039150565b80356001600160e01b0319811690600484101561541c576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f805f8060808587031215615475575f80fd5b84516154808161496d565b60208601519094506154918161496d565b60408601519093506154a28161496d565b6060860151909250614ce28161496d565b5f82518060208501845e5f920191825250919050565b5f80604083850312156154da575f80fd5b82516154e581614d39565b602084015190925063ffffffff811681146149b8575f80fd5b601f82111561133557805f5260205f20601f840160051c810160208510156155235750805b601f840160051c820191505b81811015613125575f815560010161552f565b81516001600160401b0381111561555b5761555b614afa565b61556f81615569845461514e565b846154fe565b6020601f8211600181146155a1575f831561558a5750848201515b5f19600385901b1c1916600184901b178455613125565b5f84815260208120601f198516915b828110156155d057878501518255602094850194600190920191016155b0565b50848210156155ed57868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220f0fced3e36cb3336539bf0eb7bbd8f1d4a0580528dbd3d8cb1f4029bdeb7babd64736f6c634300081a0033",
2910
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106103b4575f3560e01c80636c1e9dff116101f5578063b283765d11610114578063d43a2623116100a9578063e8ce883d11610079578063e8ce883d1461086a578063ea15869f1461087d578063ea48ce9b146108a4578063ec0407d9146108b7575f80fd5b8063d43a26231461081e578063d44f8a4b14610831578063de0eb85f14610844578063dea4ccf214610857575f80fd5b8063bf7e214f116100e4578063bf7e214f146107e8578063c813d791146107f0578063caed989714610803578063cdf73d501461080b575f80fd5b8063b283765d146107a7578063b423086c146107ba578063b47f4888146107c2578063bac475b7146107d5575f80fd5b8063893d20e81161018a578063a6bc7cb81161015a578063a6bc7cb81461075a578063a71bfbb71461076d578063ad12ad6014610780578063ada9652e14610793575f80fd5b8063893d20e8146107095780638fb360371461071157806390edbd3514610732578063958697a014610747575f80fd5b806376ba15b6116101c557806376ba15b6146106d35780637a9e5e4b146106e657806381f137f8146106f957806386c7575414610701575f80fd5b80636c1e9dff146106805780636d387fe414610693578063719f761a146106a657806376b707b7146106b9575f80fd5b80632391b052116102e15780635ab1bd53116102765780635fd1efec116102465780635fd1efec14610622578063614d08f8146106355780636291423a1461065b578063644c45e014610663575f80fd5b80635ab1bd53146105b85780635b0ee099146105c95780635cbb7d85146105dc5780635ecf260f1461060f575f80fd5b806343d752d3116102b157806343d752d31461058257806344dcf7301461058a57806349bb9e4b1461059d5780635741e5e9146105b0575f80fd5b80632391b0521461053657806325c083cf14610549578063329d6e741461055c578063419197fe1461056f575f80fd5b8063132996041161035757806321df0da71161032757806321df0da71461050b578063223668441461051357806322e164061461051b57806322f3e2d41461052e575f80fd5b806313299604146104a7578063138461e0146104c757806317d7de7c146104cf5780631eff4b22146104e4575f80fd5b806309980bfd1161039257806309980bfd146104435780630d8e6e2c1461044b5780630fec111c1461046757806310a0638a1461047c575f80fd5b806301ffc9a7146103b85780630345861d146103f9578063062c9cdf1461040e575b5f80fd5b6103e46103c6366004614922565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61040c61040736600461498c565b6108ca565b005b6104357fafe8d4462b2ed26a47154f4b8f6d1497d2f772496965791d25bd456e342b7f0081565b6040519081526020016103f0565b61040c610951565b610453610b47565b60405162ffffff90911681526020016103f0565b61046f610bce565b6040516103f091906149f1565b61048f61048a366004614a85565b610d88565b6040516001600160601b0390911681526020016103f0565b6104af610e1f565b6040516001600160a01b0390911681526020016103f0565b61048f610e87565b6104d7610e91565b6040516103f09190614aa0565b6104357f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6104af610ea1565b6103e4610ee5565b61040c61052936600461498c565b610fdb565b6103e4611035565b61048f610544366004614ab2565b6110ac565b61040c610557366004614a85565b6112a2565b61040c61056a366004614c01565b61133a565b61040c61057d366004614c32565b611498565b6104af61169d565b61040c610598366004614c94565b6116b8565b61040c6105ab366004614ced565b611751565b6103e461185e565b6001546001600160a01b03166104af565b61040c6105d7366004614d46565b611914565b6105ef6105ea366004614e0c565b611a29565b604080516001600160601b039384168152929091166020830152016103f0565b61040c61061d366004614e28565b611d4a565b61040c610630366004614e54565b611db0565b6104d7604051806040016040528060078152602001665374616b696e6760c81b81525081565b6104af611f51565b5f805160206155fd833981519152546001600160601b031661048f565b61048f61068e366004614e0c565b611f6c565b61040c6106a1366004614e0c565b612208565b61048f6106b4366004614a85565b6122b6565b6106c1612553565b60405160ff90911681526020016103f0565b61040c6106e1366004614e6f565b6125c7565b61040c6106f4366004614e54565b612619565b6104af61269b565b6104af6126b6565b6104af6126d1565b610719612802565b6040516001600160e01b031990911681526020016103f0565b61073a612837565b6040516103f09190614e91565b61040c610755366004614ecd565b612868565b61040c610768366004614f0a565b6128ac565b61040c61077b36600461498c565b6129f9565b61040c61078e366004614f37565b612bcc565b6104355f805160206155fd83398151915281565b61040c6107b5366004614e54565b612c6f565b61073a612d2f565b61040c6107d0366004614f7c565b612d4b565b61040c6107e3366004614f97565b612df2565b6104af612e91565b61040c6107fe366004614fc4565b612eac565b6104af612ef0565b61040c6108193660046150a3565b612f08565b61048f61082c366004614ab2565b613066565b61040c61083f366004614ecd565b613087565b61048f610852366004614e0c565b61312c565b61048f610865366004614a85565b613157565b61048f610878366004614e0c565b613250565b6104357fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b61040c6108b2366004614ecd565b6134ac565b61048f6108c5366004614ab2565b61350e565b6108d6335b5f36613607565b816108e481601f5b5f6136fd565b6108ec61399a565b600490810154604051630345861d60e01b81526001600160a01b0390911691630345861d9161091f9187918791016150be565b5f604051808303815f87803b158015610936575f80fd5b505af1158015610948573d5f803e3d5ffd5b50505050505050565b6001546001600160a01b0316331461098357604051632a6e1a8960e01b81523360048201526024015b60405180910390fd5b5f61098c61399a565b90505f61099761399a565b546040805163b201f70960e01b815290516001600160a01b039092169163b201f709916004808201926020929091908290030181865afa1580156109dd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a0191906150eb565b905073__$51089c37ca0df1177a910c640c8c5f8165$__6350c6470d610a2f6001546001600160a01b031690565b3084610a436001546001600160a01b031690565b6001600160a01b031663e2b178a06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a7e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610aa291906150eb565b60405160e086901b6001600160e01b03191681526001600160a01b039485166004820152928416602484015290831660448301529091166064820152608401602060405180830381865af4158015610afc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b2091906150eb565b60019290920180546001600160a01b0319166001600160a01b039093169290921790915550565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610ba5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bc99190615106565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610c7a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c9e9190615133565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610ce66126d1565b6001600160a01b03168152602001826001018054610d039061514e565b80601f0160208091040260200160405190810160405280929190818152602001828054610d2f9061514e565b8015610d7a5780601f10610d5157610100808354040283529160200191610d7a565b820191905f5260205f20905b815481529060010190602001808311610d5d57829003601f168201915b505050505081525091505090565b5f610d92336108cf565b81610da181601e5b60016136fd565b5f610daa61399a565b60048082015460405163085031c560e11b81529293506001600160a01b0316916310a0638a91610deb918891016001600160601b0391909116815260200190565b5f604051808303815f87803b158015610e02575f80fd5b505af1158015610e14573d5f803e3d5ffd5b505050505050919050565b5f610e2861169d565b6001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e63573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bc991906150eb565b5f610bc9306139be565b6060610e9b612837565b51919050565b5f610eaa61169d565b6001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e63573d5f803e3d5ffd5b5f610ef86001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610f3c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f609190615133565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610fb7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bc99190615191565b610fe4336108cf565b610fec6126d1565b6001600160a01b0316336001600160a01b03161461101f5760405163086391f760e31b815233600482015260240161097a565b61103161102a61399a565b8383613c00565b5050565b5f61103e612e91565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015611082573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110a69190615191565b15905090565b5f6110b6336108cf565b836110c281601f6108de565b5f6110cb61399a565b6002810154604051627c1b7d60e71b81529192506001600160a01b031690633e0dbe80906110ff90899088906004016150be565b6020604051808303815f875af115801561111b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061113f9190615133565b6004808301546040516351486e7d60e01b81529295506001600160a01b0316916351486e7d916111779187918b918a918c91016151ac565b6020604051808303815f875af1158015611193573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111b791906151e0565b506040516330b8415f60e01b81526001600160601b038616600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af415801561120e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112329190615191565b1561129957600281015460405163f71c4cef60e01b81526001600160a01b039091169063f71c4cef9061126b90889088906004016150be565b5f604051808303815f87803b158015611282575f80fd5b505af1158015611294573d5f803e3d5ffd5b505050505b50509392505050565b6112ab336108cf565b5f6112b461399a565b6004808201546040516325c083cf60e01b81529293506001600160a01b0316916325c083cf916112f5918691016001600160601b0391909116815260200190565b6020604051808303815f875af1158015611311573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113359190615133565b505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c61135c610b47565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af415801561139a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113be91906151fb565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b900460ff1680611403575080546001600160401b03808416911610155b156114215760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561144b83613c33565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a1505050565b6114a1336108cf565b6114a96126d1565b6001600160a01b0316336001600160a01b0316146114dc5760405163086391f760e31b815233600482015260240161097a565b5f6114e561399a565b6001810154604051636eb1769f60e11b81523060048201526001600160a01b0391821660248201529192505f9173__$3bac17678db7ae928afa209f2f44deec9c$__91634c41dd96919087169063dd62ed3e90604401602060405180830381865afa158015611556573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061157a9190615221565b6040518263ffffffff1660e01b815260040161159891815260200190565b602060405180830381865af41580156115b3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115d79190615133565b60028301546040516320c8cbff60e11b81526001600160a01b0387811660048301526001600160601b038716602483015292935091169063419197fe906044015f604051808303815f87803b15801561162e575f80fd5b505af1158015611640573d5f803e3d5ffd5b5050604080516001600160a01b03881681526001600160601b03878116602083015285168183015290517fd04c7a08e8de83264477350e162e0d3e26406e3eaf786d06d976ea7f229d5c4e9350908190036060019150a150505050565b5f6116a661399a565b600101546001600160a01b0316919050565b6116c1336108cf565b6116c961399a565b600490810154604051639a148b7f60e01b81526001600160601b0387169281019290925260ff8516602483015264ffffffffff841660448301526001600160a01b0383811660648401521690639a148b7f906084015f604051808303815f87803b158015611735575f80fd5b505af1158015611747573d5f803e3d5ffd5b5050505050505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f811580156117955750825b90505f826001600160401b031660011480156117b05750303b155b9050811580156117be575080155b156117dc5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561180657845460ff60401b1916600160401b1785555b6118108787613c54565b831561094857845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a150505050505050565b5f611867610ee5565b156118eb576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa1580156118bb573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526118e29190810190615290565b60600151905090565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f015460ff1690565b61191d336108cf565b6119256126d1565b6001600160a01b0316336001600160a01b0316146119585760405163086391f760e31b815233600482015260240161097a565b5f61196161399a565b600481810154604051635b0ee09960e01b815260ff8f16928101929092528c151560248301528b151560448301528a151560648301526001600160601b03808b166084840152891660a483015264ffffffffff80891660c4840152871660e48301526001600160a01b038681166101048401528581166101248401529293509190911690635b0ee09990610144015f604051808303815f87803b158015611a06575f80fd5b505af1158015611a18573d5f803e3d5ffd5b505050505050505050505050505050565b5f80611a34336108cf565b83611a4081601e610d9a565b83611a4c81601f6108de565b5f611a5561399a565b9050806004015f9054906101000a90046001600160a01b03166001600160a01b0316630ad044ce8860018073__$3bac17678db7ae928afa209f2f44deec9c$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af4158015611ac7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611aeb9190615133565b60405160e086901b6001600160e01b03191681526001600160601b0394851660048201529215156024840152901515604483015290911660648201526084016020604051808303815f875af1158015611b46573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b6a9190615133565b93505f611b7f6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b038a1660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611bcc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bf091906150eb565b6002830154604051627c1b7d60e71b81529192506001600160a01b031690633e0dbe8090611c24908a9085906004016150be565b6020604051808303815f875af1158015611c40573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c649190615133565b6004808401546040516351486e7d60e01b81529298506001600160a01b0316916351486e7d91611c9c918a918c9187918c91016151ac565b6020604051808303815f875af1158015611cb8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cdc91906151e0565b50604080516001600160601b0388811682528981166020830152878116828401526001600160a01b03841660608301528a16608082015290517fb83b505434e350ef4d02aa4d11d8c3bf9903b943ecba24fffa1061de4a109e199181900360a00190a1505050509250929050565b611d53336108cf565b81611d5f81601f6108de565b611d6761399a565b600490810154604051635ecf260f60e01b81526001600160601b0386169281019290925264ffffffffff841660248301526001600160a01b031690635ecf260f9060440161091f565b611db9336108cf565b611dc16126d1565b6001600160a01b0316336001600160a01b031614611df45760405163086391f760e31b815233600482015260240161097a565b5f819050306001600160a01b0316816001600160a01b0316637b1391a66040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e3e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e6291906150eb565b6001600160a01b031614611ef557806001600160a01b0316637b1391a66040518163ffffffff1660e01b8152600401602060405180830381865afa158015611eac573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ed091906150eb565b604051631641c88f60e11b81526001600160a01b03909116600482015260240161097a565b5f611efe61399a565b6005810180546001600160a01b0319166001600160a01b03858116919091179091556004808301546040516317f47bfb60e21b815287841692810192909252929350911690635fd1efec9060240161091f565b5f611f5a61399a565b600501546001600160a01b0316919050565b5f611f76336108cf565b82611f8281601e610d9a565b5f611f8b61399a565b9050806004015f9054906101000a90046001600160a01b03166001600160a01b03166359386f8e8660018073__$71e292c09eace9601b3e21e68a1278917a$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af4158015611ffd573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061202191906151e0565b6040516001600160e01b031960e087901b1681526001600160601b0394851660048201529215156024840152901515604483015264ffffffffff166064820152908716608482015260a4015f604051808303815f87803b158015612083575f80fd5b505af1158015612095573d5f803e3d5ffd5b50506040516330b8415f60e01b81526001600160601b038716600482015273__$3bac17678db7ae928afa209f2f44deec9c$__92506330b8415f9150602401602060405180830381865af41580156120ef573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121139190615191565b15612200575f61212b6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03881660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015612178573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061219c91906150eb565b600283015460405163f71c4cef60e01b81529192506001600160a01b03169063f71c4cef906121d190889085906004016150be565b5f604051808303815f87803b1580156121e8575f80fd5b505af11580156121fa573d5f803e3d5ffd5b50505050505b505092915050565b612211336108cf565b8161221d81601f6108de565b5f61222661399a565b600480820154604051631b4e1ff960e21b81529293506001600160a01b031691636d387fe49161226f9188918891016001600160601b0392831681529116602082015260400190565b60408051808303815f875af115801561228a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122ae9190615360565b505050505050565b5f6122c0336108cf565b816122cc81601e610d9a565b5f6122d561399a565b9050806004015f9054906101000a90046001600160a01b03166001600160a01b0316634a923f0c85600173__$3bac17678db7ae928afa209f2f44deec9c$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af4158015612346573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061236a9190615133565b60405160e085901b6001600160e01b03191681526001600160601b039384166004820152911515602483015290911660448201526064015b6020604051808303815f875af11580156123be573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123e29190615133565b6040516330b8415f60e01b81526001600160601b038216600482015290935073__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af415801561243b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061245f9190615191565b1561254c575f6124776001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03871660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156124c4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124e891906150eb565b6002830154604051630cb9145560e41b81529192506001600160a01b03169063cb9145509061251d90879085906004016150be565b5f604051808303815f87803b158015612534575f80fd5b505af1158015612546573d5f803e3d5ffd5b50505050505b5050919050565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156125a3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bc9919061538d565b6125d0336108cf565b5f6125d961399a565b6003810154604051633b5d0adb60e11b815261ffff861660048201526001600160a01b0385811660248301529293509116906376ba15b69060440161091f565b33612622612e91565b6001600160a01b0316816001600160a01b03161461265d5760405162d1953b60e31b81526001600160a01b038216600482015260240161097a565b816001600160a01b03163b5f03612692576040516361798f2f60e11b81526001600160a01b038316600482015260240161097a565b61103182613eca565b5f6126a461399a565b600301546001600160a01b0316919050565b5f6126bf61399a565b600401546001600160a01b0316919050565b5f805f805160206155fd83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561273d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127619190615191565b156127ec576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156127c2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127e691906150eb565b91505090565b54600160601b90046001600160a01b0316919050565b5f8051602061561d83398151915280545f9190600160a01b900460ff16612829575f6127e6565b638fb3603760e01b91505090565b60408051808201909152606081525f6020820152612853610ee5565b1561286057610bc9613f2a565b610bc9612d2f565b612871336108cf565b6128796126d1565b6001600160a01b0316336001600160a01b0316146113355760405163086391f760e31b815233600482015260240161097a565b6128b5336108cf565b6128bd6126d1565b6001600160a01b0316336001600160a01b0316146128f05760405163086391f760e31b815233600482015260240161097a565b5f806128fa61399a565b6004908101546040516314d78f9760e31b81526001600160601b038816928101929092526001600160a01b0386811660248401528581166044840152169063a6bc7cb89060640160408051808303815f875af115801561295c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061298091906153a8565b604080516001600160601b03891681526001600160a01b03808916602083015280881692820192909252908316606082015264ffffffffff8216608082015291935091507f519b91b3c7a09332814e208f4ff950747fd39d6aa537517322893c161f6ac9459060a0015b60405180910390a15050505050565b612a02336108cf565b81612a0e81601f6108de565b5f612a1761399a565b6040516301f8588560e51b81526001600160601b03861660048201529091505f9073__$dacf551d137a232f87fa09e79113e25430$__90633f0b10a090602401602060405180830381865af4158015612a72573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a969190615133565b600480840154604051630a2e0d3b60e31b81529293506001600160a01b03169163517069d891612aca9185918991016150be565b602060405180830381865afa158015612ae5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612b099190615191565b612b1857612b18828286613c00565b60048083015460405163a71bfbb760e01b81526001600160a01b039091169163a71bfbb791612b4b9189918991016150be565b5f604051808303815f87803b158015612b62575f80fd5b505af1158015612b74573d5f803e3d5ffd5b5050604080516001600160601b03808a168252851660208201526001600160a01b038816918101919091527f7a2e316a9c20094b9155914cb3caab21339f9fc6d45d341144e1c25011031328925060600190506129ea565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015612c13573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c3791906150eb565b6001600160a01b0316336001600160a01b031614612c695760405162f0630960e01b815233600482015260240161097a565b50505050565b612c78336108cf565b612c806126d1565b6001600160a01b0316336001600160a01b031614612cb35760405163086391f760e31b815233600482015260240161097a565b5f612cbc61399a565b6004818101546005830154604051630345861d60e01b81529394506001600160a01b0390911692630345861d92612d0692600160a01b90046001600160601b0316918791016150be565b5f604051808303815f87803b158015612d1d575f80fd5b505af11580156122ae573d5f803e3d5ffd5b60408051808201909152606081525f6020820152610bc9613f2a565b612d54336108cf565b612d5c6126d1565b6001600160a01b0316336001600160a01b031614612d8f5760405163086391f760e31b815233600482015260240161097a565b5f612d9861399a565b6004818101546005830154604051635ecf260f60e01b8152600160a01b9091046001600160601b03169281019290925264ffffffffff851660248301529192506001600160a01b0390911690635ecf260f90604401612d06565b612dfb336108cf565b82612e0781601f610d9a565b5f612e1061399a565b60048181015460405163bac475b760e01b81526001600160601b03808a1693820193909352828816602482015291861660448301529192506001600160a01b039091169063bac475b7906064015f604051808303815f87803b158015612e74575f80fd5b505af1158015612e86573d5f803e3d5ffd5b505050505050505050565b5f8051602061561d833981519152546001600160a01b031690565b612eb5336108cf565b612ebd6126d1565b6001600160a01b0316336001600160a01b0316146110315760405163086391f760e31b815233600482015260240161097a565b5f612ef961399a565b546001600160a01b0316919050565b612f11336108cf565b612f196126d1565b6001600160a01b0316336001600160a01b031614612f4c5760405163086391f760e31b815233600482015260240161097a565b5f612f5561399a565b60028101549091506001600160a01b031673__$f048dbd5170c0ac319fa0222065b281d84$__63cf7601bf612f926001546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260ff86166024820152604401602060405180830381865af4158015612fdd573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061300191906150eb565b6002830180546001600160a01b0319166001600160a01b039283169081179091556040805191825260ff86166020830152918316918101919091527f0d3c2937ad932ccd841592977cdeb6dabbfb6fc4df9d7569f35a84f0864ac3c59060600161148b565b5f613070336108cf565b8361307c81601f6108de565b611299858585614007565b613090336108cf565b5f61309961399a565b60048181015460405163d44f8a4b60e01b81526001600160601b03808916938201939093526001600160a01b0387811660248301529286166044820152929350169063d44f8a4b906064015b6020604051808303815f875af1158015613101573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906131259190615133565b5050505050565b5f613136336108cf565b8261314281601f6108de565b3361314e858583614007565b50505092915050565b5f613161336108cf565b8161316d81601e610d9a565b5f61317661399a565b9050806004015f9054906101000a90046001600160a01b03166001600160a01b0316630ad044ce8560018073__$3bac17678db7ae928afa209f2f44deec9c$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af41580156131e8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061320c9190615133565b60405160e086901b6001600160e01b03191681526001600160601b0394851660048201529215156024840152901515604483015290911660648201526084016123a2565b5f61325a336108cf565b8261326681601f6108de565b5f6132e18561327d6001546001600160a01b031690565b6001600160a01b031663fff74f6c6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156132b8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906132dc9190615133565b614185565b1561331e576132ee6126d1565b9050336001600160a01b0382161461331957604051631928390360e21b815260040160405180910390fd5b613498565b60405163f2c821f760e01b81526001600160601b038616600482015273__$dacf551d137a232f87fa09e79113e25430$__9063f2c821f790602401602060405180830381865af4158015613374573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906133989190615191565b15613450576001546001600160a01b0316604051631c5da14d60e11b81526001600160601b03871660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156133f6573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061341a91906150eb565b9050336001600160a01b0382161461331957604051635520388f60e01b81526001600160601b038616600482015260240161097a565b60405162461bcd60e51b815260206004820181905260248201527f43726f73732d636861696e20746172676574206e6f7420737570706f72746564604482015260640161097a565b6134a3858583614210565b95945050505050565b6134b5336108cf565b5f6134be61399a565b60048181015460405163ea48ce9b60e01b81526001600160601b03808916938201939093526001600160a01b0387811660248301529286166044820152929350169063ea48ce9b906064016130e5565b5f613518336108cf565b8361352481601f6108de565b61353a8561327d6001546001600160a01b031690565b1561356a57604051632778739960e11b81526001600160601b03861660048201526001602482015260440161097a565b5f61357d6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03881660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156135ca573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906135ee91906150eb565b90506135fb868683614210565b9250505b509392505050565b5f8051602061561d8339815191525f8061363f613622612e91565b873061363160045f8a8c6153c4565b61363a916153eb565b614359565b91509150816122ae5763ffffffff8116156136da57825460ff60a01b1916600160a01b17835561366d612e91565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161369c93929190615423565b5f604051808303815f87803b1580156136b3575f80fd5b505af11580156136c5573d5f803e3d5ffd5b5050845460ff60a01b19168555506122ae9050565b60405162d1953b60e31b81526001600160a01b038716600482015260240161097a565b5f61370661399a565b905060ff8316601e036137b657600481810154604051634f9c1c0960e01b81526001600160601b038716928101929092526001600160a01b031690634f9c1c0990602401602060405180830381865afa158015613765573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906137899190615191565b6137b157604051632ab4595b60e11b81526001600160601b038516600482015260240161097a565b6138c5565b60ff8316601f036138c55760048082015460408051633a208dc760e01b815290516001600160a01b0390921692633a208dc79282820192602092908290030181865afa158015613808573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061382c91906150eb565b604051634f9c1c0960e01b81526001600160601b03861660048201526001600160a01b039190911690634f9c1c0990602401602060405180830381865afa158015613879573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061389d9190615191565b6138c5576040516396cff01560e01b81526001600160601b038516600482015260240161097a565b8115612c69575f6138de6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03871660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561392b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061394f91906150eb565b9050336001600160a01b0382161461312557604051630807d41d60e41b81526001600160601b03861660048201526001600160a01b038216602482015233604482015260640161097a565b7fafe8d4462b2ed26a47154f4b8f6d1497d2f772496965791d25bd456e342b7f0090565b5f805f805160206155fd83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015613a2a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613a4e9190615191565b15613a7a5780546040516301ab8b6760e21b81526001600160601b03909116600482015260240161097a565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015613acc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613af09190615191565b613b185760405163b9304b0d60e01b81526001600160a01b038416600482015260240161097a565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015613b6a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613b8e9190615133565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b5490613bda6126d1565b604051613be89291906150be565b60405180910390a1546001600160601b031692915050565b600480840154604051631170b20360e11b81526001600160a01b03909116916322e164069161091f9186918691016150be565b613c3b614461565b60405163502ec37160e01b815260040160405180910390fd5b613c5c614461565b5f805f8084806020019051810190613c749190615462565b92965090945092509050835f613c8861399a565b9050816001600160a01b031663fff74f6c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613cc6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613cea9190615133565b6005820180546001600160601b0392909216600160a01b026001600160a01b039283161790556003820180548783166001600160a01b0319918216179091556004808401805493881693909216831790915560408051633148a11d60e11b81529051636291423a928281019260209291908290030181865afa158015613d72573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613d9691906150eb565b6005820180546001600160a01b03199081166001600160a01b0393841617909155825416848216178255604080516307158bc560e51b81529051613eba9285169163e2b178a09160048083019260209291908290030181865afa158015613dff573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613e2391906150eb565b83846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015613e60573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613e849190615133565b6040805180820190915260078152665374616b696e6760c81b602082015260035f8e60405180602001604052805f8152506144ac565b611747632a9e68e360e11b61456f565b5f8051602061561d83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b60408051808201909152606081525f60208201525f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060400160405280825f018054613f7b9061514e565b80601f0160208091040260200160405190810160405280929190818152602001828054613fa79061514e565b8015613ff25780601f10613fc957610100808354040283529160200191613ff2565b820191905f5260205f20905b815481529060010190602001808311613fd557829003601f168201915b50505091835250505f60209091015292915050565b5f8061401161399a565b60048082015460405163de0eb85f60e01b81529293506001600160a01b03169163de0eb85f9161405a9189918991016001600160601b0392831681529116602082015260400190565b6020604051808303815f875af1158015614076573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061409a9190615133565b6040516330b8415f60e01b81526001600160601b038616600482015290925073__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af41580156140f3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906141179190615191565b156135ff57600281015460405163f71c4cef60e01b81526001600160a01b039091169063f71c4cef9061415090879087906004016150be565b5f604051808303815f87803b158015614167575f80fd5b505af1158015614179573d5f803e3d5ffd5b50505050509392505050565b60405163c4cade9d60e01b81526001600160601b038084166004830152821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__9063c4cade9d90604401602060405180830381865af41580156141e5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906142099190615191565b9392505050565b5f8061421a61399a565b60048082015460405163e8ce883d60e01b81529293506001600160a01b03169163e8ce883d916142639189918991016001600160601b0392831681529116602082015260400190565b6020604051808303815f875af115801561427f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906142a39190615133565b6040516330b8415f60e01b81526001600160601b038616600482015290925073__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af41580156142fc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906143209190615191565b156135ff576002810154604051630cb9145560e41b81526001600160a01b039091169063cb9145509061415090879087906004016150be565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516143c791906154b3565b5f60405180830381855afa9150503d805f81146143ff576040519150601f19603f3d011682016040523d82523d5f602084013e614404565b606091505b50915091508115614456576040815110614436578080602001905181019061442c91906154c9565b9094509250614456565b602081511061445657808060200190518101906144539190615191565b93505b505094509492505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166144aa57604051631afcd79f60e31b815260040160405180910390fd5b565b6144b4614461565b84515f036144d55760405163591eebf360e11b815260040160405180910390fd5b6144e4888888878787876145a2565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f00806145108782615542565b5060018101805460ff191685151517905561452b600b6146df565b8160010160016101000a8154816001600160a01b0302191690836001600160a01b03160217905550614563634a531f3360e01b61456f565b612e866306e9e5ff60e31b5b614577614461565b61459f816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b6145aa614461565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af4158015614600573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906146249190615191565b61464c5760405163cf6935e560e01b81526001600160a01b038816600482015260240161097a565b61465587614776565b61465f8683614787565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016146ce8382615542565b50611747634a531f3360e01b61456f565b5f6146f26001546001600160a01b031690565b6001600160a01b031663d39e604383614709612553565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561474c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061477091906150eb565b92915050565b61477e614461565b61459f816147fd565b61478f614461565b61479761480e565b6147a082614856565b6001600160a01b0381166147c75760405163f17ef42d60e01b815260040160405180910390fd5b5f805160206155fd83398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b614805614461565b61459f81613eca565b614816614461565b6144aa6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61485e614461565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af41580156148b4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906148d89190615191565b6149005760405163fdeac91f60e01b81526001600160a01b038216600482015260240161097a565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b5f60208284031215614932575f80fd5b81356001600160e01b031981168114614209575f80fd5b6001600160601b038116811461459f575f80fd5b803561496881614949565b919050565b6001600160a01b038116811461459f575f80fd5b80356149688161496d565b5f806040838503121561499d575f80fd5b82356149a881614949565b915060208301356149b88161496d565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151614a39608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152614a7d6101008401826149c3565b949350505050565b5f60208284031215614a95575f80fd5b813561420981614949565b602081525f61420960208301846149c3565b5f805f60608486031215614ac4575f80fd5b8335614acf81614949565b92506020840135614adf81614949565b91506040840135614aef8161496d565b809150509250925092565b634e487b7160e01b5f52604160045260245ffd5b60405161012081016001600160401b0381118282101715614b3157614b31614afa565b60405290565b60405160e081016001600160401b0381118282101715614b3157614b31614afa565b604051601f8201601f191681016001600160401b0381118282101715614b8157614b81614afa565b604052919050565b5f6001600160401b03821115614ba157614ba1614afa565b50601f01601f191660200190565b5f82601f830112614bbe575f80fd5b8135614bd1614bcc82614b89565b614b59565b818152846020838601011115614be5575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60208284031215614c11575f80fd5b81356001600160401b03811115614c26575f80fd5b614a7d84828501614baf565b5f8060408385031215614c43575f80fd5b8235614c4e8161496d565b915060208301356149b881614949565b60ff8116811461459f575f80fd5b803561496881614c5e565b64ffffffffff8116811461459f575f80fd5b803561496881614c77565b5f805f8060808587031215614ca7575f80fd5b8435614cb281614949565b93506020850135614cc281614c5e565b92506040850135614cd281614c77565b91506060850135614ce28161496d565b939692955090935050565b5f8060408385031215614cfe575f80fd5b8235614d098161496d565b915060208301356001600160401b03811115614d23575f80fd5b614d2f85828601614baf565b9150509250929050565b801515811461459f575f80fd5b5f805f805f805f805f806101408b8d031215614d60575f80fd5b8a35614d6b81614c5e565b995060208b0135614d7b81614d39565b985060408b0135614d8b81614d39565b975060608b0135614d9b81614d39565b965060808b0135614dab81614949565b955060a08b0135614dbb81614949565b945060c08b0135614dcb81614c77565b935060e08b0135614ddb81614c77565b92506101008b0135614dec8161496d565b9150614dfb6101208c01614981565b90509295989b9194979a5092959850565b5f8060408385031215614e1d575f80fd5b8235614c4e81614949565b5f8060408385031215614e39575f80fd5b8235614e4481614949565b915060208301356149b881614c77565b5f60208284031215614e64575f80fd5b81356142098161496d565b5f8060408385031215614e80575f80fd5b823561ffff811681146149a8575f80fd5b602081525f825160406020840152614eac60608401826149c3565b602094909401516001600160a01b0316604093909301929092525090919050565b5f805f60608486031215614edf575f80fd5b8335614eea81614949565b92506020840135614efa8161496d565b91506040840135614aef81614949565b5f805f60608486031215614f1c575f80fd5b8335614f2781614949565b92506020840135614adf8161496d565b5f805f8060808587031215614f4a575f80fd5b8435614f558161496d565b93506020850135614f658161496d565b9250604085013591506060850135614ce28161496d565b5f60208284031215614f8c575f80fd5b813561420981614c77565b5f805f60608486031215614fa9575f80fd5b8335614fb481614949565b92506020840135614efa81614949565b5f80828403610140811215614fd7575f80fd5b8335614fe281614949565b9250610120601f1982011215614ff6575f80fd5b50614fff614b0e565b61500b6020850161495d565b81526150196040850161495d565b602082015261502a60608501614c89565b604082015261503b6080850161495d565b606082015261504c60a0850161495d565b608082015261505d60c08501614c89565b60a082015261506e60e08501614c6c565b60c08201526150806101008501614981565b60e0820152615092610120850161495d565b610100820152809150509250929050565b5f602082840312156150b3575f80fd5b813561420981614c5e565b6001600160601b039290921682526001600160a01b0316602082015260400190565b80516149688161496d565b5f602082840312156150fb575f80fd5b81516142098161496d565b5f60208284031215615116575f80fd5b815162ffffff81168114614209575f80fd5b805161496881614949565b5f60208284031215615143575f80fd5b815161420981614949565b600181811c9082168061516257607f821691505b60208210810361518057634e487b7160e01b5f52602260045260245ffd5b50919050565b805161496881614d39565b5f602082840312156151a1575f80fd5b815161420981614d39565b6001600160601b03948516815292841660208401526001600160a01b03919091166040830152909116606082015260800190565b5f602082840312156151f0575f80fd5b815161420981614c77565b5f6020828403121561520b575f80fd5b81516001600160401b0381168114614209575f80fd5b5f60208284031215615231575f80fd5b5051919050565b805161496881614c5e565b5f82601f830112615252575f80fd5b8151615260614bcc82614b89565b818152846020838601011115615274575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f602082840312156152a0575f80fd5b81516001600160401b038111156152b5575f80fd5b820160e081850312156152c6575f80fd5b6152ce614b37565b6152d782615128565b81526152e560208301615128565b60208201526152f660408301615238565b604082015261530760608301615186565b6060820152615318608083016150e0565b608082015261532960a083016150e0565b60a082015260c08201516001600160401b03811115615346575f80fd5b61535286828501615243565b60c083015250949350505050565b5f8060408385031215615371575f80fd5b825161537c81614949565b60208401519092506149b881614c77565b5f6020828403121561539d575f80fd5b815161420981614c5e565b5f80604083850312156153b9575f80fd5b825161537c8161496d565b5f80858511156153d2575f80fd5b838611156153de575f80fd5b5050820193919092039150565b80356001600160e01b0319811690600484101561541c576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f805f8060808587031215615475575f80fd5b84516154808161496d565b60208601519094506154918161496d565b60408601519093506154a28161496d565b6060860151909250614ce28161496d565b5f82518060208501845e5f920191825250919050565b5f80604083850312156154da575f80fd5b82516154e581614d39565b602084015190925063ffffffff811681146149b8575f80fd5b601f82111561133557805f5260205f20601f840160051c810160208510156155235750805b601f840160051c820191505b81811015613125575f815560010161552f565b81516001600160401b0381111561555b5761555b614afa565b61556f81615569845461514e565b846154fe565b6020601f8211600181146155a1575f831561558a5750848201515b5f19600385901b1c1916600184901b178455613125565b5f84815260208120601f198516915b828110156155d057878501518255602094850194600190920191016155b0565b50848210156155ed57868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220f0fced3e36cb3336539bf0eb7bbd8f1d4a0580528dbd3d8cb1f4029bdeb7babd64736f6c634300081a0033",
2911
+ "linkReferences": {
2912
+ "contracts/shared/ContractLib.sol": {
2913
+ "ContractLib": [
1667
2914
  {
1668
2915
  "length": 20,
1669
- "start": 10776
2916
+ "start": 18078
1670
2917
  },
1671
2918
  {
1672
2919
  "length": 20,
1673
- "start": 13287
2920
+ "start": 18770
1674
2921
  }
1675
2922
  ]
1676
2923
  },
1677
- "contracts/staking/TargetManagerLib.sol": {
1678
- "TargetManagerLib": [
1679
- {
1680
- "length": 20,
1681
- "start": 3579
1682
- },
2924
+ "contracts/shared/TokenHandlerDeployerLib.sol": {
2925
+ "TokenHandlerDeployerLib": [
1683
2926
  {
1684
2927
  "length": 20,
1685
- "start": 5579
1686
- },
2928
+ "start": 2779
2929
+ }
2930
+ ]
2931
+ },
2932
+ "contracts/staking/StakingLib.sol": {
2933
+ "StakingLib": [
1687
2934
  {
1688
2935
  "length": 20,
1689
- "start": 6587
2936
+ "start": 12350
1690
2937
  }
1691
2938
  ]
1692
2939
  },
@@ -1694,35 +2941,51 @@
1694
2941
  "AmountLib": [
1695
2942
  {
1696
2943
  "length": 20,
1697
- "start": 4834
2944
+ "start": 4780
1698
2945
  },
1699
2946
  {
1700
2947
  "length": 20,
1701
- "start": 4935
2948
+ "start": 5610
1702
2949
  },
1703
2950
  {
1704
2951
  "length": 20,
1705
- "start": 8032
2952
+ "start": 7000
1706
2953
  },
1707
2954
  {
1708
2955
  "length": 20,
1709
- "start": 10947
2956
+ "start": 8587
1710
2957
  },
1711
2958
  {
1712
2959
  "length": 20,
1713
- "start": 11054
2960
+ "start": 9175
1714
2961
  },
1715
2962
  {
1716
2963
  "length": 20,
1717
- "start": 11841
2964
+ "start": 9433
1718
2965
  },
1719
2966
  {
1720
2967
  "length": 20,
1721
- "start": 12065
2968
+ "start": 12921
2969
+ },
2970
+ {
2971
+ "length": 20,
2972
+ "start": 16785
2973
+ },
2974
+ {
2975
+ "length": 20,
2976
+ "start": 17306
2977
+ }
2978
+ ]
2979
+ },
2980
+ "contracts/type/ChainId.sol": {
2981
+ "ChainIdLib": [
2982
+ {
2983
+ "length": 20,
2984
+ "start": 11024
1722
2985
  },
1723
2986
  {
1724
2987
  "length": 20,
1725
- "start": 14053
2988
+ "start": 13330
1726
2989
  }
1727
2990
  ]
1728
2991
  },
@@ -1730,19 +2993,31 @@
1730
2993
  "NftIdLib": [
1731
2994
  {
1732
2995
  "length": 20,
1733
- "start": 2364
2996
+ "start": 3339
2997
+ },
2998
+ {
2999
+ "length": 20,
3000
+ "start": 4181
1734
3001
  },
1735
3002
  {
1736
3003
  "length": 20,
1737
- "start": 3152
3004
+ "start": 10203
1738
3005
  },
1739
3006
  {
1740
3007
  "length": 20,
1741
- "start": 8717
3008
+ "start": 15048
1742
3009
  },
1743
3010
  {
1744
3011
  "length": 20,
1745
- "start": 13552
3012
+ "start": 17027
3013
+ }
3014
+ ]
3015
+ },
3016
+ "contracts/type/Seconds.sol": {
3017
+ "SecondsLib": [
3018
+ {
3019
+ "length": 20,
3020
+ "start": 8334
1746
3021
  }
1747
3022
  ]
1748
3023
  },
@@ -1750,99 +3025,99 @@
1750
3025
  "VersionLib": [
1751
3026
  {
1752
3027
  "length": 20,
1753
- "start": 2160
3028
+ "start": 3139
1754
3029
  },
1755
3030
  {
1756
3031
  "length": 20,
1757
- "start": 4294
3032
+ "start": 5138
1758
3033
  }
1759
3034
  ],
1760
3035
  "VersionPartLib": [
1761
3036
  {
1762
3037
  "length": 20,
1763
- "start": 8416
3038
+ "start": 9793
1764
3039
  }
1765
3040
  ]
1766
3041
  }
1767
3042
  },
1768
3043
  "deployedLinkReferences": {
1769
- "contracts/shared/TokenHandlerDeployerLib.sol": {
1770
- "TokenHandlerDeployerLib": [
1771
- {
1772
- "length": 20,
1773
- "start": 14876
1774
- }
1775
- ]
1776
- },
1777
- "contracts/staking/StakeManagerLib.sol": {
1778
- "StakeManagerLib": [
3044
+ "contracts/shared/ContractLib.sol": {
3045
+ "ContractLib": [
1779
3046
  {
1780
3047
  "length": 20,
1781
- "start": 3733
3048
+ "start": 17864
1782
3049
  },
1783
3050
  {
1784
3051
  "length": 20,
1785
- "start": 7347
1786
- },
3052
+ "start": 18556
3053
+ }
3054
+ ]
3055
+ },
3056
+ "contracts/shared/TokenHandlerDeployerLib.sol": {
3057
+ "TokenHandlerDeployerLib": [
1787
3058
  {
1788
3059
  "length": 20,
1789
- "start": 10562
1790
- },
3060
+ "start": 2565
3061
+ }
3062
+ ]
3063
+ },
3064
+ "contracts/staking/StakingLib.sol": {
3065
+ "StakingLib": [
1791
3066
  {
1792
3067
  "length": 20,
1793
- "start": 13073
3068
+ "start": 12136
1794
3069
  }
1795
3070
  ]
1796
3071
  },
1797
- "contracts/staking/TargetManagerLib.sol": {
1798
- "TargetManagerLib": [
3072
+ "contracts/type/Amount.sol": {
3073
+ "AmountLib": [
1799
3074
  {
1800
3075
  "length": 20,
1801
- "start": 3365
3076
+ "start": 4566
1802
3077
  },
1803
3078
  {
1804
3079
  "length": 20,
1805
- "start": 5365
3080
+ "start": 5396
1806
3081
  },
1807
3082
  {
1808
3083
  "length": 20,
1809
- "start": 6373
1810
- }
1811
- ]
1812
- },
1813
- "contracts/type/Amount.sol": {
1814
- "AmountLib": [
3084
+ "start": 6786
3085
+ },
1815
3086
  {
1816
3087
  "length": 20,
1817
- "start": 4620
3088
+ "start": 8373
1818
3089
  },
1819
3090
  {
1820
3091
  "length": 20,
1821
- "start": 4721
3092
+ "start": 8961
1822
3093
  },
1823
3094
  {
1824
3095
  "length": 20,
1825
- "start": 7818
3096
+ "start": 9219
1826
3097
  },
1827
3098
  {
1828
3099
  "length": 20,
1829
- "start": 10733
3100
+ "start": 12707
1830
3101
  },
1831
3102
  {
1832
3103
  "length": 20,
1833
- "start": 10840
3104
+ "start": 16571
1834
3105
  },
1835
3106
  {
1836
3107
  "length": 20,
1837
- "start": 11627
1838
- },
3108
+ "start": 17092
3109
+ }
3110
+ ]
3111
+ },
3112
+ "contracts/type/ChainId.sol": {
3113
+ "ChainIdLib": [
1839
3114
  {
1840
3115
  "length": 20,
1841
- "start": 11851
3116
+ "start": 10810
1842
3117
  },
1843
3118
  {
1844
3119
  "length": 20,
1845
- "start": 13839
3120
+ "start": 13116
1846
3121
  }
1847
3122
  ]
1848
3123
  },
@@ -1850,19 +3125,31 @@
1850
3125
  "NftIdLib": [
1851
3126
  {
1852
3127
  "length": 20,
1853
- "start": 2150
3128
+ "start": 3125
1854
3129
  },
1855
3130
  {
1856
3131
  "length": 20,
1857
- "start": 2938
3132
+ "start": 3967
1858
3133
  },
1859
3134
  {
1860
3135
  "length": 20,
1861
- "start": 8503
3136
+ "start": 9989
1862
3137
  },
1863
3138
  {
1864
3139
  "length": 20,
1865
- "start": 13338
3140
+ "start": 14834
3141
+ },
3142
+ {
3143
+ "length": 20,
3144
+ "start": 16813
3145
+ }
3146
+ ]
3147
+ },
3148
+ "contracts/type/Seconds.sol": {
3149
+ "SecondsLib": [
3150
+ {
3151
+ "length": 20,
3152
+ "start": 8120
1866
3153
  }
1867
3154
  ]
1868
3155
  },
@@ -1870,17 +3157,17 @@
1870
3157
  "VersionLib": [
1871
3158
  {
1872
3159
  "length": 20,
1873
- "start": 1946
3160
+ "start": 2925
1874
3161
  },
1875
3162
  {
1876
3163
  "length": 20,
1877
- "start": 4080
3164
+ "start": 4924
1878
3165
  }
1879
3166
  ],
1880
3167
  "VersionPartLib": [
1881
3168
  {
1882
3169
  "length": 20,
1883
- "start": 8202
3170
+ "start": 9579
1884
3171
  }
1885
3172
  ]
1886
3173
  }