@etherisc/gif-next 0.0.2-c17621f-221 → 0.0.2-c2496d8-605

Sign up to get free protection for your applications and to get access to all the features.
Files changed (521) hide show
  1. package/README.md +81 -7
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1023 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +752 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +791 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +496 -255
  10. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.json +24 -0
  12. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +673 -0
  14. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
  15. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +202 -5
  16. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
  17. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +277 -20
  18. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +1 -1
  19. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +1 -1
  20. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +395 -203
  21. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
  22. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +143 -19
  23. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
  24. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +19 -0
  25. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  26. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +68 -5
  27. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  28. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +184 -301
  29. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  30. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +265 -31
  31. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  32. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +103 -185
  33. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  34. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +377 -181
  35. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  36. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +184 -79
  37. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  38. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +90 -167
  39. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  40. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +209 -70
  41. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  42. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  43. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  44. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1461 -0
  45. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  46. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +644 -0
  47. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  48. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2018 -0
  49. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  50. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +644 -0
  51. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  52. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +1 -1
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +259 -266
  55. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +644 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +1 -1
  58. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +156 -175
  59. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +1 -1
  60. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +332 -221
  61. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +644 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +1 -1
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +763 -336
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  66. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +644 -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/IInstance.sol/IInstance.dbg.json +1 -1
  70. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +236 -39
  71. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  72. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +144 -93
  73. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  74. package/artifacts/contracts/instance/Instance.sol/Instance.json +284 -62
  75. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  76. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +738 -328
  77. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  78. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +209 -94
  79. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  80. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +916 -308
  81. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  82. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +175 -169
  83. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  84. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +114 -63
  85. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  86. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +832 -635
  87. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  88. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +853 -0
  89. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  90. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +2 -2
  91. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  92. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  93. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  94. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
  95. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +46 -5
  96. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +1 -1
  97. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +16 -5
  98. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  99. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  100. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  101. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  102. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  103. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  104. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  105. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  106. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
  107. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +142 -183
  108. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  109. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +247 -33
  110. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  111. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  112. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +104 -116
  113. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  114. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +69 -11
  115. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  116. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +118 -135
  117. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  118. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +172 -81
  119. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  120. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +148 -55
  121. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  122. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +158 -175
  123. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  124. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +265 -31
  125. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  126. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +200 -269
  127. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  128. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +146 -85
  129. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  130. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +90 -117
  131. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  132. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +133 -156
  133. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  134. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +287 -255
  135. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  136. package/artifacts/contracts/pool/Pool.sol/Pool.json +146 -174
  137. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  138. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +472 -0
  139. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  140. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +521 -384
  141. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  142. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +194 -65
  143. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  144. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +196 -57
  145. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  146. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +137 -52
  147. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  148. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +278 -234
  149. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  150. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +265 -31
  151. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  152. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +335 -148
  153. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  154. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +163 -82
  155. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  156. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +131 -9
  157. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  158. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +199 -21
  159. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  160. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +244 -48
  161. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  162. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +117 -43
  163. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  164. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +258 -209
  165. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +1 -1
  166. package/artifacts/contracts/product/IRiskService.sol/IRiskService.json +86 -6
  167. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  168. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +388 -151
  169. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  170. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +727 -0
  171. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  172. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +170 -73
  173. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  174. package/artifacts/contracts/product/PricingService.sol/PricingService.json +178 -135
  175. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  176. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +127 -66
  177. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  178. package/artifacts/contracts/product/Product.sol/Product.json +268 -224
  179. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +1 -1
  180. package/artifacts/contracts/product/RiskService.sol/RiskService.json +172 -67
  181. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +1 -1
  182. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +137 -52
  183. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  184. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +2 -2
  185. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  186. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +126 -26
  187. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  188. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +144 -41
  189. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  190. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  191. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  192. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  193. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  194. package/artifacts/contracts/registry/Registry.sol/Registry.json +170 -62
  195. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  196. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +593 -436
  197. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  198. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +878 -0
  199. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  200. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +112 -183
  201. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  202. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +112 -47
  203. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  204. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +1954 -0
  205. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  206. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +47 -6
  207. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
  208. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +426 -258
  209. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  210. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +66 -8
  211. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  212. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +15 -15
  213. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  214. package/artifacts/contracts/shared/Component.sol/Component.json +94 -93
  215. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  216. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +446 -527
  217. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  218. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +151 -88
  219. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  220. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +661 -0
  221. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  222. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  223. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  224. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  225. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  226. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  227. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  228. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +81 -75
  229. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  230. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +394 -300
  231. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  232. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +104 -116
  233. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  234. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +36 -0
  235. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  236. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +36 -0
  237. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  238. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +16 -0
  239. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  240. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +16 -6
  241. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  242. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +148 -0
  243. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  244. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  245. package/artifacts/contracts/shared/IService.sol/IService.json +55 -2
  246. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
  247. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +2 -2
  248. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  249. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +117 -134
  250. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  251. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +42 -1
  252. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  253. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +42 -1
  254. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
  255. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
  256. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  257. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +18 -2
  258. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  259. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +18 -8
  260. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  261. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +152 -38
  262. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  263. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -2
  264. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  265. package/artifacts/contracts/shared/Service.sol/Service.json +60 -2
  266. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  267. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +327 -73
  268. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  269. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  270. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +1 -1
  271. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +88 -24
  272. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  273. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +170 -117
  274. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  275. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +155 -23
  276. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  277. package/artifacts/contracts/staking/Staking.sol/Staking.json +276 -200
  278. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  279. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +469 -0
  280. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +1 -1
  281. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +46 -5
  282. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  283. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +147 -61
  284. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  285. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +41 -73
  286. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  287. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +227 -62
  288. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  289. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +129 -52
  290. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  291. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +205 -150
  292. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  293. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +60 -50
  294. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  295. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  296. package/artifacts/contracts/type/Amount.sol/AmountLib.json +35 -11
  297. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  298. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  299. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
  300. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  301. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  302. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  303. package/artifacts/contracts/type/Fee.sol/FeeLib.json +94 -38
  304. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  305. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  306. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  307. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  308. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  309. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +23 -4
  310. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  311. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  312. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  313. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +33 -31
  314. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  315. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
  316. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  317. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +2 -2
  318. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  319. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
  320. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  321. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +125 -7
  322. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  323. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +79 -15
  324. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  325. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  326. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +21 -2
  327. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  328. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +2 -2
  329. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  330. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
  331. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  332. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  333. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +2 -2
  334. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  335. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +73 -36
  336. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  337. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -21
  338. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  339. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +101 -2
  340. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
  341. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  342. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +89 -37
  343. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  344. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +15 -2
  345. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
  346. package/contracts/accounting/AccountingService.sol +261 -0
  347. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  348. package/contracts/accounting/IAccountingService.sol +45 -0
  349. package/contracts/authorization/AccessAdmin.sol +337 -222
  350. package/contracts/authorization/AccessAdminLib.sol +183 -0
  351. package/contracts/authorization/AccessManagerCloneable.sol +146 -4
  352. package/contracts/authorization/Authorization.sol +350 -202
  353. package/contracts/authorization/IAccess.sol +13 -4
  354. package/contracts/authorization/IAccessAdmin.sol +69 -35
  355. package/contracts/authorization/IAuthorization.sol +33 -7
  356. package/contracts/authorization/IServiceAuthorization.sol +3 -1
  357. package/contracts/authorization/ServiceAuthorization.sol +26 -10
  358. package/contracts/distribution/BasicDistribution.sol +20 -17
  359. package/contracts/distribution/BasicDistributionAuthorization.sol +22 -9
  360. package/contracts/distribution/Distribution.sol +36 -87
  361. package/contracts/distribution/DistributionService.sol +169 -107
  362. package/contracts/distribution/DistributionServiceManager.sol +6 -6
  363. package/contracts/distribution/IDistributionComponent.sol +1 -10
  364. package/contracts/distribution/IDistributionService.sol +22 -20
  365. package/contracts/examples/fire/DamageLevel.sol +59 -0
  366. package/contracts/examples/fire/FirePool.sol +86 -0
  367. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  368. package/contracts/examples/fire/FireProduct.sol +433 -0
  369. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  370. package/contracts/examples/fire/FireUSD.sol +26 -0
  371. package/contracts/examples/unpermissioned/SimpleDistribution.sol +43 -12
  372. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  373. package/contracts/examples/unpermissioned/SimpleOracle.sol +8 -12
  374. package/contracts/examples/unpermissioned/SimplePool.sol +36 -10
  375. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  376. package/contracts/examples/unpermissioned/SimpleProduct.sol +51 -29
  377. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  378. package/contracts/instance/BundleSet.sol +42 -38
  379. package/contracts/instance/IInstance.sol +60 -17
  380. package/contracts/instance/IInstanceService.sol +27 -31
  381. package/contracts/instance/Instance.sol +115 -40
  382. package/contracts/instance/InstanceAdmin.sol +287 -122
  383. package/contracts/instance/InstanceAuthorizationV3.sol +90 -59
  384. package/contracts/instance/InstanceReader.sol +259 -39
  385. package/contracts/instance/InstanceService.sol +186 -194
  386. package/contracts/instance/InstanceServiceManager.sol +6 -7
  387. package/contracts/instance/InstanceStore.sol +13 -2
  388. package/contracts/instance/RiskSet.sol +118 -0
  389. package/contracts/instance/base/BalanceStore.sol +3 -5
  390. package/contracts/instance/base/ObjectCounter.sol +1 -2
  391. package/contracts/instance/base/ObjectLifecycle.sol +4 -2
  392. package/contracts/instance/base/ObjectSet.sol +31 -33
  393. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  394. package/contracts/instance/module/IBundle.sol +6 -5
  395. package/contracts/instance/module/IComponents.sol +29 -13
  396. package/contracts/instance/module/IDistribution.sol +21 -8
  397. package/contracts/instance/module/IPolicy.sol +30 -9
  398. package/contracts/instance/module/IRisk.sol +5 -0
  399. package/contracts/oracle/BasicOracle.sol +1 -4
  400. package/contracts/oracle/BasicOracleAuthorization.sol +3 -12
  401. package/contracts/oracle/IOracle.sol +9 -4
  402. package/contracts/oracle/IOracleService.sol +2 -1
  403. package/contracts/oracle/Oracle.sol +5 -18
  404. package/contracts/oracle/OracleService.sol +115 -84
  405. package/contracts/oracle/OracleServiceManager.sol +6 -6
  406. package/contracts/pool/BasicPool.sol +32 -25
  407. package/contracts/pool/BasicPoolAuthorization.sol +27 -9
  408. package/contracts/pool/BundleService.sol +99 -141
  409. package/contracts/pool/BundleServiceManager.sol +6 -6
  410. package/contracts/pool/IBundleService.sol +15 -34
  411. package/contracts/pool/IPoolComponent.sol +19 -15
  412. package/contracts/pool/IPoolService.sol +70 -65
  413. package/contracts/pool/Pool.sol +136 -119
  414. package/contracts/pool/PoolLib.sol +309 -0
  415. package/contracts/pool/PoolService.sol +327 -249
  416. package/contracts/pool/PoolServiceManager.sol +4 -4
  417. package/contracts/product/ApplicationService.sol +77 -25
  418. package/contracts/product/ApplicationServiceManager.sol +4 -4
  419. package/contracts/product/BasicProduct.sol +9 -13
  420. package/contracts/product/BasicProductAuthorization.sol +24 -11
  421. package/contracts/product/ClaimService.sol +308 -155
  422. package/contracts/product/ClaimServiceManager.sol +4 -4
  423. package/contracts/product/IApplicationService.sol +8 -2
  424. package/contracts/product/IClaimService.sol +17 -4
  425. package/contracts/product/IPolicyService.sol +33 -11
  426. package/contracts/product/IPricingService.sol +10 -9
  427. package/contracts/product/IProductComponent.sol +27 -4
  428. package/contracts/product/IRiskService.sol +7 -7
  429. package/contracts/product/PolicyService.sol +339 -272
  430. package/contracts/product/PolicyServiceLib.sol +119 -0
  431. package/contracts/product/PolicyServiceManager.sol +4 -4
  432. package/contracts/product/PricingService.sol +44 -35
  433. package/contracts/product/PricingServiceManager.sol +4 -4
  434. package/contracts/product/Product.sol +118 -76
  435. package/contracts/product/RiskService.sol +90 -33
  436. package/contracts/product/RiskServiceManager.sol +4 -4
  437. package/contracts/registry/ChainNft.sol +10 -11
  438. package/contracts/registry/IRegistry.sol +20 -18
  439. package/contracts/registry/IRegistryService.sol +5 -12
  440. package/contracts/registry/IRelease.sol +29 -0
  441. package/contracts/registry/ITransferInterceptor.sol +1 -2
  442. package/contracts/registry/Registry.sol +36 -8
  443. package/contracts/registry/RegistryAdmin.sol +145 -351
  444. package/contracts/registry/RegistryAuthorization.sol +267 -0
  445. package/contracts/registry/RegistryService.sol +36 -47
  446. package/contracts/registry/RegistryServiceManager.sol +3 -3
  447. package/contracts/registry/ReleaseAdmin.sol +253 -0
  448. package/contracts/registry/ReleaseLifecycle.sol +8 -3
  449. package/contracts/registry/ReleaseRegistry.sol +271 -245
  450. package/contracts/registry/ServiceAuthorizationV3.sol +183 -50
  451. package/contracts/registry/TokenRegistry.sol +10 -9
  452. package/contracts/shared/Component.sol +61 -119
  453. package/contracts/shared/ComponentService.sol +393 -373
  454. package/contracts/shared/ComponentServiceManager.sol +8 -5
  455. package/contracts/shared/ContractLib.sol +347 -0
  456. package/contracts/shared/IComponent.sol +5 -17
  457. package/contracts/shared/IComponentService.sol +42 -40
  458. package/contracts/shared/IInstanceLinkedComponent.sol +3 -22
  459. package/contracts/shared/ILifecycle.sol +3 -1
  460. package/contracts/shared/INftOwnable.sol +2 -0
  461. package/contracts/shared/IPolicyHolder.sol +12 -13
  462. package/contracts/shared/IRegisterable.sol +23 -1
  463. package/contracts/shared/IService.sol +3 -5
  464. package/contracts/shared/InitializableERC165.sol +9 -1
  465. package/contracts/shared/InstanceLinkedComponent.sol +69 -47
  466. package/contracts/shared/KeyValueStore.sol +1 -1
  467. package/contracts/shared/Lifecycle.sol +15 -4
  468. package/contracts/shared/NftOwnable.sol +27 -7
  469. package/contracts/shared/PolicyHolder.sol +12 -6
  470. package/contracts/shared/Registerable.sol +50 -19
  471. package/contracts/shared/RegistryLinked.sol +7 -13
  472. package/contracts/shared/Service.sol +13 -30
  473. package/contracts/shared/TokenHandler.sol +275 -72
  474. package/contracts/shared/TokenHandlerDeployerLib.sol +10 -2
  475. package/contracts/staking/IStaking.sol +23 -12
  476. package/contracts/staking/IStakingService.sol +19 -4
  477. package/contracts/staking/Staking.sol +97 -49
  478. package/contracts/staking/{StakeManagerLib.sol → StakingLib.sol} +80 -23
  479. package/contracts/staking/StakingManager.sol +8 -6
  480. package/contracts/staking/StakingReader.sol +18 -21
  481. package/contracts/staking/StakingService.sol +84 -24
  482. package/contracts/staking/StakingServiceManager.sol +6 -5
  483. package/contracts/staking/StakingStore.sol +2 -1
  484. package/contracts/type/Amount.sol +15 -0
  485. package/contracts/type/ClaimId.sol +6 -1
  486. package/contracts/type/Fee.sol +8 -8
  487. package/contracts/type/Key32.sol +2 -2
  488. package/contracts/type/Key32Set.sol +62 -0
  489. package/contracts/type/NftId.sol +7 -0
  490. package/contracts/type/ObjectType.sol +54 -35
  491. package/contracts/type/PayoutId.sol +10 -10
  492. package/contracts/type/RiskId.sol +38 -6
  493. package/contracts/type/RoleId.sol +23 -15
  494. package/contracts/type/Selector.sol +5 -0
  495. package/contracts/type/StateId.sol +14 -1
  496. package/contracts/type/Timestamp.sol +0 -5
  497. package/contracts/type/UFixed.sol +37 -126
  498. package/contracts/type/Version.sol +54 -5
  499. package/contracts/upgradeability/ProxyManager.sol +79 -43
  500. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +7 -1
  501. package/contracts/upgradeability/Versionable.sol +2 -2
  502. package/package.json +5 -4
  503. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +0 -4
  504. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +0 -290
  505. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +0 -4
  506. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +0 -390
  507. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  508. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -129
  509. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +0 -4
  510. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +0 -427
  511. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +0 -4
  512. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +0 -39
  513. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +0 -4
  514. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +0 -440
  515. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +0 -4
  516. package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -16
  517. package/contracts/authorization/IModuleAuthorization.sol +0 -21
  518. package/contracts/authorization/ModuleAuthorization.sol +0 -78
  519. package/contracts/instance/module/IAccess.sol +0 -46
  520. package/contracts/shared/ComponentVerifyingService.sol +0 -117
  521. package/contracts/shared/InitializableCustom.sol +0 -177
@@ -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,7 +344,7 @@
311
344
  {
312
345
  "indexed": false,
313
346
  "internalType": "address",
314
- "name": "caller",
347
+ "name": "operator",
315
348
  "type": "address"
316
349
  }
317
350
  ],
@@ -386,26 +419,13 @@
386
419
  {
387
420
  "inputs": [
388
421
  {
389
- "internalType": "address",
422
+ "internalType": "contract IERC20Metadata",
390
423
  "name": "token",
391
424
  "type": "address"
392
425
  },
393
426
  {
394
427
  "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",
428
+ "name": "amount",
409
429
  "type": "uint96"
410
430
  }
411
431
  ],
@@ -451,6 +471,29 @@
451
471
  "stateMutability": "view",
452
472
  "type": "function"
453
473
  },
474
+ {
475
+ "inputs": [
476
+ {
477
+ "internalType": "NftId",
478
+ "name": "distributorNftId",
479
+ "type": "uint96"
480
+ },
481
+ {
482
+ "internalType": "DistributorType",
483
+ "name": "distributorType",
484
+ "type": "bytes8"
485
+ },
486
+ {
487
+ "internalType": "bytes",
488
+ "name": "data",
489
+ "type": "bytes"
490
+ }
491
+ ],
492
+ "name": "changeDistributorType",
493
+ "outputs": [],
494
+ "stateMutability": "nonpayable",
495
+ "type": "function"
496
+ },
454
497
  {
455
498
  "inputs": [
456
499
  {
@@ -490,17 +533,17 @@
490
533
  {
491
534
  "internalType": "UFixed",
492
535
  "name": "minDiscountPercentage",
493
- "type": "uint256"
536
+ "type": "uint160"
494
537
  },
495
538
  {
496
539
  "internalType": "UFixed",
497
540
  "name": "maxDiscountPercentage",
498
- "type": "uint256"
541
+ "type": "uint160"
499
542
  },
500
543
  {
501
544
  "internalType": "UFixed",
502
545
  "name": "commissionPercentage",
503
- "type": "uint256"
546
+ "type": "uint160"
504
547
  },
505
548
  {
506
549
  "internalType": "uint32",
@@ -508,9 +551,9 @@
508
551
  "type": "uint32"
509
552
  },
510
553
  {
511
- "internalType": "uint32",
554
+ "internalType": "Seconds",
512
555
  "name": "maxReferralLifetime",
513
- "type": "uint32"
556
+ "type": "uint40"
514
557
  },
515
558
  {
516
559
  "internalType": "bool",
@@ -541,6 +584,11 @@
541
584
  },
542
585
  {
543
586
  "inputs": [
587
+ {
588
+ "internalType": "NftId",
589
+ "name": "distributorNftId",
590
+ "type": "uint96"
591
+ },
544
592
  {
545
593
  "internalType": "string",
546
594
  "name": "code",
@@ -549,7 +597,7 @@
549
597
  {
550
598
  "internalType": "UFixed",
551
599
  "name": "discountPercentage",
552
- "type": "uint256"
600
+ "type": "uint160"
553
601
  },
554
602
  {
555
603
  "internalType": "uint32",
@@ -578,6 +626,50 @@
578
626
  "stateMutability": "nonpayable",
579
627
  "type": "function"
580
628
  },
629
+ {
630
+ "inputs": [
631
+ {
632
+ "internalType": "NftId",
633
+ "name": "distributorNftId",
634
+ "type": "uint96"
635
+ },
636
+ {
637
+ "internalType": "string",
638
+ "name": "code",
639
+ "type": "string"
640
+ },
641
+ {
642
+ "internalType": "UFixed",
643
+ "name": "discountPercentage",
644
+ "type": "uint160"
645
+ },
646
+ {
647
+ "internalType": "uint32",
648
+ "name": "maxReferrals",
649
+ "type": "uint32"
650
+ },
651
+ {
652
+ "internalType": "Timestamp",
653
+ "name": "expiryAt",
654
+ "type": "uint40"
655
+ },
656
+ {
657
+ "internalType": "bytes",
658
+ "name": "data",
659
+ "type": "bytes"
660
+ }
661
+ ],
662
+ "name": "createReferral2",
663
+ "outputs": [
664
+ {
665
+ "internalType": "ReferralId",
666
+ "name": "referralId",
667
+ "type": "bytes8"
668
+ }
669
+ ],
670
+ "stateMutability": "nonpayable",
671
+ "type": "function"
672
+ },
581
673
  {
582
674
  "inputs": [],
583
675
  "name": "getAuthorization",
@@ -602,26 +694,11 @@
602
694
  "name": "name",
603
695
  "type": "string"
604
696
  },
605
- {
606
- "internalType": "NftId",
607
- "name": "productNftId",
608
- "type": "uint96"
609
- },
610
- {
611
- "internalType": "contract IERC20Metadata",
612
- "name": "token",
613
- "type": "address"
614
- },
615
697
  {
616
698
  "internalType": "contract TokenHandler",
617
699
  "name": "tokenHandler",
618
700
  "type": "address"
619
701
  },
620
- {
621
- "internalType": "address",
622
- "name": "wallet",
623
- "type": "address"
624
- },
625
702
  {
626
703
  "internalType": "bytes",
627
704
  "name": "data",
@@ -649,7 +726,7 @@
649
726
  {
650
727
  "internalType": "UFixed",
651
728
  "name": "discountPercentage",
652
- "type": "uint256"
729
+ "type": "uint160"
653
730
  },
654
731
  {
655
732
  "internalType": "ReferralStatus",
@@ -660,25 +737,6 @@
660
737
  "stateMutability": "view",
661
738
  "type": "function"
662
739
  },
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
740
  {
683
741
  "inputs": [],
684
742
  "name": "getInitialComponentInfo",
@@ -690,26 +748,11 @@
690
748
  "name": "name",
691
749
  "type": "string"
692
750
  },
693
- {
694
- "internalType": "NftId",
695
- "name": "productNftId",
696
- "type": "uint96"
697
- },
698
- {
699
- "internalType": "contract IERC20Metadata",
700
- "name": "token",
701
- "type": "address"
702
- },
703
751
  {
704
752
  "internalType": "contract TokenHandler",
705
753
  "name": "tokenHandler",
706
754
  "type": "address"
707
755
  },
708
- {
709
- "internalType": "address",
710
- "name": "wallet",
711
- "type": "address"
712
- },
713
756
  {
714
757
  "internalType": "bytes",
715
758
  "name": "data",
@@ -826,19 +869,6 @@
826
869
  "stateMutability": "view",
827
870
  "type": "function"
828
871
  },
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
872
  {
843
873
  "inputs": [
844
874
  {
@@ -871,6 +901,19 @@
871
901
  "stateMutability": "view",
872
902
  "type": "function"
873
903
  },
904
+ {
905
+ "inputs": [],
906
+ "name": "getRelease",
907
+ "outputs": [
908
+ {
909
+ "internalType": "VersionPart",
910
+ "name": "release",
911
+ "type": "uint8"
912
+ }
913
+ ],
914
+ "stateMutability": "view",
915
+ "type": "function"
916
+ },
874
917
  {
875
918
  "inputs": [],
876
919
  "name": "getToken",
@@ -897,6 +940,19 @@
897
940
  "stateMutability": "view",
898
941
  "type": "function"
899
942
  },
943
+ {
944
+ "inputs": [],
945
+ "name": "getVersion",
946
+ "outputs": [
947
+ {
948
+ "internalType": "Version",
949
+ "name": "version",
950
+ "type": "uint24"
951
+ }
952
+ ],
953
+ "stateMutability": "view",
954
+ "type": "function"
955
+ },
900
956
  {
901
957
  "inputs": [],
902
958
  "name": "getWallet",
@@ -919,7 +975,7 @@
919
975
  },
920
976
  {
921
977
  "internalType": "NftId",
922
- "name": "instanceNftId",
978
+ "name": "productNftId",
923
979
  "type": "uint96"
924
980
  },
925
981
  {
@@ -936,11 +992,6 @@
936
992
  "internalType": "string",
937
993
  "name": "name",
938
994
  "type": "string"
939
- },
940
- {
941
- "internalType": "address",
942
- "name": "token",
943
- "type": "address"
944
995
  }
945
996
  ],
946
997
  "name": "initialize",
@@ -950,31 +1001,25 @@
950
1001
  },
951
1002
  {
952
1003
  "inputs": [],
953
- "name": "isConsumingScheduledOp",
1004
+ "name": "isActive",
954
1005
  "outputs": [
955
1006
  {
956
- "internalType": "bytes4",
957
- "name": "",
958
- "type": "bytes4"
1007
+ "internalType": "bool",
1008
+ "name": "active",
1009
+ "type": "bool"
959
1010
  }
960
1011
  ],
961
1012
  "stateMutability": "view",
962
1013
  "type": "function"
963
1014
  },
964
1015
  {
965
- "inputs": [
966
- {
967
- "internalType": "address",
968
- "name": "candidate",
969
- "type": "address"
970
- }
971
- ],
972
- "name": "isDistributor",
1016
+ "inputs": [],
1017
+ "name": "isConsumingScheduledOp",
973
1018
  "outputs": [
974
1019
  {
975
- "internalType": "bool",
1020
+ "internalType": "bytes4",
976
1021
  "name": "",
977
- "type": "bool"
1022
+ "type": "bytes4"
978
1023
  }
979
1024
  ],
980
1025
  "stateMutability": "view",
@@ -1032,31 +1077,6 @@
1032
1077
  "stateMutability": "nonpayable",
1033
1078
  "type": "function"
1034
1079
  },
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
1080
  {
1061
1081
  "inputs": [
1062
1082
  {
@@ -1073,6 +1093,11 @@
1073
1093
  "internalType": "uint256",
1074
1094
  "name": "tokenId",
1075
1095
  "type": "uint256"
1096
+ },
1097
+ {
1098
+ "internalType": "address",
1099
+ "name": "operator",
1100
+ "type": "address"
1076
1101
  }
1077
1102
  ],
1078
1103
  "name": "nftTransferFrom",
@@ -1098,13 +1123,6 @@
1098
1123
  "stateMutability": "nonpayable",
1099
1124
  "type": "function"
1100
1125
  },
1101
- {
1102
- "inputs": [],
1103
- "name": "register",
1104
- "outputs": [],
1105
- "stateMutability": "nonpayable",
1106
- "type": "function"
1107
- },
1108
1126
  {
1109
1127
  "inputs": [
1110
1128
  {
@@ -1125,12 +1143,12 @@
1125
1143
  {
1126
1144
  "internalType": "UFixed",
1127
1145
  "name": "fractionalFee",
1128
- "type": "uint256"
1146
+ "type": "uint160"
1129
1147
  },
1130
1148
  {
1131
- "internalType": "uint256",
1149
+ "internalType": "Amount",
1132
1150
  "name": "fixedFee",
1133
- "type": "uint256"
1151
+ "type": "uint96"
1134
1152
  }
1135
1153
  ],
1136
1154
  "internalType": "struct Fee",
@@ -1142,12 +1160,12 @@
1142
1160
  {
1143
1161
  "internalType": "UFixed",
1144
1162
  "name": "fractionalFee",
1145
- "type": "uint256"
1163
+ "type": "uint160"
1146
1164
  },
1147
1165
  {
1148
- "internalType": "uint256",
1166
+ "internalType": "Amount",
1149
1167
  "name": "fixedFee",
1150
- "type": "uint256"
1168
+ "type": "uint96"
1151
1169
  }
1152
1170
  ],
1153
1171
  "internalType": "struct Fee",
@@ -1160,6 +1178,19 @@
1160
1178
  "stateMutability": "nonpayable",
1161
1179
  "type": "function"
1162
1180
  },
1181
+ {
1182
+ "inputs": [
1183
+ {
1184
+ "internalType": "bool",
1185
+ "name": "locked",
1186
+ "type": "bool"
1187
+ }
1188
+ ],
1189
+ "name": "setLocked",
1190
+ "outputs": [],
1191
+ "stateMutability": "nonpayable",
1192
+ "type": "function"
1193
+ },
1163
1194
  {
1164
1195
  "inputs": [
1165
1196
  {
@@ -1192,36 +1223,6 @@
1192
1223
  "stateMutability": "view",
1193
1224
  "type": "function"
1194
1225
  },
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
1226
  {
1226
1227
  "inputs": [
1227
1228
  {
@@ -1266,22 +1267,26 @@
1266
1267
  "type": "function"
1267
1268
  }
1268
1269
  ],
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",
1270
+ "bytecode": "0x608060405234801561000f575f80fd5b50604051614b31380380614b3183398101604081905261002e91610c46565b61006b848484846040518060400160405280601281526020017129b4b6b83632a234b9ba3934b13aba34b7b760711b81525061007460201b60201c565b50505050610ffe565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000810460ff1615906001600160401b03165f811580156100bd5750825b90505f826001600160401b031660011480156100d85750303b155b9050811580156100e6575080155b156101045760405163f92ee8a960e01b815260040160405180910390fd5b84546001600160401b0319166001178555831561013257845460ff60401b1916680100000000000000001785555b61013f8a8a8a8a8a610191565b831561018557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050505050565b6101996101c3565b6101bc8585855f868660405180602001604052805f81525061021360201b60201c565b5050505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff1661021157604051631afcd79f60e31b815260040160405180910390fd5b565b61021b6101c3565b61022c878784600e898989886102be565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90061025c600e6104e2565b6104e2565b6001820180546001600160a01b0319166001600160a01b0392909216919091179055610289610257600b90565b81546001600160a01b0319166001600160a01b03919091161781556102b46303c09ad960e41b610579565b5050505050505050565b6102c66101c3565b5f6102d28989886105ac565b90505f7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0060405163bf8e179760e01b81526001600160601b03841660048201529091506001600160a01b038b169063bf8e179790602401602060405180830381865afa158015610344573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103689190610c9e565b81546001600160a01b0319166001600160a01b039190911690811782556040805163bf7e214f60e01b81529051610407929163bf7e214f9160048083019260209291908290030181865afa1580156103c2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103e69190610c9e565b8b8b8b8b8a8a60405180602001604052805f8152508b61065760201b60201c565b8054604080516302cd307160e01b815290516001600160a01b03909216916302cd3071916004808201926020929091908290030181865afa15801561044e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104729190610c9e565b6001820180546001600160a01b03199081166001600160a01b03938416179091556002830180549091169188169190911790556104b0610257600b90565b6003820180546001600160a01b0319166001600160a01b039290921691909117905561018563a9c1bc6f60e01b610579565b5f6104f56001546001600160a01b031690565b6001600160a01b031663d39e60438361050c610727565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561054f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105739190610c9e565b92915050565b6105816101c3565b6105a9816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b5f60ff8216600c036105cd576105c48484600a6107bd565b50829050610650565b5f6105da8585600c6107bd565b60405163677d3feb60e11b81526001600160601b03861660048201529091506001600160a01b0382169063cefa7fd690602401602060405180830381865afa158015610628573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061064c9190610cb9565b9150505b9392505050565b61065f6101c3565b85515f036106805760405163591eebf360e11b815260040160405180910390fd5b61068f89898988888888610887565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f00806106bb8882610d67565b5060018101805460ff1916861515179055600281016106da8382610d67565b506106e5600b6104e2565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055610717634a531f3360e01b610579565b6101856306e9e5ff60e31b610579565b5f6107597ff3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00546001600160a01b031690565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610794573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107b89190610e3a565b905090565b6040516305247a1760e51b81526001600160601b038316600482015283905f906001600160a01b0383169063a48f42e0906024015f60405180830381865afa15801561080b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526108329190810190610f15565b905061084981604001518460ff9081169116141590565b1561087f57604080820151905163b0c1f6eb60e01b815260ff808616600483015290911660248201526044015b60405180910390fd5b509392505050565b61088f6101c3565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af41580156108e5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109099190610fe5565b6109315760405163cf6935e560e01b81526001600160a01b0388166004820152602401610876565b61093a876109d1565b61094486836109e2565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166001600160681b0319909116176c0100000000000000000000000060ff8816021760ff60681b19166d0100000000000000000000000000861515021781559050600181016109c08382610d67565b506102b4634a531f3360e01b610579565b6109d96101c3565b6105a981610a74565b6109ea6101c3565b6109f2610a85565b6109fb82610acd565b6001600160a01b038116610a225760405163f17ef42d60e01b815260040160405180910390fd5b7f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0080546001600160601b03166c010000000000000000000000006001600160a01b039093169290920291909117905550565b610a7c6101c3565b6105a981610b99565b610a8d6101c3565b6102116301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b610ad56101c3565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015610b2b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b4f9190610fe5565b610b775760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610876565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b7ff3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a0080546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6001600160a01b03811681146105a9575f80fd5b8051610c2b81610c0c565b919050565b80516001600160601b0381168114610c2b575f80fd5b5f805f8060808587031215610c59575f80fd5b8451610c6481610c0c565b9350610c7260208601610c30565b92506040850151610c8281610c0c565b6060860151909250610c9381610c0c565b939692955090935050565b5f60208284031215610cae575f80fd5b815161065081610c0c565b5f60208284031215610cc9575f80fd5b61065082610c30565b634e487b7160e01b5f52604160045260245ffd5b600181811c90821680610cfa57607f821691505b602082108103610d1857634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610d6257805f5260205f20601f840160051c81016020851015610d435750805b601f840160051c820191505b818110156101bc575f8155600101610d4f565b505050565b81516001600160401b03811115610d8057610d80610cd2565b610d9481610d8e8454610ce6565b84610d1e565b6020601f821160018114610dc6575f8315610daf5750848201515b5f19600385901b1c1916600184901b1784556101bc565b5f84815260208120601f198516915b82811015610df55787850151825560209485019460019092019101610dd5565b5084821015610e1257868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b60ff811681146105a9575f80fd5b8051610c2b81610e21565b5f60208284031215610e4a575f80fd5b815161065081610e21565b60405160e081016001600160401b0381118282101715610e7757610e77610cd2565b60405290565b80518015158114610c2b575f80fd5b5f82601f830112610e9b575f80fd5b81516001600160401b03811115610eb457610eb4610cd2565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610ee257610ee2610cd2565b604052818152838201602001851015610ef9575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f60208284031215610f25575f80fd5b81516001600160401b03811115610f3a575f80fd5b820160e08185031215610f4b575f80fd5b610f53610e55565b610f5c82610c30565b8152610f6a60208301610c30565b6020820152610f7b60408301610e2f565b6040820152610f8c60608301610e7d565b6060820152610f9d60808301610c20565b6080820152610fae60a08301610c20565b60a082015260c08201516001600160401b03811115610fcb575f80fd5b610fd786828501610e8c565b60c083015250949350505050565b5f60208284031215610ff5575f80fd5b61065082610e7d565b613b268061100b5f395ff3fe608060405234801561000f575f80fd5b5060043610610276575f3560e01c80637427d7a811610156578063ada9652e116100ca578063deaa59df11610084578063deaa59df146105c0578063e145d46c146105d3578063ea15869f14610607578063f322c70a1461062e578063f5860e1a14610641578063f80e207214610655575f80fd5b8063ada9652e14610559578063b423086c1461056d578063bf7e214f14610575578063d16d0fe81461057d578063d89873b114610590578063de7b5d14146105a3575f80fd5b80638fb360371161011b5780638fb36037146104d757806390edbd35146104f8578063963cb0671461050d578063987cb16114610520578063ab3fc75f14610533578063ad12ad6014610546575f80fd5b80637427d7a81461048857806376b707b71461049b5780637a9e5e4b146104b557806387ef9ba0146104c8578063893d20e8146104cf575f80fd5b806321df0da7116101ed57806343d752d3116101b257806343d752d31461041c5780635741e5e9146104245780635ab1bd531461042c5780635dcb3bae1461043d578063644c45e0146104505780636bd1c0eb14610458575f80fd5b806321df0da7146103dd57806322366844146103e557806322f3e2d4146103ed5780632eb3e6f4146103f5578063419197fe14610409575f80fd5b8063138461e01161023e578063138461e01461033757806317d7de7c1461033f5780631bda5efa146103545780631c6b2190146103805780631eff4b2214610393578063211e28b6146103c8575f80fd5b806301ffc9a71461027a57806307e71a6e146102bb5780630d8e6e2c146102e65780630fec111c146103025780631329960414610317575b5f80fd5b6102a6610288366004612c21565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102ce6102c9366004612c5c565b610668565b6040516001600160601b0390911681526020016102b2565b6102ee610744565b60405162ffffff90911681526020016102b2565b61030a6107cb565b6040516102b29190612cc1565b61031f610985565b6040516001600160a01b0390911681526020016102b2565b6102ce6109ed565b6103476109f7565b6040516102b29190612d55565b610367610362366004612edf565b610a07565b6040516001600160c01b031990911681526020016102b2565b6102ce61038e366004612fb5565b610a6b565b6103ba7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016102b2565b6103db6103d6366004612fd0565b610ac1565b005b61031f610b08565b6102a6610b4c565b6102a6610c42565b6103ba5f80516020613ad183398151915281565b6103db610417366004612feb565b610cb9565b61031f610d0b565b6102a6610d1d565b6001546001600160a01b031661031f565b6102ce61044b36600461301c565b610dd3565b6102ce610e2d565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b031661031f565b610367610496366004613079565b610e48565b6104a3610ec8565b60405160ff90911681526020016102b2565b6103db6104c33660046130aa565b610f30565b60016102a6565b61031f610fb2565b6104df6110e3565b6040516001600160e01b031990911681526020016102b2565b610500611118565b6040516102b291906130c5565b6103db61051b366004613113565b61113d565b61036761052e366004613195565b611251565b6103db61054136600461323f565b611329565b6103db61055436600461325c565b61138c565b6103ba5f80516020613a5183398151915281565b61050061142f565b61031f61143f565b6103ba61058b3660046132ac565b61145a565b61036761059e366004613195565b61146e565b5f80516020613ad1833981519152546001600160a01b031661031f565b6103db6105ce3660046130aa565b611488565b6105e66105e1366004613079565b6114d5565b604080516001600160a01b03909316835260ff9091166020830152016102b2565b6103ba7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b6103db61063c366004613336565b61158f565b6103ba5f80516020613ab183398151915281565b6103db6106633660046132ac565b6115dd565b5f610675335b5f366115e6565b82601761068282826116e4565b846106956001546001600160a01b031690565b604051631660755f60e31b81526001600160601b03831660048201523360248201526001600160a01b03919091169063b303aaf890604401602060405180830381865afa1580156106e8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061070c9190613374565b6107305760405163086391f760e31b81523360048201526024015b60405180910390fd5b61073a8686611818565b9695505050505050565b604051632efe011360e01b8152600160048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156107a2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107c6919061338f565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610877573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061089b91906133bc565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016108e3610fb2565b6001600160a01b03168152602001826001018054610900906133d7565b80601f016020809104026020016040519081016040528092919081815260200182805461092c906133d7565b80156109775780601f1061094e57610100808354040283529160200191610977565b820191905f5260205f20905b81548152906001019060200180831161095a57829003601f168201915b505050505081525091505090565b5f61098e610d0b565b6001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109c9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107c6919061341a565b5f6107c6306118a4565b6060610a01611118565b51919050565b5f610a113361066e565b610a19610fb2565b6001600160a01b0316336001600160a01b031614610a4c5760405163086391f760e31b8152336004820152602401610727565b610a5d8a8a8a8a8a8a8a8a8a611a9d565b9a9950505050505050505050565b5f610a753361066e565b610a7d610fb2565b6001600160a01b0316336001600160a01b031614610ab05760405163086391f760e31b8152336004820152602401610727565b610ab982611b49565b90505b919050565b610ac9610fb2565b6001600160a01b0316336001600160a01b031614610afc5760405163086391f760e31b8152336004820152602401610727565b610b0581611bcd565b50565b5f610b11610d0b565b6001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109c9573d5f803e3d5ffd5b5f610b5f6001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610ba3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bc791906133bc565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610c1e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107c69190613374565b5f610c4b61143f565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610c8f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cb39190613374565b15905090565b610cc23361066e565b610cca610fb2565b6001600160a01b0316336001600160a01b031614610cfd5760405163086391f760e31b8152336004820152602401610727565b610d078282611c43565b5050565b5f610d14611118565b60200151905090565b5f610d26610b4c565b15610daa576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610d7a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610da191908101906134a2565b60600151905090565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f015460ff1690565b5f610ddd3361066e565b610de5610fb2565b6001600160a01b0316336001600160a01b031614610e185760405163086391f760e31b8152336004820152602401610727565b610e23848484611cc8565b90505b9392505050565b5f80516020613a51833981519152546001600160601b031690565b5f73__$05887d5853069c88bcd4c0a2107db45f29$__633f093cd6610e6b610e2d565b846040518363ffffffff1660e01b8152600401610e89929190613572565b602060405180830381865af4158015610ea4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ab99190613593565b5f610ed161143f565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f0c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107c691906135ae565b33610f3961143f565b6001600160a01b0316816001600160a01b031614610f745760405162d1953b60e31b81526001600160a01b0382166004820152602401610727565b816001600160a01b03163b5f03610fa9576040516361798f2f60e11b81526001600160a01b0383166004820152602401610727565b610d0782611d62565b5f805f80516020613a5183398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561101e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110429190613374565b156110cd576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156110a3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110c7919061341a565b91505090565b54600160601b90046001600160a01b0316919050565b5f80516020613a7183398151915280545f9190600160a01b900460ff1661110a575f6110c7565b638fb3603760e01b91505090565b611120612bf8565b611128610b4c565b15611135576107c6611dc2565b6107c661142f565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f811580156111815750825b90505f826001600160401b0316600114801561119c5750303b155b9050811580156111aa575080155b156111c85760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156111f257845460ff60401b1916600160401b1785555b6111ff8a8a8a8a8a611f89565b831561124557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050505050565b5f61125b3361066e565b8661126e6001546001600160a01b031690565b604051631660755f60e31b81526001600160601b03831660048201523360248201526001600160a01b03919091169063b303aaf890604401602060405180830381865afa1580156112c1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112e59190613374565b6113045760405163086391f760e31b8152336004820152602401610727565b61130f8860176116e4565b61131d888888888888611fae565b98975050505050505050565b6113323361066e565b61133a610fb2565b6001600160a01b0316336001600160a01b03161461136d5760405163086391f760e31b8152336004820152602401610727565b82601761137a82826116e4565b611385858585612045565b5050505050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113d3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113f7919061341a565b6001600160a01b0316336001600160a01b0316146114295760405162f0630960e01b8152336004820152602401610727565b50505050565b611437612bf8565b6107c6611dc2565b5f80516020613a71833981519152546001600160a01b031690565b5f61146582826135c9565b90505b92915050565b5f61147d878787878787611fae565b979650505050505050565b6114913361066e565b611499610fb2565b6001600160a01b0316336001600160a01b0316146114cc5760405163086391f760e31b8152336004820152602401610727565b610b05816120c5565b5f805f6114e184610e48565b90506115147fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163b82d7ef560e01b81526001600160c01b0319831660048201526001600160a01b03919091169063b82d7ef5906024016040805180830381865afa158015611561573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061158591906135ec565b9250925050915091565b611597610fb2565b6001600160a01b0316336001600160a01b0316146115ca5760405163086391f760e31b8152336004820152602401610727565b6115d33361066e565b610d07828261213a565b610d073361066e565b5f80516020613a718339815191525f8061161e61160161143f565b873061161060045f8a8c613619565b61161991613640565b612178565b91509150816116dc5763ffffffff8116156116b957825460ff60a01b1916600160a01b17835561164c61143f565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161167b93929190613678565b5f604051808303815f87803b158015611692575f80fd5b505af11580156116a4573d5f803e3d5ffd5b5050845460ff60a01b19168555506116dc9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610727565b505050505050565b60405163037c8cb160e51b815260ff8216600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015611734573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117589190613374565b806117e657506001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa1580156117c0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117e49190613374565b155b15610d075760405163d711af7560e01b81526001600160601b038316600482015260ff82166024820152604401610727565b5f5f80516020613ab1833981519152600101546040516303f38d3760e11b81526001600160601b038086166004830152841660248201526001600160a01b03909116906307e71a6e906044016020604051808303815f875af1158015611880573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061146591906133bc565b5f805f80516020613a5183398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611910573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119349190613374565b156119605780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610727565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156119b2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119d69190613374565b6119fe5760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610727565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611a50573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a7491906133bc565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b5f80516020613a9183398151915254604051630ded2f7d60e11b81525f915f80516020613ab1833981519152916001600160a01b0390911690631bda5efa90611afa908e908e908e908e908e908e908e908e908e906004016136b7565b6020604051808303815f875af1158015611b16573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b3a9190613593565b9b9a5050505050505050505050565b5f5f80516020613ad1833981519152600301546040516301c6b21960e41b81526001600160601b03841660048201526001600160a01b0390911690631c6b2190906024016020604051808303815f875af1158015611ba9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ab991906133bc565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f035460405163108f145b60e11b815282151560048201526001600160a01b039091169063211e28b6906024015b5f604051808303815f87803b158015611c31575f80fd5b505af1158015611385573d5f803e3d5ffd5b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f03546040516320c8cbff60e11b81526001600160a01b0384811660048301526001600160601b03841660248301529091169063419197fe906044015b5f604051808303815f87803b158015611cb6575f80fd5b505af11580156116dc573d5f803e3d5ffd5b5f80516020613a9183398151915254604051632ee59dd760e11b81525f915f80516020613ab1833981519152916001600160a01b0390911690635dcb3bae90611d1990889088908890600401613736565b6020604051808303815f875af1158015611d35573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d5991906133bc565b95945050505050565b5f80516020613a7183398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611dca612bf8565b5f611ddd6001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015611e21573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e4591906133bc565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611e9e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ec29190613374565b15611f81577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031663f0ea17c3611eff610e2d565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015611f40573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611f679190810190613769565b60208101519092506001600160a01b031615611f81575090565b6110c7612280565b611f91612364565b6113858585855f868660405180602001604052805f8152506123af565b5f80516020613a918339815191525460405163987cb16160e01b81525f915f80516020613ab1833981519152916001600160a01b039091169063987cb16190612005908b908b908b908b908b908b90600401613823565b6020604051808303815f875af1158015612021573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061131d9190613593565b5f80516020613a918339815191525460405163ab3fc75f60e01b81525f80516020613ab1833981519152916001600160a01b03169063ab3fc75f906120929087908790879060040161388b565b5f604051808303815f87803b1580156120a9575f80fd5b505af11580156120bb573d5f803e3d5ffd5b5050505050505050565b6120cd610fb2565b6001600160a01b0316336001600160a01b0316146121005760405163086391f760e31b8152336004820152602401610727565b61210a600b612437565b60405163deaa59df60e01b81526001600160a01b038381166004830152919091169063deaa59df90602401611c1a565b5f80516020613ab18339815191525460405163feff0c9160e01b81526001600160a01b039091169063feff0c9190611c9f90859085906004016138be565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516121e6919061390a565b5f60405180830381855afa9150503d805f811461221e576040519150601f19603f3d011682016040523d82523d5f602084013e612223565b606091505b50915091508115612275576040815110612255578080602001905181019061224b9190613920565b9094509250612275565b602081511061227557808060200190518101906122729190613374565b93505b505094509492505050565b612288612bf8565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060600160405280825f0180546122c5906133d7565b80601f01602080910402602001604051908101604052809291908181526020018280546122f1906133d7565b801561233c5780601f106123135761010080835404028352916020019161233c565b820191905f5260205f20905b81548152906001019060200180831161231f57829003601f168201915b505050505081526020015f6001600160a01b03168152602001826002018054610900906133d7565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166123ad57604051631afcd79f60e31b815260040160405180910390fd5b565b6123b7612364565b6123c8878784600e898989886124c8565b5f80516020613ab18339815191526123e0600e612437565b6001820180546001600160a01b0319166001600160a01b039290921691909117905561240c600b612437565b81546001600160a01b0319166001600160a01b03919091161781556120bb6303c09ad960e41b6126ce565b5f61244a6001546001600160a01b031690565b6001600160a01b031663d39e604383612461610ec8565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156124a4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ab9919061341a565b6124d0612364565b5f6124dc8989886126fe565b90505f5f80516020613ad183398151915260405163bf8e179760e01b81526001600160601b03841660048201529091506001600160a01b038b169063bf8e179790602401602060405180830381865afa15801561253b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061255f919061341a565b81546001600160a01b0319166001600160a01b039190911690811782556040805163bf7e214f60e01b815290516125f8929163bf7e214f9160048083019260209291908290030181865afa1580156125b9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125dd919061341a565b8b8b8b8b8a8a60405180602001604052805f8152508b61277a565b8054604080516302cd307160e01b815290516001600160a01b03909216916302cd3071916004808201926020929091908290030181865afa15801561263f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612663919061341a565b6001820180546001600160a01b03199081166001600160a01b03938416179091556002830180549091169188169190911790556126a0600b612437565b6003820180546001600160a01b0319166001600160a01b039290921691909117905561124563a9c1bc6f60e01b5b6126d6612364565b610b05816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f60ff8216600c0361271f576127168484600a61284a565b50829050610e26565b5f61272c8585600c61284a565b60405163677d3feb60e11b81526001600160601b03861660048201529091506001600160a01b0382169063cefa7fd690602401602060405180830381865afa158015611d35573d5f803e3d5ffd5b612782612364565b85515f036127a35760405163591eebf360e11b815260040160405180910390fd5b6127b28989898888888861290f565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f00806127de8882613996565b5060018101805460ff1916861515179055600281016127fd8382613996565b50612808600b612437565b6003820180546001600160a01b0319166001600160a01b039290921691909117905561283a634a531f3360e01b6126ce565b6112456306e9e5ff60e31b6126ce565b6040516305247a1760e51b81526001600160601b038316600482015283905f906001600160a01b0383169063a48f42e0906024015f60405180830381865afa158015612898573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526128bf91908101906134a2565b90506128d681604001518460ff9081169116141590565b1561290757604080820151905163b0c1f6eb60e01b815260ff80861660048301529091166024820152604401610727565b509392505050565b612917612364565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af415801561296d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906129919190613374565b6129b95760405163cf6935e560e01b81526001600160a01b0388166004820152602401610727565b6129c287612a4c565b6129cc8683612a5d565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101612a3b8382613996565b506120bb634a531f3360e01b6126ce565b612a54612364565b610b0581612ad3565b612a65612364565b612a6d612ae4565b612a7682612b2c565b6001600160a01b038116612a9d5760405163f17ef42d60e01b815260040160405180910390fd5b5f80516020613a5183398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b612adb612364565b610b0581611d62565b612aec612364565b6123ad6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b612b34612364565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015612b8a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612bae9190613374565b612bd65760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610727565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6040518060600160405280606081526020015f6001600160a01b03168152602001606081525090565b5f60208284031215612c31575f80fd5b81356001600160e01b031981168114610e26575f80fd5b6001600160601b0381168114610b05575f80fd5b5f8060408385031215612c6d575f80fd5b8235612c7881612c48565b91506020830135612c8881612c48565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612d09608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152612d4d610100840182612c93565b949350505050565b602081525f6114656020830184612c93565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b0381118282101715612d9d57612d9d612d67565b60405290565b604051606081016001600160401b0381118282101715612d9d57612d9d612d67565b604051601f8201601f191681016001600160401b0381118282101715612ded57612ded612d67565b604052919050565b5f6001600160401b03821115612e0d57612e0d612d67565b50601f01601f191660200190565b5f82601f830112612e2a575f80fd5b8135602083015f612e42612e3d84612df5565b612dc5565b9050828152858383011115612e55575f80fd5b828260208301375f92810160200192909252509392505050565b6001600160a01b0381168114610b05575f80fd5b8035610abc81612e6f565b63ffffffff81168114610b05575f80fd5b8035610abc81612e8e565b64ffffffffff81168114610b05575f80fd5b8035610abc81612eaa565b8015158114610b05575f80fd5b8035610abc81612ec7565b5f805f805f805f805f6101208a8c031215612ef8575f80fd5b89356001600160401b03811115612f0d575f80fd5b612f198c828d01612e1b565b99505060208a0135612f2a81612e6f565b9750612f3860408b01612e83565b9650612f4660608b01612e83565b9550612f5460808b01612e9f565b9450612f6260a08b01612ebc565b9350612f7060c08b01612ed4565b9250612f7e60e08b01612ed4565b91506101008a01356001600160401b03811115612f99575f80fd5b612fa58c828d01612e1b565b9150509295985092959850929598565b5f60208284031215612fc5575f80fd5b8135610e2681612c48565b5f60208284031215612fe0575f80fd5b8135610e2681612ec7565b5f8060408385031215612ffc575f80fd5b8235612c7881612e6f565b6001600160c01b031981168114610b05575f80fd5b5f805f6060848603121561302e575f80fd5b833561303981612e6f565b9250602084013561304981613007565b915060408401356001600160401b03811115613063575f80fd5b61306f86828701612e1b565b9150509250925092565b5f60208284031215613089575f80fd5b81356001600160401b0381111561309e575f80fd5b612d4d84828501612e1b565b5f602082840312156130ba575f80fd5b8135610e2681612e6f565b602081525f8251606060208401526130e06080840182612c93565b60208501516001600160a01b0316604085810191909152850151848203601f19016060860152909150611d598282612c93565b5f805f805f60a08688031215613127575f80fd5b853561313281612e6f565b9450602086013561314281612c48565b9350604086013561315281612e6f565b9250606086013561316281612e6f565b915060808601356001600160401b0381111561317c575f80fd5b61318888828901612e1b565b9150509295509295909350565b5f805f805f8060c087890312156131aa575f80fd5b86356131b581612c48565b955060208701356001600160401b038111156131cf575f80fd5b6131db89828a01612e1b565b95505060408701356131ec81612e6f565b935060608701356131fc81612e8e565b9250608087013561320c81612eaa565b915060a08701356001600160401b03811115613226575f80fd5b61323289828a01612e1b565b9150509295509295509295565b5f805f60608486031215613251575f80fd5b833561303981612c48565b5f805f806080858703121561326f575f80fd5b843561327a81612e6f565b9350602085013561328a81612e6f565b92506040850135915060608501356132a181612e6f565b939692955090935050565b5f80604083850312156132bd575f80fd5b82356132c881613007565b946020939093013593505050565b5f604082840312156132e6575f80fd5b604080519081016001600160401b038111828210171561330857613308612d67565b604052905080823561331981612e6f565b8152602083013561332981612c48565b6020919091015292915050565b5f8060808385031215613347575f80fd5b61335184846132d6565b915061336084604085016132d6565b90509250929050565b8051610abc81612ec7565b5f60208284031215613384575f80fd5b8151610e2681612ec7565b5f6020828403121561339f575f80fd5b815162ffffff81168114610e26575f80fd5b8051610abc81612c48565b5f602082840312156133cc575f80fd5b8151610e2681612c48565b600181811c908216806133eb57607f821691505b60208210810361340957634e487b7160e01b5f52602260045260245ffd5b50919050565b8051610abc81612e6f565b5f6020828403121561342a575f80fd5b8151610e2681612e6f565b60ff81168114610b05575f80fd5b8051610abc81613435565b5f61345b612e3d84612df5565b905082815283838301111561346e575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f830112613493575f80fd5b6114658383516020850161344e565b5f602082840312156134b2575f80fd5b81516001600160401b038111156134c7575f80fd5b820160e081850312156134d8575f80fd5b6134e0612d7b565b6134e9826133b1565b81526134f7602083016133b1565b602082015261350860408301613443565b604082015261351960608301613369565b606082015261352a6080830161340f565b608082015261353b60a0830161340f565b60a082015260c08201516001600160401b03811115613558575f80fd5b61356486828501613484565b60c083015250949350505050565b6001600160601b0383168152604060208201525f610e236040830184612c93565b5f602082840312156135a3575f80fd5b8151610e2681613007565b5f602082840312156135be575f80fd5b8151610e2681613435565b808202811582820484141761146857634e487b7160e01b5f52601160045260245ffd5b5f80604083850312156135fd575f80fd5b825161360881612e6f565b6020840151909250612c8881613435565b5f8085851115613627575f80fd5b83861115613633575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015613671576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b61012081525f6136cb61012083018c612c93565b6001600160a01b038b811660208501528a811660408501528916606084015263ffffffff8816608084015264ffffffffff871660a084015285151560c084015284151560e08401528281036101008401526137268185612c93565b9c9b505050505050505050505050565b6001600160a01b03841681526001600160c01b0319831660208201526060604082018190525f90611d5990830184612c93565b5f60208284031215613779575f80fd5b81516001600160401b0381111561378e575f80fd5b82016060818503121561379f575f80fd5b6137a7612da3565b81516001600160401b038111156137bc575f80fd5b8201601f810186136137cc575f80fd5b6137db8682516020840161344e565b82525060208201516137ec81612e6f565b602082015260408201516001600160401b03811115613809575f80fd5b61381586828501613484565b604083015250949350505050565b6001600160601b038716815260c060208201525f61384460c0830188612c93565b6001600160a01b038716604084015263ffffffff8616606084015264ffffffffff8516608084015282810360a084015261387e8185612c93565b9998505050505050505050565b6001600160601b03841681526001600160401b0360c01b83166020820152606060408201525f611d596060830184612c93565b82516001600160a01b031681526020808401516001600160601b0316908201526080810182516001600160a01b0316604083015260208301516001600160601b03166060830152610e26565b5f82518060208501845e5f920191825250919050565b5f8060408385031215613931575f80fd5b825161393c81612ec7565b6020840151909250612c8881612e8e565b601f82111561399157805f5260205f20601f840160051c810160208510156139725750805b601f840160051c820191505b81811015611385575f815560010161397e565b505050565b81516001600160401b038111156139af576139af612d67565b6139c3816139bd84546133d7565b8461394d565b6020601f8211600181146139f5575f83156139de5750848201515b5f19600385901b1c1916600184901b178455611385565b5f84815260208120601f198516915b82811015613a245787850151825560209485019460019092019101613a04565b5084821015613a4157868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f901aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900ffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00a2646970667358221220c77ae76f8e8d465f7cb8b7446fdea957530b2af0bf03e824412e23612c7dbcd164736f6c634300081a0033",
1271
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610276575f3560e01c80637427d7a811610156578063ada9652e116100ca578063deaa59df11610084578063deaa59df146105c0578063e145d46c146105d3578063ea15869f14610607578063f322c70a1461062e578063f5860e1a14610641578063f80e207214610655575f80fd5b8063ada9652e14610559578063b423086c1461056d578063bf7e214f14610575578063d16d0fe81461057d578063d89873b114610590578063de7b5d14146105a3575f80fd5b80638fb360371161011b5780638fb36037146104d757806390edbd35146104f8578063963cb0671461050d578063987cb16114610520578063ab3fc75f14610533578063ad12ad6014610546575f80fd5b80637427d7a81461048857806376b707b71461049b5780637a9e5e4b146104b557806387ef9ba0146104c8578063893d20e8146104cf575f80fd5b806321df0da7116101ed57806343d752d3116101b257806343d752d31461041c5780635741e5e9146104245780635ab1bd531461042c5780635dcb3bae1461043d578063644c45e0146104505780636bd1c0eb14610458575f80fd5b806321df0da7146103dd57806322366844146103e557806322f3e2d4146103ed5780632eb3e6f4146103f5578063419197fe14610409575f80fd5b8063138461e01161023e578063138461e01461033757806317d7de7c1461033f5780631bda5efa146103545780631c6b2190146103805780631eff4b2214610393578063211e28b6146103c8575f80fd5b806301ffc9a71461027a57806307e71a6e146102bb5780630d8e6e2c146102e65780630fec111c146103025780631329960414610317575b5f80fd5b6102a6610288366004612c21565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102ce6102c9366004612c5c565b610668565b6040516001600160601b0390911681526020016102b2565b6102ee610744565b60405162ffffff90911681526020016102b2565b61030a6107cb565b6040516102b29190612cc1565b61031f610985565b6040516001600160a01b0390911681526020016102b2565b6102ce6109ed565b6103476109f7565b6040516102b29190612d55565b610367610362366004612edf565b610a07565b6040516001600160c01b031990911681526020016102b2565b6102ce61038e366004612fb5565b610a6b565b6103ba7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016102b2565b6103db6103d6366004612fd0565b610ac1565b005b61031f610b08565b6102a6610b4c565b6102a6610c42565b6103ba5f80516020613ad183398151915281565b6103db610417366004612feb565b610cb9565b61031f610d0b565b6102a6610d1d565b6001546001600160a01b031661031f565b6102ce61044b36600461301c565b610dd3565b6102ce610e2d565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b031661031f565b610367610496366004613079565b610e48565b6104a3610ec8565b60405160ff90911681526020016102b2565b6103db6104c33660046130aa565b610f30565b60016102a6565b61031f610fb2565b6104df6110e3565b6040516001600160e01b031990911681526020016102b2565b610500611118565b6040516102b291906130c5565b6103db61051b366004613113565b61113d565b61036761052e366004613195565b611251565b6103db61054136600461323f565b611329565b6103db61055436600461325c565b61138c565b6103ba5f80516020613a5183398151915281565b61050061142f565b61031f61143f565b6103ba61058b3660046132ac565b61145a565b61036761059e366004613195565b61146e565b5f80516020613ad1833981519152546001600160a01b031661031f565b6103db6105ce3660046130aa565b611488565b6105e66105e1366004613079565b6114d5565b604080516001600160a01b03909316835260ff9091166020830152016102b2565b6103ba7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b6103db61063c366004613336565b61158f565b6103ba5f80516020613ab183398151915281565b6103db6106633660046132ac565b6115dd565b5f610675335b5f366115e6565b82601761068282826116e4565b846106956001546001600160a01b031690565b604051631660755f60e31b81526001600160601b03831660048201523360248201526001600160a01b03919091169063b303aaf890604401602060405180830381865afa1580156106e8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061070c9190613374565b6107305760405163086391f760e31b81523360048201526024015b60405180910390fd5b61073a8686611818565b9695505050505050565b604051632efe011360e01b8152600160048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156107a2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107c6919061338f565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610877573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061089b91906133bc565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016108e3610fb2565b6001600160a01b03168152602001826001018054610900906133d7565b80601f016020809104026020016040519081016040528092919081815260200182805461092c906133d7565b80156109775780601f1061094e57610100808354040283529160200191610977565b820191905f5260205f20905b81548152906001019060200180831161095a57829003601f168201915b505050505081525091505090565b5f61098e610d0b565b6001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109c9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107c6919061341a565b5f6107c6306118a4565b6060610a01611118565b51919050565b5f610a113361066e565b610a19610fb2565b6001600160a01b0316336001600160a01b031614610a4c5760405163086391f760e31b8152336004820152602401610727565b610a5d8a8a8a8a8a8a8a8a8a611a9d565b9a9950505050505050505050565b5f610a753361066e565b610a7d610fb2565b6001600160a01b0316336001600160a01b031614610ab05760405163086391f760e31b8152336004820152602401610727565b610ab982611b49565b90505b919050565b610ac9610fb2565b6001600160a01b0316336001600160a01b031614610afc5760405163086391f760e31b8152336004820152602401610727565b610b0581611bcd565b50565b5f610b11610d0b565b6001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109c9573d5f803e3d5ffd5b5f610b5f6001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610ba3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bc791906133bc565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610c1e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107c69190613374565b5f610c4b61143f565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610c8f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cb39190613374565b15905090565b610cc23361066e565b610cca610fb2565b6001600160a01b0316336001600160a01b031614610cfd5760405163086391f760e31b8152336004820152602401610727565b610d078282611c43565b5050565b5f610d14611118565b60200151905090565b5f610d26610b4c565b15610daa576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610d7a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610da191908101906134a2565b60600151905090565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f015460ff1690565b5f610ddd3361066e565b610de5610fb2565b6001600160a01b0316336001600160a01b031614610e185760405163086391f760e31b8152336004820152602401610727565b610e23848484611cc8565b90505b9392505050565b5f80516020613a51833981519152546001600160601b031690565b5f73__$05887d5853069c88bcd4c0a2107db45f29$__633f093cd6610e6b610e2d565b846040518363ffffffff1660e01b8152600401610e89929190613572565b602060405180830381865af4158015610ea4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ab99190613593565b5f610ed161143f565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f0c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107c691906135ae565b33610f3961143f565b6001600160a01b0316816001600160a01b031614610f745760405162d1953b60e31b81526001600160a01b0382166004820152602401610727565b816001600160a01b03163b5f03610fa9576040516361798f2f60e11b81526001600160a01b0383166004820152602401610727565b610d0782611d62565b5f805f80516020613a5183398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561101e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110429190613374565b156110cd576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156110a3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110c7919061341a565b91505090565b54600160601b90046001600160a01b0316919050565b5f80516020613a7183398151915280545f9190600160a01b900460ff1661110a575f6110c7565b638fb3603760e01b91505090565b611120612bf8565b611128610b4c565b15611135576107c6611dc2565b6107c661142f565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f811580156111815750825b90505f826001600160401b0316600114801561119c5750303b155b9050811580156111aa575080155b156111c85760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156111f257845460ff60401b1916600160401b1785555b6111ff8a8a8a8a8a611f89565b831561124557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050505050565b5f61125b3361066e565b8661126e6001546001600160a01b031690565b604051631660755f60e31b81526001600160601b03831660048201523360248201526001600160a01b03919091169063b303aaf890604401602060405180830381865afa1580156112c1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112e59190613374565b6113045760405163086391f760e31b8152336004820152602401610727565b61130f8860176116e4565b61131d888888888888611fae565b98975050505050505050565b6113323361066e565b61133a610fb2565b6001600160a01b0316336001600160a01b03161461136d5760405163086391f760e31b8152336004820152602401610727565b82601761137a82826116e4565b611385858585612045565b5050505050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113d3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113f7919061341a565b6001600160a01b0316336001600160a01b0316146114295760405162f0630960e01b8152336004820152602401610727565b50505050565b611437612bf8565b6107c6611dc2565b5f80516020613a71833981519152546001600160a01b031690565b5f61146582826135c9565b90505b92915050565b5f61147d878787878787611fae565b979650505050505050565b6114913361066e565b611499610fb2565b6001600160a01b0316336001600160a01b0316146114cc5760405163086391f760e31b8152336004820152602401610727565b610b05816120c5565b5f805f6114e184610e48565b90506115147fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163b82d7ef560e01b81526001600160c01b0319831660048201526001600160a01b03919091169063b82d7ef5906024016040805180830381865afa158015611561573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061158591906135ec565b9250925050915091565b611597610fb2565b6001600160a01b0316336001600160a01b0316146115ca5760405163086391f760e31b8152336004820152602401610727565b6115d33361066e565b610d07828261213a565b610d073361066e565b5f80516020613a718339815191525f8061161e61160161143f565b873061161060045f8a8c613619565b61161991613640565b612178565b91509150816116dc5763ffffffff8116156116b957825460ff60a01b1916600160a01b17835561164c61143f565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161167b93929190613678565b5f604051808303815f87803b158015611692575f80fd5b505af11580156116a4573d5f803e3d5ffd5b5050845460ff60a01b19168555506116dc9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610727565b505050505050565b60405163037c8cb160e51b815260ff8216600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015611734573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117589190613374565b806117e657506001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa1580156117c0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117e49190613374565b155b15610d075760405163d711af7560e01b81526001600160601b038316600482015260ff82166024820152604401610727565b5f5f80516020613ab1833981519152600101546040516303f38d3760e11b81526001600160601b038086166004830152841660248201526001600160a01b03909116906307e71a6e906044016020604051808303815f875af1158015611880573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061146591906133bc565b5f805f80516020613a5183398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611910573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119349190613374565b156119605780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610727565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156119b2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119d69190613374565b6119fe5760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610727565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611a50573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a7491906133bc565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b5f80516020613a9183398151915254604051630ded2f7d60e11b81525f915f80516020613ab1833981519152916001600160a01b0390911690631bda5efa90611afa908e908e908e908e908e908e908e908e908e906004016136b7565b6020604051808303815f875af1158015611b16573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b3a9190613593565b9b9a5050505050505050505050565b5f5f80516020613ad1833981519152600301546040516301c6b21960e41b81526001600160601b03841660048201526001600160a01b0390911690631c6b2190906024016020604051808303815f875af1158015611ba9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ab991906133bc565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f035460405163108f145b60e11b815282151560048201526001600160a01b039091169063211e28b6906024015b5f604051808303815f87803b158015611c31575f80fd5b505af1158015611385573d5f803e3d5ffd5b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f03546040516320c8cbff60e11b81526001600160a01b0384811660048301526001600160601b03841660248301529091169063419197fe906044015b5f604051808303815f87803b158015611cb6575f80fd5b505af11580156116dc573d5f803e3d5ffd5b5f80516020613a9183398151915254604051632ee59dd760e11b81525f915f80516020613ab1833981519152916001600160a01b0390911690635dcb3bae90611d1990889088908890600401613736565b6020604051808303815f875af1158015611d35573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d5991906133bc565b95945050505050565b5f80516020613a7183398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611dca612bf8565b5f611ddd6001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015611e21573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e4591906133bc565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611e9e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ec29190613374565b15611f81577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031663f0ea17c3611eff610e2d565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015611f40573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611f679190810190613769565b60208101519092506001600160a01b031615611f81575090565b6110c7612280565b611f91612364565b6113858585855f868660405180602001604052805f8152506123af565b5f80516020613a918339815191525460405163987cb16160e01b81525f915f80516020613ab1833981519152916001600160a01b039091169063987cb16190612005908b908b908b908b908b908b90600401613823565b6020604051808303815f875af1158015612021573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061131d9190613593565b5f80516020613a918339815191525460405163ab3fc75f60e01b81525f80516020613ab1833981519152916001600160a01b03169063ab3fc75f906120929087908790879060040161388b565b5f604051808303815f87803b1580156120a9575f80fd5b505af11580156120bb573d5f803e3d5ffd5b5050505050505050565b6120cd610fb2565b6001600160a01b0316336001600160a01b0316146121005760405163086391f760e31b8152336004820152602401610727565b61210a600b612437565b60405163deaa59df60e01b81526001600160a01b038381166004830152919091169063deaa59df90602401611c1a565b5f80516020613ab18339815191525460405163feff0c9160e01b81526001600160a01b039091169063feff0c9190611c9f90859085906004016138be565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516121e6919061390a565b5f60405180830381855afa9150503d805f811461221e576040519150601f19603f3d011682016040523d82523d5f602084013e612223565b606091505b50915091508115612275576040815110612255578080602001905181019061224b9190613920565b9094509250612275565b602081511061227557808060200190518101906122729190613374565b93505b505094509492505050565b612288612bf8565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060600160405280825f0180546122c5906133d7565b80601f01602080910402602001604051908101604052809291908181526020018280546122f1906133d7565b801561233c5780601f106123135761010080835404028352916020019161233c565b820191905f5260205f20905b81548152906001019060200180831161231f57829003601f168201915b505050505081526020015f6001600160a01b03168152602001826002018054610900906133d7565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166123ad57604051631afcd79f60e31b815260040160405180910390fd5b565b6123b7612364565b6123c8878784600e898989886124c8565b5f80516020613ab18339815191526123e0600e612437565b6001820180546001600160a01b0319166001600160a01b039290921691909117905561240c600b612437565b81546001600160a01b0319166001600160a01b03919091161781556120bb6303c09ad960e41b6126ce565b5f61244a6001546001600160a01b031690565b6001600160a01b031663d39e604383612461610ec8565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156124a4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ab9919061341a565b6124d0612364565b5f6124dc8989886126fe565b90505f5f80516020613ad183398151915260405163bf8e179760e01b81526001600160601b03841660048201529091506001600160a01b038b169063bf8e179790602401602060405180830381865afa15801561253b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061255f919061341a565b81546001600160a01b0319166001600160a01b039190911690811782556040805163bf7e214f60e01b815290516125f8929163bf7e214f9160048083019260209291908290030181865afa1580156125b9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125dd919061341a565b8b8b8b8b8a8a60405180602001604052805f8152508b61277a565b8054604080516302cd307160e01b815290516001600160a01b03909216916302cd3071916004808201926020929091908290030181865afa15801561263f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612663919061341a565b6001820180546001600160a01b03199081166001600160a01b03938416179091556002830180549091169188169190911790556126a0600b612437565b6003820180546001600160a01b0319166001600160a01b039290921691909117905561124563a9c1bc6f60e01b5b6126d6612364565b610b05816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f60ff8216600c0361271f576127168484600a61284a565b50829050610e26565b5f61272c8585600c61284a565b60405163677d3feb60e11b81526001600160601b03861660048201529091506001600160a01b0382169063cefa7fd690602401602060405180830381865afa158015611d35573d5f803e3d5ffd5b612782612364565b85515f036127a35760405163591eebf360e11b815260040160405180910390fd5b6127b28989898888888861290f565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f00806127de8882613996565b5060018101805460ff1916861515179055600281016127fd8382613996565b50612808600b612437565b6003820180546001600160a01b0319166001600160a01b039290921691909117905561283a634a531f3360e01b6126ce565b6112456306e9e5ff60e31b6126ce565b6040516305247a1760e51b81526001600160601b038316600482015283905f906001600160a01b0383169063a48f42e0906024015f60405180830381865afa158015612898573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526128bf91908101906134a2565b90506128d681604001518460ff9081169116141590565b1561290757604080820151905163b0c1f6eb60e01b815260ff80861660048301529091166024820152604401610727565b509392505050565b612917612364565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af415801561296d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906129919190613374565b6129b95760405163cf6935e560e01b81526001600160a01b0388166004820152602401610727565b6129c287612a4c565b6129cc8683612a5d565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101612a3b8382613996565b506120bb634a531f3360e01b6126ce565b612a54612364565b610b0581612ad3565b612a65612364565b612a6d612ae4565b612a7682612b2c565b6001600160a01b038116612a9d5760405163f17ef42d60e01b815260040160405180910390fd5b5f80516020613a5183398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b612adb612364565b610b0581611d62565b612aec612364565b6123ad6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b612b34612364565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015612b8a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612bae9190613374565b612bd65760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610727565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6040518060600160405280606081526020015f6001600160a01b03168152602001606081525090565b5f60208284031215612c31575f80fd5b81356001600160e01b031981168114610e26575f80fd5b6001600160601b0381168114610b05575f80fd5b5f8060408385031215612c6d575f80fd5b8235612c7881612c48565b91506020830135612c8881612c48565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612d09608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152612d4d610100840182612c93565b949350505050565b602081525f6114656020830184612c93565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b0381118282101715612d9d57612d9d612d67565b60405290565b604051606081016001600160401b0381118282101715612d9d57612d9d612d67565b604051601f8201601f191681016001600160401b0381118282101715612ded57612ded612d67565b604052919050565b5f6001600160401b03821115612e0d57612e0d612d67565b50601f01601f191660200190565b5f82601f830112612e2a575f80fd5b8135602083015f612e42612e3d84612df5565b612dc5565b9050828152858383011115612e55575f80fd5b828260208301375f92810160200192909252509392505050565b6001600160a01b0381168114610b05575f80fd5b8035610abc81612e6f565b63ffffffff81168114610b05575f80fd5b8035610abc81612e8e565b64ffffffffff81168114610b05575f80fd5b8035610abc81612eaa565b8015158114610b05575f80fd5b8035610abc81612ec7565b5f805f805f805f805f6101208a8c031215612ef8575f80fd5b89356001600160401b03811115612f0d575f80fd5b612f198c828d01612e1b565b99505060208a0135612f2a81612e6f565b9750612f3860408b01612e83565b9650612f4660608b01612e83565b9550612f5460808b01612e9f565b9450612f6260a08b01612ebc565b9350612f7060c08b01612ed4565b9250612f7e60e08b01612ed4565b91506101008a01356001600160401b03811115612f99575f80fd5b612fa58c828d01612e1b565b9150509295985092959850929598565b5f60208284031215612fc5575f80fd5b8135610e2681612c48565b5f60208284031215612fe0575f80fd5b8135610e2681612ec7565b5f8060408385031215612ffc575f80fd5b8235612c7881612e6f565b6001600160c01b031981168114610b05575f80fd5b5f805f6060848603121561302e575f80fd5b833561303981612e6f565b9250602084013561304981613007565b915060408401356001600160401b03811115613063575f80fd5b61306f86828701612e1b565b9150509250925092565b5f60208284031215613089575f80fd5b81356001600160401b0381111561309e575f80fd5b612d4d84828501612e1b565b5f602082840312156130ba575f80fd5b8135610e2681612e6f565b602081525f8251606060208401526130e06080840182612c93565b60208501516001600160a01b0316604085810191909152850151848203601f19016060860152909150611d598282612c93565b5f805f805f60a08688031215613127575f80fd5b853561313281612e6f565b9450602086013561314281612c48565b9350604086013561315281612e6f565b9250606086013561316281612e6f565b915060808601356001600160401b0381111561317c575f80fd5b61318888828901612e1b565b9150509295509295909350565b5f805f805f8060c087890312156131aa575f80fd5b86356131b581612c48565b955060208701356001600160401b038111156131cf575f80fd5b6131db89828a01612e1b565b95505060408701356131ec81612e6f565b935060608701356131fc81612e8e565b9250608087013561320c81612eaa565b915060a08701356001600160401b03811115613226575f80fd5b61323289828a01612e1b565b9150509295509295509295565b5f805f60608486031215613251575f80fd5b833561303981612c48565b5f805f806080858703121561326f575f80fd5b843561327a81612e6f565b9350602085013561328a81612e6f565b92506040850135915060608501356132a181612e6f565b939692955090935050565b5f80604083850312156132bd575f80fd5b82356132c881613007565b946020939093013593505050565b5f604082840312156132e6575f80fd5b604080519081016001600160401b038111828210171561330857613308612d67565b604052905080823561331981612e6f565b8152602083013561332981612c48565b6020919091015292915050565b5f8060808385031215613347575f80fd5b61335184846132d6565b915061336084604085016132d6565b90509250929050565b8051610abc81612ec7565b5f60208284031215613384575f80fd5b8151610e2681612ec7565b5f6020828403121561339f575f80fd5b815162ffffff81168114610e26575f80fd5b8051610abc81612c48565b5f602082840312156133cc575f80fd5b8151610e2681612c48565b600181811c908216806133eb57607f821691505b60208210810361340957634e487b7160e01b5f52602260045260245ffd5b50919050565b8051610abc81612e6f565b5f6020828403121561342a575f80fd5b8151610e2681612e6f565b60ff81168114610b05575f80fd5b8051610abc81613435565b5f61345b612e3d84612df5565b905082815283838301111561346e575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f830112613493575f80fd5b6114658383516020850161344e565b5f602082840312156134b2575f80fd5b81516001600160401b038111156134c7575f80fd5b820160e081850312156134d8575f80fd5b6134e0612d7b565b6134e9826133b1565b81526134f7602083016133b1565b602082015261350860408301613443565b604082015261351960608301613369565b606082015261352a6080830161340f565b608082015261353b60a0830161340f565b60a082015260c08201516001600160401b03811115613558575f80fd5b61356486828501613484565b60c083015250949350505050565b6001600160601b0383168152604060208201525f610e236040830184612c93565b5f602082840312156135a3575f80fd5b8151610e2681613007565b5f602082840312156135be575f80fd5b8151610e2681613435565b808202811582820484141761146857634e487b7160e01b5f52601160045260245ffd5b5f80604083850312156135fd575f80fd5b825161360881612e6f565b6020840151909250612c8881613435565b5f8085851115613627575f80fd5b83861115613633575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015613671576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b61012081525f6136cb61012083018c612c93565b6001600160a01b038b811660208501528a811660408501528916606084015263ffffffff8816608084015264ffffffffff871660a084015285151560c084015284151560e08401528281036101008401526137268185612c93565b9c9b505050505050505050505050565b6001600160a01b03841681526001600160c01b0319831660208201526060604082018190525f90611d5990830184612c93565b5f60208284031215613779575f80fd5b81516001600160401b0381111561378e575f80fd5b82016060818503121561379f575f80fd5b6137a7612da3565b81516001600160401b038111156137bc575f80fd5b8201601f810186136137cc575f80fd5b6137db8682516020840161344e565b82525060208201516137ec81612e6f565b602082015260408201516001600160401b03811115613809575f80fd5b61381586828501613484565b604083015250949350505050565b6001600160601b038716815260c060208201525f61384460c0830188612c93565b6001600160a01b038716604084015263ffffffff8616606084015264ffffffffff8516608084015282810360a084015261387e8185612c93565b9998505050505050505050565b6001600160601b03841681526001600160401b0360c01b83166020820152606060408201525f611d596060830184612c93565b82516001600160a01b031681526020808401516001600160601b0316908201526080810182516001600160a01b0316604083015260208301516001600160601b03166060830152610e26565b5f82518060208501845e5f920191825250919050565b5f8060408385031215613931575f80fd5b825161393c81612ec7565b6020840151909250612c8881612e8e565b601f82111561399157805f5260205f20601f840160051c810160208510156139725750805b601f840160051c820191505b81811015611385575f815560010161397e565b505050565b81516001600160401b038111156139af576139af612d67565b6139c3816139bd84546133d7565b8461394d565b6020601f8211600181146139f5575f83156139de5750848201515b5f19600385901b1c1916600184901b178455611385565b5f84815260208120601f198516915b82811015613a245787850151825560209485019460019092019101613a04565b5084821015613a4157868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f901aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900ffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00a2646970667358221220c77ae76f8e8d465f7cb8b7446fdea957530b2af0bf03e824412e23612c7dbcd164736f6c634300081a0033",
1271
1272
  "linkReferences": {
1272
- "contracts/type/Amount.sol": {
1273
- "AmountLib": [
1273
+ "contracts/shared/ContractLib.sol": {
1274
+ "ContractLib": [
1274
1275
  {
1275
1276
  "length": 20,
1276
- "start": 7213
1277
+ "start": 2221
1277
1278
  },
1278
1279
  {
1279
1280
  "length": 20,
1280
- "start": 9590
1281
+ "start": 2803
1281
1282
  },
1282
1283
  {
1283
1284
  "length": 20,
1284
- "start": 9846
1285
+ "start": 14656
1286
+ },
1287
+ {
1288
+ "length": 20,
1289
+ "start": 15197
1285
1290
  }
1286
1291
  ]
1287
1292
  },
@@ -1289,43 +1294,31 @@
1289
1294
  "NftIdLib": [
1290
1295
  {
1291
1296
  "length": 20,
1292
- "start": 5876
1293
- },
1294
- {
1295
- "length": 20,
1296
- "start": 6695
1297
- },
1298
- {
1299
- "length": 20,
1300
- "start": 8130
1301
- },
1302
- {
1303
- "length": 20,
1304
- "start": 8488
1305
- },
1306
- {
1307
- "length": 20,
1308
- "start": 11104
1297
+ "start": 6205
1309
1298
  },
1310
1299
  {
1311
1300
  "length": 20,
1312
- "start": 12311
1301
+ "start": 7153
1313
1302
  },
1314
1303
  {
1315
1304
  "length": 20,
1316
- "start": 12918
1305
+ "start": 8177
1317
1306
  },
1318
1307
  {
1319
1308
  "length": 20,
1320
- "start": 13806
1309
+ "start": 10467
1321
1310
  },
1322
1311
  {
1323
1312
  "length": 20,
1324
- "start": 13989
1325
- },
1313
+ "start": 11889
1314
+ }
1315
+ ]
1316
+ },
1317
+ "contracts/type/ObjectType.sol": {
1318
+ "ObjectTypeLib": [
1326
1319
  {
1327
1320
  "length": 20,
1328
- "start": 14641
1321
+ "start": 9991
1329
1322
  }
1330
1323
  ]
1331
1324
  },
@@ -1333,25 +1326,29 @@
1333
1326
  "ReferralLib": [
1334
1327
  {
1335
1328
  "length": 20,
1336
- "start": 7819
1329
+ "start": 7766
1330
+ }
1331
+ ]
1332
+ },
1333
+ "contracts/type/Version.sol": {
1334
+ "VersionLib": [
1335
+ {
1336
+ "length": 20,
1337
+ "start": 6005
1337
1338
  }
1338
1339
  ]
1339
1340
  }
1340
1341
  },
1341
1342
  "deployedLinkReferences": {
1342
- "contracts/type/Amount.sol": {
1343
- "AmountLib": [
1343
+ "contracts/shared/ContractLib.sol": {
1344
+ "ContractLib": [
1344
1345
  {
1345
1346
  "length": 20,
1346
- "start": 3374
1347
+ "start": 10549
1347
1348
  },
1348
1349
  {
1349
1350
  "length": 20,
1350
- "start": 5751
1351
- },
1352
- {
1353
- "length": 20,
1354
- "start": 6007
1351
+ "start": 11090
1355
1352
  }
1356
1353
  ]
1357
1354
  },
@@ -1359,43 +1356,31 @@
1359
1356
  "NftIdLib": [
1360
1357
  {
1361
1358
  "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
1359
+ "start": 2098
1375
1360
  },
1376
1361
  {
1377
1362
  "length": 20,
1378
- "start": 7265
1363
+ "start": 3046
1379
1364
  },
1380
1365
  {
1381
1366
  "length": 20,
1382
- "start": 8472
1367
+ "start": 4070
1383
1368
  },
1384
1369
  {
1385
1370
  "length": 20,
1386
- "start": 9079
1371
+ "start": 6360
1387
1372
  },
1388
1373
  {
1389
1374
  "length": 20,
1390
- "start": 9967
1391
- },
1392
- {
1393
- "length": 20,
1394
- "start": 10150
1395
- },
1375
+ "start": 7782
1376
+ }
1377
+ ]
1378
+ },
1379
+ "contracts/type/ObjectType.sol": {
1380
+ "ObjectTypeLib": [
1396
1381
  {
1397
1382
  "length": 20,
1398
- "start": 10802
1383
+ "start": 5884
1399
1384
  }
1400
1385
  ]
1401
1386
  },
@@ -1403,7 +1388,15 @@
1403
1388
  "ReferralLib": [
1404
1389
  {
1405
1390
  "length": 20,
1406
- "start": 3980
1391
+ "start": 3659
1392
+ }
1393
+ ]
1394
+ },
1395
+ "contracts/type/Version.sol": {
1396
+ "VersionLib": [
1397
+ {
1398
+ "length": 20,
1399
+ "start": 1898
1407
1400
  }
1408
1401
  ]
1409
1402
  }