@etherisc/gif-next 0.0.2-d13bb9e-069 → 0.0.2-d18e1c5-511

Sign up to get free protection for your applications and to get access to all the features.
Files changed (571) hide show
  1. package/README.md +91 -7
  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 +790 -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 +684 -254
  10. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +1289 -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 +456 -24
  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 -201
  19. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +215 -18
  21. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +265 -16
  23. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +473 -17
  25. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +204 -312
  27. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +431 -36
  29. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +123 -196
  31. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +629 -225
  33. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +195 -83
  35. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +102 -170
  37. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +429 -77
  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 +227 -244
  42. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +1 -1
  43. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +430 -35
  44. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +1 -1
  45. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +445 -348
  46. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +1 -1
  47. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +427 -36
  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 +805 -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 +805 -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 +805 -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 +293 -275
  69. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  70. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +805 -0
  71. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +1 -1
  72. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +175 -185
  73. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +1 -1
  74. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +343 -251
  75. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  76. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +805 -0
  77. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +1 -1
  78. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +957 -362
  79. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  80. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +805 -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} +55 -197
  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/{shared/KeyValueStore.sol/KeyValueStore.json → instance/IBaseStore.sol/IBaseStore.json} +34 -227
  87. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  88. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +578 -65
  89. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  90. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +395 -60
  91. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  92. package/artifacts/contracts/instance/Instance.sol/Instance.json +641 -119
  93. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  94. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1023 -362
  95. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  96. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +328 -92
  97. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  98. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1131 -553
  99. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  100. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +416 -131
  101. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  102. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +119 -61
  103. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  104. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +1290 -1858
  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 +46 -5
  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 +161 -193
  128. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  129. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +424 -37
  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 +116 -119
  133. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  134. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +98 -11
  135. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  136. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +137 -145
  137. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  138. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +196 -81
  139. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  140. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +153 -53
  141. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  142. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +165 -209
  143. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  144. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +430 -35
  145. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  146. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +347 -340
  147. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  148. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +144 -100
  149. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  150. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +247 -145
  151. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  152. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +131 -173
  153. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  154. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +400 -218
  155. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  156. package/artifacts/contracts/pool/Pool.sol/Pool.json +144 -191
  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 +626 -405
  161. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  162. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +187 -79
  163. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  164. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +356 -57
  165. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  166. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +142 -50
  167. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  168. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +284 -233
  169. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  170. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +430 -35
  171. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  172. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +323 -184
  173. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  174. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +153 -93
  175. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  176. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +296 -9
  177. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  178. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +209 -18
  179. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  180. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +194 -54
  181. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  182. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +140 -37
  183. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  184. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +254 -198
  185. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +1 -1
  186. package/artifacts/contracts/product/IRiskService.sol/IRiskService.json +286 -21
  187. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  188. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +320 -184
  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 -85
  193. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  194. package/artifacts/contracts/product/PricingService.sol/PricingService.json +197 -130
  195. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  196. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +134 -66
  197. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  198. package/artifacts/contracts/product/Product.sol/Product.json +274 -223
  199. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +1 -1
  200. package/artifacts/contracts/product/RiskService.sol/RiskService.json +367 -82
  201. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +1 -1
  202. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +142 -50
  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 +125 -33
  207. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  208. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +169 -37
  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/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  213. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  214. package/artifacts/contracts/registry/Registry.sol/Registry.json +169 -69
  215. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  216. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +766 -464
  217. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  218. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1074 -0
  219. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  220. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +206 -70
  221. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  222. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +118 -46
  223. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  224. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2152 -0
  225. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  226. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +47 -6
  227. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
  228. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +478 -258
  229. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  230. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +489 -20
  231. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  232. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +120 -60
  233. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  234. package/artifacts/contracts/shared/Component.sol/Component.json +113 -103
  235. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  236. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +495 -517
  237. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  238. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +154 -86
  239. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +1 -1
  240. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +544 -4
  241. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  242. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  243. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  244. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  245. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  246. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  247. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  248. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +93 -78
  249. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  250. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +432 -290
  251. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  252. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +116 -119
  253. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  254. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +36 -0
  255. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  256. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +35 -0
  257. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  258. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  259. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +167 -0
  260. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  261. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  262. package/artifacts/contracts/shared/IService.sol/IService.json +84 -2
  263. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
  264. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +2 -2
  265. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  266. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +136 -144
  267. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  268. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +42 -1
  269. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
  270. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
  271. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  272. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +37 -2
  273. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  274. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +2 -2
  275. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  276. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +171 -38
  277. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  278. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -2
  279. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  280. package/artifacts/contracts/shared/Service.sol/Service.json +84 -2
  281. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  282. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +327 -73
  283. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  284. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  285. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +1 -1
  286. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +88 -24
  287. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  288. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1492 -183
  289. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  290. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +235 -123
  291. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.dbg.json +4 -0
  292. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.json +50 -0
  293. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  294. package/artifacts/contracts/staking/Staking.sol/Staking.json +1651 -304
  295. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  296. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +470 -0
  297. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  298. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +163 -66
  299. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  300. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +295 -183
  301. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  302. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +281 -173
  303. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  304. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +121 -53
  305. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  306. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +1645 -790
  307. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.dbg.json +4 -0
  308. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.json +309 -0
  309. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  310. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +160 -88
  311. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  312. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  313. package/artifacts/contracts/type/Amount.sol/AmountLib.json +11 -11
  314. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  315. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +45 -19
  316. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.dbg.json +4 -0
  317. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.json +193 -0
  318. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  319. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +2 -2
  320. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  321. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  322. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  323. package/artifacts/contracts/type/Fee.sol/FeeLib.json +94 -38
  324. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  325. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  326. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  327. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  328. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  329. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +23 -4
  330. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  331. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  332. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  333. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +49 -50
  334. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  335. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +2 -2
  336. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  337. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +23 -4
  338. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  339. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
  340. package/artifacts/contracts/type/RequestIdSet.sol/RequestIdSet.dbg.json +4 -0
  341. package/artifacts/contracts/type/RequestIdSet.sol/RequestIdSet.json +33 -0
  342. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  343. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +69 -7
  344. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  345. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +42 -157
  346. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  347. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +64 -2
  348. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  349. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +21 -2
  350. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  351. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +2 -2
  352. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  353. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
  354. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  355. package/artifacts/contracts/type/String.sol/StrLib.json +69 -2
  356. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  357. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +37 -5
  358. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  359. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +61 -37
  360. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  361. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -21
  362. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  363. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +101 -2
  364. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
  365. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +10 -0
  366. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  367. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +95 -25
  368. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  369. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +15 -2
  370. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
  371. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +10 -0
  372. package/contracts/accounting/AccountingService.sol +274 -0
  373. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  374. package/contracts/accounting/IAccountingService.sol +47 -0
  375. package/contracts/authorization/AccessAdmin.sol +460 -272
  376. package/contracts/authorization/AccessAdminLib.sol +396 -0
  377. package/contracts/authorization/AccessManagerCloneable.sol +146 -4
  378. package/contracts/authorization/Authorization.sol +159 -211
  379. package/contracts/authorization/IAccess.sol +25 -6
  380. package/contracts/authorization/IAccessAdmin.sol +87 -78
  381. package/contracts/authorization/IAuthorization.sol +9 -37
  382. package/contracts/authorization/IServiceAuthorization.sol +57 -17
  383. package/contracts/authorization/ServiceAuthorization.sol +255 -25
  384. package/contracts/distribution/BasicDistribution.sol +21 -19
  385. package/contracts/distribution/BasicDistributionAuthorization.sol +30 -10
  386. package/contracts/distribution/Distribution.sol +45 -95
  387. package/contracts/distribution/DistributionService.sol +221 -109
  388. package/contracts/distribution/DistributionServiceManager.sol +1 -1
  389. package/contracts/distribution/IDistributionComponent.sol +4 -11
  390. package/contracts/distribution/IDistributionService.sol +38 -24
  391. package/contracts/examples/fire/FirePool.sol +24 -13
  392. package/contracts/examples/fire/FirePoolAuthorization.sol +2 -1
  393. package/contracts/examples/fire/FireProduct.sol +79 -56
  394. package/contracts/examples/fire/FireProductAuthorization.sol +3 -3
  395. package/contracts/examples/flight/FlightLib.sol +279 -0
  396. package/contracts/examples/flight/FlightOracle.sol +167 -0
  397. package/contracts/examples/flight/FlightOracleAuthorization.sol +34 -0
  398. package/contracts/examples/flight/FlightPool.sol +89 -0
  399. package/contracts/examples/flight/FlightPoolAuthorization.sol +37 -0
  400. package/contracts/examples/flight/FlightProduct.sol +470 -0
  401. package/contracts/examples/flight/FlightProductAuthorization.sol +44 -0
  402. package/contracts/examples/flight/FlightUSD.sol +26 -0
  403. package/contracts/examples/flight/originalV1.sol +396 -0
  404. package/contracts/examples/unpermissioned/SimpleDistribution.sol +43 -12
  405. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  406. package/contracts/examples/unpermissioned/SimpleOracle.sol +8 -12
  407. package/contracts/examples/unpermissioned/SimplePool.sol +36 -10
  408. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  409. package/contracts/examples/unpermissioned/SimpleProduct.sol +134 -48
  410. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  411. package/contracts/instance/BaseStore.sol +93 -0
  412. package/contracts/instance/BundleSet.sol +42 -38
  413. package/contracts/instance/IBaseStore.sol +37 -0
  414. package/contracts/instance/IInstance.sol +111 -18
  415. package/contracts/instance/IInstanceService.sol +61 -34
  416. package/contracts/instance/Instance.sol +196 -74
  417. package/contracts/instance/InstanceAdmin.sol +270 -179
  418. package/contracts/instance/InstanceAuthorizationV3.sol +152 -81
  419. package/contracts/instance/InstanceReader.sol +453 -314
  420. package/contracts/instance/InstanceService.sol +313 -264
  421. package/contracts/instance/InstanceServiceManager.sol +1 -1
  422. package/contracts/instance/InstanceStore.sol +152 -116
  423. package/contracts/instance/ProductStore.sol +290 -0
  424. package/contracts/instance/RiskSet.sol +126 -0
  425. package/contracts/instance/TargetNames.sol +10 -0
  426. package/contracts/instance/base/BalanceStore.sol +4 -6
  427. package/contracts/instance/base/ObjectCounter.sol +1 -2
  428. package/contracts/instance/base/ObjectLifecycle.sol +6 -8
  429. package/contracts/instance/base/ObjectSet.sol +31 -33
  430. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  431. package/contracts/instance/module/IBundle.sol +6 -5
  432. package/contracts/instance/module/IComponents.sol +25 -13
  433. package/contracts/instance/module/IDistribution.sol +21 -8
  434. package/contracts/instance/module/IPolicy.sol +28 -7
  435. package/contracts/instance/module/IRisk.sol +5 -0
  436. package/contracts/oracle/BasicOracle.sol +3 -7
  437. package/contracts/oracle/BasicOracleAuthorization.sol +14 -8
  438. package/contracts/oracle/IOracle.sol +9 -4
  439. package/contracts/oracle/IOracleService.sol +14 -13
  440. package/contracts/oracle/Oracle.sol +9 -24
  441. package/contracts/oracle/OracleService.sol +113 -84
  442. package/contracts/oracle/OracleServiceManager.sol +1 -1
  443. package/contracts/pool/BasicPool.sol +35 -40
  444. package/contracts/pool/BasicPoolAuthorization.sol +34 -11
  445. package/contracts/pool/BundleService.sol +112 -187
  446. package/contracts/pool/BundleServiceManager.sol +1 -1
  447. package/contracts/pool/IBundleService.sol +28 -55
  448. package/contracts/pool/IPoolComponent.sol +1 -7
  449. package/contracts/pool/IPoolService.sol +65 -66
  450. package/contracts/pool/Pool.sol +114 -136
  451. package/contracts/pool/PoolLib.sol +341 -0
  452. package/contracts/pool/PoolService.sol +308 -257
  453. package/contracts/pool/PoolServiceManager.sol +1 -1
  454. package/contracts/product/ApplicationService.sol +102 -26
  455. package/contracts/product/ApplicationServiceManager.sol +1 -1
  456. package/contracts/product/BasicProduct.sol +10 -15
  457. package/contracts/product/BasicProductAuthorization.sol +33 -12
  458. package/contracts/product/ClaimService.sol +241 -196
  459. package/contracts/product/ClaimServiceManager.sol +1 -1
  460. package/contracts/product/IApplicationService.sol +28 -3
  461. package/contracts/product/IClaimService.sol +18 -5
  462. package/contracts/product/IPolicyService.sol +34 -12
  463. package/contracts/product/IPricingService.sol +10 -9
  464. package/contracts/product/IProductComponent.sol +10 -1
  465. package/contracts/product/IRiskService.sol +25 -10
  466. package/contracts/product/PolicyService.sol +264 -305
  467. package/contracts/product/PolicyServiceLib.sol +139 -0
  468. package/contracts/product/PolicyServiceManager.sol +1 -1
  469. package/contracts/product/PricingService.sol +58 -52
  470. package/contracts/product/PricingServiceManager.sol +3 -3
  471. package/contracts/product/Product.sol +136 -77
  472. package/contracts/product/RiskService.sol +130 -37
  473. package/contracts/product/RiskServiceManager.sol +1 -1
  474. package/contracts/registry/ChainNft.sol +10 -11
  475. package/contracts/registry/IRegistry.sol +29 -27
  476. package/contracts/registry/IRegistryService.sol +6 -4
  477. package/contracts/registry/IRelease.sol +29 -0
  478. package/contracts/registry/ITransferInterceptor.sol +1 -2
  479. package/contracts/registry/Registry.sol +44 -15
  480. package/contracts/registry/RegistryAdmin.sol +107 -380
  481. package/contracts/registry/RegistryAuthorization.sol +336 -0
  482. package/contracts/registry/RegistryService.sol +41 -59
  483. package/contracts/registry/RegistryServiceManager.sol +1 -1
  484. package/contracts/registry/ReleaseAdmin.sol +195 -0
  485. package/contracts/registry/ReleaseLifecycle.sol +8 -3
  486. package/contracts/registry/ReleaseRegistry.sol +278 -244
  487. package/contracts/registry/ServiceAuthorizationV3.sol +203 -59
  488. package/contracts/registry/TokenRegistry.sol +61 -59
  489. package/contracts/shared/Component.sol +67 -125
  490. package/contracts/shared/ComponentService.sol +425 -375
  491. package/contracts/shared/ComponentServiceManager.sol +1 -1
  492. package/contracts/shared/ContractLib.sol +277 -3
  493. package/contracts/shared/IComponent.sol +6 -18
  494. package/contracts/shared/IComponentService.sol +43 -40
  495. package/contracts/shared/IInstanceLinkedComponent.sol +3 -22
  496. package/contracts/shared/ILifecycle.sol +3 -1
  497. package/contracts/shared/INftOwnable.sol +4 -0
  498. package/contracts/shared/IRegisterable.sol +22 -1
  499. package/contracts/shared/IService.sol +3 -5
  500. package/contracts/shared/InitializableERC165.sol +9 -1
  501. package/contracts/shared/InstanceLinkedComponent.sol +114 -53
  502. package/contracts/shared/Lifecycle.sol +15 -4
  503. package/contracts/shared/NftOwnable.sol +29 -7
  504. package/contracts/shared/PolicyHolder.sol +4 -3
  505. package/contracts/shared/Registerable.sol +50 -19
  506. package/contracts/shared/RegistryLinked.sol +7 -13
  507. package/contracts/shared/Service.sol +14 -34
  508. package/contracts/shared/TokenHandler.sol +275 -72
  509. package/contracts/shared/TokenHandlerDeployerLib.sol +10 -2
  510. package/contracts/staking/IStaking.sol +271 -72
  511. package/contracts/staking/IStakingService.sol +45 -78
  512. package/contracts/staking/ITargetLimitHandler.sol +17 -0
  513. package/contracts/staking/Staking.sol +524 -225
  514. package/contracts/staking/{StakeManagerLib.sol → StakingLib.sol} +55 -84
  515. package/contracts/staking/StakingManager.sol +4 -3
  516. package/contracts/staking/StakingReader.sol +70 -82
  517. package/contracts/staking/StakingService.sol +62 -148
  518. package/contracts/staking/StakingServiceManager.sol +6 -4
  519. package/contracts/staking/StakingStore.sol +1093 -330
  520. package/contracts/staking/TargetHandler.sol +132 -0
  521. package/contracts/staking/TargetManagerLib.sol +69 -46
  522. package/contracts/type/Amount.sol +4 -0
  523. package/contracts/type/Blocknumber.sol +15 -15
  524. package/contracts/type/ChainId.sol +101 -0
  525. package/contracts/type/Fee.sol +8 -8
  526. package/contracts/type/Key32.sol +2 -2
  527. package/contracts/type/Key32Set.sol +62 -0
  528. package/contracts/type/NftId.sol +6 -0
  529. package/contracts/type/ObjectType.sol +71 -68
  530. package/contracts/type/Referral.sol +6 -0
  531. package/contracts/type/RequestIdSet.sol +62 -0
  532. package/contracts/type/RiskId.sol +26 -8
  533. package/contracts/type/RoleId.sol +61 -55
  534. package/contracts/type/Seconds.sol +23 -0
  535. package/contracts/type/Selector.sol +5 -0
  536. package/contracts/type/StateId.sol +14 -1
  537. package/contracts/type/String.sol +42 -0
  538. package/contracts/type/Timestamp.sol +14 -8
  539. package/contracts/type/UFixed.sol +35 -127
  540. package/contracts/type/Version.sol +54 -5
  541. package/contracts/upgradeability/IVersionable.sol +3 -0
  542. package/contracts/upgradeability/ProxyManager.sol +27 -12
  543. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +12 -2
  544. package/contracts/upgradeability/Versionable.sol +6 -3
  545. package/package.json +5 -4
  546. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +0 -4
  547. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +0 -290
  548. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +0 -4
  549. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +0 -390
  550. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  551. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -129
  552. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +0 -4
  553. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +0 -432
  554. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  555. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +0 -4
  556. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +0 -39
  557. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  558. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +0 -4
  559. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +0 -440
  560. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +0 -4
  561. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +0 -164
  562. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +0 -4
  563. package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -16
  564. package/contracts/authorization/IModuleAuthorization.sol +0 -21
  565. package/contracts/authorization/ModuleAuthorization.sol +0 -78
  566. package/contracts/instance/module/IAccess.sol +0 -46
  567. package/contracts/shared/ComponentVerifyingService.sol +0 -116
  568. package/contracts/shared/IKeyValueStore.sol +0 -54
  569. package/contracts/shared/InitializableCustom.sol +0 -177
  570. package/contracts/shared/KeyValueStore.sol +0 -131
  571. package/contracts/staking/StakingLifecycle.sol +0 -23
@@ -12,7 +12,7 @@
12
12
  },
13
13
  {
14
14
  "internalType": "NftId",
15
- "name": "instanceNftId",
15
+ "name": "productNftId",
16
16
  "type": "uint96"
17
17
  },
18
18
  {
@@ -24,11 +24,6 @@
24
24
  "internalType": "address",
25
25
  "name": "initialOwner",
26
26
  "type": "address"
27
- },
28
- {
29
- "internalType": "address",
30
- "name": "token",
31
- "type": "address"
32
27
  }
33
28
  ],
34
29
  "stateMutability": "nonpayable",
@@ -72,41 +67,41 @@
72
67
  "name": "AccessManagedUnauthorized",
73
68
  "type": "error"
74
69
  },
75
- {
76
- "inputs": [],
77
- "name": "ErrorComponentNameLengthZero",
78
- "type": "error"
79
- },
80
70
  {
81
71
  "inputs": [
82
72
  {
83
73
  "internalType": "address",
84
- "name": "caller",
74
+ "name": "authority",
85
75
  "type": "address"
86
76
  }
87
77
  ],
88
- "name": "ErrorComponentNotChainNft",
78
+ "name": "ErrorAuthorityInvalid",
79
+ "type": "error"
80
+ },
81
+ {
82
+ "inputs": [],
83
+ "name": "ErrorComponentNameLengthZero",
89
84
  "type": "error"
90
85
  },
91
86
  {
92
87
  "inputs": [
93
88
  {
94
- "internalType": "NftId",
95
- "name": "instanceNftId",
96
- "type": "uint96"
89
+ "internalType": "address",
90
+ "name": "caller",
91
+ "type": "address"
97
92
  }
98
93
  ],
99
- "name": "ErrorComponentNotInstance",
94
+ "name": "ErrorComponentNotChainNft",
100
95
  "type": "error"
101
96
  },
102
97
  {
103
98
  "inputs": [],
104
- "name": "ErrorComponentProductNftAlreadySet",
99
+ "name": "ErrorComponentProductNftIdNonzero",
105
100
  "type": "error"
106
101
  },
107
102
  {
108
103
  "inputs": [],
109
- "name": "ErrorComponentTokenAddressZero",
104
+ "name": "ErrorComponentProductNftIdZero",
110
105
  "type": "error"
111
106
  },
112
107
  {
@@ -124,6 +119,38 @@
124
119
  "name": "ErrorComponentWalletNotComponent",
125
120
  "type": "error"
126
121
  },
122
+ {
123
+ "inputs": [
124
+ {
125
+ "internalType": "NftId",
126
+ "name": "nftId",
127
+ "type": "uint96"
128
+ },
129
+ {
130
+ "internalType": "ObjectType",
131
+ "name": "objectType",
132
+ "type": "uint8"
133
+ }
134
+ ],
135
+ "name": "ErrorInstanceLinkedComponentNotProduct",
136
+ "type": "error"
137
+ },
138
+ {
139
+ "inputs": [
140
+ {
141
+ "internalType": "ObjectType",
142
+ "name": "requiredType",
143
+ "type": "uint8"
144
+ },
145
+ {
146
+ "internalType": "ObjectType",
147
+ "name": "objectType",
148
+ "type": "uint8"
149
+ }
150
+ ],
151
+ "name": "ErrorInstanceLinkedComponentTypeMismatch",
152
+ "type": "error"
153
+ },
127
154
  {
128
155
  "inputs": [
129
156
  {
@@ -151,6 +178,22 @@
151
178
  "name": "ErrorNftOwnableInitialOwnerZero",
152
179
  "type": "error"
153
180
  },
181
+ {
182
+ "inputs": [
183
+ {
184
+ "internalType": "NftId",
185
+ "name": "nftId",
186
+ "type": "uint96"
187
+ },
188
+ {
189
+ "internalType": "ObjectType",
190
+ "name": "expectedObjectType",
191
+ "type": "uint8"
192
+ }
193
+ ],
194
+ "name": "ErrorNftOwnableInvalidType",
195
+ "type": "error"
196
+ },
154
197
  {
155
198
  "inputs": [
156
199
  {
@@ -184,6 +227,11 @@
184
227
  "name": "ErrorOracleNotImplemented",
185
228
  "type": "error"
186
229
  },
230
+ {
231
+ "inputs": [],
232
+ "name": "ErrorRegisterableNotActive",
233
+ "type": "error"
234
+ },
187
235
  {
188
236
  "inputs": [],
189
237
  "name": "InvalidInitialization",
@@ -223,6 +271,12 @@
223
271
  {
224
272
  "anonymous": false,
225
273
  "inputs": [
274
+ {
275
+ "indexed": false,
276
+ "internalType": "address",
277
+ "name": "tokenHandler",
278
+ "type": "address"
279
+ },
226
280
  {
227
281
  "indexed": false,
228
282
  "internalType": "address",
@@ -234,6 +288,12 @@
234
288
  "internalType": "Amount",
235
289
  "name": "limit",
236
290
  "type": "uint96"
291
+ },
292
+ {
293
+ "indexed": false,
294
+ "internalType": "bool",
295
+ "name": "isMaxAmount",
296
+ "type": "bool"
237
297
  }
238
298
  ],
239
299
  "name": "LogComponentTokenHandlerApproved",
@@ -283,6 +343,25 @@
283
343
  "name": "LogComponentWalletTokensTransferred",
284
344
  "type": "event"
285
345
  },
346
+ {
347
+ "anonymous": false,
348
+ "inputs": [
349
+ {
350
+ "indexed": false,
351
+ "internalType": "NftId",
352
+ "name": "nftId",
353
+ "type": "uint96"
354
+ },
355
+ {
356
+ "indexed": false,
357
+ "internalType": "address",
358
+ "name": "owner",
359
+ "type": "address"
360
+ }
361
+ ],
362
+ "name": "LogNftOwnableNftLinkedToAddress",
363
+ "type": "event"
364
+ },
286
365
  {
287
366
  "anonymous": false,
288
367
  "inputs": [
@@ -443,37 +522,6 @@
443
522
  "stateMutability": "view",
444
523
  "type": "function"
445
524
  },
446
- {
447
- "inputs": [
448
- {
449
- "internalType": "address",
450
- "name": "token",
451
- "type": "address"
452
- },
453
- {
454
- "internalType": "Amount",
455
- "name": "spendingLimitAmount",
456
- "type": "uint96"
457
- }
458
- ],
459
- "name": "approveTokenHandler",
460
- "outputs": [],
461
- "stateMutability": "nonpayable",
462
- "type": "function"
463
- },
464
- {
465
- "inputs": [
466
- {
467
- "internalType": "Amount",
468
- "name": "spendingLimitAmount",
469
- "type": "uint96"
470
- }
471
- ],
472
- "name": "approveTokenHandler",
473
- "outputs": [],
474
- "stateMutability": "nonpayable",
475
- "type": "function"
476
- },
477
525
  {
478
526
  "inputs": [],
479
527
  "name": "authority",
@@ -524,30 +572,10 @@
524
572
  "name": "name",
525
573
  "type": "string"
526
574
  },
527
- {
528
- "internalType": "NftId",
529
- "name": "productNftId",
530
- "type": "uint96"
531
- },
532
- {
533
- "internalType": "contract IERC20Metadata",
534
- "name": "token",
535
- "type": "address"
536
- },
537
575
  {
538
576
  "internalType": "contract TokenHandler",
539
577
  "name": "tokenHandler",
540
578
  "type": "address"
541
- },
542
- {
543
- "internalType": "address",
544
- "name": "wallet",
545
- "type": "address"
546
- },
547
- {
548
- "internalType": "bytes",
549
- "name": "data",
550
- "type": "bytes"
551
579
  }
552
580
  ],
553
581
  "internalType": "struct IComponents.ComponentInfo",
@@ -569,30 +597,10 @@
569
597
  "name": "name",
570
598
  "type": "string"
571
599
  },
572
- {
573
- "internalType": "NftId",
574
- "name": "productNftId",
575
- "type": "uint96"
576
- },
577
- {
578
- "internalType": "contract IERC20Metadata",
579
- "name": "token",
580
- "type": "address"
581
- },
582
600
  {
583
601
  "internalType": "contract TokenHandler",
584
602
  "name": "tokenHandler",
585
603
  "type": "address"
586
- },
587
- {
588
- "internalType": "address",
589
- "name": "wallet",
590
- "type": "address"
591
- },
592
- {
593
- "internalType": "bytes",
594
- "name": "data",
595
- "type": "bytes"
596
604
  }
597
605
  ],
598
606
  "internalType": "struct IComponents.ComponentInfo",
@@ -707,12 +715,12 @@
707
715
  },
708
716
  {
709
717
  "inputs": [],
710
- "name": "getProductNftId",
718
+ "name": "getRegistry",
711
719
  "outputs": [
712
720
  {
713
- "internalType": "NftId",
714
- "name": "productNftId",
715
- "type": "uint96"
721
+ "internalType": "contract IRegistry",
722
+ "name": "",
723
+ "type": "address"
716
724
  }
717
725
  ],
718
726
  "stateMutability": "view",
@@ -720,12 +728,12 @@
720
728
  },
721
729
  {
722
730
  "inputs": [],
723
- "name": "getRegistry",
731
+ "name": "getRelease",
724
732
  "outputs": [
725
733
  {
726
- "internalType": "contract IRegistry",
727
- "name": "",
728
- "type": "address"
734
+ "internalType": "VersionPart",
735
+ "name": "release",
736
+ "type": "uint8"
729
737
  }
730
738
  ],
731
739
  "stateMutability": "view",
@@ -757,6 +765,19 @@
757
765
  "stateMutability": "view",
758
766
  "type": "function"
759
767
  },
768
+ {
769
+ "inputs": [],
770
+ "name": "getVersion",
771
+ "outputs": [
772
+ {
773
+ "internalType": "Version",
774
+ "name": "version",
775
+ "type": "uint24"
776
+ }
777
+ ],
778
+ "stateMutability": "view",
779
+ "type": "function"
780
+ },
760
781
  {
761
782
  "inputs": [],
762
783
  "name": "getWallet",
@@ -779,7 +800,7 @@
779
800
  },
780
801
  {
781
802
  "internalType": "NftId",
782
- "name": "instanceNftId",
803
+ "name": "productNftId",
783
804
  "type": "uint96"
784
805
  },
785
806
  {
@@ -796,11 +817,6 @@
796
817
  "internalType": "string",
797
818
  "name": "name",
798
819
  "type": "string"
799
- },
800
- {
801
- "internalType": "address",
802
- "name": "token",
803
- "type": "address"
804
820
  }
805
821
  ],
806
822
  "name": "initialize",
@@ -808,6 +824,19 @@
808
824
  "stateMutability": "nonpayable",
809
825
  "type": "function"
810
826
  },
827
+ {
828
+ "inputs": [],
829
+ "name": "isActive",
830
+ "outputs": [
831
+ {
832
+ "internalType": "bool",
833
+ "name": "active",
834
+ "type": "bool"
835
+ }
836
+ ],
837
+ "stateMutability": "view",
838
+ "type": "function"
839
+ },
811
840
  {
812
841
  "inputs": [],
813
842
  "name": "isConsumingScheduledOp",
@@ -873,31 +902,6 @@
873
902
  "stateMutability": "nonpayable",
874
903
  "type": "function"
875
904
  },
876
- {
877
- "inputs": [],
878
- "name": "lock",
879
- "outputs": [],
880
- "stateMutability": "nonpayable",
881
- "type": "function"
882
- },
883
- {
884
- "inputs": [
885
- {
886
- "internalType": "address",
887
- "name": "to",
888
- "type": "address"
889
- },
890
- {
891
- "internalType": "uint256",
892
- "name": "tokenId",
893
- "type": "uint256"
894
- }
895
- ],
896
- "name": "nftMint",
897
- "outputs": [],
898
- "stateMutability": "nonpayable",
899
- "type": "function"
900
- },
901
905
  {
902
906
  "inputs": [
903
907
  {
@@ -914,6 +918,11 @@
914
918
  "internalType": "uint256",
915
919
  "name": "tokenId",
916
920
  "type": "uint256"
921
+ },
922
+ {
923
+ "internalType": "address",
924
+ "name": "operator",
925
+ "type": "address"
917
926
  }
918
927
  ],
919
928
  "name": "nftTransferFrom",
@@ -921,13 +930,6 @@
921
930
  "stateMutability": "nonpayable",
922
931
  "type": "function"
923
932
  },
924
- {
925
- "inputs": [],
926
- "name": "register",
927
- "outputs": [],
928
- "stateMutability": "nonpayable",
929
- "type": "function"
930
- },
931
933
  {
932
934
  "inputs": [
933
935
  {
@@ -1015,19 +1017,6 @@
1015
1017
  "stateMutability": "nonpayable",
1016
1018
  "type": "function"
1017
1019
  },
1018
- {
1019
- "inputs": [
1020
- {
1021
- "internalType": "address",
1022
- "name": "newWallet",
1023
- "type": "address"
1024
- }
1025
- ],
1026
- "name": "setWallet",
1027
- "outputs": [],
1028
- "stateMutability": "nonpayable",
1029
- "type": "function"
1030
- },
1031
1020
  {
1032
1021
  "inputs": [
1033
1022
  {
@@ -1047,13 +1036,6 @@
1047
1036
  "stateMutability": "view",
1048
1037
  "type": "function"
1049
1038
  },
1050
- {
1051
- "inputs": [],
1052
- "name": "unlock",
1053
- "outputs": [],
1054
- "stateMutability": "nonpayable",
1055
- "type": "function"
1056
- },
1057
1039
  {
1058
1040
  "inputs": [
1059
1041
  {
@@ -1066,7 +1048,7 @@
1066
1048
  "outputs": [
1067
1049
  {
1068
1050
  "internalType": "Amount",
1069
- "name": "withdrawnAmount",
1051
+ "name": "",
1070
1052
  "type": "uint96"
1071
1053
  }
1072
1054
  ],
@@ -1074,22 +1056,26 @@
1074
1056
  "type": "function"
1075
1057
  }
1076
1058
  ],
1077
- "bytecode": "0x608060405234801561000f575f80fd5b5060405161426b38038061426b83398101604081905261002e91610b0a565b610066858585856040518060400160405280600c81526020016b53696d706c654f7261636c6560a01b8152508661007060201b60201c565b5050505050610d32565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000810460ff1615906001600160401b03165f811580156100b95750825b90505f826001600160401b031660011480156100d45750303b155b9050811580156100e2575080155b156101005760405163f92ee8a960e01b815260040160405180910390fd5b84546001600160401b0319166001178555831561012e57845460ff60401b1916680100000000000000001785555b61013c8b8b8b8b8b8b61018f565b831561018257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050505050565b6101976101d1565b6101c986868686868660405180602001604052805f81525060405180602001604052805f81525061022160201b60201c565b505050505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff1661021f57604051631afcd79f60e31b815260040160405180910390fd5b565b6102296101d1565b61023d88888686600d8b60018c8a8a6102d0565b7faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f90061026d600d61057d565b61057d565b6001820180546001600160a01b0319166001600160a01b039290921691909117905561029a610268600b90565b81546001600160a01b0319166001600160a01b03919091161781556102c563c0d4275760e01b610698565b505050505050505050565b6102d86101d1565b5f7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0060405163bf8e179760e01b81526001600160601b038c1660048201529091506001600160a01b038c169063bf8e179790602401602060405180830381865afa158015610348573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061036c9190610b86565b81546001600160a01b0319166001600160a01b039190911690811782556040516301ffc9a760e01b8152632b1cb34b60e11b60048201526301ffc9a790602401602060405180830381865afa1580156103c7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103eb9190610ba1565b61041857604051637db5183160e11b81526001600160601b038b1660048201526024015b60405180910390fd5b80546040805163bf7e214f60e01b81529051610492926001600160a01b03169163bf7e214f9160048083019260209291908290030181865afa158015610460573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104849190610b86565b8c8c8c8c8c8b8b8b8b6106c4565b8054604080516302cd307160e01b815290516001600160a01b03909216916302cd3071916004808201926020929091908290030181865afa1580156104d9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104fd9190610b86565b6001820180546001600160a01b03199081166001600160a01b039384161790915560028301805490911691881691909117905561053b610268600b90565b6003820180546001600160a01b0319166001600160a01b039290921691909117905561056d634a531f3360e01b610698565b6101826376c9b41160e11b610698565b5f807fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f005460408051633379d27d60e21b815290516001600160a01b039092169163cde749f4916004808201926020929091908290030181865afa1580156105e6573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060a9190610bc0565b905061061e6001546001600160a01b031690565b60405163d39e604360e01b815260ff8086166004830152831660248201526001600160a01b03919091169063d39e604390604401602060405180830381865afa15801561066d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106919190610b86565b9392505050565b6106a06101d1565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b6106cc6101d1565b6106da8989878787876107c9565b6106e38a61087b565b6001600160a01b03861661070a576040516327eab2e360e11b815260040160405180910390fd5b86515f0361072b5760405163591eebf360e11b815260040160405180910390fd5b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f00806107578982610c78565b506001810180546001600160a01b0319166001600160a01b0389161790556002810180546001600160a81b0319163060ff60a01b191617600160a01b87151502179055600381016107a88382610c78565b506107b9634a531f3360e01b610698565b610182632986755f60e11b610698565b6107d16101d1565b6107db828761088f565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166001600160681b0319909116176c0100000000000000000000000060ff8716021760ff60681b19166d0100000000000000000000000000851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016108718382610c78565b5050505050505050565b6108836101d1565b61088c81610921565b50565b6108976101d1565b6108a081610932565b6108a8610a3e565b6001600160a01b0382166108cf5760405163f17ef42d60e01b815260040160405180910390fd5b507f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0080546001600160601b03166c010000000000000000000000006001600160a01b0390931692909202919091179055565b6109296101d1565b61088c81610a83565b61093a6101d1565b806001600160a01b03163b5f0361096f5760405163fdeac91f60e01b81526001600160a01b038216600482015260240161040f565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152634871d8b760e11b60048201526301ffc9a790602401602060405180830381865afa9250505080156109e9575060408051601f3d908101601f191682019092526109e691810190610ba1565b60015b610a115760405163fdeac91f60e01b81526001600160a01b038216600482015260240161040f565b80610a3a5760405163fdeac91f60e01b81526001600160a01b038316600482015260240161040f565b5050565b610a466101d1565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b7ff3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a0080546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6001600160a01b038116811461088c575f80fd5b5f805f805f60a08688031215610b1e575f80fd5b8551610b2981610af6565b60208701519095506001600160601b0381168114610b45575f80fd5b6040870151909450610b5681610af6565b6060870151909350610b6781610af6565b6080870151909250610b7881610af6565b809150509295509295909350565b5f60208284031215610b96575f80fd5b815161069181610af6565b5f60208284031215610bb1575f80fd5b81518015158114610691575f80fd5b5f60208284031215610bd0575f80fd5b815160ff81168114610691575f80fd5b634e487b7160e01b5f52604160045260245ffd5b600181811c90821680610c0857607f821691505b602082108103610c2657634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610c7357805f5260205f20601f840160051c81016020851015610c515750805b601f840160051c820191505b81811015610c70575f8155600101610c5d565b50505b505050565b81516001600160401b03811115610c9157610c91610be0565b610ca581610c9f8454610bf4565b84610c2c565b6020601f821160018114610cd7575f8315610cc05750848201515b5f19600385901b1c1916600184901b178455610c70565b5f84815260208120601f198516915b82811015610d065787850151825560209485019460019092019101610ce6565b5084821015610d2357868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b61352c80610d3f5f395ff3fe608060405234801561000f575f80fd5b5060043610610249575f3560e01c8063644c45e011610140578063b423086c116100bf578063de7b5d1411610084578063de7b5d141461054f578063deaa59df1461056c578063e7f7fb861461057f578063ea15869f14610592578063f83d08ba146105b9578063f86664d2146105c1575f80fd5b8063b423086c14610506578063bae99c991461050e578063bb1e0e5914610521578063bf7e214f14610534578063cf4ee77a1461053c575f80fd5b80638fb36037116101055780638fb360371461047857806390edbd3514610499578063a69df4b5146104ae578063a8b81cd8146104b6578063ada9652e146104f2575f80fd5b8063644c45e01461040a5780636bd1c0eb146104275780637a9e5e4b1461045757806387ef9ba01461046a578063893d20e814610470575f80fd5b80631eff4b22116101cc57806343d752d31161019157806343d752d3146103af5780634bd100e4146103b75780634c125e79146103de5780635741e5e9146103f15780635ab1bd53146103f9575f80fd5b80631eff4b221461034357806321df0da71461037857806322366844146103805780632eb3e6f414610388578063419197fe1461039c575f80fd5b8063132996041161021257806313299604146102eb578063138461e01461030b57806317d7de7c146103135780631aa3a008146103285780631c6b219014610330575f80fd5b806251884a1461024d57806301ffc9a71461027257806306caeae4146102ae5780630b29e28e146102c35780630fec111c146102d6575b5f80fd5b6102556105d4565b6040516001600160601b0390911681526020015b60405180910390f35b61029e6102803660046128a5565b6001600160e01b0319165f9081526020819052604090205460ff1690565b6040519015158152602001610269565b6102c16102bc366004612a15565b6105e6565b005b6102c16102d1366004612a95565b610676565b6102de610696565b6040516102699190612b62565b6102f3610854565b6040516001600160a01b039091168152602001610269565b610255610866565b61031b610875565b6040516102699190612bf6565b6102c1610885565b61025561033e366004612c08565b610940565b61036a7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610269565b6102f36109bd565b61029e6109cf565b61036a5f805160206134d783398151915281565b6102c16103aa366004612c37565b610ac5565b6102f3610c85565b61036a7faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f90081565b6102c16103ec366004612c6e565b610c97565b61029e610cac565b6001546001600160a01b03166102f3565b5f80516020613497833981519152546001600160601b0316610255565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b03166102f3565b6102c1610465366004612c87565b610d60565b5f61029e565b6102f3610de6565b610480610f17565b6040516001600160e01b03199091168152602001610269565b6104a1610f4c565b6040516102699190612ca2565b6102c1610f71565b61031b6040518060400160405280601b81526020017f6f7261636c6520636f6e7374616e742073796e6320616e73776572000000000081525081565b61036a5f8051602061349783398151915281565b6104a1610ff7565b6102c161051c366004612c08565b611007565b6102c161052f366004612d35565b611053565b6102f36110f0565b6102c161054a366004612d5f565b61110b565b5f805160206134d7833981519152546001600160a01b03166102f3565b6102c161057a366004612c87565b61111e565b6102c161058d366004612dbc565b611394565b61036a7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b6102c1611431565b6102c16105cf366004612dfa565b6114a5565b5f6105dd610f4c565b60200151905090565b5f604051806060016040528084151581526020018364ffffffffff1681526020018581525060405160200161061b9190612e8f565b604051602081830303815290604052905061063685826115bb565b7f925e3838f1b49d365407bb3580a651fc78742e3bd3eb1063171421beb4a6b4958585604051610667929190612ec6565b60405180910390a15050505050565b610682335b5f3661160c565b61068f858585858561170a565b5050505050565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610746573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061076a9190612ef2565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016107b2610de6565b6001600160a01b031681526020018260010180546107cf90612f0d565b80601f01602080910402602001604051908101604052809291908181526020018280546107fb90612f0d565b80156108465780601f1061081d57610100808354040283529160200191610846565b820191905f5260205f20905b81548152906001019060200180831161082957829003601f168201915b505050505081525091505090565b5f61085d610f4c565b60800151905090565b5f61087030611775565b905090565b606061087f610f4c565b51919050565b61088d610de6565b6001600160a01b0316336001600160a01b0316146108c55760405163086391f760e31b81523360048201526024015b60405180910390fd5b7faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f9005460408051630339d25960e41b815290516001600160a01b039092169163339d2590916004808201925f9290919082900301818387803b158015610928575f80fd5b505af115801561093a573d5f803e3d5ffd5b50505050565b5f610949610de6565b6001600160a01b0316336001600160a01b03161461097c5760405163086391f760e31b81523360048201526024016108bc565b6109853361067b565b60405163ca49882f60e01b815260206004820152600c60248201526b77697468647261774665657360a01b60448201526064016108bc565b5f6109c6610f4c565b60400151905090565b5f6109e26001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610a26573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a4a9190612ef2565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610aa1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108709190612f50565b610acd610de6565b6001600160a01b0316336001600160a01b031614610b005760405163086391f760e31b81523360048201526024016108bc565b30610b09610854565b6001600160a01b031614610b305760405163b6d7537f60e01b815260040160405180910390fd5b7ff1220014fdb8b69aee438722b1fe13ee4a807811a472467cee162f7b866e704e610b59610c85565b604080516001600160a01b0390921682526001600160601b03841660208301520160405180910390a1816001600160a01b031663095ea7b3610b99610c85565b60405163046e44af60e11b81526001600160601b038516600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015610bef573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c139190612f6b565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044015b6020604051808303815f875af1158015610c5c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c809190612f50565b505050565b5f610c8e610f4c565b60600151905090565b610ca03361067b565b610ca98161196e565b50565b5f610cb56109cf565b15610d30576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610d09573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610c8e9190810190612ff5565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0254600160a01b900460ff1690565b33610d696110f0565b6001600160a01b0316816001600160a01b031614610da45760405162d1953b60e31b81526001600160a01b03821660048201526024016108bc565b816001600160a01b03163b5f03610dd9576040516361798f2f60e11b81526001600160a01b03831660048201526024016108bc565b610de2826119ad565b5050565b5f805f8051602061349783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610e52573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e769190612f50565b15610f01576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610ed7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610efb91906130c5565b91505090565b54600160601b90046001600160a01b0316919050565b5f805160206134b783398151915280545f9190600160a01b900460ff16610f3e575f610efb565b638fb3603760e01b91505090565b610f5461284f565b610f5c6109cf565b15610f6957610870611a0e565b610870610ff7565b610f79610de6565b6001600160a01b0316336001600160a01b031614610fac5760405163086391f760e31b81523360048201526024016108bc565b610fb6600a611bf4565b60405163581e954760e11b81525f60048201526001600160a01b03919091169063b03d2a8e906024015b5f604051808303815f87803b158015610928575f80fd5b610fff61284f565b610870611a0e565b61100f610de6565b6001600160a01b0316336001600160a01b0316146110425760405163086391f760e31b81523360048201526024016108bc565b610ca961104d6109bd565b82610ac5565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa15801561109a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110be91906130c5565b6001600160a01b0316336001600160a01b031614610de25760405162f0630960e01b81523360048201526024016108bc565b5f805160206134b7833981519152546001600160a01b031690565b6111143361067b565b610de282826115bb565b611126610de6565b6001600160a01b0316336001600160a01b0316146111595760405163086391f760e31b81523360048201526024016108bc565b5f611162610854565b90505f61116d6109bd565b6040516370a0823160e01b81526001600160a01b03848116600483015291909116906370a0823190602401602060405180830381865afa1580156111b3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111d79190612f6b565b90506111e283611cfc565b8015610c8057604080516001600160a01b038085168252851660208201529081018290527f8f925ed35e36754081a3353f30c5686c405280f94d1cfe322ee5707833d898679060600160405180910390a1306001600160a01b038316036113435761124b610c85565b6001600160a01b03166354f0d84c838573__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b815260040161129491815260200190565b602060405180830381865af41580156112af573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112d39190612ef2565b6040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526001600160601b031660448201526064015f604051808303815f87803b158015611328575f80fd5b505af115801561133a573d5f803e3d5ffd5b50505050505050565b61134b610c85565b6001600160a01b031663c7d63d57838573__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b815260040161129491815260200190565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113db573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113ff91906130c5565b6001600160a01b0316336001600160a01b031614610c805760405162f0630960e01b81523360048201526024016108bc565b611439610de6565b6001600160a01b0316336001600160a01b03161461146c5760405163086391f760e31b81523360048201526024016108bc565b611476600a611bf4565b60405163581e954760e11b8152600160048201526001600160a01b03919091169063b03d2a8e90602401610fe0565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f811580156114e95750825b90505f826001600160401b031660011480156115045750303b155b905081158015611512575080155b156115305760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561155a57845460ff60401b1916600160401b1785555b6115688b8b8b8b8b8b611d95565b83156115ae57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050505050565b7faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f901546040516367a773bd60e11b81526001600160a01b039091169063cf4ee77a90610c409085908590600401612ec6565b5f805160206134b78339815191525f806116446116276110f0565b873061163660045f8a8c6130e0565b61163f91613107565b611dc9565b91509150816117025763ffffffff8116156116df57825460ff60a01b1916600160a01b1783556116726110f0565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016116a19392919061313f565b5f604051808303815f87803b1580156116b8575f80fd5b505af11580156116ca573d5f803e3d5ffd5b5050845460ff60a01b19168555506117029050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016108bc565b505050505050565b5f6117178385018561317e565b80519091501561172a5761172a86611ed1565b805160208201516040517f79ebe5a74e4370f670722a495368b194369cfc7be8997d68517841c3c307a3e892611765928a928a929190613218565b60405180910390a1505050505050565b5f805f8051602061349783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156117e1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118059190612f50565b156118315780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016108bc565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611883573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118a79190612f50565b6118cf5760405163b9304b0d60e01b81526001600160a01b03841660048201526024016108bc565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611921573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119459190612ef2565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b6040516001600160401b03821681527fb63fd0f73fdf39db6db268f3ff7ee59fdad31d592b7faff69608adc0312225ab9060200160405180910390a150565b5f805160206134b783398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad906020015b60405180910390a15050565b611a1661284f565b5f611a296001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015611a6d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a919190612ef2565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611aea573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b0e9190612f50565b15611bec577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b03166001600160a01b031663f0ea17c3611b6a5f80516020613497833981519152546001600160601b031690565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015611bab573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611bd2919081019061325a565b60808101519092506001600160a01b031615611bec575090565b610efb611f99565b5f805f805160206134d78339815191525460408051633379d27d60e21b815290516001600160a01b039092169163cde749f4916004808201926020929091908290030181865afa158015611c4a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c6e9190613332565b9050611c826001546001600160a01b031690565b60405163d39e604360e01b815260ff8086166004830152831660248201526001600160a01b03919091169063d39e604390604401602060405180830381865afa158015611cd1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cf591906130c5565b9392505050565b611d04610de6565b6001600160a01b0316336001600160a01b031614611d375760405163086391f760e31b81523360048201526024016108bc565b611d41600b611bf4565b60405163deaa59df60e01b81526001600160a01b038381166004830152919091169063deaa59df906024015f604051808303815f87803b158015611d83575f80fd5b505af115801561068f573d5f803e3d5ffd5b611d9d612110565b61170286868686868660405180602001604052805f81525060405180602001604052805f81525061215b565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611e37919061334d565b5f60405180830381855afa9150503d805f8114611e6f576040519150601f19603f3d011682016040523d82523d5f602084013e611e74565b606091505b50915091508115611ec6576040815110611ea65780806020019051810190611e9c9190613363565b9094509250611ec6565b6020815110611ec65780806020019051810190611ec39190612f50565b93505b505094509492505050565b5f6040518060400160405280601b81526020017f6f7261636c6520636f6e7374616e742073796e6320616e737765720000000000815250604051602001611f189190612bf6565b6040516020818303038152906040529050611f3382826115bb565b7f0a858417ad6c170851e15bdb7f5fef061814ba176a976d7468e9e97588608fbc826040518060400160405280601b81526020017f6f7261636c6520636f6e7374616e742073796e6320616e737765720000000000815250604051611a02929190612ec6565b611fa161284f565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060c00160405280825f018054611fde90612f0d565b80601f016020809104026020016040519081016040528092919081815260200182805461200a90612f0d565b80156120555780601f1061202c57610100808354040283529160200191612055565b820191905f5260205f20905b81548152906001019060200180831161203857829003601f168201915b5050505050815260200173__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156120a6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120ca9190612ef2565b6001600160601b0316815260018301546001600160a01b0390811660208301525f604083015260028401541660608201526003830180546080909201916107cf90612f0d565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661215957604051631afcd79f60e31b815260040160405180910390fd5b565b612163612110565b61217788888686600d8b60018c8a8a612204565b7faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f9006121a2600d611bf4565b6001820180546001600160a01b0319166001600160a01b03929092169190911790556121ce600b611bf4565b81546001600160a01b0319166001600160a01b03919091161781556121f963c0d4275760e01b612494565b505050505050505050565b61220c612110565b5f5f805160206134d783398151915260405163bf8e179760e01b81526001600160601b038c1660048201529091506001600160a01b038c169063bf8e179790602401602060405180830381865afa158015612269573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061228d91906130c5565b81546001600160a01b0319166001600160a01b039190911690811782556040516301ffc9a760e01b8152632b1cb34b60e11b60048201526301ffc9a790602401602060405180830381865afa1580156122e8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061230c9190612f50565b61233457604051637db5183160e11b81526001600160601b038b1660048201526024016108bc565b80546040805163bf7e214f60e01b815290516123ae926001600160a01b03169163bf7e214f9160048083019260209291908290030181865afa15801561237c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123a091906130c5565b8c8c8c8c8c8b8b8b8b6124c0565b8054604080516302cd307160e01b815290516001600160a01b03909216916302cd3071916004808201926020929091908290030181865afa1580156123f5573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061241991906130c5565b6001820180546001600160a01b03199081166001600160a01b0393841617909155600283018054909116918816919091179055612456600b611bf4565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055612488634a531f3360e01b612494565b6115ae6376c9b41160e11b5b61249c612110565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b6124c8612110565b6124d68989878787876125c5565b6124df8a61266a565b6001600160a01b038616612506576040516327eab2e360e11b815260040160405180910390fd5b86515f036125275760405163591eebf360e11b815260040160405180910390fd5b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f008061255389826133dc565b506001810180546001600160a01b0319166001600160a01b0389161790556002810180546001600160a81b0319163060ff60a01b191617600160a01b87151502179055600381016125a483826133dc565b506125b5634a531f3360e01b612494565b6115ae632986755f60e11b612494565b6125cd612110565b6125d7828761267b565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30161266083826133dc565b5050505050505050565b612672612110565b610ca9816126f1565b612683612110565b61268c81612702565b61269461280a565b6001600160a01b0382166126bb5760405163f17ef42d60e01b815260040160405180910390fd5b505f8051602061349783398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6126f9612110565b610ca9816119ad565b61270a612110565b806001600160a01b03163b5f0361273f5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016108bc565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152634871d8b760e11b60048201526301ffc9a790602401602060405180830381865afa9250505080156127b9575060408051601f3d908101601f191682019092526127b691810190612f50565b60015b6127e15760405163fdeac91f60e01b81526001600160a01b03821660048201526024016108bc565b80610de25760405163fdeac91f60e01b81526001600160a01b03831660048201526024016108bc565b612812612110565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6040518060c00160405280606081526020015f6001600160601b031681526020015f6001600160a01b031681526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b5f602082840312156128b5575f80fd5b81356001600160e01b031981168114611cf5575f80fd5b80356001600160401b03811681146128e2575f80fd5b919050565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b038111828210171561291d5761291d6128e7565b60405290565b60405160c081016001600160401b038111828210171561291d5761291d6128e7565b604051601f8201601f191681016001600160401b038111828210171561296d5761296d6128e7565b604052919050565b5f6001600160401b0382111561298d5761298d6128e7565b50601f01601f191660200190565b5f6129ad6129a884612975565b612945565b90508281528383830111156129c0575f80fd5b828260208301375f602084830101529392505050565b5f82601f8301126129e5575f80fd5b611cf58383356020850161299b565b8015158114610ca9575f80fd5b803564ffffffffff811681146128e2575f80fd5b5f805f8060808587031215612a28575f80fd5b612a31856128cc565b935060208501356001600160401b03811115612a4b575f80fd5b612a57878288016129d6565b9350506040850135612a68816129f4565b9150612a7660608601612a01565b905092959194509250565b6001600160601b0381168114610ca9575f80fd5b5f805f805f60808688031215612aa9575f80fd5b612ab2866128cc565b94506020860135612ac281612a81565b935060408601356001600160401b03811115612adc575f80fd5b8601601f81018813612aec575f80fd5b80356001600160401b03811115612b01575f80fd5b886020828401011115612b12575f80fd5b60209190910193509150612b2860608701612a01565b90509295509295909350565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612baa608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152612bee610100840182612b34565b949350505050565b602081525f611cf56020830184612b34565b5f60208284031215612c18575f80fd5b8135611cf581612a81565b6001600160a01b0381168114610ca9575f80fd5b5f8060408385031215612c48575f80fd5b8235612c5381612c23565b91506020830135612c6381612a81565b809150509250929050565b5f60208284031215612c7e575f80fd5b611cf5826128cc565b5f60208284031215612c97575f80fd5b8135611cf581612c23565b602081525f825160c06020840152612cbd60e0840182612b34565b90506001600160601b03602085015116604084015260018060a01b03604085015116606084015260018060a01b0360608501511660808401526080840151612d1060a08501826001600160a01b03169052565b5060a0840151838203601f190160c0850152612d2c8282612b34565b95945050505050565b5f8060408385031215612d46575f80fd5b8235612d5181612c23565b946020939093013593505050565b5f8060408385031215612d70575f80fd5b612d79836128cc565b915060208301356001600160401b03811115612d93575f80fd5b8301601f81018513612da3575f80fd5b612db28582356020840161299b565b9150509250929050565b5f805f60608486031215612dce575f80fd5b8335612dd981612c23565b92506020840135612de981612c23565b929592945050506040919091013590565b5f805f805f8060c08789031215612e0f575f80fd5b8635612e1a81612c23565b95506020870135612e2a81612a81565b94506040870135612e3a81612c23565b93506060870135612e4a81612c23565b925060808701356001600160401b03811115612e64575f80fd5b612e7089828a016129d6565b92505060a0870135612e8181612c23565b809150509295509295509295565b6020815281511515602082015264ffffffffff60208301511660408201525f6040830151606080840152612bee6080840182612b34565b6001600160401b0383168152604060208201525f612bee6040830184612b34565b80516128e281612a81565b5f60208284031215612f02575f80fd5b8151611cf581612a81565b600181811c90821680612f2157607f821691505b602082108103612f3f57634e487b7160e01b5f52602260045260245ffd5b50919050565b80516128e2816129f4565b5f60208284031215612f60575f80fd5b8151611cf5816129f4565b5f60208284031215612f7b575f80fd5b5051919050565b60ff81168114610ca9575f80fd5b80516128e281612f82565b80516128e281612c23565b5f82601f830112612fb5575f80fd5b8151602083015f612fc86129a884612975565b9050828152858383011115612fdb575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f60208284031215613005575f80fd5b81516001600160401b0381111561301a575f80fd5b820160e0818503121561302b575f80fd5b6130336128fb565b61303c82612ee7565b815261304a60208301612ee7565b602082015261305b60408301612f90565b604082015261306c60608301612f45565b606082015261307d60808301612f9b565b608082015261308e60a08301612f9b565b60a082015260c08201516001600160401b038111156130ab575f80fd5b6130b786828501612fa6565b60c083015250949350505050565b5f602082840312156130d5575f80fd5b8151611cf581612c23565b5f80858511156130ee575f80fd5b838611156130fa575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015613138576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f6020828403121561318e575f80fd5b81356001600160401b038111156131a3575f80fd5b8201604081850312156131b4575f80fd5b604080519081016001600160401b03811182821017156131d6576131d66128e7565b60405281356131e4816129f4565b815260208201356001600160401b038111156131fe575f80fd5b61320a868285016129d6565b602083015250949350505050565b6001600160401b03851681526001600160601b03841660208201528215156040820152608060608201525f6132506080830184612b34565b9695505050505050565b5f6020828403121561326a575f80fd5b81516001600160401b0381111561327f575f80fd5b820160c08185031215613290575f80fd5b613298612923565b81516001600160401b038111156132ad575f80fd5b6132b986828501612fa6565b8252506132c860208301612ee7565b60208201526132d960408301612f9b565b60408201526132ea60608301612f9b565b60608201526132fb60808301612f9b565b608082015260a08201516001600160401b03811115613318575f80fd5b61332486828501612fa6565b60a083015250949350505050565b5f60208284031215613342575f80fd5b8151611cf581612f82565b5f82518060208501845e5f920191825250919050565b5f8060408385031215613374575f80fd5b825161337f816129f4565b602084015190925063ffffffff81168114612c63575f80fd5b601f821115610c8057805f5260205f20601f840160051c810160208510156133bd5750805b601f840160051c820191505b8181101561068f575f81556001016133c9565b81516001600160401b038111156133f5576133f56128e7565b613409816134038454612f0d565b84613398565b6020601f82116001811461343b575f83156134245750848201515b5f19600385901b1c1916600184901b17845561068f565b5f84815260208120601f198516915b8281101561346a578785015182556020948501946001909201910161344a565b508482101561348757868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00ffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00a26469706673582212202a396212806ff65215e24e163369f9ef2defe8ea78861de7959ea27f0a3c809d64736f6c634300081a0033",
1078
- "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610249575f3560e01c8063644c45e011610140578063b423086c116100bf578063de7b5d1411610084578063de7b5d141461054f578063deaa59df1461056c578063e7f7fb861461057f578063ea15869f14610592578063f83d08ba146105b9578063f86664d2146105c1575f80fd5b8063b423086c14610506578063bae99c991461050e578063bb1e0e5914610521578063bf7e214f14610534578063cf4ee77a1461053c575f80fd5b80638fb36037116101055780638fb360371461047857806390edbd3514610499578063a69df4b5146104ae578063a8b81cd8146104b6578063ada9652e146104f2575f80fd5b8063644c45e01461040a5780636bd1c0eb146104275780637a9e5e4b1461045757806387ef9ba01461046a578063893d20e814610470575f80fd5b80631eff4b22116101cc57806343d752d31161019157806343d752d3146103af5780634bd100e4146103b75780634c125e79146103de5780635741e5e9146103f15780635ab1bd53146103f9575f80fd5b80631eff4b221461034357806321df0da71461037857806322366844146103805780632eb3e6f414610388578063419197fe1461039c575f80fd5b8063132996041161021257806313299604146102eb578063138461e01461030b57806317d7de7c146103135780631aa3a008146103285780631c6b219014610330575f80fd5b806251884a1461024d57806301ffc9a71461027257806306caeae4146102ae5780630b29e28e146102c35780630fec111c146102d6575b5f80fd5b6102556105d4565b6040516001600160601b0390911681526020015b60405180910390f35b61029e6102803660046128a5565b6001600160e01b0319165f9081526020819052604090205460ff1690565b6040519015158152602001610269565b6102c16102bc366004612a15565b6105e6565b005b6102c16102d1366004612a95565b610676565b6102de610696565b6040516102699190612b62565b6102f3610854565b6040516001600160a01b039091168152602001610269565b610255610866565b61031b610875565b6040516102699190612bf6565b6102c1610885565b61025561033e366004612c08565b610940565b61036a7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610269565b6102f36109bd565b61029e6109cf565b61036a5f805160206134d783398151915281565b6102c16103aa366004612c37565b610ac5565b6102f3610c85565b61036a7faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f90081565b6102c16103ec366004612c6e565b610c97565b61029e610cac565b6001546001600160a01b03166102f3565b5f80516020613497833981519152546001600160601b0316610255565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b03166102f3565b6102c1610465366004612c87565b610d60565b5f61029e565b6102f3610de6565b610480610f17565b6040516001600160e01b03199091168152602001610269565b6104a1610f4c565b6040516102699190612ca2565b6102c1610f71565b61031b6040518060400160405280601b81526020017f6f7261636c6520636f6e7374616e742073796e6320616e73776572000000000081525081565b61036a5f8051602061349783398151915281565b6104a1610ff7565b6102c161051c366004612c08565b611007565b6102c161052f366004612d35565b611053565b6102f36110f0565b6102c161054a366004612d5f565b61110b565b5f805160206134d7833981519152546001600160a01b03166102f3565b6102c161057a366004612c87565b61111e565b6102c161058d366004612dbc565b611394565b61036a7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b6102c1611431565b6102c16105cf366004612dfa565b6114a5565b5f6105dd610f4c565b60200151905090565b5f604051806060016040528084151581526020018364ffffffffff1681526020018581525060405160200161061b9190612e8f565b604051602081830303815290604052905061063685826115bb565b7f925e3838f1b49d365407bb3580a651fc78742e3bd3eb1063171421beb4a6b4958585604051610667929190612ec6565b60405180910390a15050505050565b610682335b5f3661160c565b61068f858585858561170a565b5050505050565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610746573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061076a9190612ef2565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016107b2610de6565b6001600160a01b031681526020018260010180546107cf90612f0d565b80601f01602080910402602001604051908101604052809291908181526020018280546107fb90612f0d565b80156108465780601f1061081d57610100808354040283529160200191610846565b820191905f5260205f20905b81548152906001019060200180831161082957829003601f168201915b505050505081525091505090565b5f61085d610f4c565b60800151905090565b5f61087030611775565b905090565b606061087f610f4c565b51919050565b61088d610de6565b6001600160a01b0316336001600160a01b0316146108c55760405163086391f760e31b81523360048201526024015b60405180910390fd5b7faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f9005460408051630339d25960e41b815290516001600160a01b039092169163339d2590916004808201925f9290919082900301818387803b158015610928575f80fd5b505af115801561093a573d5f803e3d5ffd5b50505050565b5f610949610de6565b6001600160a01b0316336001600160a01b03161461097c5760405163086391f760e31b81523360048201526024016108bc565b6109853361067b565b60405163ca49882f60e01b815260206004820152600c60248201526b77697468647261774665657360a01b60448201526064016108bc565b5f6109c6610f4c565b60400151905090565b5f6109e26001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610a26573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a4a9190612ef2565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610aa1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108709190612f50565b610acd610de6565b6001600160a01b0316336001600160a01b031614610b005760405163086391f760e31b81523360048201526024016108bc565b30610b09610854565b6001600160a01b031614610b305760405163b6d7537f60e01b815260040160405180910390fd5b7ff1220014fdb8b69aee438722b1fe13ee4a807811a472467cee162f7b866e704e610b59610c85565b604080516001600160a01b0390921682526001600160601b03841660208301520160405180910390a1816001600160a01b031663095ea7b3610b99610c85565b60405163046e44af60e11b81526001600160601b038516600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015610bef573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c139190612f6b565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044015b6020604051808303815f875af1158015610c5c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c809190612f50565b505050565b5f610c8e610f4c565b60600151905090565b610ca03361067b565b610ca98161196e565b50565b5f610cb56109cf565b15610d30576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610d09573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610c8e9190810190612ff5565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0254600160a01b900460ff1690565b33610d696110f0565b6001600160a01b0316816001600160a01b031614610da45760405162d1953b60e31b81526001600160a01b03821660048201526024016108bc565b816001600160a01b03163b5f03610dd9576040516361798f2f60e11b81526001600160a01b03831660048201526024016108bc565b610de2826119ad565b5050565b5f805f8051602061349783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610e52573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e769190612f50565b15610f01576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610ed7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610efb91906130c5565b91505090565b54600160601b90046001600160a01b0316919050565b5f805160206134b783398151915280545f9190600160a01b900460ff16610f3e575f610efb565b638fb3603760e01b91505090565b610f5461284f565b610f5c6109cf565b15610f6957610870611a0e565b610870610ff7565b610f79610de6565b6001600160a01b0316336001600160a01b031614610fac5760405163086391f760e31b81523360048201526024016108bc565b610fb6600a611bf4565b60405163581e954760e11b81525f60048201526001600160a01b03919091169063b03d2a8e906024015b5f604051808303815f87803b158015610928575f80fd5b610fff61284f565b610870611a0e565b61100f610de6565b6001600160a01b0316336001600160a01b0316146110425760405163086391f760e31b81523360048201526024016108bc565b610ca961104d6109bd565b82610ac5565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa15801561109a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110be91906130c5565b6001600160a01b0316336001600160a01b031614610de25760405162f0630960e01b81523360048201526024016108bc565b5f805160206134b7833981519152546001600160a01b031690565b6111143361067b565b610de282826115bb565b611126610de6565b6001600160a01b0316336001600160a01b0316146111595760405163086391f760e31b81523360048201526024016108bc565b5f611162610854565b90505f61116d6109bd565b6040516370a0823160e01b81526001600160a01b03848116600483015291909116906370a0823190602401602060405180830381865afa1580156111b3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111d79190612f6b565b90506111e283611cfc565b8015610c8057604080516001600160a01b038085168252851660208201529081018290527f8f925ed35e36754081a3353f30c5686c405280f94d1cfe322ee5707833d898679060600160405180910390a1306001600160a01b038316036113435761124b610c85565b6001600160a01b03166354f0d84c838573__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b815260040161129491815260200190565b602060405180830381865af41580156112af573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112d39190612ef2565b6040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526001600160601b031660448201526064015f604051808303815f87803b158015611328575f80fd5b505af115801561133a573d5f803e3d5ffd5b50505050505050565b61134b610c85565b6001600160a01b031663c7d63d57838573__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b815260040161129491815260200190565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113db573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113ff91906130c5565b6001600160a01b0316336001600160a01b031614610c805760405162f0630960e01b81523360048201526024016108bc565b611439610de6565b6001600160a01b0316336001600160a01b03161461146c5760405163086391f760e31b81523360048201526024016108bc565b611476600a611bf4565b60405163581e954760e11b8152600160048201526001600160a01b03919091169063b03d2a8e90602401610fe0565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f811580156114e95750825b90505f826001600160401b031660011480156115045750303b155b905081158015611512575080155b156115305760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561155a57845460ff60401b1916600160401b1785555b6115688b8b8b8b8b8b611d95565b83156115ae57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050505050565b7faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f901546040516367a773bd60e11b81526001600160a01b039091169063cf4ee77a90610c409085908590600401612ec6565b5f805160206134b78339815191525f806116446116276110f0565b873061163660045f8a8c6130e0565b61163f91613107565b611dc9565b91509150816117025763ffffffff8116156116df57825460ff60a01b1916600160a01b1783556116726110f0565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016116a19392919061313f565b5f604051808303815f87803b1580156116b8575f80fd5b505af11580156116ca573d5f803e3d5ffd5b5050845460ff60a01b19168555506117029050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016108bc565b505050505050565b5f6117178385018561317e565b80519091501561172a5761172a86611ed1565b805160208201516040517f79ebe5a74e4370f670722a495368b194369cfc7be8997d68517841c3c307a3e892611765928a928a929190613218565b60405180910390a1505050505050565b5f805f8051602061349783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156117e1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118059190612f50565b156118315780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016108bc565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611883573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118a79190612f50565b6118cf5760405163b9304b0d60e01b81526001600160a01b03841660048201526024016108bc565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611921573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119459190612ef2565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b6040516001600160401b03821681527fb63fd0f73fdf39db6db268f3ff7ee59fdad31d592b7faff69608adc0312225ab9060200160405180910390a150565b5f805160206134b783398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad906020015b60405180910390a15050565b611a1661284f565b5f611a296001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015611a6d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a919190612ef2565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611aea573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b0e9190612f50565b15611bec577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b03166001600160a01b031663f0ea17c3611b6a5f80516020613497833981519152546001600160601b031690565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015611bab573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611bd2919081019061325a565b60808101519092506001600160a01b031615611bec575090565b610efb611f99565b5f805f805160206134d78339815191525460408051633379d27d60e21b815290516001600160a01b039092169163cde749f4916004808201926020929091908290030181865afa158015611c4a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c6e9190613332565b9050611c826001546001600160a01b031690565b60405163d39e604360e01b815260ff8086166004830152831660248201526001600160a01b03919091169063d39e604390604401602060405180830381865afa158015611cd1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cf591906130c5565b9392505050565b611d04610de6565b6001600160a01b0316336001600160a01b031614611d375760405163086391f760e31b81523360048201526024016108bc565b611d41600b611bf4565b60405163deaa59df60e01b81526001600160a01b038381166004830152919091169063deaa59df906024015f604051808303815f87803b158015611d83575f80fd5b505af115801561068f573d5f803e3d5ffd5b611d9d612110565b61170286868686868660405180602001604052805f81525060405180602001604052805f81525061215b565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611e37919061334d565b5f60405180830381855afa9150503d805f8114611e6f576040519150601f19603f3d011682016040523d82523d5f602084013e611e74565b606091505b50915091508115611ec6576040815110611ea65780806020019051810190611e9c9190613363565b9094509250611ec6565b6020815110611ec65780806020019051810190611ec39190612f50565b93505b505094509492505050565b5f6040518060400160405280601b81526020017f6f7261636c6520636f6e7374616e742073796e6320616e737765720000000000815250604051602001611f189190612bf6565b6040516020818303038152906040529050611f3382826115bb565b7f0a858417ad6c170851e15bdb7f5fef061814ba176a976d7468e9e97588608fbc826040518060400160405280601b81526020017f6f7261636c6520636f6e7374616e742073796e6320616e737765720000000000815250604051611a02929190612ec6565b611fa161284f565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060c00160405280825f018054611fde90612f0d565b80601f016020809104026020016040519081016040528092919081815260200182805461200a90612f0d565b80156120555780601f1061202c57610100808354040283529160200191612055565b820191905f5260205f20905b81548152906001019060200180831161203857829003601f168201915b5050505050815260200173__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156120a6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120ca9190612ef2565b6001600160601b0316815260018301546001600160a01b0390811660208301525f604083015260028401541660608201526003830180546080909201916107cf90612f0d565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661215957604051631afcd79f60e31b815260040160405180910390fd5b565b612163612110565b61217788888686600d8b60018c8a8a612204565b7faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f9006121a2600d611bf4565b6001820180546001600160a01b0319166001600160a01b03929092169190911790556121ce600b611bf4565b81546001600160a01b0319166001600160a01b03919091161781556121f963c0d4275760e01b612494565b505050505050505050565b61220c612110565b5f5f805160206134d783398151915260405163bf8e179760e01b81526001600160601b038c1660048201529091506001600160a01b038c169063bf8e179790602401602060405180830381865afa158015612269573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061228d91906130c5565b81546001600160a01b0319166001600160a01b039190911690811782556040516301ffc9a760e01b8152632b1cb34b60e11b60048201526301ffc9a790602401602060405180830381865afa1580156122e8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061230c9190612f50565b61233457604051637db5183160e11b81526001600160601b038b1660048201526024016108bc565b80546040805163bf7e214f60e01b815290516123ae926001600160a01b03169163bf7e214f9160048083019260209291908290030181865afa15801561237c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123a091906130c5565b8c8c8c8c8c8b8b8b8b6124c0565b8054604080516302cd307160e01b815290516001600160a01b03909216916302cd3071916004808201926020929091908290030181865afa1580156123f5573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061241991906130c5565b6001820180546001600160a01b03199081166001600160a01b0393841617909155600283018054909116918816919091179055612456600b611bf4565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055612488634a531f3360e01b612494565b6115ae6376c9b41160e11b5b61249c612110565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b6124c8612110565b6124d68989878787876125c5565b6124df8a61266a565b6001600160a01b038616612506576040516327eab2e360e11b815260040160405180910390fd5b86515f036125275760405163591eebf360e11b815260040160405180910390fd5b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f008061255389826133dc565b506001810180546001600160a01b0319166001600160a01b0389161790556002810180546001600160a81b0319163060ff60a01b191617600160a01b87151502179055600381016125a483826133dc565b506125b5634a531f3360e01b612494565b6115ae632986755f60e11b612494565b6125cd612110565b6125d7828761267b565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30161266083826133dc565b5050505050505050565b612672612110565b610ca9816126f1565b612683612110565b61268c81612702565b61269461280a565b6001600160a01b0382166126bb5760405163f17ef42d60e01b815260040160405180910390fd5b505f8051602061349783398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6126f9612110565b610ca9816119ad565b61270a612110565b806001600160a01b03163b5f0361273f5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016108bc565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152634871d8b760e11b60048201526301ffc9a790602401602060405180830381865afa9250505080156127b9575060408051601f3d908101601f191682019092526127b691810190612f50565b60015b6127e15760405163fdeac91f60e01b81526001600160a01b03821660048201526024016108bc565b80610de25760405163fdeac91f60e01b81526001600160a01b03831660048201526024016108bc565b612812612110565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6040518060c00160405280606081526020015f6001600160601b031681526020015f6001600160a01b031681526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b5f602082840312156128b5575f80fd5b81356001600160e01b031981168114611cf5575f80fd5b80356001600160401b03811681146128e2575f80fd5b919050565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b038111828210171561291d5761291d6128e7565b60405290565b60405160c081016001600160401b038111828210171561291d5761291d6128e7565b604051601f8201601f191681016001600160401b038111828210171561296d5761296d6128e7565b604052919050565b5f6001600160401b0382111561298d5761298d6128e7565b50601f01601f191660200190565b5f6129ad6129a884612975565b612945565b90508281528383830111156129c0575f80fd5b828260208301375f602084830101529392505050565b5f82601f8301126129e5575f80fd5b611cf58383356020850161299b565b8015158114610ca9575f80fd5b803564ffffffffff811681146128e2575f80fd5b5f805f8060808587031215612a28575f80fd5b612a31856128cc565b935060208501356001600160401b03811115612a4b575f80fd5b612a57878288016129d6565b9350506040850135612a68816129f4565b9150612a7660608601612a01565b905092959194509250565b6001600160601b0381168114610ca9575f80fd5b5f805f805f60808688031215612aa9575f80fd5b612ab2866128cc565b94506020860135612ac281612a81565b935060408601356001600160401b03811115612adc575f80fd5b8601601f81018813612aec575f80fd5b80356001600160401b03811115612b01575f80fd5b886020828401011115612b12575f80fd5b60209190910193509150612b2860608701612a01565b90509295509295909350565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612baa608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152612bee610100840182612b34565b949350505050565b602081525f611cf56020830184612b34565b5f60208284031215612c18575f80fd5b8135611cf581612a81565b6001600160a01b0381168114610ca9575f80fd5b5f8060408385031215612c48575f80fd5b8235612c5381612c23565b91506020830135612c6381612a81565b809150509250929050565b5f60208284031215612c7e575f80fd5b611cf5826128cc565b5f60208284031215612c97575f80fd5b8135611cf581612c23565b602081525f825160c06020840152612cbd60e0840182612b34565b90506001600160601b03602085015116604084015260018060a01b03604085015116606084015260018060a01b0360608501511660808401526080840151612d1060a08501826001600160a01b03169052565b5060a0840151838203601f190160c0850152612d2c8282612b34565b95945050505050565b5f8060408385031215612d46575f80fd5b8235612d5181612c23565b946020939093013593505050565b5f8060408385031215612d70575f80fd5b612d79836128cc565b915060208301356001600160401b03811115612d93575f80fd5b8301601f81018513612da3575f80fd5b612db28582356020840161299b565b9150509250929050565b5f805f60608486031215612dce575f80fd5b8335612dd981612c23565b92506020840135612de981612c23565b929592945050506040919091013590565b5f805f805f8060c08789031215612e0f575f80fd5b8635612e1a81612c23565b95506020870135612e2a81612a81565b94506040870135612e3a81612c23565b93506060870135612e4a81612c23565b925060808701356001600160401b03811115612e64575f80fd5b612e7089828a016129d6565b92505060a0870135612e8181612c23565b809150509295509295509295565b6020815281511515602082015264ffffffffff60208301511660408201525f6040830151606080840152612bee6080840182612b34565b6001600160401b0383168152604060208201525f612bee6040830184612b34565b80516128e281612a81565b5f60208284031215612f02575f80fd5b8151611cf581612a81565b600181811c90821680612f2157607f821691505b602082108103612f3f57634e487b7160e01b5f52602260045260245ffd5b50919050565b80516128e2816129f4565b5f60208284031215612f60575f80fd5b8151611cf5816129f4565b5f60208284031215612f7b575f80fd5b5051919050565b60ff81168114610ca9575f80fd5b80516128e281612f82565b80516128e281612c23565b5f82601f830112612fb5575f80fd5b8151602083015f612fc86129a884612975565b9050828152858383011115612fdb575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f60208284031215613005575f80fd5b81516001600160401b0381111561301a575f80fd5b820160e0818503121561302b575f80fd5b6130336128fb565b61303c82612ee7565b815261304a60208301612ee7565b602082015261305b60408301612f90565b604082015261306c60608301612f45565b606082015261307d60808301612f9b565b608082015261308e60a08301612f9b565b60a082015260c08201516001600160401b038111156130ab575f80fd5b6130b786828501612fa6565b60c083015250949350505050565b5f602082840312156130d5575f80fd5b8151611cf581612c23565b5f80858511156130ee575f80fd5b838611156130fa575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015613138576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f6020828403121561318e575f80fd5b81356001600160401b038111156131a3575f80fd5b8201604081850312156131b4575f80fd5b604080519081016001600160401b03811182821017156131d6576131d66128e7565b60405281356131e4816129f4565b815260208201356001600160401b038111156131fe575f80fd5b61320a868285016129d6565b602083015250949350505050565b6001600160401b03851681526001600160601b03841660208201528215156040820152608060608201525f6132506080830184612b34565b9695505050505050565b5f6020828403121561326a575f80fd5b81516001600160401b0381111561327f575f80fd5b820160c08185031215613290575f80fd5b613298612923565b81516001600160401b038111156132ad575f80fd5b6132b986828501612fa6565b8252506132c860208301612ee7565b60208201526132d960408301612f9b565b60408201526132ea60608301612f9b565b60608201526132fb60808301612f9b565b608082015260a08201516001600160401b03811115613318575f80fd5b61332486828501612fa6565b60a083015250949350505050565b5f60208284031215613342575f80fd5b8151611cf581612f82565b5f82518060208501845e5f920191825250919050565b5f8060408385031215613374575f80fd5b825161337f816129f4565b602084015190925063ffffffff81168114612c63575f80fd5b601f821115610c8057805f5260205f20601f840160051c810160208510156133bd5750805b601f840160051c820191505b8181101561068f575f81556001016133c9565b81516001600160401b038111156133f5576133f56128e7565b613409816134038454612f0d565b84613398565b6020601f82116001811461343b575f83156134245750848201515b5f19600385901b1c1916600184901b17845561068f565b5f84815260208120601f198516915b8281101561346a578785015182556020948501946001909201910161344a565b508482101561348757868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00ffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00a26469706673582212202a396212806ff65215e24e163369f9ef2defe8ea78861de7959ea27f0a3c809d64736f6c634300081a0033",
1059
+ "bytecode": "0x608060405234801561000f575f80fd5b50604051613efd380380613efd83398101604081905261002e91610c62565b610065848484846040518060400160405280600c81526020016b53696d706c654f7261636c6560a01b81525061006e60201b60201c565b5050505061101a565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000810460ff1615906001600160401b03165f811580156100b75750825b90505f826001600160401b031660011480156100d25750303b155b9050811580156100e0575080155b156100fe5760405163f92ee8a960e01b815260040160405180910390fd5b84546001600160401b0319166001178555831561012c57845460ff60401b1916680100000000000000001785555b6101398a8a8a8a8a61018b565b831561017f57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050505050565b6101936101a7565b6101a085858585856101f7565b5050505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff166101f557604051631afcd79f60e31b815260040160405180910390fd5b565b6101ff6101a7565b610210858583600d876001886102a0565b7faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f900610240600b6104fb565b6104fb565b81546001600160a01b0319166001600160a01b039190911617815561026661023b600d90565b6001820180546001600160a01b0319166001600160a01b039290921691909117905561029863c0d4275760e01b610592565b505050505050565b6102a86101a7565b5f6102b48888876105c5565b90505f7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0060405163bf8e179760e01b81526001600160601b03841660048201529091506001600160a01b038a169063bf8e179790602401602060405180830381865afa158015610326573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061034a9190610cba565b81546001600160a01b0319166001600160a01b039190911690811782556040805163bf7e214f60e01b815290516103e8929163bf7e214f9160048083019260209291908290030181865afa1580156103a4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103c89190610cba565b8a8a8a8a898960405180602001604052805f81525061067060201b60201c565b8054604080516302cd307160e01b815290516001600160a01b03909216916302cd3071916004808201926020929091908290030181865afa15801561042f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104539190610cba565b6001820180546001600160a01b03199081166001600160a01b039384161790915560028301805490911691871691909117905561049161023b600b90565b6003820180546001600160a01b0319166001600160a01b03929092169190911790556104be61023b600d90565b6004820180546001600160a01b0319166001600160a01b03929092169190911790556104f063a9c1bc6f60e01b610592565b505050505050505050565b5f61050e6001546001600160a01b031690565b6001600160a01b031663d39e604383610525610739565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015610568573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061058c9190610cba565b92915050565b61059a6101a7565b6105c2816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b5f60ff8216600c036105e6576105dd8484600a6107cf565b50829050610669565b5f6105f38585600c6107cf565b60405163677d3feb60e11b81526001600160601b03861660048201529091506001600160a01b0382169063cefa7fd690602401602060405180830381865afa158015610641573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106659190610cd5565b9150505b9392505050565b6106786101a7565b84515f036106995760405163591eebf360e11b815260040160405180910390fd5b6106a888888887878787610899565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f00806106d48782610d83565b5060018101805460ff19168515151790556106f061023b600b90565b6001820180546001600160a01b039290921661010002610100600160a81b0319909216919091179055610729634a531f3360e01b610592565b6104f06306e9e5ff60e31b610592565b5f61076b7ff3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00546001600160a01b031690565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107a6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107ca9190610e56565b905090565b6040516305247a1760e51b81526001600160601b038316600482015283905f906001600160a01b0383169063a48f42e0906024015f60405180830381865afa15801561081d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526108449190810190610f31565b905061085b81604001518460ff9081169116141590565b1561089157604080820151905163b0c1f6eb60e01b815260ff808616600483015290911660248201526044015b60405180910390fd5b509392505050565b6108a16101a7565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af41580156108f7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061091b9190611001565b6109435760405163cf6935e560e01b81526001600160a01b0388166004820152602401610888565b61094c876109ed565b61095686836109fe565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166001600160681b0319909116176c0100000000000000000000000060ff8816021760ff60681b19166d0100000000000000000000000000861515021781559050600181016109d28382610d83565b506109e3634a531f3360e01b610592565b5050505050505050565b6109f56101a7565b6105c281610a90565b610a066101a7565b610a0e610aa1565b610a1782610ae9565b6001600160a01b038116610a3e5760405163f17ef42d60e01b815260040160405180910390fd5b7f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0080546001600160601b03166c010000000000000000000000006001600160a01b039093169290920291909117905550565b610a986101a7565b6105c281610bb5565b610aa96101a7565b6101f56301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b610af16101a7565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015610b47573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b6b9190611001565b610b935760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610888565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b7ff3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a0080546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6001600160a01b03811681146105c2575f80fd5b8051610c4781610c28565b919050565b80516001600160601b0381168114610c47575f80fd5b5f805f8060808587031215610c75575f80fd5b8451610c8081610c28565b9350610c8e60208601610c4c565b92506040850151610c9e81610c28565b6060860151909250610caf81610c28565b939692955090935050565b5f60208284031215610cca575f80fd5b815161066981610c28565b5f60208284031215610ce5575f80fd5b61066982610c4c565b634e487b7160e01b5f52604160045260245ffd5b600181811c90821680610d1657607f821691505b602082108103610d3457634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610d7e57805f5260205f20601f840160051c81016020851015610d5f5750805b601f840160051c820191505b818110156101a0575f8155600101610d6b565b505050565b81516001600160401b03811115610d9c57610d9c610cee565b610db081610daa8454610d02565b84610d3a565b6020601f821160018114610de2575f8315610dcb5750848201515b5f19600385901b1c1916600184901b1784556101a0565b5f84815260208120601f198516915b82811015610e115787850151825560209485019460019092019101610df1565b5084821015610e2e57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b60ff811681146105c2575f80fd5b8051610c4781610e3d565b5f60208284031215610e66575f80fd5b815161066981610e3d565b60405160e081016001600160401b0381118282101715610e9357610e93610cee565b60405290565b80518015158114610c47575f80fd5b5f82601f830112610eb7575f80fd5b81516001600160401b03811115610ed057610ed0610cee565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610efe57610efe610cee565b604052818152838201602001851015610f15575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f60208284031215610f41575f80fd5b81516001600160401b03811115610f56575f80fd5b820160e08185031215610f67575f80fd5b610f6f610e71565b610f7882610c4c565b8152610f8660208301610c4c565b6020820152610f9760408301610e4b565b6040820152610fa860608301610e99565b6060820152610fb960808301610c3c565b6080820152610fca60a08301610c3c565b60a082015260c08201516001600160401b03811115610fe7575f80fd5b610ff386828501610ea8565b60c083015250949350505050565b5f60208284031215611011575f80fd5b61066982610e99565b612ed6806110275f395ff3fe608060405234801561000f575f80fd5b5060043610610213575f3560e01c80635ab1bd531161011f578063963cb067116100a9578063b423086c11610079578063b423086c1461051c578063bf7e214f14610524578063cf4ee77a1461052c578063de7b5d141461053f578063ea15869f1461056f575f80fd5b8063963cb067146104a6578063a8b81cd8146104b9578063ad12ad60146104f5578063ada9652e14610508575f80fd5b80637a9e5e4b116100ef5780637a9e5e4b1461044f57806387ef9ba014610462578063893d20e8146104685780638fb360371461047057806390edbd3514610491575f80fd5b80635ab1bd53146103d7578063644c45e0146103e85780636bd1c0eb1461040557806376b707b714610435575f80fd5b80631eff4b22116101a05780632eb3e6f4116101705780632eb3e6f41461036657806343d752d31461038d5780634bd100e4146103955780634c125e79146103bc5780635741e5e9146103cf575f80fd5b80631eff4b221461031957806321df0da71461034e578063223668441461035657806322f3e2d41461035e575f80fd5b80630fec111c116101e65780630fec111c1461029c57806313299604146102b1578063138461e0146102d157806317d7de7c146102f15780631c6b219014610306575f80fd5b806301ffc9a71461021757806306caeae4146102585780630b29e28e1461026d5780630d8e6e2c14610280575b5f80fd5b61024361022536600461236e565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61026b6102663660046124de565b610596565b005b61026b61027b36600461255e565b610626565b610288610646565b60405162ffffff909116815260200161024f565b6102a46106cd565b60405161024f919061262b565b6102b9610887565b6040516001600160a01b03909116815260200161024f565b6102d96108ef565b6040516001600160601b03909116815260200161024f565b6102f96108f9565b60405161024f91906126bf565b6102d96103143660046126d1565b610909565b6103407f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161024f565b6102b961098b565b6102436109cf565b610243610ac5565b6103407fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0081565b6102b9610b3c565b6103407faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f90081565b61026b6103ca3660046126ec565b610b4e565b610243610b63565b6001546001600160a01b03166102b9565b5f80516020612e61833981519152546001600160601b03166102d9565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b03166102b9565b61043d610c19565b60405160ff909116815260200161024f565b61026b61045d366004612719565b610c81565b5f610243565b6102b9610d07565b610478610e38565b6040516001600160e01b0319909116815260200161024f565b610499610e6d565b60405161024f9190612734565b61026b6104b4366004612770565b610e9e565b6102f96040518060400160405280601b81526020017f6f7261636c6520636f6e7374616e742073796e6320616e73776572000000000081525081565b61026b6105033660046127f2565b610fb2565b6103405f80516020612e6183398151915281565b610499611055565b6102b9611071565b61026b61053a366004612842565b61108c565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00546001600160a01b03166102b9565b6103407fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b5f604051806060016040528084151581526020018364ffffffffff168152602001858152506040516020016105cb919061289f565b60405160208183030381529060405290506105e6858261109b565b7f925e3838f1b49d365407bb3580a651fc78742e3bd3eb1063171421beb4a6b49585856040516106179291906128d6565b60405180910390a15050505050565b610632335b5f36611131565b61063f858585858561122f565b5050505050565b604051632efe011360e01b8152600160048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156106a4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106c891906128f7565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610779573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061079d9190612924565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016107e5610d07565b6001600160a01b031681526020018260010180546108029061293f565b80601f016020809104026020016040519081016040528092919081815260200182805461082e9061293f565b80156108795780601f1061085057610100808354040283529160200191610879565b820191905f5260205f20905b81548152906001019060200180831161085c57829003601f168201915b505050505081525091505090565b5f610890610b3c565b6001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108cb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106c89190612982565b5f6106c83061129a565b6060610903610e6d565b51919050565b5f610912610d07565b6001600160a01b0316336001600160a01b03161461094a5760405163086391f760e31b81523360048201526024015b60405180910390fd5b6109533361062b565b60405163ca49882f60e01b815260206004820152600c60248201526b77697468647261774665657360a01b6044820152606401610941565b5f610994610b3c565b6001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108cb573d5f803e3d5ffd5b5f6109e26001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610a26573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a4a9190612924565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610aa1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106c891906129a8565b5f610ace611071565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610b12573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b3691906129a8565b15905090565b5f610b45610e6d565b60200151905090565b610b573361062b565b610b60816114f0565b50565b5f610b6c6109cf565b15610bf0576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610bc0573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610be79190810190612a30565b60600151905090565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f015460ff1690565b5f610c22611071565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c5d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106c89190612b00565b33610c8a611071565b6001600160a01b0316816001600160a01b031614610cc55760405162d1953b60e31b81526001600160a01b0382166004820152602401610941565b816001600160a01b03163b5f03610cfa576040516361798f2f60e11b81526001600160a01b0383166004820152602401610941565b610d038261152f565b5050565b5f805f80516020612e6183398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610d73573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d9791906129a8565b15610e22576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610df8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e1c9190612982565b91505090565b54600160601b90046001600160a01b0316919050565b5f80516020612e8183398151915280545f9190600160a01b900460ff16610e5f575f610e1c565b638fb3603760e01b91505090565b60408051808201909152606081525f6020820152610e896109cf565b15610e96576106c8611590565b6106c8611055565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f81158015610ee25750825b90505f826001600160401b03166001148015610efd5750303b155b905081158015610f0b575080155b15610f295760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610f5357845460ff60401b1916600160401b1785555b610f608a8a8a8a8a611782565b8315610fa657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050505050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ff9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061101d9190612982565b6001600160a01b0316336001600160a01b03161461104f5760405162f0630960e01b8152336004820152602401610941565b50505050565b60408051808201909152606081525f60208201526106c8611590565b5f80516020612e81833981519152546001600160a01b031690565b6110953361062b565b610d0382825b7faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f901546040516367a773bd60e11b81526001600160a01b039091169063cf4ee77a906110ec90859085906004016128d6565b6020604051808303815f875af1158015611108573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061112c91906129a8565b505050565b5f80516020612e818339815191525f8061116961114c611071565b873061115b60045f8a8c612b1b565b61116491612b42565b611797565b91509150816112275763ffffffff81161561120457825460ff60a01b1916600160a01b178355611197611071565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016111c693929190612b7a565b5f604051808303815f87803b1580156111dd575f80fd5b505af11580156111ef573d5f803e3d5ffd5b5050845460ff60a01b19168555506112279050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610941565b505050505050565b5f61123c83850185612bb9565b80519091501561124f5761124f8661189f565b805160208201516040517f79ebe5a74e4370f670722a495368b194369cfc7be8997d68517841c3c307a3e89261128a928a928a929190612c36565b60405180910390a1505050505050565b5f805f80516020612e6183398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611306573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061132a91906129a8565b156113565780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610941565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156113a8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113cc91906129a8565b6113f45760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610941565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611446573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061146a9190612924565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b54906114b6610d07565b604080516001600160601b0390931683526001600160a01b0390911660208301520160405180910390a1546001600160601b031692915050565b6040516001600160401b03821681527fb63fd0f73fdf39db6db268f3ff7ee59fdad31d592b7faff69608adc0312225ab9060200160405180910390a150565b5f80516020612e8183398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad906020015b60405180910390a15050565b60408051808201909152606081525f60208201525f6115b76001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa1580156115fb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061161f9190612924565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611678573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061169c91906129a8565b1561177a577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b03166001600160a01b031663f0ea17c36116f85f80516020612e61833981519152546001600160601b031690565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015611739573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526117609190810190612c78565b60208101519092506001600160a01b03161561177a575090565b610e1c611967565b61178a611a44565b61063f8585858585611a8f565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516118059190612d0c565b5f60405180830381855afa9150503d805f811461183d576040519150601f19603f3d011682016040523d82523d5f602084013e611842565b606091505b50915091508115611894576040815110611874578080602001905181019061186a9190612d22565b9094509250611894565b6020815110611894578080602001905181019061189191906129a8565b93505b505094509492505050565b5f6040518060400160405280601b81526020017f6f7261636c6520636f6e7374616e742073796e6320616e7377657200000000008152506040516020016118e691906126bf565b6040516020818303038152906040529050611901828261109b565b7f0a858417ad6c170851e15bdb7f5fef061814ba176a976d7468e9e97588608fbc826040518060400160405280601b81526020017f6f7261636c6520636f6e7374616e742073796e6320616e7377657200000000008152506040516115849291906128d6565b60408051808201909152606081525f60208201525f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060400160405280825f0180546119b89061293f565b80601f01602080910402602001604051908101604052809291908181526020018280546119e49061293f565b8015611a2f5780601f10611a0657610100808354040283529160200191611a2f565b820191905f5260205f20905b815481529060010190602001808311611a1257829003601f168201915b50505091835250505f60209091015292915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16611a8d57604051631afcd79f60e31b815260040160405180910390fd5b565b611a97611a44565b611aa8858583600d87600188611b2a565b7faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f900611ad3600b611d7d565b81546001600160a01b0319166001600160a01b0391909116178155611af8600d611d7d565b6001820180546001600160a01b0319166001600160a01b039290921691909117905561122763c0d4275760e01b611e14565b611b32611a44565b5f611b3e888887611e44565b90505f7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0060405163bf8e179760e01b81526001600160601b03841660048201529091506001600160a01b038a169063bf8e179790602401602060405180830381865afa158015611bb0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bd49190612982565b81546001600160a01b0319166001600160a01b039190911690811782556040805163bf7e214f60e01b81529051611c6c929163bf7e214f9160048083019260209291908290030181865afa158015611c2e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c529190612982565b8a8a8a8a898960405180602001604052805f815250611eef565b8054604080516302cd307160e01b815290516001600160a01b03909216916302cd3071916004808201926020929091908290030181865afa158015611cb3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cd79190612982565b6001820180546001600160a01b03199081166001600160a01b0393841617909155600283018054909116918716919091179055611d14600b611d7d565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055611d40600d611d7d565b6004820180546001600160a01b0319166001600160a01b0392909216919091179055611d7263a9c1bc6f60e01b611e14565b505050505050505050565b5f611d906001546001600160a01b031690565b6001600160a01b031663d39e604383611da7610c19565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611dea573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e0e9190612982565b92915050565b611e1c611a44565b610b60816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f60ff8216600c03611e6557611e5c8484600a611fb6565b50829050611ee8565b5f611e728585600c611fb6565b60405163677d3feb60e11b81526001600160601b03861660048201529091506001600160a01b0382169063cefa7fd690602401602060405180830381865afa158015611ec0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ee49190612924565b9150505b9392505050565b611ef7611a44565b84515f03611f185760405163591eebf360e11b815260040160405180910390fd5b611f278888888787878761207b565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0080611f538782612da6565b5060018101805460ff1916851515179055611f6e600b611d7d565b8160010160016101000a8154816001600160a01b0302191690836001600160a01b03160217905550611fa6634a531f3360e01b611e14565b611d726306e9e5ff60e31b611e14565b6040516305247a1760e51b81526001600160601b038316600482015283905f906001600160a01b0383169063a48f42e0906024015f60405180830381865afa158015612004573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261202b9190810190612a30565b905061204281604001518460ff9081169116141590565b1561207357604080820151905163b0c1f6eb60e01b815260ff80861660048301529091166024820152604401610941565b509392505050565b612083611a44565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af41580156120d9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120fd91906129a8565b6121255760405163cf6935e560e01b81526001600160a01b0388166004820152602401610941565b61212e876121c2565b61213886836121d3565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016121a78382612da6565b506121b8634a531f3360e01b611e14565b5050505050505050565b6121ca611a44565b610b6081612249565b6121db611a44565b6121e361225a565b6121ec826122a2565b6001600160a01b0381166122135760405163f17ef42d60e01b815260040160405180910390fd5b5f80516020612e6183398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b612251611a44565b610b608161152f565b612262611a44565b611a8d6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6122aa611a44565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015612300573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061232491906129a8565b61234c5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610941565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b5f6020828403121561237e575f80fd5b81356001600160e01b031981168114611ee8575f80fd5b80356001600160401b03811681146123ab575f80fd5b919050565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b03811182821017156123e6576123e66123b0565b60405290565b604080519081016001600160401b03811182821017156123e6576123e66123b0565b604051601f8201601f191681016001600160401b0381118282101715612436576124366123b0565b604052919050565b5f6001600160401b03821115612456576124566123b0565b50601f01601f191660200190565b5f6124766124718461243e565b61240e565b9050828152838383011115612489575f80fd5b828260208301375f602084830101529392505050565b5f82601f8301126124ae575f80fd5b611ee883833560208501612464565b8015158114610b60575f80fd5b803564ffffffffff811681146123ab575f80fd5b5f805f80608085870312156124f1575f80fd5b6124fa85612395565b935060208501356001600160401b03811115612514575f80fd5b6125208782880161249f565b9350506040850135612531816124bd565b915061253f606086016124ca565b905092959194509250565b6001600160601b0381168114610b60575f80fd5b5f805f805f60808688031215612572575f80fd5b61257b86612395565b9450602086013561258b8161254a565b935060408601356001600160401b038111156125a5575f80fd5b8601601f810188136125b5575f80fd5b80356001600160401b038111156125ca575f80fd5b8860208284010111156125db575f80fd5b602091909101935091506125f1606087016124ca565b90509295509295909350565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612673608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e0808401526126b76101008401826125fd565b949350505050565b602081525f611ee860208301846125fd565b5f602082840312156126e1575f80fd5b8135611ee88161254a565b5f602082840312156126fc575f80fd5b611ee882612395565b6001600160a01b0381168114610b60575f80fd5b5f60208284031215612729575f80fd5b8135611ee881612705565b602081525f82516040602084015261274f60608401826125fd565b602094909401516001600160a01b0316604093909301929092525090919050565b5f805f805f60a08688031215612784575f80fd5b853561278f81612705565b9450602086013561279f8161254a565b935060408601356127af81612705565b925060608601356127bf81612705565b915060808601356001600160401b038111156127d9575f80fd5b6127e58882890161249f565b9150509295509295909350565b5f805f8060808587031215612805575f80fd5b843561281081612705565b9350602085013561282081612705565b925060408501359150606085013561283781612705565b939692955090935050565b5f8060408385031215612853575f80fd5b61285c83612395565b915060208301356001600160401b03811115612876575f80fd5b8301601f81018513612886575f80fd5b61289585823560208401612464565b9150509250929050565b6020815281511515602082015264ffffffffff60208301511660408201525f60408301516060808401526126b760808401826125fd565b6001600160401b0383168152604060208201525f6126b760408301846125fd565b5f60208284031215612907575f80fd5b815162ffffff81168114611ee8575f80fd5b80516123ab8161254a565b5f60208284031215612934575f80fd5b8151611ee88161254a565b600181811c9082168061295357607f821691505b60208210810361297157634e487b7160e01b5f52602260045260245ffd5b50919050565b80516123ab81612705565b5f60208284031215612992575f80fd5b8151611ee881612705565b80516123ab816124bd565b5f602082840312156129b8575f80fd5b8151611ee8816124bd565b60ff81168114610b60575f80fd5b80516123ab816129c3565b5f6129e96124718461243e565b90508281528383830111156129fc575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f830112612a21575f80fd5b611ee8838351602085016129dc565b5f60208284031215612a40575f80fd5b81516001600160401b03811115612a55575f80fd5b820160e08185031215612a66575f80fd5b612a6e6123c4565b612a7782612919565b8152612a8560208301612919565b6020820152612a96604083016129d1565b6040820152612aa76060830161299d565b6060820152612ab860808301612977565b6080820152612ac960a08301612977565b60a082015260c08201516001600160401b03811115612ae6575f80fd5b612af286828501612a12565b60c083015250949350505050565b5f60208284031215612b10575f80fd5b8151611ee8816129c3565b5f8085851115612b29575f80fd5b83861115612b35575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015612b73576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f60208284031215612bc9575f80fd5b81356001600160401b03811115612bde575f80fd5b820160408185031215612bef575f80fd5b612bf76123ec565b8135612c02816124bd565b815260208201356001600160401b03811115612c1c575f80fd5b612c288682850161249f565b602083015250949350505050565b6001600160401b03851681526001600160601b03841660208201528215156040820152608060608201525f612c6e60808301846125fd565b9695505050505050565b5f60208284031215612c88575f80fd5b81516001600160401b03811115612c9d575f80fd5b820160408185031215612cae575f80fd5b612cb66123ec565b81516001600160401b03811115612ccb575f80fd5b8201601f81018613612cdb575f80fd5b612cea868251602084016129dc565b82525060208201519150612cfd82612705565b60208101919091529392505050565b5f82518060208501845e5f920191825250919050565b5f8060408385031215612d33575f80fd5b8251612d3e816124bd565b602084015190925063ffffffff81168114612d57575f80fd5b809150509250929050565b601f82111561112c57805f5260205f20601f840160051c81016020851015612d875750805b601f840160051c820191505b8181101561063f575f8155600101612d93565b81516001600160401b03811115612dbf57612dbf6123b0565b612dd381612dcd845461293f565b84612d62565b6020601f821160018114612e05575f8315612dee5750848201515b5f19600385901b1c1916600184901b17845561063f565b5f84815260208120601f198516915b82811015612e345787850151825560209485019460019092019101612e14565b5084821015612e5157868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220d6d69d6a20cbde932330e3ba325bc83468def818a76831ccdb5f5311fb1241fd64736f6c634300081a0033",
1060
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610213575f3560e01c80635ab1bd531161011f578063963cb067116100a9578063b423086c11610079578063b423086c1461051c578063bf7e214f14610524578063cf4ee77a1461052c578063de7b5d141461053f578063ea15869f1461056f575f80fd5b8063963cb067146104a6578063a8b81cd8146104b9578063ad12ad60146104f5578063ada9652e14610508575f80fd5b80637a9e5e4b116100ef5780637a9e5e4b1461044f57806387ef9ba014610462578063893d20e8146104685780638fb360371461047057806390edbd3514610491575f80fd5b80635ab1bd53146103d7578063644c45e0146103e85780636bd1c0eb1461040557806376b707b714610435575f80fd5b80631eff4b22116101a05780632eb3e6f4116101705780632eb3e6f41461036657806343d752d31461038d5780634bd100e4146103955780634c125e79146103bc5780635741e5e9146103cf575f80fd5b80631eff4b221461031957806321df0da71461034e578063223668441461035657806322f3e2d41461035e575f80fd5b80630fec111c116101e65780630fec111c1461029c57806313299604146102b1578063138461e0146102d157806317d7de7c146102f15780631c6b219014610306575f80fd5b806301ffc9a71461021757806306caeae4146102585780630b29e28e1461026d5780630d8e6e2c14610280575b5f80fd5b61024361022536600461236e565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61026b6102663660046124de565b610596565b005b61026b61027b36600461255e565b610626565b610288610646565b60405162ffffff909116815260200161024f565b6102a46106cd565b60405161024f919061262b565b6102b9610887565b6040516001600160a01b03909116815260200161024f565b6102d96108ef565b6040516001600160601b03909116815260200161024f565b6102f96108f9565b60405161024f91906126bf565b6102d96103143660046126d1565b610909565b6103407f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161024f565b6102b961098b565b6102436109cf565b610243610ac5565b6103407fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0081565b6102b9610b3c565b6103407faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f90081565b61026b6103ca3660046126ec565b610b4e565b610243610b63565b6001546001600160a01b03166102b9565b5f80516020612e61833981519152546001600160601b03166102d9565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b03166102b9565b61043d610c19565b60405160ff909116815260200161024f565b61026b61045d366004612719565b610c81565b5f610243565b6102b9610d07565b610478610e38565b6040516001600160e01b0319909116815260200161024f565b610499610e6d565b60405161024f9190612734565b61026b6104b4366004612770565b610e9e565b6102f96040518060400160405280601b81526020017f6f7261636c6520636f6e7374616e742073796e6320616e73776572000000000081525081565b61026b6105033660046127f2565b610fb2565b6103405f80516020612e6183398151915281565b610499611055565b6102b9611071565b61026b61053a366004612842565b61108c565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00546001600160a01b03166102b9565b6103407fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b5f604051806060016040528084151581526020018364ffffffffff168152602001858152506040516020016105cb919061289f565b60405160208183030381529060405290506105e6858261109b565b7f925e3838f1b49d365407bb3580a651fc78742e3bd3eb1063171421beb4a6b49585856040516106179291906128d6565b60405180910390a15050505050565b610632335b5f36611131565b61063f858585858561122f565b5050505050565b604051632efe011360e01b8152600160048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156106a4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106c891906128f7565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610779573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061079d9190612924565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016107e5610d07565b6001600160a01b031681526020018260010180546108029061293f565b80601f016020809104026020016040519081016040528092919081815260200182805461082e9061293f565b80156108795780601f1061085057610100808354040283529160200191610879565b820191905f5260205f20905b81548152906001019060200180831161085c57829003601f168201915b505050505081525091505090565b5f610890610b3c565b6001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108cb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106c89190612982565b5f6106c83061129a565b6060610903610e6d565b51919050565b5f610912610d07565b6001600160a01b0316336001600160a01b03161461094a5760405163086391f760e31b81523360048201526024015b60405180910390fd5b6109533361062b565b60405163ca49882f60e01b815260206004820152600c60248201526b77697468647261774665657360a01b6044820152606401610941565b5f610994610b3c565b6001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108cb573d5f803e3d5ffd5b5f6109e26001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610a26573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a4a9190612924565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610aa1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106c891906129a8565b5f610ace611071565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610b12573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b3691906129a8565b15905090565b5f610b45610e6d565b60200151905090565b610b573361062b565b610b60816114f0565b50565b5f610b6c6109cf565b15610bf0576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610bc0573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610be79190810190612a30565b60600151905090565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f015460ff1690565b5f610c22611071565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c5d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106c89190612b00565b33610c8a611071565b6001600160a01b0316816001600160a01b031614610cc55760405162d1953b60e31b81526001600160a01b0382166004820152602401610941565b816001600160a01b03163b5f03610cfa576040516361798f2f60e11b81526001600160a01b0383166004820152602401610941565b610d038261152f565b5050565b5f805f80516020612e6183398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610d73573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d9791906129a8565b15610e22576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610df8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e1c9190612982565b91505090565b54600160601b90046001600160a01b0316919050565b5f80516020612e8183398151915280545f9190600160a01b900460ff16610e5f575f610e1c565b638fb3603760e01b91505090565b60408051808201909152606081525f6020820152610e896109cf565b15610e96576106c8611590565b6106c8611055565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f81158015610ee25750825b90505f826001600160401b03166001148015610efd5750303b155b905081158015610f0b575080155b15610f295760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610f5357845460ff60401b1916600160401b1785555b610f608a8a8a8a8a611782565b8315610fa657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050505050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ff9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061101d9190612982565b6001600160a01b0316336001600160a01b03161461104f5760405162f0630960e01b8152336004820152602401610941565b50505050565b60408051808201909152606081525f60208201526106c8611590565b5f80516020612e81833981519152546001600160a01b031690565b6110953361062b565b610d0382825b7faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f901546040516367a773bd60e11b81526001600160a01b039091169063cf4ee77a906110ec90859085906004016128d6565b6020604051808303815f875af1158015611108573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061112c91906129a8565b505050565b5f80516020612e818339815191525f8061116961114c611071565b873061115b60045f8a8c612b1b565b61116491612b42565b611797565b91509150816112275763ffffffff81161561120457825460ff60a01b1916600160a01b178355611197611071565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016111c693929190612b7a565b5f604051808303815f87803b1580156111dd575f80fd5b505af11580156111ef573d5f803e3d5ffd5b5050845460ff60a01b19168555506112279050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610941565b505050505050565b5f61123c83850185612bb9565b80519091501561124f5761124f8661189f565b805160208201516040517f79ebe5a74e4370f670722a495368b194369cfc7be8997d68517841c3c307a3e89261128a928a928a929190612c36565b60405180910390a1505050505050565b5f805f80516020612e6183398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611306573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061132a91906129a8565b156113565780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610941565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156113a8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113cc91906129a8565b6113f45760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610941565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611446573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061146a9190612924565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b54906114b6610d07565b604080516001600160601b0390931683526001600160a01b0390911660208301520160405180910390a1546001600160601b031692915050565b6040516001600160401b03821681527fb63fd0f73fdf39db6db268f3ff7ee59fdad31d592b7faff69608adc0312225ab9060200160405180910390a150565b5f80516020612e8183398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad906020015b60405180910390a15050565b60408051808201909152606081525f60208201525f6115b76001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa1580156115fb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061161f9190612924565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611678573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061169c91906129a8565b1561177a577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b03166001600160a01b031663f0ea17c36116f85f80516020612e61833981519152546001600160601b031690565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015611739573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526117609190810190612c78565b60208101519092506001600160a01b03161561177a575090565b610e1c611967565b61178a611a44565b61063f8585858585611a8f565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516118059190612d0c565b5f60405180830381855afa9150503d805f811461183d576040519150601f19603f3d011682016040523d82523d5f602084013e611842565b606091505b50915091508115611894576040815110611874578080602001905181019061186a9190612d22565b9094509250611894565b6020815110611894578080602001905181019061189191906129a8565b93505b505094509492505050565b5f6040518060400160405280601b81526020017f6f7261636c6520636f6e7374616e742073796e6320616e7377657200000000008152506040516020016118e691906126bf565b6040516020818303038152906040529050611901828261109b565b7f0a858417ad6c170851e15bdb7f5fef061814ba176a976d7468e9e97588608fbc826040518060400160405280601b81526020017f6f7261636c6520636f6e7374616e742073796e6320616e7377657200000000008152506040516115849291906128d6565b60408051808201909152606081525f60208201525f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060400160405280825f0180546119b89061293f565b80601f01602080910402602001604051908101604052809291908181526020018280546119e49061293f565b8015611a2f5780601f10611a0657610100808354040283529160200191611a2f565b820191905f5260205f20905b815481529060010190602001808311611a1257829003601f168201915b50505091835250505f60209091015292915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16611a8d57604051631afcd79f60e31b815260040160405180910390fd5b565b611a97611a44565b611aa8858583600d87600188611b2a565b7faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f900611ad3600b611d7d565b81546001600160a01b0319166001600160a01b0391909116178155611af8600d611d7d565b6001820180546001600160a01b0319166001600160a01b039290921691909117905561122763c0d4275760e01b611e14565b611b32611a44565b5f611b3e888887611e44565b90505f7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0060405163bf8e179760e01b81526001600160601b03841660048201529091506001600160a01b038a169063bf8e179790602401602060405180830381865afa158015611bb0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bd49190612982565b81546001600160a01b0319166001600160a01b039190911690811782556040805163bf7e214f60e01b81529051611c6c929163bf7e214f9160048083019260209291908290030181865afa158015611c2e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c529190612982565b8a8a8a8a898960405180602001604052805f815250611eef565b8054604080516302cd307160e01b815290516001600160a01b03909216916302cd3071916004808201926020929091908290030181865afa158015611cb3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cd79190612982565b6001820180546001600160a01b03199081166001600160a01b0393841617909155600283018054909116918716919091179055611d14600b611d7d565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055611d40600d611d7d565b6004820180546001600160a01b0319166001600160a01b0392909216919091179055611d7263a9c1bc6f60e01b611e14565b505050505050505050565b5f611d906001546001600160a01b031690565b6001600160a01b031663d39e604383611da7610c19565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611dea573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e0e9190612982565b92915050565b611e1c611a44565b610b60816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f60ff8216600c03611e6557611e5c8484600a611fb6565b50829050611ee8565b5f611e728585600c611fb6565b60405163677d3feb60e11b81526001600160601b03861660048201529091506001600160a01b0382169063cefa7fd690602401602060405180830381865afa158015611ec0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ee49190612924565b9150505b9392505050565b611ef7611a44565b84515f03611f185760405163591eebf360e11b815260040160405180910390fd5b611f278888888787878761207b565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0080611f538782612da6565b5060018101805460ff1916851515179055611f6e600b611d7d565b8160010160016101000a8154816001600160a01b0302191690836001600160a01b03160217905550611fa6634a531f3360e01b611e14565b611d726306e9e5ff60e31b611e14565b6040516305247a1760e51b81526001600160601b038316600482015283905f906001600160a01b0383169063a48f42e0906024015f60405180830381865afa158015612004573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261202b9190810190612a30565b905061204281604001518460ff9081169116141590565b1561207357604080820151905163b0c1f6eb60e01b815260ff80861660048301529091166024820152604401610941565b509392505050565b612083611a44565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af41580156120d9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120fd91906129a8565b6121255760405163cf6935e560e01b81526001600160a01b0388166004820152602401610941565b61212e876121c2565b61213886836121d3565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016121a78382612da6565b506121b8634a531f3360e01b611e14565b5050505050505050565b6121ca611a44565b610b6081612249565b6121db611a44565b6121e361225a565b6121ec826122a2565b6001600160a01b0381166122135760405163f17ef42d60e01b815260040160405180910390fd5b5f80516020612e6183398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b612251611a44565b610b608161152f565b612262611a44565b611a8d6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6122aa611a44565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015612300573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061232491906129a8565b61234c5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610941565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b5f6020828403121561237e575f80fd5b81356001600160e01b031981168114611ee8575f80fd5b80356001600160401b03811681146123ab575f80fd5b919050565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b03811182821017156123e6576123e66123b0565b60405290565b604080519081016001600160401b03811182821017156123e6576123e66123b0565b604051601f8201601f191681016001600160401b0381118282101715612436576124366123b0565b604052919050565b5f6001600160401b03821115612456576124566123b0565b50601f01601f191660200190565b5f6124766124718461243e565b61240e565b9050828152838383011115612489575f80fd5b828260208301375f602084830101529392505050565b5f82601f8301126124ae575f80fd5b611ee883833560208501612464565b8015158114610b60575f80fd5b803564ffffffffff811681146123ab575f80fd5b5f805f80608085870312156124f1575f80fd5b6124fa85612395565b935060208501356001600160401b03811115612514575f80fd5b6125208782880161249f565b9350506040850135612531816124bd565b915061253f606086016124ca565b905092959194509250565b6001600160601b0381168114610b60575f80fd5b5f805f805f60808688031215612572575f80fd5b61257b86612395565b9450602086013561258b8161254a565b935060408601356001600160401b038111156125a5575f80fd5b8601601f810188136125b5575f80fd5b80356001600160401b038111156125ca575f80fd5b8860208284010111156125db575f80fd5b602091909101935091506125f1606087016124ca565b90509295509295909350565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612673608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e0808401526126b76101008401826125fd565b949350505050565b602081525f611ee860208301846125fd565b5f602082840312156126e1575f80fd5b8135611ee88161254a565b5f602082840312156126fc575f80fd5b611ee882612395565b6001600160a01b0381168114610b60575f80fd5b5f60208284031215612729575f80fd5b8135611ee881612705565b602081525f82516040602084015261274f60608401826125fd565b602094909401516001600160a01b0316604093909301929092525090919050565b5f805f805f60a08688031215612784575f80fd5b853561278f81612705565b9450602086013561279f8161254a565b935060408601356127af81612705565b925060608601356127bf81612705565b915060808601356001600160401b038111156127d9575f80fd5b6127e58882890161249f565b9150509295509295909350565b5f805f8060808587031215612805575f80fd5b843561281081612705565b9350602085013561282081612705565b925060408501359150606085013561283781612705565b939692955090935050565b5f8060408385031215612853575f80fd5b61285c83612395565b915060208301356001600160401b03811115612876575f80fd5b8301601f81018513612886575f80fd5b61289585823560208401612464565b9150509250929050565b6020815281511515602082015264ffffffffff60208301511660408201525f60408301516060808401526126b760808401826125fd565b6001600160401b0383168152604060208201525f6126b760408301846125fd565b5f60208284031215612907575f80fd5b815162ffffff81168114611ee8575f80fd5b80516123ab8161254a565b5f60208284031215612934575f80fd5b8151611ee88161254a565b600181811c9082168061295357607f821691505b60208210810361297157634e487b7160e01b5f52602260045260245ffd5b50919050565b80516123ab81612705565b5f60208284031215612992575f80fd5b8151611ee881612705565b80516123ab816124bd565b5f602082840312156129b8575f80fd5b8151611ee8816124bd565b60ff81168114610b60575f80fd5b80516123ab816129c3565b5f6129e96124718461243e565b90508281528383830111156129fc575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f830112612a21575f80fd5b611ee8838351602085016129dc565b5f60208284031215612a40575f80fd5b81516001600160401b03811115612a55575f80fd5b820160e08185031215612a66575f80fd5b612a6e6123c4565b612a7782612919565b8152612a8560208301612919565b6020820152612a96604083016129d1565b6040820152612aa76060830161299d565b6060820152612ab860808301612977565b6080820152612ac960a08301612977565b60a082015260c08201516001600160401b03811115612ae6575f80fd5b612af286828501612a12565b60c083015250949350505050565b5f60208284031215612b10575f80fd5b8151611ee8816129c3565b5f8085851115612b29575f80fd5b83861115612b35575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015612b73576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f60208284031215612bc9575f80fd5b81356001600160401b03811115612bde575f80fd5b820160408185031215612bef575f80fd5b612bf76123ec565b8135612c02816124bd565b815260208201356001600160401b03811115612c1c575f80fd5b612c288682850161249f565b602083015250949350505050565b6001600160401b03851681526001600160601b03841660208201528215156040820152608060608201525f612c6e60808301846125fd565b9695505050505050565b5f60208284031215612c88575f80fd5b81516001600160401b03811115612c9d575f80fd5b820160408185031215612cae575f80fd5b612cb66123ec565b81516001600160401b03811115612ccb575f80fd5b8201601f81018613612cdb575f80fd5b612cea868251602084016129dc565b82525060208201519150612cfd82612705565b60208101919091529392505050565b5f82518060208501845e5f920191825250919050565b5f8060408385031215612d33575f80fd5b8251612d3e816124bd565b602084015190925063ffffffff81168114612d57575f80fd5b809150509250929050565b601f82111561112c57805f5260205f20601f840160051c81016020851015612d875750805b601f840160051c820191505b8181101561063f575f8155600101612d93565b81516001600160401b03811115612dbf57612dbf6123b0565b612dd381612dcd845461293f565b84612d62565b6020601f821160018114612e05575f8315612dee5750848201515b5f19600385901b1c1916600184901b17845561063f565b5f84815260208120601f198516915b82811015612e345787850151825560209485019460019092019101612e14565b5084821015612e5157868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220d6d69d6a20cbde932330e3ba325bc83468def818a76831ccdb5f5311fb1241fd64736f6c634300081a0033",
1079
1061
  "linkReferences": {
1080
- "contracts/type/Amount.sol": {
1081
- "AmountLib": [
1062
+ "contracts/shared/ContractLib.sol": {
1063
+ "ContractLib": [
1064
+ {
1065
+ "length": 20,
1066
+ "start": 2239
1067
+ },
1082
1068
  {
1083
1069
  "length": 20,
1084
- "start": 6390
1070
+ "start": 2831
1085
1071
  },
1086
1072
  {
1087
1073
  "length": 20,
1088
- "start": 8092
1074
+ "start": 12488
1089
1075
  },
1090
1076
  {
1091
1077
  "length": 20,
1092
- "start": 8348
1078
+ "start": 13039
1093
1079
  }
1094
1080
  ]
1095
1081
  },
@@ -1097,45 +1083,45 @@
1097
1083
  "NftIdLib": [
1098
1084
  {
1099
1085
  "length": 20,
1100
- "start": 5184
1086
+ "start": 5979
1101
1087
  },
1102
1088
  {
1103
1089
  "length": 20,
1104
- "start": 6056
1090
+ "start": 6800
1105
1091
  },
1106
1092
  {
1107
1093
  "length": 20,
1108
- "start": 7001
1094
+ "start": 7522
1109
1095
  },
1110
1096
  {
1111
1097
  "length": 20,
1112
- "start": 9448
1098
+ "start": 8949
1113
1099
  },
1114
1100
  {
1115
1101
  "length": 20,
1116
- "start": 10225
1117
- },
1102
+ "start": 9831
1103
+ }
1104
+ ]
1105
+ },
1106
+ "contracts/type/Version.sol": {
1107
+ "VersionLib": [
1118
1108
  {
1119
1109
  "length": 20,
1120
- "start": 11680
1110
+ "start": 5779
1121
1111
  }
1122
1112
  ]
1123
1113
  }
1124
1114
  },
1125
1115
  "deployedLinkReferences": {
1126
- "contracts/type/Amount.sol": {
1127
- "AmountLib": [
1116
+ "contracts/shared/ContractLib.sol": {
1117
+ "ContractLib": [
1128
1118
  {
1129
1119
  "length": 20,
1130
- "start": 2999
1120
+ "start": 8353
1131
1121
  },
1132
1122
  {
1133
1123
  "length": 20,
1134
- "start": 4701
1135
- },
1136
- {
1137
- "length": 20,
1138
- "start": 4957
1124
+ "start": 8904
1139
1125
  }
1140
1126
  ]
1141
1127
  },
@@ -1143,7 +1129,7 @@
1143
1129
  "NftIdLib": [
1144
1130
  {
1145
1131
  "length": 20,
1146
- "start": 1793
1132
+ "start": 1844
1147
1133
  },
1148
1134
  {
1149
1135
  "length": 20,
@@ -1151,19 +1137,23 @@
1151
1137
  },
1152
1138
  {
1153
1139
  "length": 20,
1154
- "start": 3610
1140
+ "start": 3387
1155
1141
  },
1156
1142
  {
1157
1143
  "length": 20,
1158
- "start": 6057
1144
+ "start": 4814
1159
1145
  },
1160
1146
  {
1161
1147
  "length": 20,
1162
- "start": 6834
1163
- },
1148
+ "start": 5696
1149
+ }
1150
+ ]
1151
+ },
1152
+ "contracts/type/Version.sol": {
1153
+ "VersionLib": [
1164
1154
  {
1165
1155
  "length": 20,
1166
- "start": 8289
1156
+ "start": 1644
1167
1157
  }
1168
1158
  ]
1169
1159
  }