@etherisc/gif-next 0.0.2-ee54ca6-863 → 0.0.2-ef15ccf-423

Sign up to get free protection for your applications and to get access to all the features.
Files changed (550) hide show
  1. package/README.md +91 -8
  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 +673 -262
  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 +549 -209
  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 -302
  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 -186
  31. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +634 -225
  33. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +229 -86
  35. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +102 -160
  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 +4 -0
  40. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  41. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  42. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1484 -0
  43. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +805 -0
  45. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2053 -0
  47. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +805 -0
  49. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  50. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  51. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +1 -1
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +293 -265
  53. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +805 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +1 -1
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +175 -175
  57. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +1 -1
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +363 -233
  59. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +805 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +1 -1
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +986 -379
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +805 -0
  65. package/artifacts/contracts/instance/BaseStore.sol/BaseStore.dbg.json +4 -0
  66. package/artifacts/contracts/instance/BaseStore.sol/BaseStore.json +332 -0
  67. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
  68. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +193 -45
  69. package/artifacts/contracts/instance/IBaseStore.sol/IBaseStore.dbg.json +4 -0
  70. package/artifacts/contracts/instance/IBaseStore.sol/IBaseStore.json +304 -0
  71. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  72. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +578 -65
  73. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  74. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +395 -60
  75. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  76. package/artifacts/contracts/instance/Instance.sol/Instance.json +641 -119
  77. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  78. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1022 -364
  79. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  80. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +328 -92
  81. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  82. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1612 -816
  83. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  84. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +421 -131
  85. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  86. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +153 -64
  87. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  88. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +755 -1092
  89. package/artifacts/contracts/instance/ProductStore.sol/ProductStore.dbg.json +4 -0
  90. package/artifacts/contracts/instance/ProductStore.sol/ProductStore.json +1852 -0
  91. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  92. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +866 -0
  93. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  94. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +8 -8
  95. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  96. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  97. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  98. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
  99. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +46 -5
  100. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +1 -1
  101. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +16 -5
  102. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  103. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  104. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  105. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  106. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  107. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  108. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  109. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  110. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
  111. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +161 -183
  112. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  113. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +429 -37
  114. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  115. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  116. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +116 -109
  117. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  118. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +98 -11
  119. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  120. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +137 -135
  121. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  122. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +201 -81
  123. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  124. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +187 -56
  125. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  126. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +185 -191
  127. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  128. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +430 -35
  129. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  130. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +355 -279
  131. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  132. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +182 -87
  133. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  134. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +247 -121
  135. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  136. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +152 -156
  137. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  138. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +478 -227
  139. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  140. package/artifacts/contracts/pool/Pool.sol/Pool.json +165 -174
  141. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  142. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +522 -0
  143. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  144. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +743 -379
  145. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  146. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +237 -66
  147. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  148. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +361 -57
  149. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  150. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +176 -53
  151. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  152. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +297 -234
  153. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  154. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +430 -35
  155. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  156. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +370 -159
  157. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  158. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +194 -83
  159. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  160. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +296 -9
  161. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  162. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +242 -24
  163. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  164. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +299 -48
  165. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  166. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +140 -37
  167. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  168. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +270 -202
  169. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +1 -1
  170. package/artifacts/contracts/product/IRiskService.sol/IRiskService.json +286 -21
  171. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  172. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +451 -151
  173. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  174. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +783 -0
  175. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  176. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +213 -74
  177. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  178. package/artifacts/contracts/product/PricingService.sol/PricingService.json +201 -129
  179. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  180. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +167 -68
  181. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  182. package/artifacts/contracts/product/Product.sol/Product.json +287 -224
  183. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +1 -1
  184. package/artifacts/contracts/product/RiskService.sol/RiskService.json +372 -82
  185. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +1 -1
  186. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +176 -53
  187. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  188. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +2 -2
  189. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  190. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +144 -33
  191. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  192. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +169 -37
  193. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  194. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  195. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  196. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  197. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  198. package/artifacts/contracts/registry/Registry.sol/Registry.json +188 -69
  199. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  200. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +753 -454
  201. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  202. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1074 -0
  203. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  204. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +139 -181
  205. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  206. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +151 -48
  207. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  208. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2152 -0
  209. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  210. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +47 -6
  211. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
  212. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +478 -258
  213. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  214. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +489 -20
  215. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  216. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +120 -60
  217. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  218. package/artifacts/contracts/shared/Component.sol/Component.json +113 -93
  219. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  220. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +502 -519
  221. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  222. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +198 -89
  223. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  224. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +632 -0
  225. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  226. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  227. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  228. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  229. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  230. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  231. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  232. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +93 -68
  233. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  234. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +432 -290
  235. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  236. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +116 -109
  237. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  238. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +79 -6
  239. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  240. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +36 -0
  241. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  242. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +35 -0
  243. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  244. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +16 -6
  245. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  246. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +167 -0
  247. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  248. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  249. package/artifacts/contracts/shared/IService.sol/IService.json +84 -2
  250. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
  251. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +2 -2
  252. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  253. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +136 -134
  254. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  255. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +85 -7
  256. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  257. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +42 -1
  258. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
  259. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
  260. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  261. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +37 -2
  262. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  263. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +18 -8
  264. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  265. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +171 -38
  266. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  267. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -2
  268. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  269. package/artifacts/contracts/shared/Service.sol/Service.json +89 -2
  270. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  271. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +327 -73
  272. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  273. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  274. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +1 -1
  275. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +88 -24
  276. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  277. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1492 -173
  278. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  279. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +235 -123
  280. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.dbg.json +4 -0
  281. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.json +50 -0
  282. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  283. package/artifacts/contracts/staking/Staking.sol/Staking.json +1648 -291
  284. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  285. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +470 -0
  286. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  287. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +202 -69
  288. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  289. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +295 -183
  290. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  291. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +286 -173
  292. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  293. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +154 -55
  294. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  295. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +1645 -790
  296. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.dbg.json +4 -0
  297. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.json +309 -0
  298. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  299. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +160 -88
  300. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  301. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  302. package/artifacts/contracts/type/Amount.sol/AmountLib.json +35 -11
  303. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  304. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +45 -19
  305. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.dbg.json +4 -0
  306. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.json +193 -0
  307. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  308. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
  309. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  310. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  311. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  312. package/artifacts/contracts/type/Fee.sol/FeeLib.json +94 -38
  313. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  314. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  315. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  316. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  317. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  318. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +23 -4
  319. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  320. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  321. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  322. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +33 -31
  323. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  324. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
  325. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  326. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +2 -2
  327. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  328. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
  329. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  330. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +125 -7
  331. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  332. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +42 -157
  333. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  334. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +45 -2
  335. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  336. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +21 -2
  337. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  338. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +2 -2
  339. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  340. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
  341. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  342. package/artifacts/contracts/type/String.sol/StrLib.json +50 -2
  343. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  344. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +3 -3
  345. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  346. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +73 -36
  347. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  348. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -21
  349. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  350. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +101 -2
  351. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
  352. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +10 -0
  353. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  354. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +128 -38
  355. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  356. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +15 -2
  357. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
  358. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +10 -0
  359. package/contracts/accounting/AccountingService.sol +274 -0
  360. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  361. package/contracts/accounting/IAccountingService.sol +47 -0
  362. package/contracts/authorization/AccessAdmin.sol +457 -266
  363. package/contracts/authorization/AccessAdminLib.sol +396 -0
  364. package/contracts/authorization/AccessManagerCloneable.sol +146 -4
  365. package/contracts/authorization/Authorization.sol +159 -207
  366. package/contracts/authorization/IAccess.sol +25 -6
  367. package/contracts/authorization/IAccessAdmin.sol +87 -79
  368. package/contracts/authorization/IAuthorization.sol +9 -37
  369. package/contracts/authorization/IServiceAuthorization.sol +57 -17
  370. package/contracts/authorization/ServiceAuthorization.sol +255 -25
  371. package/contracts/distribution/BasicDistribution.sol +20 -17
  372. package/contracts/distribution/BasicDistributionAuthorization.sol +30 -10
  373. package/contracts/distribution/Distribution.sol +43 -91
  374. package/contracts/distribution/DistributionService.sol +224 -112
  375. package/contracts/distribution/DistributionServiceManager.sol +6 -6
  376. package/contracts/distribution/IDistributionComponent.sol +4 -11
  377. package/contracts/distribution/IDistributionService.sol +38 -24
  378. package/contracts/examples/fire/DamageLevel.sol +59 -0
  379. package/contracts/examples/fire/FirePool.sol +86 -0
  380. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  381. package/contracts/examples/fire/FireProduct.sol +433 -0
  382. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  383. package/contracts/examples/fire/FireUSD.sol +26 -0
  384. package/contracts/examples/unpermissioned/SimpleDistribution.sol +43 -12
  385. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  386. package/contracts/examples/unpermissioned/SimpleOracle.sol +8 -12
  387. package/contracts/examples/unpermissioned/SimplePool.sol +36 -10
  388. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  389. package/contracts/examples/unpermissioned/SimpleProduct.sol +134 -48
  390. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  391. package/contracts/instance/BaseStore.sol +93 -0
  392. package/contracts/instance/BundleSet.sol +42 -38
  393. package/contracts/instance/IBaseStore.sol +37 -0
  394. package/contracts/instance/IInstance.sol +111 -18
  395. package/contracts/instance/IInstanceService.sol +61 -34
  396. package/contracts/instance/Instance.sol +196 -74
  397. package/contracts/instance/InstanceAdmin.sol +276 -182
  398. package/contracts/instance/InstanceAuthorizationV3.sol +145 -74
  399. package/contracts/instance/InstanceReader.sol +473 -270
  400. package/contracts/instance/InstanceService.sol +314 -267
  401. package/contracts/instance/InstanceServiceManager.sol +6 -7
  402. package/contracts/instance/InstanceStore.sol +21 -49
  403. package/contracts/instance/ProductStore.sol +143 -0
  404. package/contracts/instance/RiskSet.sol +126 -0
  405. package/contracts/instance/TargetNames.sol +10 -0
  406. package/contracts/instance/base/BalanceStore.sol +4 -6
  407. package/contracts/instance/base/ObjectCounter.sol +1 -2
  408. package/contracts/instance/base/ObjectLifecycle.sol +6 -8
  409. package/contracts/instance/base/ObjectSet.sol +31 -33
  410. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  411. package/contracts/instance/module/IBundle.sol +6 -5
  412. package/contracts/instance/module/IComponents.sol +29 -13
  413. package/contracts/instance/module/IDistribution.sol +21 -8
  414. package/contracts/instance/module/IPolicy.sol +30 -9
  415. package/contracts/instance/module/IRisk.sol +5 -0
  416. package/contracts/oracle/BasicOracle.sol +2 -5
  417. package/contracts/oracle/BasicOracleAuthorization.sol +15 -8
  418. package/contracts/oracle/IOracle.sol +9 -4
  419. package/contracts/oracle/IOracleService.sol +2 -1
  420. package/contracts/oracle/Oracle.sol +7 -20
  421. package/contracts/oracle/OracleService.sol +117 -86
  422. package/contracts/oracle/OracleServiceManager.sol +6 -6
  423. package/contracts/pool/BasicPool.sol +34 -38
  424. package/contracts/pool/BasicPoolAuthorization.sol +34 -11
  425. package/contracts/pool/BundleService.sol +115 -167
  426. package/contracts/pool/BundleServiceManager.sol +6 -6
  427. package/contracts/pool/IBundleService.sol +28 -46
  428. package/contracts/pool/IPoolComponent.sol +19 -15
  429. package/contracts/pool/IPoolService.sol +77 -67
  430. package/contracts/pool/Pool.sol +140 -133
  431. package/contracts/pool/PoolLib.sol +341 -0
  432. package/contracts/pool/PoolService.sol +355 -250
  433. package/contracts/pool/PoolServiceManager.sol +4 -4
  434. package/contracts/product/ApplicationService.sol +110 -31
  435. package/contracts/product/ApplicationServiceManager.sol +4 -4
  436. package/contracts/product/BasicProduct.sol +10 -14
  437. package/contracts/product/BasicProductAuthorization.sol +32 -12
  438. package/contracts/product/ClaimService.sol +328 -189
  439. package/contracts/product/ClaimServiceManager.sol +4 -4
  440. package/contracts/product/IApplicationService.sol +28 -3
  441. package/contracts/product/IClaimService.sol +21 -7
  442. package/contracts/product/IPolicyService.sol +41 -12
  443. package/contracts/product/IPricingService.sol +10 -9
  444. package/contracts/product/IProductComponent.sol +27 -4
  445. package/contracts/product/IRiskService.sol +25 -10
  446. package/contracts/product/PolicyService.sol +357 -285
  447. package/contracts/product/PolicyServiceLib.sol +139 -0
  448. package/contracts/product/PolicyServiceManager.sol +4 -4
  449. package/contracts/product/PricingService.sol +59 -54
  450. package/contracts/product/PricingServiceManager.sol +4 -4
  451. package/contracts/product/Product.sol +153 -85
  452. package/contracts/product/RiskService.sol +129 -36
  453. package/contracts/product/RiskServiceManager.sol +4 -4
  454. package/contracts/registry/ChainNft.sol +10 -11
  455. package/contracts/registry/IRegistry.sol +31 -27
  456. package/contracts/registry/IRegistryService.sol +5 -12
  457. package/contracts/registry/IRelease.sol +29 -0
  458. package/contracts/registry/ITransferInterceptor.sol +1 -2
  459. package/contracts/registry/Registry.sol +51 -17
  460. package/contracts/registry/RegistryAdmin.sol +107 -380
  461. package/contracts/registry/RegistryAuthorization.sol +336 -0
  462. package/contracts/registry/RegistryService.sol +37 -48
  463. package/contracts/registry/RegistryServiceManager.sol +3 -3
  464. package/contracts/registry/ReleaseAdmin.sol +195 -0
  465. package/contracts/registry/ReleaseLifecycle.sol +8 -3
  466. package/contracts/registry/ReleaseRegistry.sol +278 -244
  467. package/contracts/registry/ServiceAuthorizationV3.sol +204 -61
  468. package/contracts/registry/TokenRegistry.sol +61 -59
  469. package/contracts/shared/Component.sol +65 -119
  470. package/contracts/shared/ComponentService.sol +422 -376
  471. package/contracts/shared/ComponentServiceManager.sol +8 -5
  472. package/contracts/shared/ContractLib.sol +312 -0
  473. package/contracts/shared/IComponent.sol +6 -18
  474. package/contracts/shared/IComponentService.sol +43 -40
  475. package/contracts/shared/IInstanceLinkedComponent.sol +3 -22
  476. package/contracts/shared/IKeyValueStore.sol +9 -1
  477. package/contracts/shared/ILifecycle.sol +3 -1
  478. package/contracts/shared/INftOwnable.sol +4 -0
  479. package/contracts/shared/IPolicyHolder.sol +12 -13
  480. package/contracts/shared/IRegisterable.sol +22 -1
  481. package/contracts/shared/IService.sol +3 -5
  482. package/contracts/shared/InitializableERC165.sol +9 -1
  483. package/contracts/shared/InstanceLinkedComponent.sol +71 -49
  484. package/contracts/shared/KeyValueStore.sol +4 -4
  485. package/contracts/shared/Lifecycle.sol +15 -4
  486. package/contracts/shared/NftOwnable.sol +29 -7
  487. package/contracts/shared/PolicyHolder.sol +15 -8
  488. package/contracts/shared/Registerable.sol +50 -19
  489. package/contracts/shared/RegistryLinked.sol +7 -13
  490. package/contracts/shared/Service.sol +18 -33
  491. package/contracts/shared/TokenHandler.sol +275 -72
  492. package/contracts/shared/TokenHandlerDeployerLib.sol +10 -2
  493. package/contracts/staking/IStaking.sol +271 -72
  494. package/contracts/staking/IStakingService.sol +45 -78
  495. package/contracts/staking/ITargetLimitHandler.sol +17 -0
  496. package/contracts/staking/Staking.sol +523 -223
  497. package/contracts/staking/{StakeManagerLib.sol → StakingLib.sol} +55 -84
  498. package/contracts/staking/StakingManager.sol +12 -9
  499. package/contracts/staking/StakingReader.sol +70 -82
  500. package/contracts/staking/StakingService.sol +62 -148
  501. package/contracts/staking/StakingServiceManager.sol +7 -5
  502. package/contracts/staking/StakingStore.sol +1093 -330
  503. package/contracts/staking/TargetHandler.sol +132 -0
  504. package/contracts/staking/TargetManagerLib.sol +69 -46
  505. package/contracts/type/Amount.sol +19 -0
  506. package/contracts/type/Blocknumber.sol +15 -15
  507. package/contracts/type/ChainId.sol +101 -0
  508. package/contracts/type/ClaimId.sol +6 -1
  509. package/contracts/type/Fee.sol +8 -8
  510. package/contracts/type/Key32.sol +2 -2
  511. package/contracts/type/Key32Set.sol +62 -0
  512. package/contracts/type/NftId.sol +7 -0
  513. package/contracts/type/ObjectType.sol +70 -38
  514. package/contracts/type/PayoutId.sol +10 -10
  515. package/contracts/type/RiskId.sol +38 -6
  516. package/contracts/type/RoleId.sol +61 -55
  517. package/contracts/type/Seconds.sol +19 -0
  518. package/contracts/type/Selector.sol +5 -0
  519. package/contracts/type/StateId.sol +14 -1
  520. package/contracts/type/String.sol +12 -0
  521. package/contracts/type/Timestamp.sol +4 -7
  522. package/contracts/type/UFixed.sol +38 -126
  523. package/contracts/type/Version.sol +54 -5
  524. package/contracts/upgradeability/IVersionable.sol +3 -0
  525. package/contracts/upgradeability/ProxyManager.sol +93 -45
  526. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +12 -2
  527. package/contracts/upgradeability/Versionable.sol +8 -5
  528. package/package.json +5 -4
  529. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +0 -4
  530. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +0 -290
  531. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +0 -4
  532. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +0 -390
  533. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  534. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -129
  535. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +0 -4
  536. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +0 -427
  537. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +0 -4
  538. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +0 -39
  539. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +0 -4
  540. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +0 -440
  541. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +0 -4
  542. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +0 -164
  543. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +0 -4
  544. package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -16
  545. package/contracts/authorization/IModuleAuthorization.sol +0 -21
  546. package/contracts/authorization/ModuleAuthorization.sol +0 -78
  547. package/contracts/instance/module/IAccess.sol +0 -46
  548. package/contracts/shared/ComponentVerifyingService.sol +0 -117
  549. package/contracts/shared/InitializableCustom.sol +0 -177
  550. 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
  {
@@ -126,29 +121,34 @@
126
121
  },
127
122
  {
128
123
  "inputs": [
129
- {
130
- "internalType": "address",
131
- "name": "distributor",
132
- "type": "address"
133
- },
134
124
  {
135
125
  "internalType": "NftId",
136
- "name": "distributorNftId",
126
+ "name": "nftId",
137
127
  "type": "uint96"
128
+ },
129
+ {
130
+ "internalType": "ObjectType",
131
+ "name": "objectType",
132
+ "type": "uint8"
138
133
  }
139
134
  ],
140
- "name": "ErrorDistributionAlreadyDistributor",
135
+ "name": "ErrorInstanceLinkedComponentNotProduct",
141
136
  "type": "error"
142
137
  },
143
138
  {
144
139
  "inputs": [
145
140
  {
146
- "internalType": "address",
147
- "name": "distributor",
148
- "type": "address"
141
+ "internalType": "ObjectType",
142
+ "name": "requiredType",
143
+ "type": "uint8"
144
+ },
145
+ {
146
+ "internalType": "ObjectType",
147
+ "name": "objectType",
148
+ "type": "uint8"
149
149
  }
150
150
  ],
151
- "name": "ErrorDistributionNotDistributor",
151
+ "name": "ErrorInstanceLinkedComponentTypeMismatch",
152
152
  "type": "error"
153
153
  },
154
154
  {
@@ -178,6 +178,22 @@
178
178
  "name": "ErrorNftOwnableInitialOwnerZero",
179
179
  "type": "error"
180
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
+ },
181
197
  {
182
198
  "inputs": [
183
199
  {
@@ -200,6 +216,11 @@
200
216
  "name": "ErrorNotRegistry",
201
217
  "type": "error"
202
218
  },
219
+ {
220
+ "inputs": [],
221
+ "name": "ErrorRegisterableNotActive",
222
+ "type": "error"
223
+ },
203
224
  {
204
225
  "inputs": [],
205
226
  "name": "InvalidInitialization",
@@ -239,6 +260,12 @@
239
260
  {
240
261
  "anonymous": false,
241
262
  "inputs": [
263
+ {
264
+ "indexed": false,
265
+ "internalType": "address",
266
+ "name": "tokenHandler",
267
+ "type": "address"
268
+ },
242
269
  {
243
270
  "indexed": false,
244
271
  "internalType": "address",
@@ -250,6 +277,12 @@
250
277
  "internalType": "Amount",
251
278
  "name": "limit",
252
279
  "type": "uint96"
280
+ },
281
+ {
282
+ "indexed": false,
283
+ "internalType": "bool",
284
+ "name": "isMaxAmount",
285
+ "type": "bool"
253
286
  }
254
287
  ],
255
288
  "name": "LogComponentTokenHandlerApproved",
@@ -311,13 +344,32 @@
311
344
  {
312
345
  "indexed": false,
313
346
  "internalType": "address",
314
- "name": "caller",
347
+ "name": "operator",
315
348
  "type": "address"
316
349
  }
317
350
  ],
318
351
  "name": "LogDistributorUpdated",
319
352
  "type": "event"
320
353
  },
354
+ {
355
+ "anonymous": false,
356
+ "inputs": [
357
+ {
358
+ "indexed": false,
359
+ "internalType": "NftId",
360
+ "name": "nftId",
361
+ "type": "uint96"
362
+ },
363
+ {
364
+ "indexed": false,
365
+ "internalType": "address",
366
+ "name": "owner",
367
+ "type": "address"
368
+ }
369
+ ],
370
+ "name": "LogNftOwnableNftLinkedToAddress",
371
+ "type": "event"
372
+ },
321
373
  {
322
374
  "inputs": [],
323
375
  "name": "COMPONENT_LOCATION_V1",
@@ -386,26 +438,13 @@
386
438
  {
387
439
  "inputs": [
388
440
  {
389
- "internalType": "address",
441
+ "internalType": "contract IERC20Metadata",
390
442
  "name": "token",
391
443
  "type": "address"
392
444
  },
393
445
  {
394
446
  "internalType": "Amount",
395
- "name": "spendingLimitAmount",
396
- "type": "uint96"
397
- }
398
- ],
399
- "name": "approveTokenHandler",
400
- "outputs": [],
401
- "stateMutability": "nonpayable",
402
- "type": "function"
403
- },
404
- {
405
- "inputs": [
406
- {
407
- "internalType": "Amount",
408
- "name": "spendingLimitAmount",
447
+ "name": "amount",
409
448
  "type": "uint96"
410
449
  }
411
450
  ],
@@ -431,7 +470,7 @@
431
470
  "inputs": [
432
471
  {
433
472
  "internalType": "ReferralId",
434
- "name": "referralId",
473
+ "name": "",
435
474
  "type": "bytes8"
436
475
  },
437
476
  {
@@ -451,6 +490,29 @@
451
490
  "stateMutability": "view",
452
491
  "type": "function"
453
492
  },
493
+ {
494
+ "inputs": [
495
+ {
496
+ "internalType": "NftId",
497
+ "name": "distributorNftId",
498
+ "type": "uint96"
499
+ },
500
+ {
501
+ "internalType": "DistributorType",
502
+ "name": "distributorType",
503
+ "type": "bytes8"
504
+ },
505
+ {
506
+ "internalType": "bytes",
507
+ "name": "data",
508
+ "type": "bytes"
509
+ }
510
+ ],
511
+ "name": "changeDistributorType",
512
+ "outputs": [],
513
+ "stateMutability": "nonpayable",
514
+ "type": "function"
515
+ },
454
516
  {
455
517
  "inputs": [
456
518
  {
@@ -490,17 +552,17 @@
490
552
  {
491
553
  "internalType": "UFixed",
492
554
  "name": "minDiscountPercentage",
493
- "type": "uint256"
555
+ "type": "uint160"
494
556
  },
495
557
  {
496
558
  "internalType": "UFixed",
497
559
  "name": "maxDiscountPercentage",
498
- "type": "uint256"
560
+ "type": "uint160"
499
561
  },
500
562
  {
501
563
  "internalType": "UFixed",
502
564
  "name": "commissionPercentage",
503
- "type": "uint256"
565
+ "type": "uint160"
504
566
  },
505
567
  {
506
568
  "internalType": "uint32",
@@ -508,9 +570,9 @@
508
570
  "type": "uint32"
509
571
  },
510
572
  {
511
- "internalType": "uint32",
573
+ "internalType": "Seconds",
512
574
  "name": "maxReferralLifetime",
513
- "type": "uint32"
575
+ "type": "uint40"
514
576
  },
515
577
  {
516
578
  "internalType": "bool",
@@ -541,6 +603,11 @@
541
603
  },
542
604
  {
543
605
  "inputs": [
606
+ {
607
+ "internalType": "NftId",
608
+ "name": "distributorNftId",
609
+ "type": "uint96"
610
+ },
544
611
  {
545
612
  "internalType": "string",
546
613
  "name": "code",
@@ -549,7 +616,7 @@
549
616
  {
550
617
  "internalType": "UFixed",
551
618
  "name": "discountPercentage",
552
- "type": "uint256"
619
+ "type": "uint160"
553
620
  },
554
621
  {
555
622
  "internalType": "uint32",
@@ -578,6 +645,50 @@
578
645
  "stateMutability": "nonpayable",
579
646
  "type": "function"
580
647
  },
648
+ {
649
+ "inputs": [
650
+ {
651
+ "internalType": "NftId",
652
+ "name": "distributorNftId",
653
+ "type": "uint96"
654
+ },
655
+ {
656
+ "internalType": "string",
657
+ "name": "code",
658
+ "type": "string"
659
+ },
660
+ {
661
+ "internalType": "UFixed",
662
+ "name": "discountPercentage",
663
+ "type": "uint160"
664
+ },
665
+ {
666
+ "internalType": "uint32",
667
+ "name": "maxReferrals",
668
+ "type": "uint32"
669
+ },
670
+ {
671
+ "internalType": "Timestamp",
672
+ "name": "expiryAt",
673
+ "type": "uint40"
674
+ },
675
+ {
676
+ "internalType": "bytes",
677
+ "name": "data",
678
+ "type": "bytes"
679
+ }
680
+ ],
681
+ "name": "createReferral2",
682
+ "outputs": [
683
+ {
684
+ "internalType": "ReferralId",
685
+ "name": "referralId",
686
+ "type": "bytes8"
687
+ }
688
+ ],
689
+ "stateMutability": "nonpayable",
690
+ "type": "function"
691
+ },
581
692
  {
582
693
  "inputs": [],
583
694
  "name": "getAuthorization",
@@ -602,26 +713,11 @@
602
713
  "name": "name",
603
714
  "type": "string"
604
715
  },
605
- {
606
- "internalType": "NftId",
607
- "name": "productNftId",
608
- "type": "uint96"
609
- },
610
- {
611
- "internalType": "contract IERC20Metadata",
612
- "name": "token",
613
- "type": "address"
614
- },
615
716
  {
616
717
  "internalType": "contract TokenHandler",
617
718
  "name": "tokenHandler",
618
719
  "type": "address"
619
720
  },
620
- {
621
- "internalType": "address",
622
- "name": "wallet",
623
- "type": "address"
624
- },
625
721
  {
626
722
  "internalType": "bytes",
627
723
  "name": "data",
@@ -649,7 +745,7 @@
649
745
  {
650
746
  "internalType": "UFixed",
651
747
  "name": "discountPercentage",
652
- "type": "uint256"
748
+ "type": "uint160"
653
749
  },
654
750
  {
655
751
  "internalType": "ReferralStatus",
@@ -660,25 +756,6 @@
660
756
  "stateMutability": "view",
661
757
  "type": "function"
662
758
  },
663
- {
664
- "inputs": [
665
- {
666
- "internalType": "address",
667
- "name": "distributor",
668
- "type": "address"
669
- }
670
- ],
671
- "name": "getDistributorNftId",
672
- "outputs": [
673
- {
674
- "internalType": "NftId",
675
- "name": "distributorNftId",
676
- "type": "uint96"
677
- }
678
- ],
679
- "stateMutability": "view",
680
- "type": "function"
681
- },
682
759
  {
683
760
  "inputs": [],
684
761
  "name": "getInitialComponentInfo",
@@ -690,26 +767,11 @@
690
767
  "name": "name",
691
768
  "type": "string"
692
769
  },
693
- {
694
- "internalType": "NftId",
695
- "name": "productNftId",
696
- "type": "uint96"
697
- },
698
- {
699
- "internalType": "contract IERC20Metadata",
700
- "name": "token",
701
- "type": "address"
702
- },
703
770
  {
704
771
  "internalType": "contract TokenHandler",
705
772
  "name": "tokenHandler",
706
773
  "type": "address"
707
774
  },
708
- {
709
- "internalType": "address",
710
- "name": "wallet",
711
- "type": "address"
712
- },
713
775
  {
714
776
  "internalType": "bytes",
715
777
  "name": "data",
@@ -826,19 +888,6 @@
826
888
  "stateMutability": "view",
827
889
  "type": "function"
828
890
  },
829
- {
830
- "inputs": [],
831
- "name": "getProductNftId",
832
- "outputs": [
833
- {
834
- "internalType": "NftId",
835
- "name": "productNftId",
836
- "type": "uint96"
837
- }
838
- ],
839
- "stateMutability": "view",
840
- "type": "function"
841
- },
842
891
  {
843
892
  "inputs": [
844
893
  {
@@ -871,6 +920,19 @@
871
920
  "stateMutability": "view",
872
921
  "type": "function"
873
922
  },
923
+ {
924
+ "inputs": [],
925
+ "name": "getRelease",
926
+ "outputs": [
927
+ {
928
+ "internalType": "VersionPart",
929
+ "name": "release",
930
+ "type": "uint8"
931
+ }
932
+ ],
933
+ "stateMutability": "view",
934
+ "type": "function"
935
+ },
874
936
  {
875
937
  "inputs": [],
876
938
  "name": "getToken",
@@ -897,6 +959,19 @@
897
959
  "stateMutability": "view",
898
960
  "type": "function"
899
961
  },
962
+ {
963
+ "inputs": [],
964
+ "name": "getVersion",
965
+ "outputs": [
966
+ {
967
+ "internalType": "Version",
968
+ "name": "version",
969
+ "type": "uint24"
970
+ }
971
+ ],
972
+ "stateMutability": "view",
973
+ "type": "function"
974
+ },
900
975
  {
901
976
  "inputs": [],
902
977
  "name": "getWallet",
@@ -919,7 +994,7 @@
919
994
  },
920
995
  {
921
996
  "internalType": "NftId",
922
- "name": "instanceNftId",
997
+ "name": "productNftId",
923
998
  "type": "uint96"
924
999
  },
925
1000
  {
@@ -936,11 +1011,6 @@
936
1011
  "internalType": "string",
937
1012
  "name": "name",
938
1013
  "type": "string"
939
- },
940
- {
941
- "internalType": "address",
942
- "name": "token",
943
- "type": "address"
944
1014
  }
945
1015
  ],
946
1016
  "name": "initialize",
@@ -950,31 +1020,25 @@
950
1020
  },
951
1021
  {
952
1022
  "inputs": [],
953
- "name": "isConsumingScheduledOp",
1023
+ "name": "isActive",
954
1024
  "outputs": [
955
1025
  {
956
- "internalType": "bytes4",
957
- "name": "",
958
- "type": "bytes4"
1026
+ "internalType": "bool",
1027
+ "name": "active",
1028
+ "type": "bool"
959
1029
  }
960
1030
  ],
961
1031
  "stateMutability": "view",
962
1032
  "type": "function"
963
1033
  },
964
1034
  {
965
- "inputs": [
966
- {
967
- "internalType": "address",
968
- "name": "candidate",
969
- "type": "address"
970
- }
971
- ],
972
- "name": "isDistributor",
1035
+ "inputs": [],
1036
+ "name": "isConsumingScheduledOp",
973
1037
  "outputs": [
974
1038
  {
975
- "internalType": "bool",
1039
+ "internalType": "bytes4",
976
1040
  "name": "",
977
- "type": "bool"
1041
+ "type": "bytes4"
978
1042
  }
979
1043
  ],
980
1044
  "stateMutability": "view",
@@ -1032,31 +1096,6 @@
1032
1096
  "stateMutability": "nonpayable",
1033
1097
  "type": "function"
1034
1098
  },
1035
- {
1036
- "inputs": [],
1037
- "name": "lock",
1038
- "outputs": [],
1039
- "stateMutability": "nonpayable",
1040
- "type": "function"
1041
- },
1042
- {
1043
- "inputs": [
1044
- {
1045
- "internalType": "address",
1046
- "name": "to",
1047
- "type": "address"
1048
- },
1049
- {
1050
- "internalType": "uint256",
1051
- "name": "tokenId",
1052
- "type": "uint256"
1053
- }
1054
- ],
1055
- "name": "nftMint",
1056
- "outputs": [],
1057
- "stateMutability": "nonpayable",
1058
- "type": "function"
1059
- },
1060
1099
  {
1061
1100
  "inputs": [
1062
1101
  {
@@ -1073,6 +1112,11 @@
1073
1112
  "internalType": "uint256",
1074
1113
  "name": "tokenId",
1075
1114
  "type": "uint256"
1115
+ },
1116
+ {
1117
+ "internalType": "address",
1118
+ "name": "operator",
1119
+ "type": "address"
1076
1120
  }
1077
1121
  ],
1078
1122
  "name": "nftTransferFrom",
@@ -1098,13 +1142,6 @@
1098
1142
  "stateMutability": "nonpayable",
1099
1143
  "type": "function"
1100
1144
  },
1101
- {
1102
- "inputs": [],
1103
- "name": "register",
1104
- "outputs": [],
1105
- "stateMutability": "nonpayable",
1106
- "type": "function"
1107
- },
1108
1145
  {
1109
1146
  "inputs": [
1110
1147
  {
@@ -1125,12 +1162,12 @@
1125
1162
  {
1126
1163
  "internalType": "UFixed",
1127
1164
  "name": "fractionalFee",
1128
- "type": "uint256"
1165
+ "type": "uint160"
1129
1166
  },
1130
1167
  {
1131
- "internalType": "uint256",
1168
+ "internalType": "Amount",
1132
1169
  "name": "fixedFee",
1133
- "type": "uint256"
1170
+ "type": "uint96"
1134
1171
  }
1135
1172
  ],
1136
1173
  "internalType": "struct Fee",
@@ -1142,12 +1179,12 @@
1142
1179
  {
1143
1180
  "internalType": "UFixed",
1144
1181
  "name": "fractionalFee",
1145
- "type": "uint256"
1182
+ "type": "uint160"
1146
1183
  },
1147
1184
  {
1148
- "internalType": "uint256",
1185
+ "internalType": "Amount",
1149
1186
  "name": "fixedFee",
1150
- "type": "uint256"
1187
+ "type": "uint96"
1151
1188
  }
1152
1189
  ],
1153
1190
  "internalType": "struct Fee",
@@ -1160,6 +1197,19 @@
1160
1197
  "stateMutability": "nonpayable",
1161
1198
  "type": "function"
1162
1199
  },
1200
+ {
1201
+ "inputs": [
1202
+ {
1203
+ "internalType": "bool",
1204
+ "name": "locked",
1205
+ "type": "bool"
1206
+ }
1207
+ ],
1208
+ "name": "setLocked",
1209
+ "outputs": [],
1210
+ "stateMutability": "nonpayable",
1211
+ "type": "function"
1212
+ },
1163
1213
  {
1164
1214
  "inputs": [
1165
1215
  {
@@ -1192,36 +1242,6 @@
1192
1242
  "stateMutability": "view",
1193
1243
  "type": "function"
1194
1244
  },
1195
- {
1196
- "inputs": [],
1197
- "name": "unlock",
1198
- "outputs": [],
1199
- "stateMutability": "nonpayable",
1200
- "type": "function"
1201
- },
1202
- {
1203
- "inputs": [
1204
- {
1205
- "internalType": "NftId",
1206
- "name": "distributorNftId",
1207
- "type": "uint96"
1208
- },
1209
- {
1210
- "internalType": "DistributorType",
1211
- "name": "distributorType",
1212
- "type": "bytes8"
1213
- },
1214
- {
1215
- "internalType": "bytes",
1216
- "name": "data",
1217
- "type": "bytes"
1218
- }
1219
- ],
1220
- "name": "updateDistributorType",
1221
- "outputs": [],
1222
- "stateMutability": "nonpayable",
1223
- "type": "function"
1224
- },
1225
1245
  {
1226
1246
  "inputs": [
1227
1247
  {
@@ -1266,66 +1286,66 @@
1266
1286
  "type": "function"
1267
1287
  }
1268
1288
  ],
1269
- "bytecode": "0x608060405234801561000f575f80fd5b50604051614fc2380380614fc283398101604081905261002e91610b3b565b61006c858585856040518060400160405280601281526020017129b4b6b83632a234b9ba3934b13aba34b7b760711b8152508661007660201b60201c565b5050505050610ef2565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000810460ff1615906001600160401b03165f811580156100bf5750825b90505f826001600160401b031660011480156100da5750303b155b9050811580156100e8575080155b156101065760405163f92ee8a960e01b815260040160405180910390fd5b84546001600160401b0319166001178555831561013457845460ff60401b1916680100000000000000001785555b6101428b8b8b8b8b8b610195565b831561018857845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050505050565b61019d6101d7565b6101cf86868686868660405180602001604052805f81525060405180602001604052805f81525061022760201b60201c565b505050505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff1661022557604051631afcd79f60e31b815260040160405180910390fd5b565b61022f6101d7565b61024388888686600e8b60018c8a8a6102d6565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900610273600e610588565b610588565b6001820180546001600160a01b0319166001600160a01b03929092169190911790556102a061026e600b90565b81546001600160a01b0319166001600160a01b03919091161781556102cb6301a39f4760e01b6106a3565b505050505050505050565b6102de6101d7565b5f7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f006040516305247a1760e51b81526001600160601b038c1660048201529091506001600160a01b038c169063a48f42e0906024015f60405180830381865afa15801561034d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526103749190810190610c95565b6080015181546001600160a01b0319166001600160a01b0390911690811782556040516301ffc9a760e01b8152632b1cb34b60e11b60048201526301ffc9a790602401602060405180830381865afa1580156103d2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103f69190610d65565b61042357604051637db5183160e11b81526001600160601b038b1660048201526024015b60405180910390fd5b80546040805163bf7e214f60e01b8152905161049d926001600160a01b03169163bf7e214f9160048083019260209291908290030181865afa15801561046b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061048f9190610d7e565b8c8c8c8c8c8b8b8b8b6106cf565b8054604080516302cd307160e01b815290516001600160a01b03909216916302cd3071916004808201926020929091908290030181865afa1580156104e4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105089190610d7e565b6001820180546001600160a01b03199081166001600160a01b039384161790915560028301805490911691881691909117905561054661026e600b90565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055610578634a531f3360e01b6106a3565b6101886376c9b41160e11b6106a3565b5f807fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f005460408051633379d27d60e21b815290516001600160a01b039092169163cde749f4916004808201926020929091908290030181865afa1580156105f1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106159190610d99565b90506106296001546001600160a01b031690565b60405163d39e604360e01b815260ff8086166004830152831660248201526001600160a01b03919091169063d39e604390604401602060405180830381865afa158015610678573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061069c9190610d7e565b9392505050565b6106ab6101d7565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b6106d76101d7565b6106e58989878787876107d4565b6106ee8a610886565b6001600160a01b038616610715576040516327eab2e360e11b815260040160405180910390fd5b86515f036107365760405163591eebf360e11b815260040160405180910390fd5b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f00806107628982610e38565b506001810180546001600160a01b0319166001600160a01b0389161790556002810180546001600160a81b0319163060ff60a01b191617600160a01b87151502179055600381016107b38382610e38565b506107c4634a531f3360e01b6106a3565b610188632986755f60e11b6106a3565b6107dc6101d7565b6107e6828761089a565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166001600160681b0319909116176c0100000000000000000000000060ff8716021760ff60681b19166d0100000000000000000000000000851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30161087c8382610e38565b5050505050505050565b61088e6101d7565b6108978161092c565b50565b6108a26101d7565b6108ab8161093d565b6108b3610a49565b6001600160a01b0382166108da5760405163f17ef42d60e01b815260040160405180910390fd5b507f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0080546001600160601b03166c010000000000000000000000006001600160a01b0390931692909202919091179055565b6109346101d7565b61089781610a8e565b6109456101d7565b806001600160a01b03163b5f0361097a5760405163fdeac91f60e01b81526001600160a01b038216600482015260240161041a565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632f6da6f960e01b60048201526301ffc9a790602401602060405180830381865afa9250505080156109f4575060408051601f3d908101601f191682019092526109f191810190610d65565b60015b610a1c5760405163fdeac91f60e01b81526001600160a01b038216600482015260240161041a565b80610a455760405163fdeac91f60e01b81526001600160a01b038316600482015260240161041a565b5050565b610a516101d7565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b7ff3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a0080546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6001600160a01b0381168114610897575f80fd5b8051610b2081610b01565b919050565b80516001600160601b0381168114610b20575f80fd5b5f805f805f60a08688031215610b4f575f80fd5b8551610b5a81610b01565b9450610b6860208701610b25565b93506040860151610b7881610b01565b6060870151909350610b8981610b01565b6080870151909250610b9a81610b01565b809150509295509295909350565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b0381118282101715610bde57610bde610ba8565b60405290565b60ff81168114610897575f80fd5b8051610b2081610be4565b80518015158114610b20575f80fd5b5f82601f830112610c1b575f80fd5b81516001600160401b03811115610c3457610c34610ba8565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610c6257610c62610ba8565b604052818152838201602001851015610c79575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f60208284031215610ca5575f80fd5b81516001600160401b03811115610cba575f80fd5b820160e08185031215610ccb575f80fd5b610cd3610bbc565b610cdc82610b25565b8152610cea60208301610b25565b6020820152610cfb60408301610bf2565b6040820152610d0c60608301610bfd565b6060820152610d1d60808301610b15565b6080820152610d2e60a08301610b15565b60a082015260c08201516001600160401b03811115610d4b575f80fd5b610d5786828501610c0c565b60c083015250949350505050565b5f60208284031215610d75575f80fd5b61069c82610bfd565b5f60208284031215610d8e575f80fd5b815161069c81610b01565b5f60208284031215610da9575f80fd5b815161069c81610be4565b600181811c90821680610dc857607f821691505b602082108103610de657634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610e3357805f5260205f20601f840160051c81016020851015610e115750805b601f840160051c820191505b81811015610e30575f8155600101610e1d565b50505b505050565b81516001600160401b03811115610e5157610e51610ba8565b610e6581610e5f8454610db4565b84610dec565b6020601f821160018114610e97575f8315610e805750848201515b5f19600385901b1c1916600184901b178455610e30565b5f84815260208120601f198516915b82811015610ec65787850151825560209485019460019092019101610ea6565b5084821015610ee357868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b6140c380610eff5f395ff3fe608060405234801561000f575f80fd5b5060043610610296575f3560e01c80637a9e5e4b11610161578063bb1e0e59116100ca578063e7f7fb8611610084578063e7f7fb861461060a578063ea15869f1461061d578063f5860e1a14610631578063f80e207214610645578063f83d08ba14610658578063f86664d214610660575f80fd5b8063bb1e0e5914610582578063bf7e214f14610595578063d16d0fe81461059d578063de7b5d14146105b0578063deaa59df146105cd578063e145d46c146105e0575f80fd5b8063a69df4b51161011b578063a69df4b514610525578063ada9652e1461052d578063b2a6b42d14610541578063b423086c14610554578063b6b412ba1461055c578063bae99c991461056f575f80fd5b80637a9e5e4b146104ba57806387ef9ba0146104cd578063893d20e8146104d45780638f0c86fa146104dc5780638fb36037146104ef57806390edbd3514610510575f80fd5b80632b5198b11161020357806359660bea116101bd57806359660bea146104385780635ab1bd531461044b5780635dcb3bae1461045c578063644c45e01461046f5780636bd1c0eb146104775780637427d7a8146104a7575f80fd5b80632b5198b1146103c25780632eb3e6f4146103ee5780633d683fd914610402578063419197fe1461041557806343d752d3146104285780635741e5e914610430575f80fd5b806317d7de7c1161025457806317d7de7c1461034b5780631aa3a008146103605780631c6b21901461036a5780631eff4b221461037d57806321df0da7146103b257806322366844146103ba575f80fd5b806251884a1461029a57806301ffc9a7146102bf57806307e71a6e146102fb5780630fec111c1461030e5780631329960414610323578063138461e014610343575b5f80fd5b6102a2610673565b6040516001600160601b0390911681526020015b60405180910390f35b6102eb6102cd366004613253565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020016102b6565b6102a261030936600461328e565b610685565b61031661078a565b6040516102b691906132f3565b61032b610948565b6040516001600160a01b0390911681526020016102b6565b6102a261095a565b610353610969565b6040516102b6919061337f565b610368610979565b005b6102a2610378366004613391565b610a26565b6103a47f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016102b6565b61032b610a7c565b6102eb610a8e565b6103d56103d03660046134e8565b610b84565b6040516001600160c01b031990911681526020016102b6565b6103a45f8051602061406e83398151915281565b6103686104103660046135be565b610be8565b61036861042336600461362f565b610c3c565b61032b610df7565b6102eb610e09565b6103d561044636600461364b565b610ebd565b6001546001600160a01b031661032b565b6102a261046a3660046136e4565b610f14565b6102a2610f6e565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b031661032b565b6103d56104b5366004613701565b610f89565b6103686104c8366004613732565b611009565b60016102eb565b61032b61108f565b6102eb6104ea366004613732565b6111c0565b6104f7611285565b6040516001600160e01b031990911681526020016102b6565b6105186112ba565b6040516102b6919061374d565b6103686112df565b6103a45f80516020613fee83398151915281565b6102a261054f366004613732565b61137d565b6105186113bf565b61036861056a36600461382c565b6113cf565b61036861057d366004613391565b61141d565b61036861059036600461385f565b61146c565b61032b611509565b6103a46105ab366004613889565b611524565b5f8051602061406e833981519152546001600160a01b031661032b565b6103686105db366004613732565b611538565b6105f36105ee366004613701565b6117ae565b6040805192835260ff9091166020830152016102b6565b6103686106183660046138a5565b611868565b6103a45f8051602061400e83398151915281565b6103a45f8051602061404e83398151915281565b610368610653366004613889565b611910565b610368611919565b61036861066e3660046138e3565b61198d565b5f61067c6112ba565b60200151905090565b5f610692335b5f36611aa3565b61069b336111c0565b6106bf5760405163637c41bb60e01b81523360048201526024015b60405180910390fd5b826106d26001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561071f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107439190613983565b6001600160a01b0316336001600160a01b0316146107765760405163086391f760e31b81523360048201526024016106b6565b6107808484611ba1565b91505b5092915050565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561083a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061085e91906139a9565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016108a661108f565b6001600160a01b031681526020018260010180546108c3906139c4565b80601f01602080910402602001604051908101604052809291908181526020018280546108ef906139c4565b801561093a5780601f106109115761010080835404028352916020019161093a565b820191905f5260205f20905b81548152906001019060200180831161091d57829003601f168201915b505050505081525091505090565b5f6109516112ba565b60800151905090565b5f61096430611c2d565b905090565b60606109736112ba565b51919050565b61098161108f565b6001600160a01b0316336001600160a01b0316146109b45760405163086391f760e31b81523360048201526024016106b6565b5f8051602061404e833981519152546040805163be495be560e01b815290516001600160a01b039092169163be495be5916004808201925f9290919082900301818387803b158015610a04575f80fd5b505af1158015610a16573d5f803e3d5ffd5b50505050610a245f19611e21565b565b5f610a2f61108f565b6001600160a01b0316336001600160a01b031614610a625760405163086391f760e31b81523360048201526024016106b6565b610a6b3361068b565b610a7482611e9f565b90505b919050565b5f610a856112ba565b60400151905090565b5f610aa16001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610ae5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b0991906139a9565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610b60573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109649190613a07565b5f610b8d61108f565b6001600160a01b0316336001600160a01b031614610bc05760405163086391f760e31b81523360048201526024016106b6565b610bc93361068b565b610bda8a8a8a8a8a8a8a8a8a611f23565b9a9950505050505050505050565b610bf061108f565b6001600160a01b0316336001600160a01b031614610c235760405163086391f760e31b81523360048201526024016106b6565b610c2c3361068b565b610c37838383611fe2565b505050565b610c4461108f565b6001600160a01b0316336001600160a01b031614610c775760405163086391f760e31b81523360048201526024016106b6565b30610c80610948565b6001600160a01b031614610ca75760405163b6d7537f60e01b815260040160405180910390fd5b7ff1220014fdb8b69aee438722b1fe13ee4a807811a472467cee162f7b866e704e610cd0610df7565b604080516001600160a01b0390921682526001600160601b03841660208301520160405180910390a1816001600160a01b031663095ea7b3610d10610df7565b60405163046e44af60e11b81526001600160601b038516600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015610d66573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d8a9190613a22565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044015b6020604051808303815f875af1158015610dd3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c379190613a07565b5f610e006112ba565b60600151905090565b5f610e12610a8e565b15610e8d576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610e66573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610e009190810190613aa1565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0254600160a01b900460ff1690565b5f610ec7336111c0565b610ee65760405163637c41bb60e01b81523360048201526024016106b6565b610eef3361068b565b5f610ef93361137d565b9050610f09818888888888611ff9565b979650505050505050565b5f610f1d61108f565b6001600160a01b0316336001600160a01b031614610f505760405163086391f760e31b81523360048201526024016106b6565b610f593361068b565b610f648484846120af565b90505b9392505050565b5f80516020613fee833981519152546001600160601b031690565b5f73__$05887d5853069c88bcd4c0a2107db45f29$__633f093cd6610fac610f6e565b846040518363ffffffff1660e01b8152600401610fca929190613b71565b602060405180830381865af4158015610fe5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a749190613b92565b33611012611509565b6001600160a01b0316816001600160a01b03161461104d5760405162d1953b60e31b81526001600160a01b03821660048201526024016106b6565b816001600160a01b03163b5f03611082576040516361798f2f60e11b81526001600160a01b03831660048201526024016106b6565b61108b82612273565b5050565b5f805f80516020613fee83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156110fb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061111f9190613a07565b156111aa576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611180573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111a49190613983565b91505090565b54600160601b90046001600160a01b0316919050565b6001600160a01b0381165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f8051602061404e8339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af4158015611261573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f679190613a07565b5f8051602061402e83398151915280545f9190600160a01b900460ff166112ac575f6111a4565b638fb3603760e01b91505090565b6112c26131fd565b6112ca610a8e565b156112d7576109646122d3565b6109646113bf565b6112e761108f565b6001600160a01b0316336001600160a01b03161461131a5760405163086391f760e31b81523360048201526024016106b6565b611324600a61249a565b60405163581e954760e11b81525f60048201526001600160a01b03919091169063b03d2a8e906024015b5f604051808303815f87803b158015611365575f80fd5b505af1158015611377573d5f803e3d5ffd5b50505050565b6001600160a01b03165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90260205260409020546001600160601b031690565b6113c76131fd565b6109646122d3565b6113d761108f565b6001600160a01b0316336001600160a01b03161461140a5760405163086391f760e31b81523360048201526024016106b6565b6114133361068b565b61108b828261259b565b61142561108f565b6001600160a01b0316336001600160a01b0316146114585760405163086391f760e31b81523360048201526024016106b6565b611469611463610a7c565b82610c3c565b50565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114b3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114d79190613983565b6001600160a01b0316336001600160a01b03161461108b5760405162f0630960e01b81523360048201526024016106b6565b5f8051602061402e833981519152546001600160a01b031690565b5f61152f8282613bad565b90505b92915050565b61154061108f565b6001600160a01b0316336001600160a01b0316146115735760405163086391f760e31b81523360048201526024016106b6565b5f61157c610948565b90505f611587610a7c565b6040516370a0823160e01b81526001600160a01b03848116600483015291909116906370a0823190602401602060405180830381865afa1580156115cd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115f19190613a22565b90506115fc83612602565b8015610c3757604080516001600160a01b038085168252851660208201529081018290527f8f925ed35e36754081a3353f30c5686c405280f94d1cfe322ee5707833d898679060600160405180910390a1306001600160a01b0383160361175d57611665610df7565b6001600160a01b03166354f0d84c838573__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b81526004016116ae91815260200190565b602060405180830381865af41580156116c9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116ed91906139a9565b6040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526001600160601b031660448201526064015f604051808303815f87803b158015611742575f80fd5b505af1158015611754573d5f803e3d5ffd5b50505050505050565b611765610df7565b6001600160a01b031663c7d63d57838573__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b81526004016116ae91815260200190565b5f805f6117ba84610f89565b90506117ed7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163b82d7ef560e01b81526001600160c01b0319831660048201526001600160a01b03919091169063b82d7ef5906024016040805180830381865afa15801561183a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061185e9190613bd0565b9250925050915091565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118af573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118d39190613983565b6001600160a01b0316336001600160a01b0316146119055760405162f0630960e01b81523360048201526024016106b6565b610c3783838361269b565b61108b3361068b565b61192161108f565b6001600160a01b0316336001600160a01b0316146119545760405163086391f760e31b81523360048201526024016106b6565b61195e600a61249a565b60405163581e954760e11b8152600160048201526001600160a01b03919091169063b03d2a8e9060240161134e565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f811580156119d15750825b90505f826001600160401b031660011480156119ec5750303b155b9050811580156119fa575080155b15611a185760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611a4257845460ff60401b1916600160401b1785555b611a508b8b8b8b8b8b612841565b8315611a9657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050505050565b5f8051602061402e8339815191525f80611adb611abe611509565b8730611acd60045f8a8c613bf4565b611ad691613c1b565b612875565b9150915081611b995763ffffffff811615611b7657825460ff60a01b1916600160a01b178355611b09611509565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611b3893929190613c51565b5f604051808303815f87803b158015611b4f575f80fd5b505af1158015611b61573d5f803e3d5ffd5b5050845460ff60a01b1916855550611b999050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016106b6565b505050505050565b5f5f8051602061404e833981519152600101546040516303f38d3760e11b81526001600160601b038086166004830152841660248201526001600160a01b03909116906307e71a6e906044016020604051808303815f875af1158015611c09573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061152f91906139a9565b5f805f80516020613fee83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611c99573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cbd9190613a07565b15611ce95780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016106b6565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611d3b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d5f9190613a07565b611d875760405163b9304b0d60e01b81526001600160a01b03841660048201526024016106b6565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611dd9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611dfd91906139a9565b81546001600160601b0319166001600160601b039190911690811790915592915050565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f01545f8051602061400e833981519152906001600160a01b031663095ea7b3611e686112ba565b606001516040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260248101859052604401610db7565b5f5f8051602061406e833981519152600301546040516301c6b21960e41b81526001600160601b03841660048201526001600160a01b0390911690631c6b2190906024016020604051808303815f875af1158015611eff573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a7491906139a9565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051632b5198b160e01b81525f915f8051602061404e833981519152916001600160a01b0390911690632b5198b190611f93908e908e908e908e908e908e908e908e908e90600401613c90565b6020604051808303815f875af1158015611faf573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fd39190613b92565b9b9a5050505050505050505050565b5f5f8051602061404e8339815191525b5050505050565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051638dd2b78160e01b81525f915f8051602061404e833981519152916001600160a01b0390911690638dd2b78190612063908b908b908b908b908b908b90600401613d01565b6020604051808303815f875af115801561207f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120a39190613b92565b98975050505050505050565b6001600160a01b0383165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f8051602061404e8339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af4158015612150573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121749190613a07565b156121bf576001600160a01b0385165f8181526002830160205260409081902054905163d56c930160e01b815260048101929092526001600160601b031660248201526044016106b6565b6001810154604051632ee59dd760e11b81526001600160a01b0390911690635dcb3bae906121f590889088908890600401613d60565b6020604051808303815f875af1158015612211573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061223591906139a9565b6001600160a01b039095165f90815260029091016020526040902080546001600160601b0386166001600160601b0319909116179055509192915050565b5f8051602061402e83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6122db6131fd565b5f6122ee6001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015612332573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061235691906139a9565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156123af573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123d39190613a07565b15612492577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031663f0ea17c3612410610f6e565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015612451573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526124789190810190613d93565b60808101519092506001600160a01b031615612492575090565b6111a461297d565b5f805f8051602061406e8339815191525460408051633379d27d60e21b815290516001600160a01b039092169163cde749f4916004808201926020929091908290030181865afa1580156124f0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125149190613e6b565b90506125286001546001600160a01b031690565b60405163d39e604360e01b815260ff8086166004830152831660248201526001600160a01b03919091169063d39e604390604401602060405180830381865afa158015612577573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f679190613983565b5f8051602061404e83398151915254604051631bd44bf760e11b81526001600160a01b03909116906337a897ee906125d99085908590600401613e86565b5f604051808303815f87803b1580156125f0575f80fd5b505af1158015611b99573d5f803e3d5ffd5b61260a61108f565b6001600160a01b0316336001600160a01b03161461263d5760405163086391f760e31b81523360048201526024016106b6565b612647600b61249a565b60405163deaa59df60e01b81526001600160a01b038381166004830152919091169063deaa59df906024015f604051808303815f87803b158015612689575f80fd5b505af1158015611ff2573d5f803e3d5ffd5b604080516001600160a01b03841681523360208201527f04d7077d43765a828a5b0398e13ddca074c675aba69101b22c5d0176d8689434910160405180910390a15f5f8051602061404e833981519152905073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612734573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061275891906139a9565b6001600160a01b0385165f9081526002830160205260409081902080546001600160601b0319166001600160601b0393909316929092179091555163efac97cf60e01b81526004810183905273__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af41580156127de573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061280291906139a9565b6001600160a01b03939093165f9081526002919091016020526040902080546001600160601b0319166001600160601b03909316929092179091555050565b612849612ae1565b611b9986868686868660405180602001604052805f81525060405180602001604052805f815250612b2a565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516128e39190613eac565b5f60405180830381855afa9150503d805f811461291b576040519150601f19603f3d011682016040523d82523d5f602084013e612920565b606091505b5091509150811561297257604081511061295257808060200190518101906129489190613ec2565b9094509250612972565b6020815110612972578080602001905181019061296f9190613a07565b93505b505094509492505050565b6129856131fd565b5f5f8051602061400e83398151915290506040518060c00160405280825f0180546129af906139c4565b80601f01602080910402602001604051908101604052809291908181526020018280546129db906139c4565b8015612a265780601f106129fd57610100808354040283529160200191612a26565b820191905f5260205f20905b815481529060010190602001808311612a0957829003601f168201915b5050505050815260200173__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612a77573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a9b91906139a9565b6001600160601b0316815260018301546001600160a01b0390811660208301525f604083015260028401541660608201526003830180546080909201916108c3906139c4565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16610a2457604051631afcd79f60e31b815260040160405180910390fd5b612b32612ae1565b612b4688888686600e8b60018c8a8a612bc0565b5f8051602061404e833981519152612b5e600e61249a565b6001820180546001600160a01b0319166001600160a01b0392909216919091179055612b8a600b61249a565b81546001600160a01b0319166001600160a01b0391909116178155612bb56301a39f4760e01b612e55565b505050505050505050565b612bc8612ae1565b5f5f8051602061406e8339815191526040516305247a1760e51b81526001600160601b038c1660048201529091506001600160a01b038c169063a48f42e0906024015f60405180830381865afa158015612c24573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612c4b9190810190613aa1565b6080015181546001600160a01b0319166001600160a01b0390911690811782556040516301ffc9a760e01b8152632b1cb34b60e11b60048201526301ffc9a790602401602060405180830381865afa158015612ca9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ccd9190613a07565b612cf557604051637db5183160e11b81526001600160601b038b1660048201526024016106b6565b80546040805163bf7e214f60e01b81529051612d6f926001600160a01b03169163bf7e214f9160048083019260209291908290030181865afa158015612d3d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d619190613983565b8c8c8c8c8c8b8b8b8b612e81565b8054604080516302cd307160e01b815290516001600160a01b03909216916302cd3071916004808201926020929091908290030181865afa158015612db6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612dda9190613983565b6001820180546001600160a01b03199081166001600160a01b0393841617909155600283018054909116918816919091179055612e17600b61249a565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055612e49634a531f3360e01b612e55565b611a966376c9b41160e11b5b612e5d612ae1565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b612e89612ae1565b612e97898987878787612f73565b612ea08a613018565b6001600160a01b038616612ec7576040516327eab2e360e11b815260040160405180910390fd5b86515f03612ee85760405163591eebf360e11b815260040160405180910390fd5b5f8051602061400e83398151915280612f018982613f33565b506001810180546001600160a01b0319166001600160a01b0389161790556002810180546001600160a81b0319163060ff60a01b191617600160a01b8715150217905560038101612f528382613f33565b50612f63634a531f3360e01b612e55565b611a96632986755f60e11b612e55565b612f7b612ae1565b612f858287613029565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30161300e8382613f33565b5050505050505050565b613020612ae1565b6114698161309f565b613031612ae1565b61303a816130b0565b6130426131b8565b6001600160a01b0382166130695760405163f17ef42d60e01b815260040160405180910390fd5b505f80516020613fee83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6130a7612ae1565b61146981612273565b6130b8612ae1565b806001600160a01b03163b5f036130ed5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016106b6565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632f6da6f960e01b60048201526301ffc9a790602401602060405180830381865afa925050508015613167575060408051601f3d908101601f1916820190925261316491810190613a07565b60015b61318f5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016106b6565b8061108b5760405163fdeac91f60e01b81526001600160a01b03831660048201526024016106b6565b6131c0612ae1565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6040518060c00160405280606081526020015f6001600160601b031681526020015f6001600160a01b031681526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b5f60208284031215613263575f80fd5b81356001600160e01b031981168114610f67575f80fd5b6001600160601b0381168114611469575f80fd5b5f806040838503121561329f575f80fd5b82356132aa8161327a565b915060208301356132ba8161327a565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f606083015161333b608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e0808401526107806101008401826132c5565b602081525f61152f60208301846132c5565b5f602082840312156133a1575f80fd5b8135610f678161327a565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b03811182821017156133e2576133e26133ac565b60405290565b60405160c081016001600160401b03811182821017156133e2576133e26133ac565b604051601f8201601f191681016001600160401b0381118282101715613432576134326133ac565b604052919050565b5f6001600160401b03821115613452576134526133ac565b50601f01601f191660200190565b5f82601f83011261346f575f80fd5b8135602083015f6134876134828461343a565b61340a565b905082815285838301111561349a575f80fd5b828260208301375f92810160200192909252509392505050565b63ffffffff81168114611469575f80fd5b8035610a77816134b4565b8015158114611469575f80fd5b8035610a77816134d0565b5f805f805f805f805f6101208a8c031215613501575f80fd5b89356001600160401b03811115613516575f80fd5b6135228c828d01613460565b99505060208a0135975060408a0135965060608a0135955060808a0135613548816134b4565b945061355660a08b016134c5565b935061356460c08b016134dd565b925061357260e08b016134dd565b91506101008a01356001600160401b0381111561358d575f80fd5b6135998c828d01613460565b9150509295985092959850929598565b6001600160c01b031981168114611469575f80fd5b5f805f606084860312156135d0575f80fd5b83356135db8161327a565b925060208401356135eb816135a9565b915060408401356001600160401b03811115613605575f80fd5b61361186828701613460565b9150509250925092565b6001600160a01b0381168114611469575f80fd5b5f8060408385031215613640575f80fd5b82356132aa8161361b565b5f805f805f60a0868803121561365f575f80fd5b85356001600160401b03811115613674575f80fd5b61368088828901613460565b955050602086013593506040860135613698816134b4565b9250606086013564ffffffffff811681146136b1575f80fd5b915060808601356001600160401b038111156136cb575f80fd5b6136d788828901613460565b9150509295509295909350565b5f805f606084860312156136f6575f80fd5b83356135db8161361b565b5f60208284031215613711575f80fd5b81356001600160401b03811115613726575f80fd5b61078084828501613460565b5f60208284031215613742575f80fd5b8135610f678161361b565b602081525f825160c0602084015261376860e08401826132c5565b90506001600160601b03602085015116604084015260018060a01b03604085015116606084015260018060a01b03606085015116608084015260808401516137bb60a08501826001600160a01b03169052565b5060a0840151838203601f190160c08501526137d782826132c5565b95945050505050565b5f604082840312156137f0575f80fd5b604080519081016001600160401b0381118282101715613812576138126133ac565b604052823581526020928301359281019290925250919050565b5f806080838503121561383d575f80fd5b61384784846137e0565b915061385684604085016137e0565b90509250929050565b5f8060408385031215613870575f80fd5b823561387b8161361b565b946020939093013593505050565b5f806040838503121561389a575f80fd5b823561387b816135a9565b5f805f606084860312156138b7575f80fd5b83356138c28161361b565b925060208401356138d28161361b565b929592945050506040919091013590565b5f805f805f8060c087890312156138f8575f80fd5b86356139038161361b565b955060208701356139138161327a565b945060408701356139238161361b565b935060608701356139338161361b565b925060808701356001600160401b0381111561394d575f80fd5b61395989828a01613460565b92505060a087013561396a8161361b565b809150509295509295509295565b8051610a778161361b565b5f60208284031215613993575f80fd5b8151610f678161361b565b8051610a778161327a565b5f602082840312156139b9575f80fd5b8151610f678161327a565b600181811c908216806139d857607f821691505b6020821081036139f657634e487b7160e01b5f52602260045260245ffd5b50919050565b8051610a77816134d0565b5f60208284031215613a17575f80fd5b8151610f67816134d0565b5f60208284031215613a32575f80fd5b5051919050565b60ff81168114611469575f80fd5b8051610a7781613a39565b5f82601f830112613a61575f80fd5b8151602083015f613a746134828461343a565b9050828152858383011115613a87575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f60208284031215613ab1575f80fd5b81516001600160401b03811115613ac6575f80fd5b820160e08185031215613ad7575f80fd5b613adf6133c0565b613ae88261399e565b8152613af66020830161399e565b6020820152613b0760408301613a47565b6040820152613b18606083016139fc565b6060820152613b2960808301613978565b6080820152613b3a60a08301613978565b60a082015260c08201516001600160401b03811115613b57575f80fd5b613b6386828501613a52565b60c083015250949350505050565b6001600160601b0383168152604060208201525f610f6460408301846132c5565b5f60208284031215613ba2575f80fd5b8151610f67816135a9565b808202811582820484141761153257634e487b7160e01b5f52601160045260245ffd5b5f8060408385031215613be1575f80fd5b825160208401519092506132ba81613a39565b5f8085851115613c02575f80fd5b83861115613c0e575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015610783576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b61012081525f613ca461012083018c6132c5565b8a602084015289604084015288606084015263ffffffff8816608084015263ffffffff871660a084015285151560c084015284151560e0840152828103610100840152613cf181856132c5565b9c9b505050505050505050505050565b6001600160601b038716815260c060208201525f613d2260c08301886132c5565b86604084015263ffffffff8616606084015264ffffffffff8516608084015282810360a0840152613d5381856132c5565b9998505050505050505050565b6001600160a01b03841681526001600160c01b0319831660208201526060604082018190525f906137d7908301846132c5565b5f60208284031215613da3575f80fd5b81516001600160401b03811115613db8575f80fd5b820160c08185031215613dc9575f80fd5b613dd16133e8565b81516001600160401b03811115613de6575f80fd5b613df286828501613a52565b825250613e016020830161399e565b6020820152613e1260408301613978565b6040820152613e2360608301613978565b6060820152613e3460808301613978565b608082015260a08201516001600160401b03811115613e51575f80fd5b613e5d86828501613a52565b60a083015250949350505050565b5f60208284031215613e7b575f80fd5b8151610f6781613a39565b825181526020808401518183015282516040830152820151606082015260808101610f67565b5f82518060208501845e5f920191825250919050565b5f8060408385031215613ed3575f80fd5b8251613ede816134d0565b60208401519092506132ba816134b4565b601f821115610c3757805f5260205f20601f840160051c81016020851015613f145750805b601f840160051c820191505b81811015611ff2575f8155600101613f20565b81516001600160401b03811115613f4c57613f4c6133ac565b613f6081613f5a84546139c4565b84613eef565b6020601f821160018114613f92575f8315613f7b5750848201515b5f19600385901b1c1916600184901b178455611ff2565b5f84815260208120601f198516915b82811015613fc15787850151825560209485019460019092019101613fa1565b5084821015613fde57868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00ffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900ffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00a264697066735822122075ebd6500cd0a56016cacb41e284d00eeb40f139be36a9589f5dffb23911cad664736f6c634300081a0033",
1270
- "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610296575f3560e01c80637a9e5e4b11610161578063bb1e0e59116100ca578063e7f7fb8611610084578063e7f7fb861461060a578063ea15869f1461061d578063f5860e1a14610631578063f80e207214610645578063f83d08ba14610658578063f86664d214610660575f80fd5b8063bb1e0e5914610582578063bf7e214f14610595578063d16d0fe81461059d578063de7b5d14146105b0578063deaa59df146105cd578063e145d46c146105e0575f80fd5b8063a69df4b51161011b578063a69df4b514610525578063ada9652e1461052d578063b2a6b42d14610541578063b423086c14610554578063b6b412ba1461055c578063bae99c991461056f575f80fd5b80637a9e5e4b146104ba57806387ef9ba0146104cd578063893d20e8146104d45780638f0c86fa146104dc5780638fb36037146104ef57806390edbd3514610510575f80fd5b80632b5198b11161020357806359660bea116101bd57806359660bea146104385780635ab1bd531461044b5780635dcb3bae1461045c578063644c45e01461046f5780636bd1c0eb146104775780637427d7a8146104a7575f80fd5b80632b5198b1146103c25780632eb3e6f4146103ee5780633d683fd914610402578063419197fe1461041557806343d752d3146104285780635741e5e914610430575f80fd5b806317d7de7c1161025457806317d7de7c1461034b5780631aa3a008146103605780631c6b21901461036a5780631eff4b221461037d57806321df0da7146103b257806322366844146103ba575f80fd5b806251884a1461029a57806301ffc9a7146102bf57806307e71a6e146102fb5780630fec111c1461030e5780631329960414610323578063138461e014610343575b5f80fd5b6102a2610673565b6040516001600160601b0390911681526020015b60405180910390f35b6102eb6102cd366004613253565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020016102b6565b6102a261030936600461328e565b610685565b61031661078a565b6040516102b691906132f3565b61032b610948565b6040516001600160a01b0390911681526020016102b6565b6102a261095a565b610353610969565b6040516102b6919061337f565b610368610979565b005b6102a2610378366004613391565b610a26565b6103a47f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016102b6565b61032b610a7c565b6102eb610a8e565b6103d56103d03660046134e8565b610b84565b6040516001600160c01b031990911681526020016102b6565b6103a45f8051602061406e83398151915281565b6103686104103660046135be565b610be8565b61036861042336600461362f565b610c3c565b61032b610df7565b6102eb610e09565b6103d561044636600461364b565b610ebd565b6001546001600160a01b031661032b565b6102a261046a3660046136e4565b610f14565b6102a2610f6e565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b031661032b565b6103d56104b5366004613701565b610f89565b6103686104c8366004613732565b611009565b60016102eb565b61032b61108f565b6102eb6104ea366004613732565b6111c0565b6104f7611285565b6040516001600160e01b031990911681526020016102b6565b6105186112ba565b6040516102b6919061374d565b6103686112df565b6103a45f80516020613fee83398151915281565b6102a261054f366004613732565b61137d565b6105186113bf565b61036861056a36600461382c565b6113cf565b61036861057d366004613391565b61141d565b61036861059036600461385f565b61146c565b61032b611509565b6103a46105ab366004613889565b611524565b5f8051602061406e833981519152546001600160a01b031661032b565b6103686105db366004613732565b611538565b6105f36105ee366004613701565b6117ae565b6040805192835260ff9091166020830152016102b6565b6103686106183660046138a5565b611868565b6103a45f8051602061400e83398151915281565b6103a45f8051602061404e83398151915281565b610368610653366004613889565b611910565b610368611919565b61036861066e3660046138e3565b61198d565b5f61067c6112ba565b60200151905090565b5f610692335b5f36611aa3565b61069b336111c0565b6106bf5760405163637c41bb60e01b81523360048201526024015b60405180910390fd5b826106d26001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561071f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107439190613983565b6001600160a01b0316336001600160a01b0316146107765760405163086391f760e31b81523360048201526024016106b6565b6107808484611ba1565b91505b5092915050565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561083a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061085e91906139a9565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016108a661108f565b6001600160a01b031681526020018260010180546108c3906139c4565b80601f01602080910402602001604051908101604052809291908181526020018280546108ef906139c4565b801561093a5780601f106109115761010080835404028352916020019161093a565b820191905f5260205f20905b81548152906001019060200180831161091d57829003601f168201915b505050505081525091505090565b5f6109516112ba565b60800151905090565b5f61096430611c2d565b905090565b60606109736112ba565b51919050565b61098161108f565b6001600160a01b0316336001600160a01b0316146109b45760405163086391f760e31b81523360048201526024016106b6565b5f8051602061404e833981519152546040805163be495be560e01b815290516001600160a01b039092169163be495be5916004808201925f9290919082900301818387803b158015610a04575f80fd5b505af1158015610a16573d5f803e3d5ffd5b50505050610a245f19611e21565b565b5f610a2f61108f565b6001600160a01b0316336001600160a01b031614610a625760405163086391f760e31b81523360048201526024016106b6565b610a6b3361068b565b610a7482611e9f565b90505b919050565b5f610a856112ba565b60400151905090565b5f610aa16001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610ae5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b0991906139a9565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610b60573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109649190613a07565b5f610b8d61108f565b6001600160a01b0316336001600160a01b031614610bc05760405163086391f760e31b81523360048201526024016106b6565b610bc93361068b565b610bda8a8a8a8a8a8a8a8a8a611f23565b9a9950505050505050505050565b610bf061108f565b6001600160a01b0316336001600160a01b031614610c235760405163086391f760e31b81523360048201526024016106b6565b610c2c3361068b565b610c37838383611fe2565b505050565b610c4461108f565b6001600160a01b0316336001600160a01b031614610c775760405163086391f760e31b81523360048201526024016106b6565b30610c80610948565b6001600160a01b031614610ca75760405163b6d7537f60e01b815260040160405180910390fd5b7ff1220014fdb8b69aee438722b1fe13ee4a807811a472467cee162f7b866e704e610cd0610df7565b604080516001600160a01b0390921682526001600160601b03841660208301520160405180910390a1816001600160a01b031663095ea7b3610d10610df7565b60405163046e44af60e11b81526001600160601b038516600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015610d66573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d8a9190613a22565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044015b6020604051808303815f875af1158015610dd3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c379190613a07565b5f610e006112ba565b60600151905090565b5f610e12610a8e565b15610e8d576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610e66573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610e009190810190613aa1565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0254600160a01b900460ff1690565b5f610ec7336111c0565b610ee65760405163637c41bb60e01b81523360048201526024016106b6565b610eef3361068b565b5f610ef93361137d565b9050610f09818888888888611ff9565b979650505050505050565b5f610f1d61108f565b6001600160a01b0316336001600160a01b031614610f505760405163086391f760e31b81523360048201526024016106b6565b610f593361068b565b610f648484846120af565b90505b9392505050565b5f80516020613fee833981519152546001600160601b031690565b5f73__$05887d5853069c88bcd4c0a2107db45f29$__633f093cd6610fac610f6e565b846040518363ffffffff1660e01b8152600401610fca929190613b71565b602060405180830381865af4158015610fe5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a749190613b92565b33611012611509565b6001600160a01b0316816001600160a01b03161461104d5760405162d1953b60e31b81526001600160a01b03821660048201526024016106b6565b816001600160a01b03163b5f03611082576040516361798f2f60e11b81526001600160a01b03831660048201526024016106b6565b61108b82612273565b5050565b5f805f80516020613fee83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156110fb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061111f9190613a07565b156111aa576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611180573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111a49190613983565b91505090565b54600160601b90046001600160a01b0316919050565b6001600160a01b0381165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f8051602061404e8339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af4158015611261573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f679190613a07565b5f8051602061402e83398151915280545f9190600160a01b900460ff166112ac575f6111a4565b638fb3603760e01b91505090565b6112c26131fd565b6112ca610a8e565b156112d7576109646122d3565b6109646113bf565b6112e761108f565b6001600160a01b0316336001600160a01b03161461131a5760405163086391f760e31b81523360048201526024016106b6565b611324600a61249a565b60405163581e954760e11b81525f60048201526001600160a01b03919091169063b03d2a8e906024015b5f604051808303815f87803b158015611365575f80fd5b505af1158015611377573d5f803e3d5ffd5b50505050565b6001600160a01b03165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90260205260409020546001600160601b031690565b6113c76131fd565b6109646122d3565b6113d761108f565b6001600160a01b0316336001600160a01b03161461140a5760405163086391f760e31b81523360048201526024016106b6565b6114133361068b565b61108b828261259b565b61142561108f565b6001600160a01b0316336001600160a01b0316146114585760405163086391f760e31b81523360048201526024016106b6565b611469611463610a7c565b82610c3c565b50565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114b3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114d79190613983565b6001600160a01b0316336001600160a01b03161461108b5760405162f0630960e01b81523360048201526024016106b6565b5f8051602061402e833981519152546001600160a01b031690565b5f61152f8282613bad565b90505b92915050565b61154061108f565b6001600160a01b0316336001600160a01b0316146115735760405163086391f760e31b81523360048201526024016106b6565b5f61157c610948565b90505f611587610a7c565b6040516370a0823160e01b81526001600160a01b03848116600483015291909116906370a0823190602401602060405180830381865afa1580156115cd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115f19190613a22565b90506115fc83612602565b8015610c3757604080516001600160a01b038085168252851660208201529081018290527f8f925ed35e36754081a3353f30c5686c405280f94d1cfe322ee5707833d898679060600160405180910390a1306001600160a01b0383160361175d57611665610df7565b6001600160a01b03166354f0d84c838573__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b81526004016116ae91815260200190565b602060405180830381865af41580156116c9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116ed91906139a9565b6040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526001600160601b031660448201526064015f604051808303815f87803b158015611742575f80fd5b505af1158015611754573d5f803e3d5ffd5b50505050505050565b611765610df7565b6001600160a01b031663c7d63d57838573__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b81526004016116ae91815260200190565b5f805f6117ba84610f89565b90506117ed7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163b82d7ef560e01b81526001600160c01b0319831660048201526001600160a01b03919091169063b82d7ef5906024016040805180830381865afa15801561183a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061185e9190613bd0565b9250925050915091565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118af573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118d39190613983565b6001600160a01b0316336001600160a01b0316146119055760405162f0630960e01b81523360048201526024016106b6565b610c3783838361269b565b61108b3361068b565b61192161108f565b6001600160a01b0316336001600160a01b0316146119545760405163086391f760e31b81523360048201526024016106b6565b61195e600a61249a565b60405163581e954760e11b8152600160048201526001600160a01b03919091169063b03d2a8e9060240161134e565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f811580156119d15750825b90505f826001600160401b031660011480156119ec5750303b155b9050811580156119fa575080155b15611a185760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611a4257845460ff60401b1916600160401b1785555b611a508b8b8b8b8b8b612841565b8315611a9657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050505050565b5f8051602061402e8339815191525f80611adb611abe611509565b8730611acd60045f8a8c613bf4565b611ad691613c1b565b612875565b9150915081611b995763ffffffff811615611b7657825460ff60a01b1916600160a01b178355611b09611509565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611b3893929190613c51565b5f604051808303815f87803b158015611b4f575f80fd5b505af1158015611b61573d5f803e3d5ffd5b5050845460ff60a01b1916855550611b999050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016106b6565b505050505050565b5f5f8051602061404e833981519152600101546040516303f38d3760e11b81526001600160601b038086166004830152841660248201526001600160a01b03909116906307e71a6e906044016020604051808303815f875af1158015611c09573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061152f91906139a9565b5f805f80516020613fee83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611c99573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cbd9190613a07565b15611ce95780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016106b6565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611d3b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d5f9190613a07565b611d875760405163b9304b0d60e01b81526001600160a01b03841660048201526024016106b6565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611dd9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611dfd91906139a9565b81546001600160601b0319166001600160601b039190911690811790915592915050565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f01545f8051602061400e833981519152906001600160a01b031663095ea7b3611e686112ba565b606001516040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260248101859052604401610db7565b5f5f8051602061406e833981519152600301546040516301c6b21960e41b81526001600160601b03841660048201526001600160a01b0390911690631c6b2190906024016020604051808303815f875af1158015611eff573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a7491906139a9565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051632b5198b160e01b81525f915f8051602061404e833981519152916001600160a01b0390911690632b5198b190611f93908e908e908e908e908e908e908e908e908e90600401613c90565b6020604051808303815f875af1158015611faf573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fd39190613b92565b9b9a5050505050505050505050565b5f5f8051602061404e8339815191525b5050505050565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051638dd2b78160e01b81525f915f8051602061404e833981519152916001600160a01b0390911690638dd2b78190612063908b908b908b908b908b908b90600401613d01565b6020604051808303815f875af115801561207f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120a39190613b92565b98975050505050505050565b6001600160a01b0383165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f8051602061404e8339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af4158015612150573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121749190613a07565b156121bf576001600160a01b0385165f8181526002830160205260409081902054905163d56c930160e01b815260048101929092526001600160601b031660248201526044016106b6565b6001810154604051632ee59dd760e11b81526001600160a01b0390911690635dcb3bae906121f590889088908890600401613d60565b6020604051808303815f875af1158015612211573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061223591906139a9565b6001600160a01b039095165f90815260029091016020526040902080546001600160601b0386166001600160601b0319909116179055509192915050565b5f8051602061402e83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6122db6131fd565b5f6122ee6001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015612332573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061235691906139a9565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156123af573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123d39190613a07565b15612492577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031663f0ea17c3612410610f6e565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015612451573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526124789190810190613d93565b60808101519092506001600160a01b031615612492575090565b6111a461297d565b5f805f8051602061406e8339815191525460408051633379d27d60e21b815290516001600160a01b039092169163cde749f4916004808201926020929091908290030181865afa1580156124f0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125149190613e6b565b90506125286001546001600160a01b031690565b60405163d39e604360e01b815260ff8086166004830152831660248201526001600160a01b03919091169063d39e604390604401602060405180830381865afa158015612577573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f679190613983565b5f8051602061404e83398151915254604051631bd44bf760e11b81526001600160a01b03909116906337a897ee906125d99085908590600401613e86565b5f604051808303815f87803b1580156125f0575f80fd5b505af1158015611b99573d5f803e3d5ffd5b61260a61108f565b6001600160a01b0316336001600160a01b03161461263d5760405163086391f760e31b81523360048201526024016106b6565b612647600b61249a565b60405163deaa59df60e01b81526001600160a01b038381166004830152919091169063deaa59df906024015f604051808303815f87803b158015612689575f80fd5b505af1158015611ff2573d5f803e3d5ffd5b604080516001600160a01b03841681523360208201527f04d7077d43765a828a5b0398e13ddca074c675aba69101b22c5d0176d8689434910160405180910390a15f5f8051602061404e833981519152905073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612734573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061275891906139a9565b6001600160a01b0385165f9081526002830160205260409081902080546001600160601b0319166001600160601b0393909316929092179091555163efac97cf60e01b81526004810183905273__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af41580156127de573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061280291906139a9565b6001600160a01b03939093165f9081526002919091016020526040902080546001600160601b0319166001600160601b03909316929092179091555050565b612849612ae1565b611b9986868686868660405180602001604052805f81525060405180602001604052805f815250612b2a565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516128e39190613eac565b5f60405180830381855afa9150503d805f811461291b576040519150601f19603f3d011682016040523d82523d5f602084013e612920565b606091505b5091509150811561297257604081511061295257808060200190518101906129489190613ec2565b9094509250612972565b6020815110612972578080602001905181019061296f9190613a07565b93505b505094509492505050565b6129856131fd565b5f5f8051602061400e83398151915290506040518060c00160405280825f0180546129af906139c4565b80601f01602080910402602001604051908101604052809291908181526020018280546129db906139c4565b8015612a265780601f106129fd57610100808354040283529160200191612a26565b820191905f5260205f20905b815481529060010190602001808311612a0957829003601f168201915b5050505050815260200173__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612a77573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a9b91906139a9565b6001600160601b0316815260018301546001600160a01b0390811660208301525f604083015260028401541660608201526003830180546080909201916108c3906139c4565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16610a2457604051631afcd79f60e31b815260040160405180910390fd5b612b32612ae1565b612b4688888686600e8b60018c8a8a612bc0565b5f8051602061404e833981519152612b5e600e61249a565b6001820180546001600160a01b0319166001600160a01b0392909216919091179055612b8a600b61249a565b81546001600160a01b0319166001600160a01b0391909116178155612bb56301a39f4760e01b612e55565b505050505050505050565b612bc8612ae1565b5f5f8051602061406e8339815191526040516305247a1760e51b81526001600160601b038c1660048201529091506001600160a01b038c169063a48f42e0906024015f60405180830381865afa158015612c24573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612c4b9190810190613aa1565b6080015181546001600160a01b0319166001600160a01b0390911690811782556040516301ffc9a760e01b8152632b1cb34b60e11b60048201526301ffc9a790602401602060405180830381865afa158015612ca9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ccd9190613a07565b612cf557604051637db5183160e11b81526001600160601b038b1660048201526024016106b6565b80546040805163bf7e214f60e01b81529051612d6f926001600160a01b03169163bf7e214f9160048083019260209291908290030181865afa158015612d3d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d619190613983565b8c8c8c8c8c8b8b8b8b612e81565b8054604080516302cd307160e01b815290516001600160a01b03909216916302cd3071916004808201926020929091908290030181865afa158015612db6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612dda9190613983565b6001820180546001600160a01b03199081166001600160a01b0393841617909155600283018054909116918816919091179055612e17600b61249a565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055612e49634a531f3360e01b612e55565b611a966376c9b41160e11b5b612e5d612ae1565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b612e89612ae1565b612e97898987878787612f73565b612ea08a613018565b6001600160a01b038616612ec7576040516327eab2e360e11b815260040160405180910390fd5b86515f03612ee85760405163591eebf360e11b815260040160405180910390fd5b5f8051602061400e83398151915280612f018982613f33565b506001810180546001600160a01b0319166001600160a01b0389161790556002810180546001600160a81b0319163060ff60a01b191617600160a01b8715150217905560038101612f528382613f33565b50612f63634a531f3360e01b612e55565b611a96632986755f60e11b612e55565b612f7b612ae1565b612f858287613029565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30161300e8382613f33565b5050505050505050565b613020612ae1565b6114698161309f565b613031612ae1565b61303a816130b0565b6130426131b8565b6001600160a01b0382166130695760405163f17ef42d60e01b815260040160405180910390fd5b505f80516020613fee83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6130a7612ae1565b61146981612273565b6130b8612ae1565b806001600160a01b03163b5f036130ed5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016106b6565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632f6da6f960e01b60048201526301ffc9a790602401602060405180830381865afa925050508015613167575060408051601f3d908101601f1916820190925261316491810190613a07565b60015b61318f5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016106b6565b8061108b5760405163fdeac91f60e01b81526001600160a01b03831660048201526024016106b6565b6131c0612ae1565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6040518060c00160405280606081526020015f6001600160601b031681526020015f6001600160a01b031681526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b5f60208284031215613263575f80fd5b81356001600160e01b031981168114610f67575f80fd5b6001600160601b0381168114611469575f80fd5b5f806040838503121561329f575f80fd5b82356132aa8161327a565b915060208301356132ba8161327a565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f606083015161333b608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e0808401526107806101008401826132c5565b602081525f61152f60208301846132c5565b5f602082840312156133a1575f80fd5b8135610f678161327a565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b03811182821017156133e2576133e26133ac565b60405290565b60405160c081016001600160401b03811182821017156133e2576133e26133ac565b604051601f8201601f191681016001600160401b0381118282101715613432576134326133ac565b604052919050565b5f6001600160401b03821115613452576134526133ac565b50601f01601f191660200190565b5f82601f83011261346f575f80fd5b8135602083015f6134876134828461343a565b61340a565b905082815285838301111561349a575f80fd5b828260208301375f92810160200192909252509392505050565b63ffffffff81168114611469575f80fd5b8035610a77816134b4565b8015158114611469575f80fd5b8035610a77816134d0565b5f805f805f805f805f6101208a8c031215613501575f80fd5b89356001600160401b03811115613516575f80fd5b6135228c828d01613460565b99505060208a0135975060408a0135965060608a0135955060808a0135613548816134b4565b945061355660a08b016134c5565b935061356460c08b016134dd565b925061357260e08b016134dd565b91506101008a01356001600160401b0381111561358d575f80fd5b6135998c828d01613460565b9150509295985092959850929598565b6001600160c01b031981168114611469575f80fd5b5f805f606084860312156135d0575f80fd5b83356135db8161327a565b925060208401356135eb816135a9565b915060408401356001600160401b03811115613605575f80fd5b61361186828701613460565b9150509250925092565b6001600160a01b0381168114611469575f80fd5b5f8060408385031215613640575f80fd5b82356132aa8161361b565b5f805f805f60a0868803121561365f575f80fd5b85356001600160401b03811115613674575f80fd5b61368088828901613460565b955050602086013593506040860135613698816134b4565b9250606086013564ffffffffff811681146136b1575f80fd5b915060808601356001600160401b038111156136cb575f80fd5b6136d788828901613460565b9150509295509295909350565b5f805f606084860312156136f6575f80fd5b83356135db8161361b565b5f60208284031215613711575f80fd5b81356001600160401b03811115613726575f80fd5b61078084828501613460565b5f60208284031215613742575f80fd5b8135610f678161361b565b602081525f825160c0602084015261376860e08401826132c5565b90506001600160601b03602085015116604084015260018060a01b03604085015116606084015260018060a01b03606085015116608084015260808401516137bb60a08501826001600160a01b03169052565b5060a0840151838203601f190160c08501526137d782826132c5565b95945050505050565b5f604082840312156137f0575f80fd5b604080519081016001600160401b0381118282101715613812576138126133ac565b604052823581526020928301359281019290925250919050565b5f806080838503121561383d575f80fd5b61384784846137e0565b915061385684604085016137e0565b90509250929050565b5f8060408385031215613870575f80fd5b823561387b8161361b565b946020939093013593505050565b5f806040838503121561389a575f80fd5b823561387b816135a9565b5f805f606084860312156138b7575f80fd5b83356138c28161361b565b925060208401356138d28161361b565b929592945050506040919091013590565b5f805f805f8060c087890312156138f8575f80fd5b86356139038161361b565b955060208701356139138161327a565b945060408701356139238161361b565b935060608701356139338161361b565b925060808701356001600160401b0381111561394d575f80fd5b61395989828a01613460565b92505060a087013561396a8161361b565b809150509295509295509295565b8051610a778161361b565b5f60208284031215613993575f80fd5b8151610f678161361b565b8051610a778161327a565b5f602082840312156139b9575f80fd5b8151610f678161327a565b600181811c908216806139d857607f821691505b6020821081036139f657634e487b7160e01b5f52602260045260245ffd5b50919050565b8051610a77816134d0565b5f60208284031215613a17575f80fd5b8151610f67816134d0565b5f60208284031215613a32575f80fd5b5051919050565b60ff81168114611469575f80fd5b8051610a7781613a39565b5f82601f830112613a61575f80fd5b8151602083015f613a746134828461343a565b9050828152858383011115613a87575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f60208284031215613ab1575f80fd5b81516001600160401b03811115613ac6575f80fd5b820160e08185031215613ad7575f80fd5b613adf6133c0565b613ae88261399e565b8152613af66020830161399e565b6020820152613b0760408301613a47565b6040820152613b18606083016139fc565b6060820152613b2960808301613978565b6080820152613b3a60a08301613978565b60a082015260c08201516001600160401b03811115613b57575f80fd5b613b6386828501613a52565b60c083015250949350505050565b6001600160601b0383168152604060208201525f610f6460408301846132c5565b5f60208284031215613ba2575f80fd5b8151610f67816135a9565b808202811582820484141761153257634e487b7160e01b5f52601160045260245ffd5b5f8060408385031215613be1575f80fd5b825160208401519092506132ba81613a39565b5f8085851115613c02575f80fd5b83861115613c0e575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015610783576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b61012081525f613ca461012083018c6132c5565b8a602084015289604084015288606084015263ffffffff8816608084015263ffffffff871660a084015285151560c084015284151560e0840152828103610100840152613cf181856132c5565b9c9b505050505050505050505050565b6001600160601b038716815260c060208201525f613d2260c08301886132c5565b86604084015263ffffffff8616606084015264ffffffffff8516608084015282810360a0840152613d5381856132c5565b9998505050505050505050565b6001600160a01b03841681526001600160c01b0319831660208201526060604082018190525f906137d7908301846132c5565b5f60208284031215613da3575f80fd5b81516001600160401b03811115613db8575f80fd5b820160c08185031215613dc9575f80fd5b613dd16133e8565b81516001600160401b03811115613de6575f80fd5b613df286828501613a52565b825250613e016020830161399e565b6020820152613e1260408301613978565b6040820152613e2360608301613978565b6060820152613e3460808301613978565b608082015260a08201516001600160401b03811115613e51575f80fd5b613e5d86828501613a52565b60a083015250949350505050565b5f60208284031215613e7b575f80fd5b8151610f6781613a39565b825181526020808401518183015282516040830152820151606082015260808101610f67565b5f82518060208501845e5f920191825250919050565b5f8060408385031215613ed3575f80fd5b8251613ede816134d0565b60208401519092506132ba816134b4565b601f821115610c3757805f5260205f20601f840160051c81016020851015613f145750805b601f840160051c820191505b81811015611ff2575f8155600101613f20565b81516001600160401b03811115613f4c57613f4c6133ac565b613f6081613f5a84546139c4565b84613eef565b6020601f821160018114613f92575f8315613f7b5750848201515b5f19600385901b1c1916600184901b178455611ff2565b5f84815260208120601f198516915b82811015613fc15787850151825560209485019460019092019101613fa1565b5084821015613fde57868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00ffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900ffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00a264697066735822122075ebd6500cd0a56016cacb41e284d00eeb40f139be36a9589f5dffb23911cad664736f6c634300081a0033",
1289
+ "bytecode": "0x608060405234801561000f575f80fd5b50604051614ca3380380614ca383398101604081905261002e91610c46565b61006b848484846040518060400160405280601281526020017129b4b6b83632a234b9ba3934b13aba34b7b760711b81525061007460201b60201c565b50505050610ffe565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000810460ff1615906001600160401b03165f811580156100bd5750825b90505f826001600160401b031660011480156100d85750303b155b9050811580156100e6575080155b156101045760405163f92ee8a960e01b815260040160405180910390fd5b84546001600160401b0319166001178555831561013257845460ff60401b1916680100000000000000001785555b61013f8a8a8a8a8a610191565b831561018557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050505050565b6101996101c3565b6101bc8585855f868660405180602001604052805f81525061021360201b60201c565b5050505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff1661021157604051631afcd79f60e31b815260040160405180910390fd5b565b61021b6101c3565b61022c878784600e898989886102be565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90061025c600e6104e2565b6104e2565b6001820180546001600160a01b0319166001600160a01b0392909216919091179055610289610257600b90565b81546001600160a01b0319166001600160a01b03919091161781556102b46303c09ad960e41b610579565b5050505050505050565b6102c66101c3565b5f6102d28989886105ac565b90505f7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0060405163bf8e179760e01b81526001600160601b03841660048201529091506001600160a01b038b169063bf8e179790602401602060405180830381865afa158015610344573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103689190610c9e565b81546001600160a01b0319166001600160a01b039190911690811782556040805163bf7e214f60e01b81529051610407929163bf7e214f9160048083019260209291908290030181865afa1580156103c2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103e69190610c9e565b8b8b8b8b8a8a60405180602001604052805f8152508b61065760201b60201c565b8054604080516302cd307160e01b815290516001600160a01b03909216916302cd3071916004808201926020929091908290030181865afa15801561044e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104729190610c9e565b6001820180546001600160a01b03199081166001600160a01b03938416179091556002830180549091169188169190911790556104b0610257600b90565b6003820180546001600160a01b0319166001600160a01b039290921691909117905561018563a9c1bc6f60e01b610579565b5f6104f56001546001600160a01b031690565b6001600160a01b031663d39e60438361050c610727565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561054f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105739190610c9e565b92915050565b6105816101c3565b6105a9816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b5f60ff8216600c036105cd576105c48484600a6107bd565b50829050610650565b5f6105da8585600c6107bd565b60405163677d3feb60e11b81526001600160601b03861660048201529091506001600160a01b0382169063cefa7fd690602401602060405180830381865afa158015610628573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061064c9190610cb9565b9150505b9392505050565b61065f6101c3565b85515f036106805760405163591eebf360e11b815260040160405180910390fd5b61068f89898988888888610887565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f00806106bb8882610d67565b5060018101805460ff1916861515179055600281016106da8382610d67565b506106e5600b6104e2565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055610717634a531f3360e01b610579565b6101856306e9e5ff60e31b610579565b5f6107597ff3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00546001600160a01b031690565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610794573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107b89190610e3a565b905090565b6040516305247a1760e51b81526001600160601b038316600482015283905f906001600160a01b0383169063a48f42e0906024015f60405180830381865afa15801561080b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526108329190810190610f15565b905061084981604001518460ff9081169116141590565b1561087f57604080820151905163b0c1f6eb60e01b815260ff808616600483015290911660248201526044015b60405180910390fd5b509392505050565b61088f6101c3565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af41580156108e5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109099190610fe5565b6109315760405163cf6935e560e01b81526001600160a01b0388166004820152602401610876565b61093a876109d1565b61094486836109e2565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166001600160681b0319909116176c0100000000000000000000000060ff8816021760ff60681b19166d0100000000000000000000000000861515021781559050600181016109c08382610d67565b506102b4634a531f3360e01b610579565b6109d96101c3565b6105a981610a74565b6109ea6101c3565b6109f2610a85565b6109fb82610acd565b6001600160a01b038116610a225760405163f17ef42d60e01b815260040160405180910390fd5b7f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0080546001600160601b03166c010000000000000000000000006001600160a01b039093169290920291909117905550565b610a7c6101c3565b6105a981610b99565b610a8d6101c3565b6102116301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b610ad56101c3565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015610b2b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b4f9190610fe5565b610b775760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610876565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b7ff3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a0080546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6001600160a01b03811681146105a9575f80fd5b8051610c2b81610c0c565b919050565b80516001600160601b0381168114610c2b575f80fd5b5f805f8060808587031215610c59575f80fd5b8451610c6481610c0c565b9350610c7260208601610c30565b92506040850151610c8281610c0c565b6060860151909250610c9381610c0c565b939692955090935050565b5f60208284031215610cae575f80fd5b815161065081610c0c565b5f60208284031215610cc9575f80fd5b61065082610c30565b634e487b7160e01b5f52604160045260245ffd5b600181811c90821680610cfa57607f821691505b602082108103610d1857634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610d6257805f5260205f20601f840160051c81016020851015610d435750805b601f840160051c820191505b818110156101bc575f8155600101610d4f565b505050565b81516001600160401b03811115610d8057610d80610cd2565b610d9481610d8e8454610ce6565b84610d1e565b6020601f821160018114610dc6575f8315610daf5750848201515b5f19600385901b1c1916600184901b1784556101bc565b5f84815260208120601f198516915b82811015610df55787850151825560209485019460019092019101610dd5565b5084821015610e1257868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b60ff811681146105a9575f80fd5b8051610c2b81610e21565b5f60208284031215610e4a575f80fd5b815161065081610e21565b60405160e081016001600160401b0381118282101715610e7757610e77610cd2565b60405290565b80518015158114610c2b575f80fd5b5f82601f830112610e9b575f80fd5b81516001600160401b03811115610eb457610eb4610cd2565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610ee257610ee2610cd2565b604052818152838201602001851015610ef9575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f60208284031215610f25575f80fd5b81516001600160401b03811115610f3a575f80fd5b820160e08185031215610f4b575f80fd5b610f53610e55565b610f5c82610c30565b8152610f6a60208301610c30565b6020820152610f7b60408301610e2f565b6040820152610f8c60608301610e7d565b6060820152610f9d60808301610c20565b6080820152610fae60a08301610c20565b60a082015260c08201516001600160401b03811115610fcb575f80fd5b610fd786828501610e8c565b60c083015250949350505050565b5f60208284031215610ff5575f80fd5b61065082610e7d565b613c988061100b5f395ff3fe608060405234801561000f575f80fd5b5060043610610276575f3560e01c80637427d7a811610156578063ada9652e116100ca578063deaa59df11610084578063deaa59df146105c0578063e145d46c146105d3578063ea15869f14610607578063f322c70a1461061b578063f5860e1a1461062e578063f80e207214610642575f80fd5b8063ada9652e14610559578063b423086c1461056d578063bf7e214f14610575578063d16d0fe81461057d578063d89873b114610590578063de7b5d14146105a3575f80fd5b80638fb360371161011b5780638fb36037146104d757806390edbd35146104f8578063963cb0671461050d578063987cb16114610520578063ab3fc75f14610533578063ad12ad6014610546575f80fd5b80637427d7a81461048857806376b707b71461049b5780637a9e5e4b146104b557806387ef9ba0146104c8578063893d20e8146104cf575f80fd5b806321df0da7116101ed57806343d752d3116101b257806343d752d31461041c5780635741e5e9146104245780635ab1bd531461042c5780635dcb3bae1461043d578063644c45e0146104505780636bd1c0eb14610458575f80fd5b806321df0da7146103dd57806322366844146103e557806322f3e2d4146103ed5780632eb3e6f4146103f5578063419197fe14610409575f80fd5b8063138461e01161023e578063138461e01461033757806317d7de7c1461033f5780631bda5efa146103545780631c6b2190146103805780631eff4b2214610393578063211e28b6146103c8575f80fd5b806301ffc9a71461027a57806307e71a6e146102bb5780630d8e6e2c146102e65780630fec111c146103025780631329960414610317575b5f80fd5b6102a6610288366004612d3f565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102ce6102c9366004612d7a565b610655565b6040516001600160601b0390911681526020016102b2565b6102ee610726565b60405162ffffff90911681526020016102b2565b61030a6107ad565b6040516102b29190612ddf565b61031f610967565b6040516001600160a01b0390911681526020016102b2565b6102ce6109cf565b6103476109d9565b6040516102b29190612e73565b610367610362366004612ffd565b6109e9565b6040516001600160c01b031990911681526020016102b2565b6102ce61038e3660046130d3565b610a4d565b6103ba7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016102b2565b6103db6103d63660046130ee565b610aa3565b005b61031f610aea565b6102a6610b2e565b6102a6610c24565b6103ba5f80516020613c4383398151915281565b6103db610417366004613109565b610c9b565b61031f610cee565b6102a6610d00565b6001546001600160a01b031661031f565b6102ce61044b36600461313a565b610db6565b6102ce610e10565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b031661031f565b610367610496366004613197565b610e2b565b6104a3610eab565b60405160ff90911681526020016102b2565b6103db6104c33660046131c8565b610f13565b60016102a6565b61031f610f99565b6104df6110ca565b6040516001600160e01b031990911681526020016102b2565b6105006110ff565b6040516102b291906131e3565b6103db61051b366004613231565b611124565b61036761052e3660046132b3565b611238565b6103db61054136600461335d565b611305565b6103db61055436600461337a565b611368565b6103ba5f80516020613ba383398151915281565b61050061140b565b61031f61141b565b6103ba61058b3660046133ca565b611436565b61036761059e3660046132b3565b61144a565b5f80516020613c43833981519152546001600160a01b031661031f565b6103db6105ce3660046131c8565b611464565b6105e66105e1366004613197565b6114b1565b604080516001600160a01b03909316835260ff9091166020830152016102b2565b6103ba5f80516020613bc383398151915281565b6103db610629366004613454565b61156b565b6103ba5f80516020613c2383398151915281565b6103db6106503660046133ca565b6115b9565b5f610662335b5f366115c2565b82601761066f82826116c0565b846106826001546001600160a01b031690565b6001600160a01b031663b303aaf882336040518363ffffffff1660e01b81526004016106af929190613487565b602060405180830381865afa1580156106ca573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106ee91906134b4565b6107125760405163086391f760e31b81523360048201526024015b60405180910390fd5b61071c86866117f4565b9695505050505050565b604051632efe011360e01b8152600160048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610784573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107a891906134cf565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610859573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061087d91906134fc565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016108c5610f99565b6001600160a01b031681526020018260010180546108e290613517565b80601f016020809104026020016040519081016040528092919081815260200182805461090e90613517565b80156109595780601f1061093057610100808354040283529160200191610959565b820191905f5260205f20905b81548152906001019060200180831161093c57829003601f168201915b505050505081525091505090565b5f610970610cee565b6001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109ab573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107a8919061355a565b5f6107a830611880565b60606109e36110ff565b51919050565b5f6109f33361065b565b6109fb610f99565b6001600160a01b0316336001600160a01b031614610a2e5760405163086391f760e31b8152336004820152602401610709565b610a3f8a8a8a8a8a8a8a8a8a611ac2565b9a9950505050505050505050565b5f610a573361065b565b610a5f610f99565b6001600160a01b0316336001600160a01b031614610a925760405163086391f760e31b8152336004820152602401610709565b610a9b82611b6e565b90505b919050565b610aab610f99565b6001600160a01b0316336001600160a01b031614610ade5760405163086391f760e31b8152336004820152602401610709565b610ae781611bf2565b50565b5f610af3610cee565b6001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109ab573d5f803e3d5ffd5b5f610b416001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610b85573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ba991906134fc565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610c00573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107a891906134b4565b5f610c2d61141b565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610c71573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c9591906134b4565b15905090565b610ca43361065b565b610cac610f99565b6001600160a01b0316336001600160a01b031614610cdf5760405163086391f760e31b8152336004820152602401610709565b610ce98282611c68565b505050565b5f610cf76110ff565b60200151905090565b5f610d09610b2e565b15610d8d576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610d5d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610d8491908101906135e2565b60600151905090565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f015460ff1690565b5f610dc03361065b565b610dc8610f99565b6001600160a01b0316336001600160a01b031614610dfb5760405163086391f760e31b8152336004820152602401610709565b610e06848484611de3565b90505b9392505050565b5f80516020613ba3833981519152546001600160601b031690565b5f73__$05887d5853069c88bcd4c0a2107db45f29$__633f093cd6610e4e610e10565b846040518363ffffffff1660e01b8152600401610e6c9291906136b2565b602060405180830381865af4158015610e87573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a9b91906136d3565b5f610eb461141b565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610eef573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107a891906136ee565b33610f1c61141b565b6001600160a01b0316816001600160a01b031614610f575760405162d1953b60e31b81526001600160a01b0382166004820152602401610709565b816001600160a01b03163b5f03610f8c576040516361798f2f60e11b81526001600160a01b0383166004820152602401610709565b610f9582611e7d565b5050565b5f805f80516020613ba383398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611005573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061102991906134b4565b156110b4576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561108a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110ae919061355a565b91505090565b54600160601b90046001600160a01b0316919050565b5f80516020613be383398151915280545f9190600160a01b900460ff166110f1575f6110ae565b638fb3603760e01b91505090565b611107612d16565b61110f610b2e565b1561111c576107a8611edd565b6107a861140b565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f811580156111685750825b90505f826001600160401b031660011480156111835750303b155b905081158015611191575080155b156111af5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156111d957845460ff60401b1916600160401b1785555b6111e68a8a8a8a8a6120a4565b831561122c57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050505050565b5f6112423361065b565b866112556001546001600160a01b031690565b6001600160a01b031663b303aaf882336040518363ffffffff1660e01b8152600401611282929190613487565b602060405180830381865afa15801561129d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112c191906134b4565b6112e05760405163086391f760e31b8152336004820152602401610709565b6112eb8860176116c0565b6112f98888888888886120c9565b98975050505050505050565b61130e3361065b565b611316610f99565b6001600160a01b0316336001600160a01b0316146113495760405163086391f760e31b8152336004820152602401610709565b82601761135682826116c0565b611361858585612160565b5050505050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113af573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113d3919061355a565b6001600160a01b0316336001600160a01b0316146114055760405162f0630960e01b8152336004820152602401610709565b50505050565b611413612d16565b6107a8611edd565b5f80516020613be3833981519152546001600160a01b031690565b5f6114418282613709565b90505b92915050565b5f6114598787878787876120c9565b979650505050505050565b61146d3361065b565b611475610f99565b6001600160a01b0316336001600160a01b0316146114a85760405163086391f760e31b8152336004820152602401610709565b610ae7816121e0565b5f805f6114bd84610e2b565b90506114f07fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163b82d7ef560e01b81526001600160c01b0319831660048201526001600160a01b03919091169063b82d7ef5906024016040805180830381865afa15801561153d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611561919061372c565b9250925050915091565b611573610f99565b6001600160a01b0316336001600160a01b0316146115a65760405163086391f760e31b8152336004820152602401610709565b6115af3361065b565b610f958282612255565b610f953361065b565b5f80516020613be38339815191525f806115fa6115dd61141b565b87306115ec60045f8a8c613759565b6115f591613780565b6122bc565b91509150816116b85763ffffffff81161561169557825460ff60a01b1916600160a01b17835561162861141b565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611657939291906137b8565b5f604051808303815f87803b15801561166e575f80fd5b505af1158015611680573d5f803e3d5ffd5b5050845460ff60a01b19168555506116b89050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610709565b505050505050565b60405163037c8cb160e51b815260ff8216600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015611710573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061173491906134b4565b806117c257506001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa15801561179c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117c091906134b4565b155b15610f955760405163d711af7560e01b81526001600160601b038316600482015260ff82166024820152604401610709565b5f5f80516020613c23833981519152600101546040516303f38d3760e11b81526001600160601b038086166004830152841660248201526001600160a01b03909116906307e71a6e906044016020604051808303815f875af115801561185c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061144191906134fc565b5f805f80516020613ba383398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156118ec573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061191091906134b4565b1561193c5780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610709565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561198e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119b291906134b4565b6119da5760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610709565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611a2c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a5091906134fc565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b5490611a9c610f99565b604051611aaa929190613487565b60405180910390a1546001600160601b031692915050565b5f80516020613c0383398151915254604051630ded2f7d60e11b81525f915f80516020613c23833981519152916001600160a01b0390911690631bda5efa90611b1f908e908e908e908e908e908e908e908e908e906004016137f7565b6020604051808303815f875af1158015611b3b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b5f91906136d3565b9b9a5050505050505050505050565b5f5f80516020613c43833981519152600301546040516301c6b21960e41b81526001600160601b03841660048201526001600160a01b0390911690631c6b2190906024016020604051808303815f875af1158015611bce573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a9b91906134fc565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f035460405163108f145b60e11b815282151560048201526001600160a01b039091169063211e28b6906024015b5f604051808303815f87803b158015611c56575f80fd5b505af1158015611361573d5f803e3d5ffd5b5f73__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96846001600160a01b031663dd62ed3e611c9a610cee565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152306024820152604401602060405180830381865afa158015611ce2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d069190613876565b6040518263ffffffff1660e01b8152600401611d2491815260200190565b602060405180830381865af4158015611d3f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d6391906134fc565b90505f80516020613bc3833981519152600301546040516320c8cbff60e11b81526001600160a01b0385811660048301526001600160601b03851660248301529091169063419197fe906044015f604051808303815f87803b158015611dc7575f80fd5b505af1158015611dd9573d5f803e3d5ffd5b5050505092915050565b5f80516020613c0383398151915254604051632ee59dd760e11b81525f915f80516020613c23833981519152916001600160a01b0390911690635dcb3bae90611e349088908890889060040161388d565b6020604051808303815f875af1158015611e50573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e7491906134fc565b95945050505050565b5f80516020613be383398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611ee5612d16565b5f611ef86001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015611f3c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f6091906134fc565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611fb9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fdd91906134b4565b1561209c577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031663f0ea17c361201a610e10565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa15801561205b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261208291908101906138c0565b60208101519092506001600160a01b03161561209c575090565b6110ae6123c4565b6120ac612495565b6113618585855f868660405180602001604052805f8152506124e0565b5f80516020613c038339815191525460405163987cb16160e01b81525f915f80516020613c23833981519152916001600160a01b039091169063987cb16190612120908b908b908b908b908b908b9060040161397a565b6020604051808303815f875af115801561213c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112f991906136d3565b5f80516020613c038339815191525460405163ab3fc75f60e01b81525f80516020613c23833981519152916001600160a01b03169063ab3fc75f906121ad908790879087906004016139e2565b5f604051808303815f87803b1580156121c4575f80fd5b505af11580156121d6573d5f803e3d5ffd5b5050505050505050565b6121e8610f99565b6001600160a01b0316336001600160a01b03161461221b5760405163086391f760e31b8152336004820152602401610709565b612225600b612568565b60405163deaa59df60e01b81526001600160a01b038381166004830152919091169063deaa59df90602401611c3f565b5f80516020613c238339815191525460405163feff0c9160e01b81526001600160a01b039091169063feff0c91906122939085908590600401613a15565b5f604051808303815f87803b1580156122aa575f80fd5b505af11580156116b8573d5f803e3d5ffd5b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161232a9190613a61565b5f60405180830381855afa9150503d805f8114612362576040519150601f19603f3d011682016040523d82523d5f602084013e612367565b606091505b509150915081156123b9576040815110612399578080602001905181019061238f9190613a77565b90945092506123b9565b60208151106123b957808060200190518101906123b691906134b4565b93505b505094509492505050565b6123cc612d16565b5f5f80516020613bc383398151915290506040518060600160405280825f0180546123f690613517565b80601f016020809104026020016040519081016040528092919081815260200182805461242290613517565b801561246d5780601f106124445761010080835404028352916020019161246d565b820191905f5260205f20905b81548152906001019060200180831161245057829003601f168201915b505050505081526020015f6001600160a01b031681526020018260020180546108e290613517565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166124de57604051631afcd79f60e31b815260040160405180910390fd5b565b6124e8612495565b6124f9878784600e898989886125f9565b5f80516020613c23833981519152612511600e612568565b6001820180546001600160a01b0319166001600160a01b039290921691909117905561253d600b612568565b81546001600160a01b0319166001600160a01b03919091161781556121d66303c09ad960e41b6127ff565b5f61257b6001546001600160a01b031690565b6001600160a01b031663d39e604383612592610eab565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156125d5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a9b919061355a565b612601612495565b5f61260d89898861282f565b90505f5f80516020613c4383398151915260405163bf8e179760e01b81526001600160601b03841660048201529091506001600160a01b038b169063bf8e179790602401602060405180830381865afa15801561266c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612690919061355a565b81546001600160a01b0319166001600160a01b039190911690811782556040805163bf7e214f60e01b81529051612729929163bf7e214f9160048083019260209291908290030181865afa1580156126ea573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061270e919061355a565b8b8b8b8b8a8a60405180602001604052805f8152508b6128ab565b8054604080516302cd307160e01b815290516001600160a01b03909216916302cd3071916004808201926020929091908290030181865afa158015612770573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612794919061355a565b6001820180546001600160a01b03199081166001600160a01b03938416179091556002830180549091169188169190911790556127d1600b612568565b6003820180546001600160a01b0319166001600160a01b039290921691909117905561122c63a9c1bc6f60e01b5b612807612495565b610ae7816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f60ff8216600c03612850576128478484600a612968565b50829050610e09565b5f61285d8585600c612968565b60405163677d3feb60e11b81526001600160601b03861660048201529091506001600160a01b0382169063cefa7fd690602401602060405180830381865afa158015611e50573d5f803e3d5ffd5b6128b3612495565b85515f036128d45760405163591eebf360e11b815260040160405180910390fd5b6128e389898988888888612a2d565b5f80516020613bc3833981519152806128fc8882613ae8565b5060018101805460ff19168615151790556002810161291b8382613ae8565b50612926600b612568565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055612958634a531f3360e01b6127ff565b61122c6306e9e5ff60e31b6127ff565b6040516305247a1760e51b81526001600160601b038316600482015283905f906001600160a01b0383169063a48f42e0906024015f60405180830381865afa1580156129b6573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526129dd91908101906135e2565b90506129f481604001518460ff9081169116141590565b15612a2557604080820151905163b0c1f6eb60e01b815260ff80861660048301529091166024820152604401610709565b509392505050565b612a35612495565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af4158015612a8b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612aaf91906134b4565b612ad75760405163cf6935e560e01b81526001600160a01b0388166004820152602401610709565b612ae087612b6a565b612aea8683612b7b565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101612b598382613ae8565b506121d6634a531f3360e01b6127ff565b612b72612495565b610ae781612bf1565b612b83612495565b612b8b612c02565b612b9482612c4a565b6001600160a01b038116612bbb5760405163f17ef42d60e01b815260040160405180910390fd5b5f80516020613ba383398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b612bf9612495565b610ae781611e7d565b612c0a612495565b6124de6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b612c52612495565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015612ca8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ccc91906134b4565b612cf45760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610709565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6040518060600160405280606081526020015f6001600160a01b03168152602001606081525090565b5f60208284031215612d4f575f80fd5b81356001600160e01b031981168114610e09575f80fd5b6001600160601b0381168114610ae7575f80fd5b5f8060408385031215612d8b575f80fd5b8235612d9681612d66565b91506020830135612da681612d66565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612e27608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152612e6b610100840182612db1565b949350505050565b602081525f6114416020830184612db1565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b0381118282101715612ebb57612ebb612e85565b60405290565b604051606081016001600160401b0381118282101715612ebb57612ebb612e85565b604051601f8201601f191681016001600160401b0381118282101715612f0b57612f0b612e85565b604052919050565b5f6001600160401b03821115612f2b57612f2b612e85565b50601f01601f191660200190565b5f82601f830112612f48575f80fd5b8135602083015f612f60612f5b84612f13565b612ee3565b9050828152858383011115612f73575f80fd5b828260208301375f92810160200192909252509392505050565b6001600160a01b0381168114610ae7575f80fd5b8035610a9e81612f8d565b63ffffffff81168114610ae7575f80fd5b8035610a9e81612fac565b64ffffffffff81168114610ae7575f80fd5b8035610a9e81612fc8565b8015158114610ae7575f80fd5b8035610a9e81612fe5565b5f805f805f805f805f6101208a8c031215613016575f80fd5b89356001600160401b0381111561302b575f80fd5b6130378c828d01612f39565b99505060208a013561304881612f8d565b975061305660408b01612fa1565b965061306460608b01612fa1565b955061307260808b01612fbd565b945061308060a08b01612fda565b935061308e60c08b01612ff2565b925061309c60e08b01612ff2565b91506101008a01356001600160401b038111156130b7575f80fd5b6130c38c828d01612f39565b9150509295985092959850929598565b5f602082840312156130e3575f80fd5b8135610e0981612d66565b5f602082840312156130fe575f80fd5b8135610e0981612fe5565b5f806040838503121561311a575f80fd5b8235612d9681612f8d565b6001600160c01b031981168114610ae7575f80fd5b5f805f6060848603121561314c575f80fd5b833561315781612f8d565b9250602084013561316781613125565b915060408401356001600160401b03811115613181575f80fd5b61318d86828701612f39565b9150509250925092565b5f602082840312156131a7575f80fd5b81356001600160401b038111156131bc575f80fd5b612e6b84828501612f39565b5f602082840312156131d8575f80fd5b8135610e0981612f8d565b602081525f8251606060208401526131fe6080840182612db1565b60208501516001600160a01b0316604085810191909152850151848203601f19016060860152909150611e748282612db1565b5f805f805f60a08688031215613245575f80fd5b853561325081612f8d565b9450602086013561326081612d66565b9350604086013561327081612f8d565b9250606086013561328081612f8d565b915060808601356001600160401b0381111561329a575f80fd5b6132a688828901612f39565b9150509295509295909350565b5f805f805f8060c087890312156132c8575f80fd5b86356132d381612d66565b955060208701356001600160401b038111156132ed575f80fd5b6132f989828a01612f39565b955050604087013561330a81612f8d565b9350606087013561331a81612fac565b9250608087013561332a81612fc8565b915060a08701356001600160401b03811115613344575f80fd5b61335089828a01612f39565b9150509295509295509295565b5f805f6060848603121561336f575f80fd5b833561315781612d66565b5f805f806080858703121561338d575f80fd5b843561339881612f8d565b935060208501356133a881612f8d565b92506040850135915060608501356133bf81612f8d565b939692955090935050565b5f80604083850312156133db575f80fd5b82356133e681613125565b946020939093013593505050565b5f60408284031215613404575f80fd5b604080519081016001600160401b038111828210171561342657613426612e85565b604052905080823561343781612f8d565b8152602083013561344781612d66565b6020919091015292915050565b5f8060808385031215613465575f80fd5b61346f84846133f4565b915061347e84604085016133f4565b90509250929050565b6001600160601b039290921682526001600160a01b0316602082015260400190565b8051610a9e81612fe5565b5f602082840312156134c4575f80fd5b8151610e0981612fe5565b5f602082840312156134df575f80fd5b815162ffffff81168114610e09575f80fd5b8051610a9e81612d66565b5f6020828403121561350c575f80fd5b8151610e0981612d66565b600181811c9082168061352b57607f821691505b60208210810361354957634e487b7160e01b5f52602260045260245ffd5b50919050565b8051610a9e81612f8d565b5f6020828403121561356a575f80fd5b8151610e0981612f8d565b60ff81168114610ae7575f80fd5b8051610a9e81613575565b5f61359b612f5b84612f13565b90508281528383830111156135ae575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f8301126135d3575f80fd5b6114418383516020850161358e565b5f602082840312156135f2575f80fd5b81516001600160401b03811115613607575f80fd5b820160e08185031215613618575f80fd5b613620612e99565b613629826134f1565b8152613637602083016134f1565b602082015261364860408301613583565b6040820152613659606083016134a9565b606082015261366a6080830161354f565b608082015261367b60a0830161354f565b60a082015260c08201516001600160401b03811115613698575f80fd5b6136a4868285016135c4565b60c083015250949350505050565b6001600160601b0383168152604060208201525f610e066040830184612db1565b5f602082840312156136e3575f80fd5b8151610e0981613125565b5f602082840312156136fe575f80fd5b8151610e0981613575565b808202811582820484141761144457634e487b7160e01b5f52601160045260245ffd5b5f806040838503121561373d575f80fd5b825161374881612f8d565b6020840151909250612da681613575565b5f8085851115613767575f80fd5b83861115613773575f80fd5b5050820193919092039150565b80356001600160e01b031981169060048410156137b1576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b61012081525f61380b61012083018c612db1565b6001600160a01b038b811660208501528a811660408501528916606084015263ffffffff8816608084015264ffffffffff871660a084015285151560c084015284151560e08401528281036101008401526138668185612db1565b9c9b505050505050505050505050565b5f60208284031215613886575f80fd5b5051919050565b6001600160a01b03841681526001600160c01b0319831660208201526060604082018190525f90611e7490830184612db1565b5f602082840312156138d0575f80fd5b81516001600160401b038111156138e5575f80fd5b8201606081850312156138f6575f80fd5b6138fe612ec1565b81516001600160401b03811115613913575f80fd5b8201601f81018613613923575f80fd5b6139328682516020840161358e565b825250602082015161394381612f8d565b602082015260408201516001600160401b03811115613960575f80fd5b61396c868285016135c4565b604083015250949350505050565b6001600160601b038716815260c060208201525f61399b60c0830188612db1565b6001600160a01b038716604084015263ffffffff8616606084015264ffffffffff8516608084015282810360a08401526139d58185612db1565b9998505050505050505050565b6001600160601b03841681526001600160401b0360c01b83166020820152606060408201525f611e746060830184612db1565b82516001600160a01b031681526020808401516001600160601b0316908201526080810182516001600160a01b0316604083015260208301516001600160601b03166060830152610e09565b5f82518060208501845e5f920191825250919050565b5f8060408385031215613a88575f80fd5b8251613a9381612fe5565b6020840151909250612da681612fac565b601f821115610ce957805f5260205f20601f840160051c81016020851015613ac95750805b601f840160051c820191505b81811015611361575f8155600101613ad5565b81516001600160401b03811115613b0157613b01612e85565b613b1581613b0f8454613517565b84613aa4565b6020601f821160018114613b47575f8315613b305750848201515b5f19600385901b1c1916600184901b178455611361565b5f84815260208120601f198516915b82811015613b765787850151825560209485019460019092019101613b56565b5084821015613b9357868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00ffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f901aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900ffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00a2646970667358221220aabe60d618fffabbdf006ba64bab1efc5d421bf390f0487ae2ba4c08d7901ae264736f6c634300081a0033",
1290
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610276575f3560e01c80637427d7a811610156578063ada9652e116100ca578063deaa59df11610084578063deaa59df146105c0578063e145d46c146105d3578063ea15869f14610607578063f322c70a1461061b578063f5860e1a1461062e578063f80e207214610642575f80fd5b8063ada9652e14610559578063b423086c1461056d578063bf7e214f14610575578063d16d0fe81461057d578063d89873b114610590578063de7b5d14146105a3575f80fd5b80638fb360371161011b5780638fb36037146104d757806390edbd35146104f8578063963cb0671461050d578063987cb16114610520578063ab3fc75f14610533578063ad12ad6014610546575f80fd5b80637427d7a81461048857806376b707b71461049b5780637a9e5e4b146104b557806387ef9ba0146104c8578063893d20e8146104cf575f80fd5b806321df0da7116101ed57806343d752d3116101b257806343d752d31461041c5780635741e5e9146104245780635ab1bd531461042c5780635dcb3bae1461043d578063644c45e0146104505780636bd1c0eb14610458575f80fd5b806321df0da7146103dd57806322366844146103e557806322f3e2d4146103ed5780632eb3e6f4146103f5578063419197fe14610409575f80fd5b8063138461e01161023e578063138461e01461033757806317d7de7c1461033f5780631bda5efa146103545780631c6b2190146103805780631eff4b2214610393578063211e28b6146103c8575f80fd5b806301ffc9a71461027a57806307e71a6e146102bb5780630d8e6e2c146102e65780630fec111c146103025780631329960414610317575b5f80fd5b6102a6610288366004612d3f565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102ce6102c9366004612d7a565b610655565b6040516001600160601b0390911681526020016102b2565b6102ee610726565b60405162ffffff90911681526020016102b2565b61030a6107ad565b6040516102b29190612ddf565b61031f610967565b6040516001600160a01b0390911681526020016102b2565b6102ce6109cf565b6103476109d9565b6040516102b29190612e73565b610367610362366004612ffd565b6109e9565b6040516001600160c01b031990911681526020016102b2565b6102ce61038e3660046130d3565b610a4d565b6103ba7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016102b2565b6103db6103d63660046130ee565b610aa3565b005b61031f610aea565b6102a6610b2e565b6102a6610c24565b6103ba5f80516020613c4383398151915281565b6103db610417366004613109565b610c9b565b61031f610cee565b6102a6610d00565b6001546001600160a01b031661031f565b6102ce61044b36600461313a565b610db6565b6102ce610e10565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b031661031f565b610367610496366004613197565b610e2b565b6104a3610eab565b60405160ff90911681526020016102b2565b6103db6104c33660046131c8565b610f13565b60016102a6565b61031f610f99565b6104df6110ca565b6040516001600160e01b031990911681526020016102b2565b6105006110ff565b6040516102b291906131e3565b6103db61051b366004613231565b611124565b61036761052e3660046132b3565b611238565b6103db61054136600461335d565b611305565b6103db61055436600461337a565b611368565b6103ba5f80516020613ba383398151915281565b61050061140b565b61031f61141b565b6103ba61058b3660046133ca565b611436565b61036761059e3660046132b3565b61144a565b5f80516020613c43833981519152546001600160a01b031661031f565b6103db6105ce3660046131c8565b611464565b6105e66105e1366004613197565b6114b1565b604080516001600160a01b03909316835260ff9091166020830152016102b2565b6103ba5f80516020613bc383398151915281565b6103db610629366004613454565b61156b565b6103ba5f80516020613c2383398151915281565b6103db6106503660046133ca565b6115b9565b5f610662335b5f366115c2565b82601761066f82826116c0565b846106826001546001600160a01b031690565b6001600160a01b031663b303aaf882336040518363ffffffff1660e01b81526004016106af929190613487565b602060405180830381865afa1580156106ca573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106ee91906134b4565b6107125760405163086391f760e31b81523360048201526024015b60405180910390fd5b61071c86866117f4565b9695505050505050565b604051632efe011360e01b8152600160048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610784573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107a891906134cf565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610859573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061087d91906134fc565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016108c5610f99565b6001600160a01b031681526020018260010180546108e290613517565b80601f016020809104026020016040519081016040528092919081815260200182805461090e90613517565b80156109595780601f1061093057610100808354040283529160200191610959565b820191905f5260205f20905b81548152906001019060200180831161093c57829003601f168201915b505050505081525091505090565b5f610970610cee565b6001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109ab573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107a8919061355a565b5f6107a830611880565b60606109e36110ff565b51919050565b5f6109f33361065b565b6109fb610f99565b6001600160a01b0316336001600160a01b031614610a2e5760405163086391f760e31b8152336004820152602401610709565b610a3f8a8a8a8a8a8a8a8a8a611ac2565b9a9950505050505050505050565b5f610a573361065b565b610a5f610f99565b6001600160a01b0316336001600160a01b031614610a925760405163086391f760e31b8152336004820152602401610709565b610a9b82611b6e565b90505b919050565b610aab610f99565b6001600160a01b0316336001600160a01b031614610ade5760405163086391f760e31b8152336004820152602401610709565b610ae781611bf2565b50565b5f610af3610cee565b6001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109ab573d5f803e3d5ffd5b5f610b416001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610b85573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ba991906134fc565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610c00573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107a891906134b4565b5f610c2d61141b565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610c71573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c9591906134b4565b15905090565b610ca43361065b565b610cac610f99565b6001600160a01b0316336001600160a01b031614610cdf5760405163086391f760e31b8152336004820152602401610709565b610ce98282611c68565b505050565b5f610cf76110ff565b60200151905090565b5f610d09610b2e565b15610d8d576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610d5d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610d8491908101906135e2565b60600151905090565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f015460ff1690565b5f610dc03361065b565b610dc8610f99565b6001600160a01b0316336001600160a01b031614610dfb5760405163086391f760e31b8152336004820152602401610709565b610e06848484611de3565b90505b9392505050565b5f80516020613ba3833981519152546001600160601b031690565b5f73__$05887d5853069c88bcd4c0a2107db45f29$__633f093cd6610e4e610e10565b846040518363ffffffff1660e01b8152600401610e6c9291906136b2565b602060405180830381865af4158015610e87573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a9b91906136d3565b5f610eb461141b565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610eef573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107a891906136ee565b33610f1c61141b565b6001600160a01b0316816001600160a01b031614610f575760405162d1953b60e31b81526001600160a01b0382166004820152602401610709565b816001600160a01b03163b5f03610f8c576040516361798f2f60e11b81526001600160a01b0383166004820152602401610709565b610f9582611e7d565b5050565b5f805f80516020613ba383398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611005573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061102991906134b4565b156110b4576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561108a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110ae919061355a565b91505090565b54600160601b90046001600160a01b0316919050565b5f80516020613be383398151915280545f9190600160a01b900460ff166110f1575f6110ae565b638fb3603760e01b91505090565b611107612d16565b61110f610b2e565b1561111c576107a8611edd565b6107a861140b565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f811580156111685750825b90505f826001600160401b031660011480156111835750303b155b905081158015611191575080155b156111af5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156111d957845460ff60401b1916600160401b1785555b6111e68a8a8a8a8a6120a4565b831561122c57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050505050565b5f6112423361065b565b866112556001546001600160a01b031690565b6001600160a01b031663b303aaf882336040518363ffffffff1660e01b8152600401611282929190613487565b602060405180830381865afa15801561129d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112c191906134b4565b6112e05760405163086391f760e31b8152336004820152602401610709565b6112eb8860176116c0565b6112f98888888888886120c9565b98975050505050505050565b61130e3361065b565b611316610f99565b6001600160a01b0316336001600160a01b0316146113495760405163086391f760e31b8152336004820152602401610709565b82601761135682826116c0565b611361858585612160565b5050505050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113af573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113d3919061355a565b6001600160a01b0316336001600160a01b0316146114055760405162f0630960e01b8152336004820152602401610709565b50505050565b611413612d16565b6107a8611edd565b5f80516020613be3833981519152546001600160a01b031690565b5f6114418282613709565b90505b92915050565b5f6114598787878787876120c9565b979650505050505050565b61146d3361065b565b611475610f99565b6001600160a01b0316336001600160a01b0316146114a85760405163086391f760e31b8152336004820152602401610709565b610ae7816121e0565b5f805f6114bd84610e2b565b90506114f07fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163b82d7ef560e01b81526001600160c01b0319831660048201526001600160a01b03919091169063b82d7ef5906024016040805180830381865afa15801561153d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611561919061372c565b9250925050915091565b611573610f99565b6001600160a01b0316336001600160a01b0316146115a65760405163086391f760e31b8152336004820152602401610709565b6115af3361065b565b610f958282612255565b610f953361065b565b5f80516020613be38339815191525f806115fa6115dd61141b565b87306115ec60045f8a8c613759565b6115f591613780565b6122bc565b91509150816116b85763ffffffff81161561169557825460ff60a01b1916600160a01b17835561162861141b565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611657939291906137b8565b5f604051808303815f87803b15801561166e575f80fd5b505af1158015611680573d5f803e3d5ffd5b5050845460ff60a01b19168555506116b89050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610709565b505050505050565b60405163037c8cb160e51b815260ff8216600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015611710573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061173491906134b4565b806117c257506001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa15801561179c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117c091906134b4565b155b15610f955760405163d711af7560e01b81526001600160601b038316600482015260ff82166024820152604401610709565b5f5f80516020613c23833981519152600101546040516303f38d3760e11b81526001600160601b038086166004830152841660248201526001600160a01b03909116906307e71a6e906044016020604051808303815f875af115801561185c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061144191906134fc565b5f805f80516020613ba383398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156118ec573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061191091906134b4565b1561193c5780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610709565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561198e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119b291906134b4565b6119da5760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610709565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611a2c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a5091906134fc565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b5490611a9c610f99565b604051611aaa929190613487565b60405180910390a1546001600160601b031692915050565b5f80516020613c0383398151915254604051630ded2f7d60e11b81525f915f80516020613c23833981519152916001600160a01b0390911690631bda5efa90611b1f908e908e908e908e908e908e908e908e908e906004016137f7565b6020604051808303815f875af1158015611b3b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b5f91906136d3565b9b9a5050505050505050505050565b5f5f80516020613c43833981519152600301546040516301c6b21960e41b81526001600160601b03841660048201526001600160a01b0390911690631c6b2190906024016020604051808303815f875af1158015611bce573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a9b91906134fc565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f035460405163108f145b60e11b815282151560048201526001600160a01b039091169063211e28b6906024015b5f604051808303815f87803b158015611c56575f80fd5b505af1158015611361573d5f803e3d5ffd5b5f73__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96846001600160a01b031663dd62ed3e611c9a610cee565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152306024820152604401602060405180830381865afa158015611ce2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d069190613876565b6040518263ffffffff1660e01b8152600401611d2491815260200190565b602060405180830381865af4158015611d3f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d6391906134fc565b90505f80516020613bc3833981519152600301546040516320c8cbff60e11b81526001600160a01b0385811660048301526001600160601b03851660248301529091169063419197fe906044015f604051808303815f87803b158015611dc7575f80fd5b505af1158015611dd9573d5f803e3d5ffd5b5050505092915050565b5f80516020613c0383398151915254604051632ee59dd760e11b81525f915f80516020613c23833981519152916001600160a01b0390911690635dcb3bae90611e349088908890889060040161388d565b6020604051808303815f875af1158015611e50573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e7491906134fc565b95945050505050565b5f80516020613be383398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611ee5612d16565b5f611ef86001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015611f3c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f6091906134fc565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611fb9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fdd91906134b4565b1561209c577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031663f0ea17c361201a610e10565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa15801561205b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261208291908101906138c0565b60208101519092506001600160a01b03161561209c575090565b6110ae6123c4565b6120ac612495565b6113618585855f868660405180602001604052805f8152506124e0565b5f80516020613c038339815191525460405163987cb16160e01b81525f915f80516020613c23833981519152916001600160a01b039091169063987cb16190612120908b908b908b908b908b908b9060040161397a565b6020604051808303815f875af115801561213c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112f991906136d3565b5f80516020613c038339815191525460405163ab3fc75f60e01b81525f80516020613c23833981519152916001600160a01b03169063ab3fc75f906121ad908790879087906004016139e2565b5f604051808303815f87803b1580156121c4575f80fd5b505af11580156121d6573d5f803e3d5ffd5b5050505050505050565b6121e8610f99565b6001600160a01b0316336001600160a01b03161461221b5760405163086391f760e31b8152336004820152602401610709565b612225600b612568565b60405163deaa59df60e01b81526001600160a01b038381166004830152919091169063deaa59df90602401611c3f565b5f80516020613c238339815191525460405163feff0c9160e01b81526001600160a01b039091169063feff0c91906122939085908590600401613a15565b5f604051808303815f87803b1580156122aa575f80fd5b505af11580156116b8573d5f803e3d5ffd5b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161232a9190613a61565b5f60405180830381855afa9150503d805f8114612362576040519150601f19603f3d011682016040523d82523d5f602084013e612367565b606091505b509150915081156123b9576040815110612399578080602001905181019061238f9190613a77565b90945092506123b9565b60208151106123b957808060200190518101906123b691906134b4565b93505b505094509492505050565b6123cc612d16565b5f5f80516020613bc383398151915290506040518060600160405280825f0180546123f690613517565b80601f016020809104026020016040519081016040528092919081815260200182805461242290613517565b801561246d5780601f106124445761010080835404028352916020019161246d565b820191905f5260205f20905b81548152906001019060200180831161245057829003601f168201915b505050505081526020015f6001600160a01b031681526020018260020180546108e290613517565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166124de57604051631afcd79f60e31b815260040160405180910390fd5b565b6124e8612495565b6124f9878784600e898989886125f9565b5f80516020613c23833981519152612511600e612568565b6001820180546001600160a01b0319166001600160a01b039290921691909117905561253d600b612568565b81546001600160a01b0319166001600160a01b03919091161781556121d66303c09ad960e41b6127ff565b5f61257b6001546001600160a01b031690565b6001600160a01b031663d39e604383612592610eab565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156125d5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a9b919061355a565b612601612495565b5f61260d89898861282f565b90505f5f80516020613c4383398151915260405163bf8e179760e01b81526001600160601b03841660048201529091506001600160a01b038b169063bf8e179790602401602060405180830381865afa15801561266c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612690919061355a565b81546001600160a01b0319166001600160a01b039190911690811782556040805163bf7e214f60e01b81529051612729929163bf7e214f9160048083019260209291908290030181865afa1580156126ea573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061270e919061355a565b8b8b8b8b8a8a60405180602001604052805f8152508b6128ab565b8054604080516302cd307160e01b815290516001600160a01b03909216916302cd3071916004808201926020929091908290030181865afa158015612770573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612794919061355a565b6001820180546001600160a01b03199081166001600160a01b03938416179091556002830180549091169188169190911790556127d1600b612568565b6003820180546001600160a01b0319166001600160a01b039290921691909117905561122c63a9c1bc6f60e01b5b612807612495565b610ae7816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f60ff8216600c03612850576128478484600a612968565b50829050610e09565b5f61285d8585600c612968565b60405163677d3feb60e11b81526001600160601b03861660048201529091506001600160a01b0382169063cefa7fd690602401602060405180830381865afa158015611e50573d5f803e3d5ffd5b6128b3612495565b85515f036128d45760405163591eebf360e11b815260040160405180910390fd5b6128e389898988888888612a2d565b5f80516020613bc3833981519152806128fc8882613ae8565b5060018101805460ff19168615151790556002810161291b8382613ae8565b50612926600b612568565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055612958634a531f3360e01b6127ff565b61122c6306e9e5ff60e31b6127ff565b6040516305247a1760e51b81526001600160601b038316600482015283905f906001600160a01b0383169063a48f42e0906024015f60405180830381865afa1580156129b6573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526129dd91908101906135e2565b90506129f481604001518460ff9081169116141590565b15612a2557604080820151905163b0c1f6eb60e01b815260ff80861660048301529091166024820152604401610709565b509392505050565b612a35612495565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af4158015612a8b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612aaf91906134b4565b612ad75760405163cf6935e560e01b81526001600160a01b0388166004820152602401610709565b612ae087612b6a565b612aea8683612b7b565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101612b598382613ae8565b506121d6634a531f3360e01b6127ff565b612b72612495565b610ae781612bf1565b612b83612495565b612b8b612c02565b612b9482612c4a565b6001600160a01b038116612bbb5760405163f17ef42d60e01b815260040160405180910390fd5b5f80516020613ba383398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b612bf9612495565b610ae781611e7d565b612c0a612495565b6124de6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b612c52612495565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015612ca8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ccc91906134b4565b612cf45760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610709565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6040518060600160405280606081526020015f6001600160a01b03168152602001606081525090565b5f60208284031215612d4f575f80fd5b81356001600160e01b031981168114610e09575f80fd5b6001600160601b0381168114610ae7575f80fd5b5f8060408385031215612d8b575f80fd5b8235612d9681612d66565b91506020830135612da681612d66565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612e27608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152612e6b610100840182612db1565b949350505050565b602081525f6114416020830184612db1565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b0381118282101715612ebb57612ebb612e85565b60405290565b604051606081016001600160401b0381118282101715612ebb57612ebb612e85565b604051601f8201601f191681016001600160401b0381118282101715612f0b57612f0b612e85565b604052919050565b5f6001600160401b03821115612f2b57612f2b612e85565b50601f01601f191660200190565b5f82601f830112612f48575f80fd5b8135602083015f612f60612f5b84612f13565b612ee3565b9050828152858383011115612f73575f80fd5b828260208301375f92810160200192909252509392505050565b6001600160a01b0381168114610ae7575f80fd5b8035610a9e81612f8d565b63ffffffff81168114610ae7575f80fd5b8035610a9e81612fac565b64ffffffffff81168114610ae7575f80fd5b8035610a9e81612fc8565b8015158114610ae7575f80fd5b8035610a9e81612fe5565b5f805f805f805f805f6101208a8c031215613016575f80fd5b89356001600160401b0381111561302b575f80fd5b6130378c828d01612f39565b99505060208a013561304881612f8d565b975061305660408b01612fa1565b965061306460608b01612fa1565b955061307260808b01612fbd565b945061308060a08b01612fda565b935061308e60c08b01612ff2565b925061309c60e08b01612ff2565b91506101008a01356001600160401b038111156130b7575f80fd5b6130c38c828d01612f39565b9150509295985092959850929598565b5f602082840312156130e3575f80fd5b8135610e0981612d66565b5f602082840312156130fe575f80fd5b8135610e0981612fe5565b5f806040838503121561311a575f80fd5b8235612d9681612f8d565b6001600160c01b031981168114610ae7575f80fd5b5f805f6060848603121561314c575f80fd5b833561315781612f8d565b9250602084013561316781613125565b915060408401356001600160401b03811115613181575f80fd5b61318d86828701612f39565b9150509250925092565b5f602082840312156131a7575f80fd5b81356001600160401b038111156131bc575f80fd5b612e6b84828501612f39565b5f602082840312156131d8575f80fd5b8135610e0981612f8d565b602081525f8251606060208401526131fe6080840182612db1565b60208501516001600160a01b0316604085810191909152850151848203601f19016060860152909150611e748282612db1565b5f805f805f60a08688031215613245575f80fd5b853561325081612f8d565b9450602086013561326081612d66565b9350604086013561327081612f8d565b9250606086013561328081612f8d565b915060808601356001600160401b0381111561329a575f80fd5b6132a688828901612f39565b9150509295509295909350565b5f805f805f8060c087890312156132c8575f80fd5b86356132d381612d66565b955060208701356001600160401b038111156132ed575f80fd5b6132f989828a01612f39565b955050604087013561330a81612f8d565b9350606087013561331a81612fac565b9250608087013561332a81612fc8565b915060a08701356001600160401b03811115613344575f80fd5b61335089828a01612f39565b9150509295509295509295565b5f805f6060848603121561336f575f80fd5b833561315781612d66565b5f805f806080858703121561338d575f80fd5b843561339881612f8d565b935060208501356133a881612f8d565b92506040850135915060608501356133bf81612f8d565b939692955090935050565b5f80604083850312156133db575f80fd5b82356133e681613125565b946020939093013593505050565b5f60408284031215613404575f80fd5b604080519081016001600160401b038111828210171561342657613426612e85565b604052905080823561343781612f8d565b8152602083013561344781612d66565b6020919091015292915050565b5f8060808385031215613465575f80fd5b61346f84846133f4565b915061347e84604085016133f4565b90509250929050565b6001600160601b039290921682526001600160a01b0316602082015260400190565b8051610a9e81612fe5565b5f602082840312156134c4575f80fd5b8151610e0981612fe5565b5f602082840312156134df575f80fd5b815162ffffff81168114610e09575f80fd5b8051610a9e81612d66565b5f6020828403121561350c575f80fd5b8151610e0981612d66565b600181811c9082168061352b57607f821691505b60208210810361354957634e487b7160e01b5f52602260045260245ffd5b50919050565b8051610a9e81612f8d565b5f6020828403121561356a575f80fd5b8151610e0981612f8d565b60ff81168114610ae7575f80fd5b8051610a9e81613575565b5f61359b612f5b84612f13565b90508281528383830111156135ae575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f8301126135d3575f80fd5b6114418383516020850161358e565b5f602082840312156135f2575f80fd5b81516001600160401b03811115613607575f80fd5b820160e08185031215613618575f80fd5b613620612e99565b613629826134f1565b8152613637602083016134f1565b602082015261364860408301613583565b6040820152613659606083016134a9565b606082015261366a6080830161354f565b608082015261367b60a0830161354f565b60a082015260c08201516001600160401b03811115613698575f80fd5b6136a4868285016135c4565b60c083015250949350505050565b6001600160601b0383168152604060208201525f610e066040830184612db1565b5f602082840312156136e3575f80fd5b8151610e0981613125565b5f602082840312156136fe575f80fd5b8151610e0981613575565b808202811582820484141761144457634e487b7160e01b5f52601160045260245ffd5b5f806040838503121561373d575f80fd5b825161374881612f8d565b6020840151909250612da681613575565b5f8085851115613767575f80fd5b83861115613773575f80fd5b5050820193919092039150565b80356001600160e01b031981169060048410156137b1576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b61012081525f61380b61012083018c612db1565b6001600160a01b038b811660208501528a811660408501528916606084015263ffffffff8816608084015264ffffffffff871660a084015285151560c084015284151560e08401528281036101008401526138668185612db1565b9c9b505050505050505050505050565b5f60208284031215613886575f80fd5b5051919050565b6001600160a01b03841681526001600160c01b0319831660208201526060604082018190525f90611e7490830184612db1565b5f602082840312156138d0575f80fd5b81516001600160401b038111156138e5575f80fd5b8201606081850312156138f6575f80fd5b6138fe612ec1565b81516001600160401b03811115613913575f80fd5b8201601f81018613613923575f80fd5b6139328682516020840161358e565b825250602082015161394381612f8d565b602082015260408201516001600160401b03811115613960575f80fd5b61396c868285016135c4565b604083015250949350505050565b6001600160601b038716815260c060208201525f61399b60c0830188612db1565b6001600160a01b038716604084015263ffffffff8616606084015264ffffffffff8516608084015282810360a08401526139d58185612db1565b9998505050505050505050565b6001600160601b03841681526001600160401b0360c01b83166020820152606060408201525f611e746060830184612db1565b82516001600160a01b031681526020808401516001600160601b0316908201526080810182516001600160a01b0316604083015260208301516001600160601b03166060830152610e09565b5f82518060208501845e5f920191825250919050565b5f8060408385031215613a88575f80fd5b8251613a9381612fe5565b6020840151909250612da681612fac565b601f821115610ce957805f5260205f20601f840160051c81016020851015613ac95750805b601f840160051c820191505b81811015611361575f8155600101613ad5565b81516001600160401b03811115613b0157613b01612e85565b613b1581613b0f8454613517565b84613aa4565b6020601f821160018114613b47575f8315613b305750848201515b5f19600385901b1c1916600184901b178455611361565b5f84815260208120601f198516915b82811015613b765787850151825560209485019460019092019101613b56565b5084821015613b9357868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00ffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f901aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900ffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00a2646970667358221220aabe60d618fffabbdf006ba64bab1efc5d421bf390f0487ae2ba4c08d7901ae264736f6c634300081a0033",
1271
1291
  "linkReferences": {
1272
- "contracts/type/Amount.sol": {
1273
- "AmountLib": [
1292
+ "contracts/shared/ContractLib.sol": {
1293
+ "ContractLib": [
1274
1294
  {
1275
1295
  "length": 20,
1276
- "start": 7213
1296
+ "start": 2221
1277
1297
  },
1278
1298
  {
1279
1299
  "length": 20,
1280
- "start": 9590
1300
+ "start": 2803
1281
1301
  },
1282
1302
  {
1283
1303
  "length": 20,
1284
- "start": 9846
1285
- }
1286
- ]
1287
- },
1288
- "contracts/type/NftId.sol": {
1289
- "NftIdLib": [
1290
- {
1291
- "length": 20,
1292
- "start": 5876
1304
+ "start": 14942
1293
1305
  },
1294
1306
  {
1295
1307
  "length": 20,
1296
- "start": 6695
1297
- },
1298
- {
1299
- "length": 20,
1300
- "start": 8130
1301
- },
1308
+ "start": 15483
1309
+ }
1310
+ ]
1311
+ },
1312
+ "contracts/type/Amount.sol": {
1313
+ "AmountLib": [
1302
1314
  {
1303
1315
  "length": 20,
1304
- "start": 8488
1305
- },
1316
+ "start": 11382
1317
+ }
1318
+ ]
1319
+ },
1320
+ "contracts/type/NftId.sol": {
1321
+ "NftIdLib": [
1306
1322
  {
1307
1323
  "length": 20,
1308
- "start": 11104
1324
+ "start": 6175
1309
1325
  },
1310
1326
  {
1311
1327
  "length": 20,
1312
- "start": 12311
1328
+ "start": 7123
1313
1329
  },
1314
1330
  {
1315
1331
  "length": 20,
1316
- "start": 12918
1332
+ "start": 8152
1317
1333
  },
1318
1334
  {
1319
1335
  "length": 20,
1320
- "start": 13806
1336
+ "start": 10431
1321
1337
  },
1322
1338
  {
1323
1339
  "length": 20,
1324
- "start": 13989
1325
- },
1340
+ "start": 12172
1341
+ }
1342
+ ]
1343
+ },
1344
+ "contracts/type/ObjectType.sol": {
1345
+ "ObjectTypeLib": [
1326
1346
  {
1327
1347
  "length": 20,
1328
- "start": 14641
1348
+ "start": 9955
1329
1349
  }
1330
1350
  ]
1331
1351
  },
@@ -1333,25 +1353,37 @@
1333
1353
  "ReferralLib": [
1334
1354
  {
1335
1355
  "length": 20,
1336
- "start": 7819
1356
+ "start": 7737
1357
+ }
1358
+ ]
1359
+ },
1360
+ "contracts/type/Version.sol": {
1361
+ "VersionLib": [
1362
+ {
1363
+ "length": 20,
1364
+ "start": 5975
1337
1365
  }
1338
1366
  ]
1339
1367
  }
1340
1368
  },
1341
1369
  "deployedLinkReferences": {
1342
- "contracts/type/Amount.sol": {
1343
- "AmountLib": [
1370
+ "contracts/shared/ContractLib.sol": {
1371
+ "ContractLib": [
1344
1372
  {
1345
1373
  "length": 20,
1346
- "start": 3374
1374
+ "start": 10835
1347
1375
  },
1348
1376
  {
1349
1377
  "length": 20,
1350
- "start": 5751
1351
- },
1378
+ "start": 11376
1379
+ }
1380
+ ]
1381
+ },
1382
+ "contracts/type/Amount.sol": {
1383
+ "AmountLib": [
1352
1384
  {
1353
1385
  "length": 20,
1354
- "start": 6007
1386
+ "start": 7275
1355
1387
  }
1356
1388
  ]
1357
1389
  },
@@ -1359,43 +1391,31 @@
1359
1391
  "NftIdLib": [
1360
1392
  {
1361
1393
  "length": 20,
1362
- "start": 2037
1363
- },
1364
- {
1365
- "length": 20,
1366
- "start": 2856
1367
- },
1368
- {
1369
- "length": 20,
1370
- "start": 4291
1371
- },
1372
- {
1373
- "length": 20,
1374
- "start": 4649
1394
+ "start": 2068
1375
1395
  },
1376
1396
  {
1377
1397
  "length": 20,
1378
- "start": 7265
1398
+ "start": 3016
1379
1399
  },
1380
1400
  {
1381
1401
  "length": 20,
1382
- "start": 8472
1402
+ "start": 4045
1383
1403
  },
1384
1404
  {
1385
1405
  "length": 20,
1386
- "start": 9079
1406
+ "start": 6324
1387
1407
  },
1388
1408
  {
1389
1409
  "length": 20,
1390
- "start": 9967
1391
- },
1392
- {
1393
- "length": 20,
1394
- "start": 10150
1395
- },
1410
+ "start": 8065
1411
+ }
1412
+ ]
1413
+ },
1414
+ "contracts/type/ObjectType.sol": {
1415
+ "ObjectTypeLib": [
1396
1416
  {
1397
1417
  "length": 20,
1398
- "start": 10802
1418
+ "start": 5848
1399
1419
  }
1400
1420
  ]
1401
1421
  },
@@ -1403,7 +1423,15 @@
1403
1423
  "ReferralLib": [
1404
1424
  {
1405
1425
  "length": 20,
1406
- "start": 3980
1426
+ "start": 3630
1427
+ }
1428
+ ]
1429
+ },
1430
+ "contracts/type/Version.sol": {
1431
+ "VersionLib": [
1432
+ {
1433
+ "length": 20,
1434
+ "start": 1868
1407
1435
  }
1408
1436
  ]
1409
1437
  }