@etherisc/gif-next 0.0.2-f9bc4c7-556 → 0.0.2-fb8d07b-779

Sign up to get free protection for your applications and to get access to all the features.
Files changed (373) hide show
  1. package/README.md +179 -1
  2. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +1 -1
  3. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +176 -23
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +618 -0
  6. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +1 -1
  7. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +129 -23
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +152 -0
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +74 -181
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +55 -177
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +455 -60
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +540 -70
  18. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +4 -0
  19. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +66 -0
  20. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +4 -0
  21. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +24 -0
  22. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +4 -0
  23. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +42 -0
  24. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
  25. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
  26. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
  27. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
  28. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
  29. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
  30. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
  31. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
  32. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
  33. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
  34. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
  35. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +2 -2
  36. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
  37. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
  38. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
  39. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +2 -2
  40. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
  41. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +2 -2
  42. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
  43. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
  44. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +4 -0
  45. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.json +101 -0
  46. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +4 -0
  47. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +1132 -0
  48. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +4 -0
  49. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +1082 -0
  50. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  51. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +493 -1606
  52. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  53. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +480 -0
  54. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  55. package/artifacts/contracts/instance/Instance.sol/Instance.json +2513 -1170
  56. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
  57. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +917 -0
  58. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  59. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1388 -0
  60. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  61. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +891 -0
  62. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  63. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +492 -0
  64. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +1 -1
  65. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +276 -36
  66. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +1 -1
  67. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +51 -1
  68. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  69. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +45 -127
  70. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  71. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  72. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +55 -245
  73. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  74. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +4 -4
  75. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  76. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +211 -0
  77. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  78. package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
  79. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  80. package/artifacts/contracts/instance/module/{access/IAccess.sol/IAccess.json → IDistribution.sol/IDistribution.json} +2 -2
  81. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  82. package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
  83. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  84. package/artifacts/contracts/instance/module/{risk/IRisk.sol → IRisk.sol}/IRisk.json +1 -1
  85. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
  86. package/artifacts/contracts/instance/{base/ModuleBase.sol/ModuleBase.json → module/ISetup.sol/ISetup.json} +2 -2
  87. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
  88. package/artifacts/contracts/instance/module/{treasury/ITreasury.sol → ITreasury.sol}/ITreasury.json +1 -1
  89. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +1 -1
  90. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +381 -77
  91. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  92. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +716 -0
  93. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  94. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +448 -0
  95. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +1 -1
  96. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +177 -75
  97. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  98. package/artifacts/contracts/instance/{base/ServiceBase.sol/ServiceBase.json → service/IDistributionService.sol/IDistributionService.json} +204 -58
  99. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  100. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +235 -50
  101. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  102. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +325 -51
  103. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  104. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +436 -52
  105. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  106. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +460 -0
  107. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  108. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +186 -12
  109. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  110. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +485 -37
  111. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  112. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +853 -0
  113. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  114. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +34 -0
  115. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  116. package/artifacts/contracts/registry/Registry.sol/Registry.json +597 -122
  117. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  118. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1237 -0
  119. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  120. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +525 -0
  121. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  122. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +410 -0
  123. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
  124. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
  125. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  126. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +2 -2
  127. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  128. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +127 -0
  129. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  130. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +117 -37
  131. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  132. package/artifacts/contracts/{instance/base → shared}/IService.sol/IService.json +175 -54
  133. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  134. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +55 -14
  135. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  136. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +158 -0
  137. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  138. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +349 -0
  139. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  140. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +190 -37
  141. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +4 -0
  142. package/artifacts/contracts/{instance/base/InstanceBase.sol/InstanceBase.json → shared/RegisterableUpgradable.sol/RegisterableUpgradable.json} +199 -83
  143. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  144. package/artifacts/contracts/shared/Service.sol/Service.json +468 -0
  145. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  146. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +96 -0
  147. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  148. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  149. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  150. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +78 -14
  151. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  152. package/artifacts/contracts/test/TestFee.sol/TestFee.json +4 -4
  153. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  154. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +204 -36
  155. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  156. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +14 -14
  157. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  158. package/artifacts/contracts/test/TestService.sol/TestService.json +283 -62
  159. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  160. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +91 -53
  161. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  162. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  163. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  164. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +103 -23
  165. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  166. package/artifacts/contracts/test/Usdc.sol/USDC.json +91 -53
  167. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  168. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  169. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  170. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  171. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
  172. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  173. package/artifacts/contracts/types/Fee.sol/FeeLib.json +52 -13
  174. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  175. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +31 -17
  176. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  177. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +2 -2
  178. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  179. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +2 -2
  180. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
  181. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
  182. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  183. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  184. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
  185. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +123 -0
  186. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +4 -0
  187. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +86 -0
  188. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  189. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +134 -8
  190. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  191. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  192. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  193. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +15 -2
  194. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  195. package/artifacts/contracts/types/UFixed.sol/MathLib.json +10 -0
  196. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  197. package/artifacts/contracts/types/UFixed.sol/{UFixedMathLib.json → UFixedLib.json} +3 -3
  198. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  199. package/artifacts/contracts/types/Version.sol/VersionLib.json +40 -2
  200. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  201. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
  202. package/contracts/components/BaseComponent.sol +26 -23
  203. package/contracts/components/Distribution.sol +160 -0
  204. package/contracts/components/IBaseComponent.sol +9 -3
  205. package/contracts/components/IDistributionComponent.sol +44 -0
  206. package/contracts/components/IPoolComponent.sol +14 -9
  207. package/contracts/components/IProductComponent.sol +25 -9
  208. package/contracts/components/Pool.sol +98 -29
  209. package/contracts/components/Product.sol +212 -32
  210. package/contracts/experiment/cloning/Cloner.sol +47 -0
  211. package/contracts/instance/AccessManagedSimple.sol +115 -0
  212. package/contracts/instance/AccessManagerSimple.sol +692 -0
  213. package/contracts/instance/IAccessManagerSimple.sol +391 -0
  214. package/contracts/instance/IInstance.sol +32 -45
  215. package/contracts/instance/IInstanceService.sol +30 -0
  216. package/contracts/instance/Instance.sol +426 -51
  217. package/contracts/instance/InstanceAccessManager.sol +288 -0
  218. package/contracts/instance/InstanceReader.sol +306 -0
  219. package/contracts/instance/InstanceService.sol +182 -0
  220. package/contracts/instance/InstanceServiceManager.sol +56 -0
  221. package/contracts/instance/base/ComponentServiceBase.sol +93 -10
  222. package/contracts/instance/base/IInstanceBase.sol +11 -2
  223. package/contracts/instance/base/IKeyValueStore.sol +13 -13
  224. package/contracts/instance/base/ILifecycle.sol +3 -3
  225. package/contracts/instance/base/KeyValueStore.sol +53 -37
  226. package/contracts/instance/base/Lifecycle.sol +16 -11
  227. package/contracts/instance/module/IAccess.sol +38 -0
  228. package/contracts/instance/module/IBundle.sol +20 -0
  229. package/contracts/instance/module/IDistribution.sol +39 -0
  230. package/contracts/instance/module/IPolicy.sol +45 -0
  231. package/contracts/instance/module/IRisk.sol +11 -0
  232. package/contracts/instance/module/ISetup.sol +44 -0
  233. package/contracts/instance/module/ITreasury.sol +23 -0
  234. package/contracts/instance/service/ComponentOwnerService.sol +244 -97
  235. package/contracts/instance/service/DistributionService.sol +87 -0
  236. package/contracts/instance/service/DistributionServiceManager.sol +53 -0
  237. package/contracts/instance/service/IComponentOwnerService.sol +1 -3
  238. package/contracts/instance/service/IDistributionService.sol +12 -0
  239. package/contracts/instance/service/IPoolService.sol +8 -1
  240. package/contracts/instance/service/IProductService.sol +56 -7
  241. package/contracts/instance/service/PoolService.sol +117 -47
  242. package/contracts/instance/service/PoolServiceManager.sol +53 -0
  243. package/contracts/registry/ChainNft.sol +80 -37
  244. package/contracts/registry/IRegistry.sol +62 -25
  245. package/contracts/registry/IRegistryService.sol +33 -0
  246. package/contracts/registry/ITransferInterceptor.sol +6 -0
  247. package/contracts/registry/Registry.sol +375 -267
  248. package/contracts/registry/RegistryService.sol +399 -0
  249. package/contracts/registry/RegistryServiceManager.sol +80 -0
  250. package/contracts/registry/TokenRegistry.sol +111 -0
  251. package/contracts/shared/ContractDeployerLib.sol +72 -0
  252. package/contracts/shared/ERC165.sol +6 -2
  253. package/contracts/shared/INftOwnable.sol +22 -0
  254. package/contracts/shared/IRegisterable.sol +8 -15
  255. package/contracts/{instance/base → shared}/IService.sol +3 -3
  256. package/contracts/shared/IVersionable.sol +55 -11
  257. package/contracts/shared/NftOwnable.sol +136 -0
  258. package/contracts/shared/ProxyManager.sol +94 -0
  259. package/contracts/shared/Registerable.sol +63 -59
  260. package/contracts/shared/RegisterableUpgradable.sol +16 -0
  261. package/contracts/shared/Service.sol +55 -0
  262. package/contracts/shared/TokenHandler.sol +27 -0
  263. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  264. package/contracts/shared/Versionable.sol +113 -55
  265. package/contracts/test/TestFee.sol +2 -2
  266. package/contracts/test/TestRegisterable.sol +5 -6
  267. package/contracts/test/TestRoleId.sol +1 -1
  268. package/contracts/test/TestService.sol +5 -13
  269. package/contracts/types/DistributorType.sol +55 -0
  270. package/contracts/types/Fee.sol +10 -5
  271. package/contracts/types/Key32.sol +8 -3
  272. package/contracts/types/NumberId.sol +52 -0
  273. package/contracts/types/ObjectType.sol +51 -14
  274. package/contracts/types/Referral.sol +85 -0
  275. package/contracts/types/RiskId.sol +43 -0
  276. package/contracts/types/RoleId.sol +61 -10
  277. package/contracts/types/StateId.sol +5 -1
  278. package/contracts/types/Timestamp.sol +7 -3
  279. package/contracts/types/UFixed.sol +128 -12
  280. package/contracts/types/Version.sol +13 -1
  281. package/package.json +4 -3
  282. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  283. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.json +0 -24
  284. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  285. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  286. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  287. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  288. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  289. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  290. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  291. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  292. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  293. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  294. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -296
  295. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  296. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  297. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -296
  298. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.dbg.json +0 -4
  299. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.json +0 -10
  300. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.dbg.json +0 -4
  301. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.json +0 -10
  302. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.dbg.json +0 -4
  303. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.json +0 -10
  304. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  305. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -188
  306. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  307. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  308. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  309. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -188
  310. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  311. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  312. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -261
  313. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  314. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -261
  315. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  316. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
  317. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  318. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -149
  319. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  320. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -149
  321. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  322. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  323. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -10
  324. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  325. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -10
  326. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  327. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  328. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -533
  329. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  330. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  331. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  332. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -533
  333. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  334. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -673
  335. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  336. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -452
  337. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
  338. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.json +0 -24
  339. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  340. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.json +0 -24
  341. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  342. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -387
  343. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  344. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -393
  345. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  346. package/contracts/experiment/statemachine/README.md +0 -112
  347. package/contracts/instance/IInstanceLinked.sol +0 -8
  348. package/contracts/instance/base/InstanceBase.sol +0 -80
  349. package/contracts/instance/base/ModuleBase.sol +0 -52
  350. package/contracts/instance/base/ServiceBase.sol +0 -37
  351. package/contracts/instance/module/access/Access.sol +0 -149
  352. package/contracts/instance/module/access/IAccess.sol +0 -53
  353. package/contracts/instance/module/bundle/BundleModule.sol +0 -136
  354. package/contracts/instance/module/bundle/IBundle.sol +0 -58
  355. package/contracts/instance/module/compensation/CompensationModule.sol +0 -8
  356. package/contracts/instance/module/compensation/ICompensation.sol +0 -10
  357. package/contracts/instance/module/component/ComponentModule.sol +0 -95
  358. package/contracts/instance/module/component/IComponent.sol +0 -53
  359. package/contracts/instance/module/policy/IPolicy.sol +0 -60
  360. package/contracts/instance/module/policy/PolicyModule.sol +0 -76
  361. package/contracts/instance/module/pool/IPoolModule.sol +0 -41
  362. package/contracts/instance/module/pool/PoolModule.sol +0 -87
  363. package/contracts/instance/module/risk/IRisk.sol +0 -10
  364. package/contracts/instance/module/risk/RiskModule.sol +0 -8
  365. package/contracts/instance/module/treasury/ITreasury.sol +0 -103
  366. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  367. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -152
  368. package/contracts/instance/service/ProductService.sol +0 -354
  369. package/contracts/registry/IChainNft.sol +0 -21
  370. package/contracts/registry/IRegistryLinked.sol +0 -8
  371. package/contracts/shared/IOwnable.sol +0 -6
  372. package/contracts/test/TestPool.sol +0 -22
  373. package/contracts/test/TestProduct.sol +0 -44
@@ -0,0 +1,525 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "RegistryServiceManager",
4
+ "sourceName": "contracts/registry/RegistryServiceManager.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "accessManager",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "stateMutability": "nonpayable",
15
+ "type": "constructor"
16
+ },
17
+ {
18
+ "inputs": [],
19
+ "name": "ErrorAlreadyDeployed",
20
+ "type": "error"
21
+ },
22
+ {
23
+ "inputs": [],
24
+ "name": "ErrorAlreadyDeployedWithSalt",
25
+ "type": "error"
26
+ },
27
+ {
28
+ "inputs": [
29
+ {
30
+ "internalType": "address",
31
+ "name": "registry",
32
+ "type": "address"
33
+ },
34
+ {
35
+ "internalType": "NftId",
36
+ "name": "nftId",
37
+ "type": "uint96"
38
+ }
39
+ ],
40
+ "name": "ErrorAlreadyLinked",
41
+ "type": "error"
42
+ },
43
+ {
44
+ "inputs": [
45
+ {
46
+ "internalType": "address",
47
+ "name": "contractAddress",
48
+ "type": "address"
49
+ }
50
+ ],
51
+ "name": "ErrorContractNotRegistered",
52
+ "type": "error"
53
+ },
54
+ {
55
+ "inputs": [
56
+ {
57
+ "internalType": "address",
58
+ "name": "account",
59
+ "type": "address"
60
+ }
61
+ ],
62
+ "name": "ErrorNotOwner",
63
+ "type": "error"
64
+ },
65
+ {
66
+ "inputs": [
67
+ {
68
+ "internalType": "address",
69
+ "name": "registryAddress",
70
+ "type": "address"
71
+ }
72
+ ],
73
+ "name": "ErrorNotRegistry",
74
+ "type": "error"
75
+ },
76
+ {
77
+ "inputs": [],
78
+ "name": "ErrorNotYetDeployed",
79
+ "type": "error"
80
+ },
81
+ {
82
+ "inputs": [],
83
+ "name": "ErrorRegistryAddressZero",
84
+ "type": "error"
85
+ },
86
+ {
87
+ "inputs": [
88
+ {
89
+ "internalType": "address",
90
+ "name": "registry",
91
+ "type": "address"
92
+ }
93
+ ],
94
+ "name": "ErrorRegistryAlreadyInitialized",
95
+ "type": "error"
96
+ },
97
+ {
98
+ "inputs": [],
99
+ "name": "ErrorRegistryNotInitialized",
100
+ "type": "error"
101
+ },
102
+ {
103
+ "anonymous": false,
104
+ "inputs": [
105
+ {
106
+ "indexed": true,
107
+ "internalType": "address",
108
+ "name": "proxy",
109
+ "type": "address"
110
+ },
111
+ {
112
+ "indexed": false,
113
+ "internalType": "address",
114
+ "name": "initialImplementation",
115
+ "type": "address"
116
+ }
117
+ ],
118
+ "name": "LogProxyDeployed",
119
+ "type": "event"
120
+ },
121
+ {
122
+ "anonymous": false,
123
+ "inputs": [
124
+ {
125
+ "indexed": true,
126
+ "internalType": "address",
127
+ "name": "proxy",
128
+ "type": "address"
129
+ },
130
+ {
131
+ "indexed": false,
132
+ "internalType": "address",
133
+ "name": "initialImplementation",
134
+ "type": "address"
135
+ }
136
+ ],
137
+ "name": "LogProxyDeployedWithSalt",
138
+ "type": "event"
139
+ },
140
+ {
141
+ "anonymous": false,
142
+ "inputs": [
143
+ {
144
+ "indexed": true,
145
+ "internalType": "address",
146
+ "name": "proxy",
147
+ "type": "address"
148
+ },
149
+ {
150
+ "indexed": false,
151
+ "internalType": "address",
152
+ "name": "upgradedImplementation",
153
+ "type": "address"
154
+ }
155
+ ],
156
+ "name": "LogProxyUpgraded",
157
+ "type": "event"
158
+ },
159
+ {
160
+ "inputs": [],
161
+ "name": "ACCESS_MANAGER_CREATION_CODE_HASH",
162
+ "outputs": [
163
+ {
164
+ "internalType": "bytes32",
165
+ "name": "",
166
+ "type": "bytes32"
167
+ }
168
+ ],
169
+ "stateMutability": "view",
170
+ "type": "function"
171
+ },
172
+ {
173
+ "inputs": [
174
+ {
175
+ "internalType": "address",
176
+ "name": "initialImplementation",
177
+ "type": "address"
178
+ },
179
+ {
180
+ "internalType": "bytes",
181
+ "name": "initializationData",
182
+ "type": "bytes"
183
+ }
184
+ ],
185
+ "name": "deploy",
186
+ "outputs": [
187
+ {
188
+ "internalType": "contract IVersionable",
189
+ "name": "versionable",
190
+ "type": "address"
191
+ }
192
+ ],
193
+ "stateMutability": "nonpayable",
194
+ "type": "function"
195
+ },
196
+ {
197
+ "inputs": [],
198
+ "name": "getAccessManager",
199
+ "outputs": [
200
+ {
201
+ "internalType": "contract AccessManager",
202
+ "name": "",
203
+ "type": "address"
204
+ }
205
+ ],
206
+ "stateMutability": "view",
207
+ "type": "function"
208
+ },
209
+ {
210
+ "inputs": [
211
+ {
212
+ "internalType": "address",
213
+ "name": "implementation",
214
+ "type": "address"
215
+ },
216
+ {
217
+ "internalType": "address",
218
+ "name": "proxyOwner",
219
+ "type": "address"
220
+ },
221
+ {
222
+ "internalType": "bytes",
223
+ "name": "deployData",
224
+ "type": "bytes"
225
+ }
226
+ ],
227
+ "name": "getDeployData",
228
+ "outputs": [
229
+ {
230
+ "internalType": "bytes",
231
+ "name": "data",
232
+ "type": "bytes"
233
+ }
234
+ ],
235
+ "stateMutability": "pure",
236
+ "type": "function"
237
+ },
238
+ {
239
+ "inputs": [],
240
+ "name": "getNftId",
241
+ "outputs": [
242
+ {
243
+ "internalType": "NftId",
244
+ "name": "",
245
+ "type": "uint96"
246
+ }
247
+ ],
248
+ "stateMutability": "view",
249
+ "type": "function"
250
+ },
251
+ {
252
+ "inputs": [],
253
+ "name": "getOwner",
254
+ "outputs": [
255
+ {
256
+ "internalType": "address",
257
+ "name": "",
258
+ "type": "address"
259
+ }
260
+ ],
261
+ "stateMutability": "view",
262
+ "type": "function"
263
+ },
264
+ {
265
+ "inputs": [],
266
+ "name": "getProxy",
267
+ "outputs": [
268
+ {
269
+ "internalType": "contract UpgradableProxyWithAdmin",
270
+ "name": "",
271
+ "type": "address"
272
+ }
273
+ ],
274
+ "stateMutability": "nonpayable",
275
+ "type": "function"
276
+ },
277
+ {
278
+ "inputs": [],
279
+ "name": "getRegistry",
280
+ "outputs": [
281
+ {
282
+ "internalType": "contract IRegistry",
283
+ "name": "",
284
+ "type": "address"
285
+ }
286
+ ],
287
+ "stateMutability": "view",
288
+ "type": "function"
289
+ },
290
+ {
291
+ "inputs": [],
292
+ "name": "getRegistryService",
293
+ "outputs": [
294
+ {
295
+ "internalType": "contract RegistryService",
296
+ "name": "registryService",
297
+ "type": "address"
298
+ }
299
+ ],
300
+ "stateMutability": "view",
301
+ "type": "function"
302
+ },
303
+ {
304
+ "inputs": [],
305
+ "name": "getTokenRegistry",
306
+ "outputs": [
307
+ {
308
+ "internalType": "contract TokenRegistry",
309
+ "name": "",
310
+ "type": "address"
311
+ }
312
+ ],
313
+ "stateMutability": "view",
314
+ "type": "function"
315
+ },
316
+ {
317
+ "inputs": [
318
+ {
319
+ "internalType": "address",
320
+ "name": "implementation",
321
+ "type": "address"
322
+ },
323
+ {
324
+ "internalType": "address",
325
+ "name": "proxyOwner",
326
+ "type": "address"
327
+ },
328
+ {
329
+ "internalType": "bytes",
330
+ "name": "upgradeData",
331
+ "type": "bytes"
332
+ }
333
+ ],
334
+ "name": "getUpgradeData",
335
+ "outputs": [
336
+ {
337
+ "internalType": "bytes",
338
+ "name": "data",
339
+ "type": "bytes"
340
+ }
341
+ ],
342
+ "stateMutability": "pure",
343
+ "type": "function"
344
+ },
345
+ {
346
+ "inputs": [],
347
+ "name": "linkToRegisteredNftId",
348
+ "outputs": [],
349
+ "stateMutability": "nonpayable",
350
+ "type": "function"
351
+ },
352
+ {
353
+ "inputs": [
354
+ {
355
+ "internalType": "address",
356
+ "name": "newImplementation",
357
+ "type": "address"
358
+ },
359
+ {
360
+ "internalType": "bytes",
361
+ "name": "upgradeData",
362
+ "type": "bytes"
363
+ }
364
+ ],
365
+ "name": "upgrade",
366
+ "outputs": [
367
+ {
368
+ "internalType": "contract IVersionable",
369
+ "name": "versionable",
370
+ "type": "address"
371
+ }
372
+ ],
373
+ "stateMutability": "nonpayable",
374
+ "type": "function"
375
+ }
376
+ ],
377
+ "bytecode": "0x60806040523480156200001157600080fd5b506040516200b64a3803806200b64a83398101604081905262000034916200087a565b60018054336001600160a01b031991821617909155600380549091166001600160a01b038316179055604051600090829062000073602082016200083a565b601f1982820381018352601f90910116604081905262000098929190602001620008e9565b60405160208183030381529060405290506000620000e2604051620000bd9062000848565b604051809103906000f080158015620000da573d6000803e3d6000fd5b508362000197565b600480546001600160a01b0319166001600160a01b038316908117825560408051635ab1bd5360e01b8152905193945062000179939192635ab1bd539282820192602092908290030181865afa15801562000141573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200016791906200087a565b6004546001600160a01b0316620002e0565b50506002805460ff60a01b1916600160a01b179055506200099d9050565b600080620001a462000549565b90506001600160a01b03811615801590620001c85750336001600160a01b03821614155b15620001ee5760405163700dd81160e01b81523360048201526024015b60405180910390fd5b600254600160a01b900460ff16156200021a576040516375842f8760e01b815260040160405180910390fd5b60006200022662000549565b9050306000620002388784886200066c565b90508682826040516200024b9062000856565b620002599392919062000917565b604051809103906000f08015801562000276573d6000803e3d6000fd5b50600280546001600160a81b0319166001600160a01b0392831617600160a01b179081905560405189831681529116955085907fc5c7b8d20d7cac78e56fc596f8d26c700e5077f096017736e3526ab8af4850359060200160405180910390a25050505092915050565b600080620002ed62000549565b90506001600160a01b03811615801590620003115750336001600160a01b03821614155b15620003335760405163700dd81160e01b8152336004820152602401620001e5565b6000546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801562000396573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003bc91906200094e565b1562000400576000546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b03166024820152604401620001e5565b6200040b84620006c8565b60005460405163c3c5a54760e01b81526001600160a01b0385811660048301529091169063c3c5a54790602401602060405180830381865afa15801562000456573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200047c91906200094e565b620004a6576040516372657a5160e01b81526001600160a01b0384166004820152602401620001e5565b600054604051636939560f60e11b81526001600160a01b0385811660048301529091169063d272ac1e90602401602060405180830381865afa158015620004f1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000517919062000972565b600080546001600160a01b0316600160a01b6001600160601b0393841681029190911791829055900416949350505050565b600080546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015620005ad573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005d391906200094e565b156200065c57600054604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa15801562000631573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200065791906200087a565b905090565b506001546001600160a01b031690565b606063cf7a1d7760e01b8484846040516024016200068d9392919062000917565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915290509392505050565b6000546001600160a01b031615620007035760005460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401620001e5565b6001600160a01b0381166200072b5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003620007635760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620001e5565b600080546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263e14a543960e01b60048201526301ffc9a790602401602060405180830381865afa925050508015620007e0575060408051601f3d908101601f19168201909252620007dd918101906200094e565b60015b6200080a5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620001e5565b80620008355760405163fdeac91f60e01b81526001600160a01b0383166004820152602401620001e5565b505b50565b61507080620024be83390190565b6131ed806200752e83390190565b610f2f806200a71b83390190565b6001600160a01b03811681146200083757600080fd5b6000602082840312156200088d57600080fd5b81516200089a8162000864565b9392505050565b6000815180845260005b81811015620008c957602081850181015186830182015201620008ab565b506000602082860101526020601f19601f83011685010191505092915050565b6001600160a01b03831681526040602082018190526000906200090f90830184620008a1565b949350505050565b6001600160a01b038481168252831660208201526060604082018190526000906200094590830184620008a1565b95945050505050565b6000602082840312156200096157600080fd5b815180151581146200089a57600080fd5b6000602082840312156200098557600080fd5b81516001600160601b03811681146200089a57600080fd5b611b1180620009ad6000396000f3fe60806040523480156200001157600080fd5b5060043610620000e05760003560e01c8063933a9ce81162000097578063c987336c116200006e578063c987336c14620001c5578063caf4e3d414620001dc578063e97fac0514620001ee578063f6876768146200020557600080fd5b8063933a9ce8146200017b5780639f4bc3c3146200018d578063aef485a0146200019f57600080fd5b8063057838bd14620000e5578063138461e0146200010f5780635ab1bd53146200011b578063644c45e0146200012d5780636bfc9c731462000159578063893d20e81462000171575b600080fd5b6005546001600160a01b03165b6040516001600160a01b0390911681526020015b60405180910390f35b620001196200021c565b005b6000546001600160a01b0316620000f2565b600054600160a01b90046001600160601b03166040516001600160601b03909116815260200162000106565b62000162600081565b60405190815260200162000106565b620000f26200044b565b6002546001600160a01b0316620000f2565b6003546001600160a01b0316620000f2565b620001b6620001b0366004620009e2565b6200056e565b60405162000106919062000a94565b620000f2620001d636600462000ab0565b620005ca565b6004546001600160a01b0316620000f2565b620000f2620001ff36600462000ab0565b620007aa565b620001b662000216366004620009e2565b620008ef565b6000546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156200027f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002a5919062000b06565b15620002ed576000546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6000546001600160a01b0316620003175760405163cf29926160e01b815260040160405180910390fd5b60005460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa15801562000361573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000387919062000b06565b620003b1576040516372657a5160e01b81526001600160a01b0382166004820152602401620002e4565b600054604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015620003fc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000422919062000b2a565b600060146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b600080546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015620004af573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004d5919062000b06565b156200055e57600054604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa15801562000533573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000559919062000b55565b905090565b506001546001600160a01b031690565b606063a745e3df60e01b8484846040516024016200058f9392919062000b75565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915290509392505050565b600080620005d76200044b565b90506001600160a01b03811615801590620005fb5750336001600160a01b03821614155b156200061d5760405163700dd81160e01b8152336004820152602401620002e4565b600254600160a01b900460ff166200064857604051631e35411160e31b815260040160405180910390fd5b6000620006546200044b565b905060006200066b6002546001600160a01b031690565b6001600160a01b0316638b3240a06040518163ffffffff1660e01b81526004016020604051808303816000875af1158015620006ab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620006d1919062000b55565b6002549091506001600160a01b03166000620006ef8885896200056e565b604051639623609d60e01b81529091506001600160a01b03841690639623609d90620007249085908c90869060040162000b75565b600060405180830381600087803b1580156200073f57600080fd5b505af115801562000754573d6000803e3d6000fd5b50506002546040516001600160a01b038c8116825290911698508892507f5f1d3094af018381967fbedd54b80ffb09c5a9799db985f5e17e322672686306915060200160405180910390a2505050505092915050565b600080620007b76200044b565b90506001600160a01b03811615801590620007db5750336001600160a01b03821614155b15620007fd5760405163700dd81160e01b8152336004820152602401620002e4565b600254600160a01b900460ff161562000829576040516375842f8760e01b815260040160405180910390fd5b6000620008356200044b565b905030600062000847878488620008ef565b90508682826040516200085a9062000910565b620008689392919062000b75565b604051809103906000f08015801562000885573d6000803e3d6000fd5b50600280546001600160a81b0319166001600160a01b0392831617600160a01b179081905560405189831681529116955085907fc5c7b8d20d7cac78e56fc596f8d26c700e5077f096017736e3526ab8af4850359060200160405180910390a25050505092915050565b606063cf7a1d7760e01b8484846040516024016200058f9392919062000b75565b610f2f8062000bad83390190565b6001600160a01b03811681146200093457600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200095f57600080fd5b813567ffffffffffffffff808211156200097d576200097d62000937565b604051601f8301601f19908116603f01168101908282118183101715620009a857620009a862000937565b81604052838152866020858801011115620009c257600080fd5b836020870160208301376000602085830101528094505050505092915050565b600080600060608486031215620009f857600080fd5b833562000a05816200091e565b9250602084013562000a17816200091e565b9150604084013567ffffffffffffffff81111562000a3457600080fd5b62000a42868287016200094d565b9150509250925092565b6000815180845260005b8181101562000a745760208185018101518683018201520162000a56565b506000602082860101526020601f19601f83011685010191505092915050565b60208152600062000aa9602083018462000a4c565b9392505050565b6000806040838503121562000ac457600080fd5b823562000ad1816200091e565b9150602083013567ffffffffffffffff81111562000aee57600080fd5b62000afc858286016200094d565b9150509250929050565b60006020828403121562000b1957600080fd5b8151801515811462000aa957600080fd5b60006020828403121562000b3d57600080fd5b81516001600160601b038116811462000aa957600080fd5b60006020828403121562000b6857600080fd5b815162000aa9816200091e565b6001600160a01b0384811682528316602082015260606040820181905260009062000ba39083018462000a4c565b9594505050505056fe60a06040523480156200001157600080fd5b5060405162000f2f38038062000f2f8339810160408190526200003491620003e1565b8282828281620000458282620000b0565b50508160405162000056906200037a565b6001600160a01b039091168152602001604051809103906000f08015801562000083573d6000803e3d6000fd5b506001600160a01b0316608052620000a46200009e60805190565b62000116565b505050505050620004df565b620000bb8262000188565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a2805115620001085762000103828262000208565b505050565b6200011262000285565b5050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6200015860008051602062000f0f833981519152546001600160a01b031690565b604080516001600160a01b03928316815291841660208301520160405180910390a16200018581620002a7565b50565b806001600160a01b03163b600003620001c457604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5b80546001600160a01b0319166001600160a01b039290921691909117905550565b6060600080846001600160a01b031684604051620002279190620004c1565b600060405180830381855af49150503d806000811462000264576040519150601f19603f3d011682016040523d82523d6000602084013e62000269565b606091505b5090925090506200027c858383620002ea565b95945050505050565b3415620002a55760405163b398979f60e01b815260040160405180910390fd5b565b6001600160a01b038116620002d357604051633173bdd160e11b815260006004820152602401620001bb565b8060008051602062000f0f833981519152620001e7565b6060826200030357620002fd8262000350565b62000349565b81511580156200031b57506001600160a01b0384163b155b156200034657604051639996b31560e01b81526001600160a01b0385166004820152602401620001bb565b50805b9392505050565b805115620003615780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b61052480620009eb83390190565b80516001600160a01b0381168114620003a057600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620003d8578181015183820152602001620003be565b50506000910152565b600080600060608486031215620003f757600080fd5b620004028462000388565b9250620004126020850162000388565b60408501519092506001600160401b03808211156200043057600080fd5b818601915086601f8301126200044557600080fd5b8151818111156200045a576200045a620003a5565b604051601f8201601f19908116603f01168101908382118183101715620004855762000485620003a5565b816040528281528960208487010111156200049f57600080fd5b620004b2836020830160208801620003bb565b80955050505050509250925092565b60008251620004d5818460208701620003bb565b9190910192915050565b6080516104eb620005006000396000818160370152607401526104eb6000f3fe60806040526004361061001e5760003560e01c80638b3240a014610028575b610026610072565b005b34801561003457600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006040516001600160a01b03909116815260200160405180910390f35b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633036100df576000356001600160e01b03191663278f794360e11b146100d5576040516334ad5dbb60e21b815260040160405180910390fd5b6100dd6100ec565b565b6100dd61011b565b905090565b6000806100fc3660048184610376565b81019061010991906103b6565b91509150610117828261012b565b5050565b6100dd610126610186565b6101b9565b610134826101dd565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a280511561017e576101798282610259565b505050565b6101176102cf565b60006100e77f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b3660008037600080366000845af43d6000803e8080156101d8573d6000f35b3d6000fd5b806001600160a01b03163b60000361021857604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b6060600080846001600160a01b0316846040516102769190610486565b600060405180830381855af49150503d80600081146102b1576040519150601f19603f3d011682016040523d82523d6000602084013e6102b6565b606091505b50915091506102c68583836102ee565b95945050505050565b34156100dd5760405163b398979f60e01b815260040160405180910390fd5b606082610303576102fe8261034d565b610346565b815115801561031a57506001600160a01b0384163b155b1561034357604051639996b31560e01b81526001600160a01b038516600482015260240161020f565b50805b9392505050565b80511561035d5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6000808585111561038657600080fd5b8386111561039357600080fd5b5050820193919092039150565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156103c957600080fd5b82356001600160a01b03811681146103e057600080fd5b9150602083013567ffffffffffffffff808211156103fd57600080fd5b818501915085601f83011261041157600080fd5b813581811115610423576104236103a0565b604051601f8201601f19908116603f0116810190838211818310171561044b5761044b6103a0565b8160405282815288602084870101111561046457600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b6000825160005b818110156104a7576020818601810151858301520161048d565b50600092019182525091905056fea264697066735822122061d21ea0f293a274302e47ad0e30c5fb666a07dc4f8e1cfa79d3064668655aa064736f6c63430008140033608060405234801561001057600080fd5b5060405161052438038061052483398101604081905261002f916100be565b806001600160a01b03811661005e57604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b6100678161006e565b50506100ee565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100d057600080fd5b81516001600160a01b03811681146100e757600080fd5b9392505050565b610427806100fd6000396000f3fe60806040526004361061004a5760003560e01c8063715018a61461004f5780638da5cb5b146100665780639623609d14610093578063ad3cb1cc146100a6578063f2fde38b146100e4575b600080fd5b34801561005b57600080fd5b50610064610104565b005b34801561007257600080fd5b506000546040516001600160a01b0390911681526020015b60405180910390f35b6100646100a1366004610272565b610118565b3480156100b257600080fd5b506100d7604051806040016040528060058152602001640352e302e360dc1b81525081565b60405161008a919061038e565b3480156100f057600080fd5b506100646100ff3660046103a8565b610187565b61010c6101ca565b61011660006101f7565b565b6101206101ca565b60405163278f794360e11b81526001600160a01b03841690634f1ef28690349061015090869086906004016103c5565b6000604051808303818588803b15801561016957600080fd5b505af115801561017d573d6000803e3d6000fd5b5050505050505050565b61018f6101ca565b6001600160a01b0381166101be57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b6101c7816101f7565b50565b6000546001600160a01b031633146101165760405163118cdaa760e01b81523360048201526024016101b5565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811681146101c757600080fd5b634e487b7160e01b600052604160045260246000fd5b60008060006060848603121561028757600080fd5b833561029281610247565b925060208401356102a281610247565b9150604084013567ffffffffffffffff808211156102bf57600080fd5b818601915086601f8301126102d357600080fd5b8135818111156102e5576102e561025c565b604051601f8201601f19908116603f0116810190838211818310171561030d5761030d61025c565b8160405282815289602084870101111561032657600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b6000815180845260005b8181101561036e57602081850181015186830182015201610352565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006103a16020830184610348565b9392505050565b6000602082840312156103ba57600080fd5b81356103a181610247565b6001600160a01b03831681526040602082018190526000906103e990830184610348565b94935050505056fea2646970667358221220cb46d8eee562c2068d4d3afab9e2a7f48be119bb61a6a1c3d7ef6ba5a8aff09464736f6c63430008140033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103a2646970667358221220d9193539c1d5b959a629850e9198ead9030a3476888f6e8b3677e41afbda15e064736f6c6343000814003360806040523480156200001157600080fd5b5060405162005070380380620050708339810160408190526200003491620010b6565b620000766301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6001600160a01b038216620000d15760405162461bcd60e51b815260206004820152601d60248201527f52656769737472793a207265676973747279206f776e65722069732030000000604482015260640160405180910390fd5b604051632392b61b60e21b81526003600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90638e4ad86c90602401602060405180830381865af415801562000122573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001489190620010fb565b6001805460ff191660ff9290921691821790556040519081527ff5fb08b0be3b39e7b690d5444a6da718afcc193591667aec8d057e23cbe3f98f9060200160405180910390a1306040516200019d9062001091565b6001600160a01b039091168152602001604051809103906000f080158015620001ca573d6000803e3d6000fd5b50600b80546001600160a01b0319166001600160a01b0392909216919091179055620001f562000259565b620002008262000479565b6200020b8262000826565b6200021562000bab565b63e14a543960e01b60009081526020527f55ee1a05a13edf710bfa198906ddef66d1a7e1374fb385d26fbb3ace1a097fe6805460ff191660011790555050620012fb565b600b5460408051632cc7144960e11b815290516000926001600160a01b03169163598e28929160048083019260209291908290030181865afa158015620002a4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002ca919062001120565b9050600081600b546040516340c10f1960e01b815260016004820152602481018590529192506001600160a01b0316906340c10f1990604401600060405180830381600087803b1580156200031e57600080fd5b505af115801562000333573d6000803e3d6000fd5b505050506040518060e00160405280826001600160601b031681526020016200036162000f0560201b60201c565b6001600160601b03168152602001600a5b60ff908116825260006020808401829052604080850183905260016060808701829052825180850184528581526080978801526001600160601b03898116865260028086529584902089518154968b0151958b0151938b01519083166001600160c01b0319909716969096176c0100000000000000000000000095909216949094021761ffff60c01b1916600160c01b919096160260ff60c81b191694909417600160c81b921515929092029190911781559284015191830180546001600160a01b03199081166001600160a01b039485161790915560a085015191840180549091169190921617905560c08201516003820190620004729082620011df565b5050505050565b600b54604051630559ea4760e01b8152600260048201526000916001600160a01b031690630559ea4790602401602060405180830381865afa158015620004c4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004ea919062001120565b600b5460408051632e85b1f360e01b8152905192935083926000926001600160a01b031691632e85b1f39160048083019260209291908290030181865afa1580156200053a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000560919062001120565b8314620005ef576200057162000f0a565b600b5460408051632e85b1f360e01b81529051620005e7926001600160a01b031691632e85b1f39160048083019260209291908290030181865afa158015620005be573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005e4919062001120565b90565b90506200063f565b600b5460408051632cc7144960e11b815290516200063c926001600160a01b03169163598e28929160048083019260209291908290030181865afa158015620005be573d6000803e3d6000fd5b90505b600b546040516340c10f1960e01b81526001600160a01b03868116600483015260248201869052909116906340c10f1990604401600060405180830381600087803b1580156200068e57600080fd5b505af1158015620006a3573d6000803e3d6000fd5b505050506040518060e00160405280836001600160601b03168152602001826001600160601b03168152602001620006e06200107d60201b60201c565b60ff908116825260006020808401829052306040808601919091526001600160a01b038a8116606080880191909152825180850184528581526080978801526001600160601b03808b16865260028086529584902089518154968b0151958b0151938b01511515600160c81b0260ff60c81b1994909916600160c01b029390931661ffff60c01b199583166c01000000000000000000000000026001600160c01b03199097169390921692909217949094179290921692909217939093178355928401516001830180549185166001600160a01b031992831617905560a085015191830180549290941691161790915560c08201516003820190620007e69082620011df565b505030600090815260036020526040902080546001600160601b039094166001600160601b03199485168117909155600a80549094161790925550505050565b600b54604051630559ea4760e01b8152600360048201526000916001600160a01b031690630559ea4790602401602060405180830381865afa15801562000871573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000897919062001120565b9050600081600b546040516340c10f1960e01b81526001600160a01b038681166004830152602482018690529293509116906340c10f1990604401600060405180830381600087803b158015620008ed57600080fd5b505af115801562000902573d6000803e3d6000fd5b50506040805160e0810182526001600160601b03858116808352600a5482166020808501918252603c85870190815260006060870181815233608089019081526001600160a01b038f811660a08b019081528b518088018d5285815260c08c019081529885526002968790529a909320895181549751955193511515600160c81b0260ff60c81b1960ff909516600160c01b029490941661ffff60c01b19968b166c01000000000000000000000000026001600160c01b031990991691909a1617969096179390931696909617959095178355516001830180549186166001600160a01b0319928316179055955190820180549190941695169490941790915551909350909150600382019062000a1a9082620011df565b505033600090815260036020908152604080832080546001600160601b0319166001600160601b03871617905580518082018252600f81526e52656769737472795365727669636560881b81840152905190935062000a7c91849101620012ab565b60408051808303601f19018152828252805160209182012060008181526009909252918120632392b61b60e21b845260036004850152919350339273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90638e4ad86c90602401602060405180830381865af415801562000af4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000b1a9190620010fb565b60ff1681526020808201929092526040908101600090812080546001600160a01b0319166001600160a01b0395909516949094179093556001600160601b03861683526008909152902062000b708382620011df565b5050600a80546001600160601b039093166c0100000000000000000000000002600160601b600160c01b031990931692909217909155505050565b7f39c85350cb25aa1fda4cd5e9139db6eb90aeebc6c2b5bffd11d297ac50f9a32b805460ff19166001908117909155603c600090815260056020527f251d9ec284fd981039307083734139a5137ee1b6185374514892855fcbc5bd9d9062000c11602890565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060059062000c45604690565b60ff1660ff168152602001908152602001600020600062000c6b6200107d60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060059062000c9f606e90565b60ff1660ff168152602001908152602001600020600062000cc56200108260201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060059062000cf9607890565b60ff1660ff168152602001908152602001600020600062000d1f6200108260201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060059062000d53608290565b60ff1660ff168152602001908152602001600020600062000d796200108260201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060059062000dad608c90565b60ff1660ff168152602001908152602001600020600062000dd36200108260201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060069062000e0760d290565b60ff1660ff168152602001908152602001600020600062000e2d6200108760201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060069062000e6160dc90565b60ff1660ff168152602001908152602001600020600062000e876200108c60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060069062000ebb605090565b60ff1660ff168152602001908152602001600020600062000ee16200108c60201b60201c565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b600090565b600b5460408051632e85b1f360e01b815290516000926001600160a01b031691632e85b1f39160048083019260209291908290030181865afa15801562000f55573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000f7b919062001120565b600b546040516340c10f1960e01b815260016004820152602481018390529192506001600160a01b0316906340c10f1990604401600060405180830381600087803b15801562000fca57600080fd5b505af115801562000fdf573d6000803e3d6000fd5b50505050600062000ff682620005e460201b60201c565b90506040518060e00160405280826001600160601b031681526020016200106a600b60009054906101000a90046001600160a01b03166001600160a01b031663598e28926040518163ffffffff1660e01b8152600401602060405180830381865afa158015620005be573d6000803e3d6000fd5b6001600160601b03168152602001620003725b602890565b604690565b606e90565b608c90565b611e3d806200323383390190565b805160ff81168114620010b157600080fd5b919050565b60008060408385031215620010ca57600080fd5b82516001600160a01b0381168114620010e257600080fd5b9150620010f2602084016200109f565b90509250929050565b6000602082840312156200110e57600080fd5b62001119826200109f565b9392505050565b6000602082840312156200113357600080fd5b5051919050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200116557607f821691505b6020821081036200118657634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620011da57600081815260208120601f850160051c81016020861015620011b55750805b601f850160051c820191505b81811015620011d657828155600101620011c1565b5050505b505050565b81516001600160401b03811115620011fb57620011fb6200113a565b62001213816200120c845462001150565b846200118c565b602080601f8311600181146200124b5760008415620012325750858301515b600019600386901b1c1916600185901b178555620011d6565b600085815260208120601f198616915b828110156200127c578886015182559484019460019091019084016200125b565b50858210156200129b5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208083528351808285015260005b81811015620012da57858101830151858201604001528201620012bc565b506000604082860101526040601f19601f8301168501019250505092915050565b611f28806200130b6000396000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c8063a3bcd81d116100de578063c3c5a54711610097578063dd32047b11610071578063dd32047b146101ba578063e285c9c41461039e578063e74d052f146103a6578063feef0c9b146103b957600080fd5b8063c3c5a54714610359578063cde749f41461028d578063d272ac1e1461036c57600080fd5b8063a3bcd81d146102c0578063a48f42e0146102d3578063a5df9e4e146102e6578063b69b2e11146102f9578063bc36dc911461030c578063bfcdd7361461031d57600080fd5b806338e19a751161013057806338e19a751461022b5780633fe9300e14610245578063644c45e0146102685780637374162b1461028d578063893d20e8146102985780638b09a5f0146102a057600080fd5b806301ffc9a7146101785780630dab67c5146101ba57806314afd79e146101d05780631a848cfb146101fb5780632849697c1461020357806338bb429a14610218575b600080fd5b6101a561018636600461178d565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101c2600381565b6040519081526020016101b1565b6101e36101de3660046117e6565b6103cc565b6040516001600160a01b0390911681526020016101b1565b6101c26104e2565b610216610211366004611836565b610555565b005b6101e36102263660046118a1565b610956565b6102336109ac565b60405160ff90911681526020016101b1565b61025b6040518060200160405280600081525081565b6040516101b1919061190e565b600a546001600160601b03165b6040516001600160601b0390911681526020016101b1565b60015460ff16610233565b6101e3610a23565b6102b36102ae3660046117e6565b610a2e565b6040516101b19190611921565b6101e36102ce366004611a7a565b610b94565b6102b36102e13660046118a1565b610bea565b6102756102f4366004611b00565b610cbd565b61025b6103073660046118a1565b611285565b600b546001600160a01b03166101e3565b6101a561032b366004611bd3565b6001600160a01b0391909116600090815260076020908152604080832060ff94851684529091529020541690565b6101a56103673660046117e6565b611331565b61027561037a3660046117e6565b6001600160a01b03166000908152600360205260409020546001600160601b031690565b6101e3600181565b6101a56103b43660046118a1565b6113c8565b6102166103c7366004611c01565b611422565b600b546001600160a01b0382811660009081526003602052604080822054905163046e44af60e11b81526001600160601b03909116600482015290929190911690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e906024015b602060405180830381865af4158015610450573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104749190611c1e565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa1580156104b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104dc9190611c3b565b92915050565b600b54604080516318160ddd60e01b815290516000926001600160a01b0316916318160ddd9160048083019260209291908290030181865afa15801561052c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105509190611c58565b905090565b61055d610a23565b6001600160a01b0316336001600160a01b0316146105955760405163245aecd360e01b81523360048201526024015b60405180910390fd5b6001600160a01b038084166000908152600360208181526040808420546001600160601b0390811685526002808452828620835160e08101855281548085168252600160601b81049094169581019590955260ff600160c01b8404811694860194909452600160c81b909204909216151560608401526001810154861660808401529081015490941660a082015290830180549293919260c08401919061063b90611c71565b80601f016020809104026020016040519081016040528092919081815260200182805461066790611c71565b80156106b45780601f10610689576101008083540402835291602001916106b4565b820191906000526020600020905b81548152906001019060200180831161069757829003601f168201915b5050509190925250508151604051630a4d29dd60e31b81526001600160601b03909116600482015291925073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__916352694ee89150602401602060405180830381865af415801561071c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107409190611cab565b156107695760405163ddef98d760e01b81526001600160a01b038516600482015260240161058c565b6107858160400151610779603290565b60ff9081169116141590565b156107ad57604051629fd8a560e11b81526001600160a01b038516600482015260240161058c565b604051632b10f60d60e21b815260ff8416600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015610802573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108269190611c58565b600154604051632b10f60d60e21b815260ff909116600482015290915060009073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015610882573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a69190611c58565b905060038210806108b657508082115b156108d95760405163374a659160e21b815260ff8616600482015260240161058c565b6001600160a01b038616600081815260076020908152604080832060ff8a1680855290835292819020805460ff1916891515908117909155815194855291840192909252908201527f330dde7b71e0842a092329aeedc8f261bfaa3210e3743b743d0a147ab085e87f9060600160405180910390a1505050505050565b600b5460405163046e44af60e11b81526001600160601b03831660048201526000916001600160a01b031690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e90602401610433565b604051632392b61b60e21b81526003600482015260009073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90638e4ad86c90602401602060405180830381865af41580156109ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105509190611cc8565b6000610550306103cc565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160a01b038083166000908152600360208181526040808420546001600160601b039081168552600280845294829020825160e08101845281548084168252600160601b81049093169481019490945260ff600160c01b8304811693850193909352600160c81b909104909116151560608301526001810154851660808301529283015490931660a08401528101805460c084019190610b0b90611c71565b80601f0160208091040260200160405190810160405280929190818152602001828054610b3790611c71565b8015610b845780601f10610b5957610100808354040283529160200191610b84565b820191906000526020600020905b815481529060010190602001808311610b6757829003601f168201915b5050505050815250509050919050565b60008083604051602001610ba8919061190e565b60408051601f19818403018152918152815160209283012060009081526009835281812060ff871682529092529020546001600160a01b031691505092915050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160601b03808316600090815260026020818152604092839020835160e08101855281548087168252600160601b81049096169281019290925260ff600160c01b8604811694830194909452600160c81b9094049092161515606083015260018301546001600160a01b039081166080840152908301541660a082015260038201805491929160c084019190610b0b90611c71565b600a54600160601b90046001600160601b03166000908152600260205260408120600101546001600160a01b03163314610d0a576040516395d3b24b60e01b815260040160405180910390fd5b6040808301516020808501516001600160601b0380821660009081526002808552868220875160e08101895281548086168252600160601b81049095169681019690965260ff600160c01b8504811698870198909852600160c81b9093049096161515606085015260018201546001600160a01b0390811660808601529582015490951660a08401526003810180549495929492939260c084019190610daf90611c71565b80601f0160208091040260200160405190810160405280929190818152602001828054610ddb90611c71565b8015610e285780601f10610dfd57610100808354040283529160200191610e28565b820191906000526020600020905b815481529060010190602001808311610e0b57829003601f168201915b5050509190925250505060408101516080820151919250906001600160a01b038116610e675760405163b0014c0760e01b815260040160405180910390fd5b6000610e81886060015189608001518660600151856115ea565b600b5460a08a01516040805160208101825260008082529151631109bad360e11b815294955090936001600160a01b039093169263221375a692610ecc929091879190600401611ce5565b6020604051808303816000875af1158015610eeb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f0f9190611c58565b90508097508789600001906001600160601b031690816001600160601b03168152505088600260008a6001600160601b03166001600160601b0316815260200190815260200160002060008201518160000160006101000a8154816001600160601b0302191690836001600160601b03160217905550602082015181600001600c6101000a8154816001600160601b0302191690836001600160601b0316021790555060408201518160000160186101000a81548160ff021916908360ff16021790555060608201518160000160196101000a81548160ff02191690831515021790555060808201518160010160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060a08201518160020160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060c08201518160030190816110629190611d69565b50505060808901516001600160a01b0316156111f05760ff80881660009081526005602090815260408083208885168452909152812054909116151590036110ca57604051638880f20760e01b815260ff80891660048301528516602482015260440161058c565b60808901516001600160a01b038116600090815260036020526040908190205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611142573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111669190611cab565b1561118f5760405163fdcce17f60e01b81526001600160a01b038216600482015260240161058c565b6001600160a01b038116600090815260036020526040902080546bffffffffffffffffffffffff19166001600160601b038b161790556111dc886111d1603c90565b60ff90811691161490565b156111ea576111ea8a611628565b50611242565b60ff808816600090815260066020908152604080832088851684529091528120549091161515900361124257604051638880f20760e01b815260ff80891660048301528516602482015260440161058c565b7fd4d9275b28cfa17c18d3f5e6e1fcb0b668c04b3671eb181fee4cbd5c898a9c83896040516112719190611921565b60405180910390a150505050505050919050565b6001600160601b03811660009081526008602052604090208054606091906112ac90611c71565b80601f01602080910402602001604051908101604052809291908181526020018280546112d890611c71565b80156113255780601f106112fa57610100808354040283529160200191611325565b820191906000526020600020905b81548152906001019060200180831161130857829003601f168201915b50505050509050919050565b6001600160a01b0381166000908152600360205260408082205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f906024015b602060405180830381865af41580156113a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104dc9190611cab565b6001600160601b03811660009081526002602052604080822054905163b2466acf60e01b8152600160c01b90910460ff16600482015273__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401611387565b61142a610a23565b6001600160a01b0316336001600160a01b03161461145d5760405163245aecd360e01b815233600482015260240161058c565b600154604051632b10f60d60e21b815260ff909116600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af41580156114b6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114da9190611c58565b604051632b10f60d60e21b815260ff8416600482015290915060009073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015611532573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115569190611c58565b90508181111580611571575061156c8282611e29565b600114155b156115a057600154604051633988b95f60e11b815260ff8086166004830152909116602482015260440161058c565b6001805460ff191660ff85169081179091556040519081527fa1ca780f1d8fd7049ee7b71b43f24fd6cf67a1bd3f6144f9f54a14862786ddc19060200160405180910390a1505050565b60006001600160a01b03841661160f578215611607575080611620565b506000611620565b841561161c575082611620565b5060005b949350505050565b6000808260c001518060200190518101906116439190611e4a565b9150915060008260405160200161165a919061190e565b60408051808303601f19018152919052805160209091012060015490915060ff8084169116146116a25760405163124574bd60e01b815260ff8316600482015260240161058c565b600081815260096020908152604080832060ff861684529091529020546001600160a01b0316156116ea5782826040516361b38f9b60e01b815260040161058c929190611ecd565b83516001600160601b0316600090815260086020526040902061170d8482611d69565b506080840151600082815260096020908152604080832060ff871684529091529081902080546001600160a01b0319166001600160a01b0390931692909217909155517f61a7c276e668b50bec61296f0af36680712490afcfd5df73ff24b8c8a3c33f889061177f9085908590611ecd565b60405180910390a150505050565b60006020828403121561179f57600080fd5b81356001600160e01b0319811681146117b757600080fd5b9392505050565b6001600160a01b03811681146117d357600080fd5b50565b80356117e1816117be565b919050565b6000602082840312156117f857600080fd5b81356117b7816117be565b60ff811681146117d357600080fd5b80356117e181611803565b80151581146117d357600080fd5b80356117e18161181d565b60008060006060848603121561184b57600080fd5b8335611856816117be565b9250602084013561186681611803565b915060408401356118768161181d565b809150509250925092565b6001600160601b03811681146117d357600080fd5b80356117e181611881565b6000602082840312156118b357600080fd5b81356117b781611881565b60005b838110156118d95781810151838201526020016118c1565b50506000910152565b600081518084526118fa8160208601602086016118be565b601f01601f19169290920160200192915050565b6020815260006117b760208301846118e2565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161198a60c08401826001600160a01b03169052565b5060c083015160e0808401526116206101008401826118e2565b634e487b7160e01b600052604160045260246000fd5b60405160e0810167ffffffffffffffff811182821017156119dd576119dd6119a4565b60405290565b604051601f8201601f1916810167ffffffffffffffff81118282101715611a0c57611a0c6119a4565b604052919050565b600067ffffffffffffffff821115611a2e57611a2e6119a4565b50601f01601f191660200190565b6000611a4f611a4a84611a14565b6119e3565b9050828152838383011115611a6357600080fd5b828260208301376000602084830101529392505050565b60008060408385031215611a8d57600080fd5b823567ffffffffffffffff811115611aa457600080fd5b8301601f81018513611ab557600080fd5b611ac485823560208401611a3c565b9250506020830135611ad581611803565b809150509250929050565b600082601f830112611af157600080fd5b6117b783833560208501611a3c565b600060208284031215611b1257600080fd5b813567ffffffffffffffff80821115611b2a57600080fd5b9083019060e08286031215611b3e57600080fd5b611b466119ba565b611b4f83611896565b8152611b5d60208401611896565b6020820152611b6e60408401611812565b6040820152611b7f6060840161182b565b6060820152611b90608084016117d6565b6080820152611ba160a084016117d6565b60a082015260c083013582811115611bb857600080fd5b611bc487828601611ae0565b60c08301525095945050505050565b60008060408385031215611be657600080fd5b8235611bf1816117be565b91506020830135611ad581611803565b600060208284031215611c1357600080fd5b81356117b781611803565b600060208284031215611c3057600080fd5b81516117b781611881565b600060208284031215611c4d57600080fd5b81516117b7816117be565b600060208284031215611c6a57600080fd5b5051919050565b600181811c90821680611c8557607f821691505b602082108103611ca557634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215611cbd57600080fd5b81516117b78161181d565b600060208284031215611cda57600080fd5b81516117b781611803565b6001600160a01b03848116825283166020820152606060408201819052600090611d11908301846118e2565b95945050505050565b601f821115611d6457600081815260208120601f850160051c81016020861015611d415750805b601f850160051c820191505b81811015611d6057828155600101611d4d565b5050505b505050565b815167ffffffffffffffff811115611d8357611d836119a4565b611d9781611d918454611c71565b84611d1a565b602080601f831160018114611dcc5760008415611db45750858301515b600019600386901b1c1916600185901b178555611d60565b600085815260208120601f198616915b82811015611dfb57888601518255948401946001909101908401611ddc565b5085821015611e195787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b818103818111156104dc57634e487b7160e01b600052601160045260246000fd5b60008060408385031215611e5d57600080fd5b825167ffffffffffffffff811115611e7457600080fd5b8301601f81018513611e8557600080fd5b8051611e93611a4a82611a14565b818152866020838501011115611ea857600080fd5b611eb98260208301602086016118be565b8094505050506020830151611ad581611803565b604081526000611ee060408301856118e2565b905060ff83166020830152939250505056fea2646970667358221220ab6e4a33a49846a049bf90c26601d9e2d8ecef13aaff9af6b86637a322faf78864736f6c6343000814003360806040523480156200001157600080fd5b5060405162001e3d38038062001e3d83398101604081905262000034916200012e565b60405180606001604052806024815260200162001e196024913960408051808201909152600681526511125413919560d21b6020820152600062000079838262000205565b50600162000088828262000205565b5050506001600160a01b038116620000b357604051630ae1413f60e11b815260040160405180910390fd5b600c80546001600160a01b0319166001600160a01b03831617905546600d8190556000600e555b80156200010e57600e8054906000620000f383620002e7565b90915550620001069050600a8262000303565b9050620000da565b600e546200011e90600a62000425565b600f555050600460105562000433565b6000602082840312156200014157600080fd5b81516001600160a01b03811681146200015957600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200018b57607f821691505b602082108103620001ac57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200020057600081815260208120601f850160051c81016020861015620001db5750805b601f850160051c820191505b81811015620001fc57828155600101620001e7565b5050505b505050565b81516001600160401b0381111562000221576200022162000160565b620002398162000232845462000176565b84620001b2565b602080601f831160018114620002715760008415620002585750858301515b600019600386901b1c1916600185901b178555620001fc565b600085815260208120601f198616915b82811015620002a25788860151825594840194600190910190840162000281565b5085821015620002c15787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600060018201620002fc57620002fc620002d1565b5060010190565b6000826200032157634e487b7160e01b600052601260045260246000fd5b500490565b600181815b80851115620003675781600019048211156200034b576200034b620002d1565b808516156200035957918102915b93841c93908002906200032b565b509250929050565b60008262000380575060016200041f565b816200038f575060006200041f565b8160018114620003a85760028114620003b357620003d3565b60019150506200041f565b60ff841115620003c757620003c7620002d1565b50506001821b6200041f565b5060208310610133831016604e8410600b8410161715620003f8575081810a6200041f565b62000404838362000326565b80600019048211156200041b576200041b620002d1565b0290505b92915050565b60006200015983836200036f565b6119d680620004436000396000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c80634f558e7911610104578063a22cb465116100a2578063c87b56dd11610071578063c87b56dd146103dc578063e985e9c5146103ef578063f21de1e814610402578063f76f8d781461041357600080fd5b8063a22cb465146103a6578063a2309ff8146103b9578063a3f4df7e146103c1578063b88d4fde146103c957600080fd5b80636352211e116100de5780636352211e1461036557806370a0823114610378578063862440e21461038b57806395d89b411461039e57600080fd5b80634f558e791461031e5780634f6ccce714610349578063598e28921461035c57600080fd5b806323b872dd11610171578063342ec4431161014b578063342ec443146102bc57806340c10f19146102e557806342842e0e146102f857806342966c681461030b57600080fd5b806323b872dd1461028d5780632e85b1f3146102a05780632f745c59146102a957600080fd5b8063081812fc116101ad578063081812fc14610232578063095ea7b31461025d57806318160ddd14610272578063221375a61461027a57600080fd5b806301ffc9a7146101d45780630559ea47146101fc57806306fdde031461021d575b600080fd5b6101e76101e23660046113da565b610438565b60405190151581526020015b60405180910390f35b61020f61020a3660046113f7565b610463565b6040519081526020016101f3565b610225610498565b6040516101f39190611456565b6102456102403660046113f7565b61052a565b6040516001600160a01b0390911681526020016101f3565b61027061026b366004611485565b610553565b005b60085461020f565b61020f61028836600461155b565b610562565b61027061029b3660046115b9565b61061f565b61020f61083581565b61020f6102b7366004611485565b6106c8565b6102456102ca3660046113f7565b6000908152600a60205260409020546001600160a01b031690565b6102706102f3366004611485565b61072d565b6102706103063660046115b9565b610779565b6102706103193660046113f7565b610794565b6101e761032c3660046113f7565b6000908152600260205260409020546001600160a01b0316151590565b61020f6103573660046113f7565b6107ee565b61020f61044d81565b6102456103733660046113f7565b610847565b61020f6103863660046115f5565b610852565b610270610399366004611610565b61089a565b610225610945565b6102706103b4366004611657565b610954565b60115461020f565b61022561095f565b6102706103d7366004611693565b61097b565b6102256103ea3660046113f7565b610998565b6101e76103fd36600461170f565b610a42565b600c546001600160a01b0316610245565b6102256040518060400160405280600681526020016511125413919560d21b81525081565b60006001600160e01b0319821663780e9d6360e01b148061045d575061045d82610a70565b92915050565b6000600e54600d54600f54846104799190611758565b610483919061176f565b61048e906064611758565b61045d919061176f565b6060600080546104a790611782565b80601f01602080910402602001604051908101604052809291908181526020018280546104d390611782565b80156105205780601f106104f557610100808354040283529160200191610520565b820191906000526020600020905b81548152906001019060200180831161050357829003601f168201915b5050505050905090565b600061053582610ac0565b506000828152600460205260409020546001600160a01b031661045d565b61055e828233610af9565b5050565b600c546000906001600160a01b03163314610597576040516399c6cd7160e01b81523360048201526024015b60405180910390fd5b61059f610b06565b90506001600160a01b038316156105d8576000818152600a6020526040902080546001600160a01b0319166001600160a01b0385161790555b8151156105f9576000818152600b602052604090206105f7838261180a565b505b60118054906000610609836118ca565b91905055506106188482610b2d565b9392505050565b61062a838383610b47565b6000818152600a60205260409020546001600160a01b0316156106c3576000818152600a6020526040908190205490516373fbfdc360e11b81526001600160a01b0385811660048301528481166024830152604482018490529091169063e7f7fb8690606401600060405180830381600087803b1580156106aa57600080fd5b505af11580156106be573d6000803e3d6000fd5b505050505b505050565b60006106d383610852565b82106107045760405163295f44f760e21b81526001600160a01b03841660048201526024810183905260440161058e565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600c546001600160a01b0316331461075a576040516399c6cd7160e01b815233600482015260240161058e565b6011805490600061076a836118ca565b919050555061055e8282610b2d565b6106c38383836040518060200160405280600081525061097b565b600c546001600160a01b031633146107c1576040516399c6cd7160e01b815233600482015260240161058e565b6107ca81610ac0565b506107d481610bcc565b6000818152600b602052604081206107eb91611376565b50565b60006107f960085490565b82106108225760405163295f44f760e21b8152600060048201526024810183905260440161058e565b60088281548110610835576108356118e3565b90600052602060002001549050919050565b600061045d82610ac0565b60006001600160a01b03821661087e576040516322718ad960e21b81526000600482015260240161058e565b506001600160a01b031660009081526003602052604090205490565b600c546001600160a01b031633146108c7576040516399c6cd7160e01b815233600482015260240161058e565b80516000036108e957604051638e45096160e01b815260040160405180910390fd5b6000828152600b60205260408120805461090290611782565b905011156109235760405163303822c760e21b815260040160405180910390fd5b61092c82610ac0565b506000828152600b602052604090206106c3828261180a565b6060600180546104a790611782565b61055e338383610c07565b60405180606001604052806024815260200161197d6024913981565b61098684848461061f565b61099284848484610ca6565b50505050565b60606109a382610ac0565b506000828152600b6020526040902080546109bd90611782565b80601f01602080910402602001604051908101604052809291908181526020018280546109e990611782565b8015610a365780601f10610a0b57610100808354040283529160200191610a36565b820191906000526020600020905b815481529060010190602001808311610a1957829003601f168201915b50505050509050919050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60006001600160e01b031982166380ac58cd60e01b1480610aa157506001600160e01b03198216635b5e139f60e01b145b8061045d57506301ffc9a760e01b6001600160e01b031983161461045d565b6000818152600260205260408120546001600160a01b03168061045d57604051637e27328960e01b81526004810184905260240161058e565b6106c38383836001610dcf565b6000610b13601054610463565b601080549192506000610b25836118ca565b919050555090565b61055e828260405180602001604052806000815250610ed5565b6001600160a01b038216610b7157604051633250574960e11b81526000600482015260240161058e565b6000610b7e838333610eec565b9050836001600160a01b0316816001600160a01b031614610992576040516364283d7b60e01b81526001600160a01b038086166004830152602482018490528216604482015260640161058e565b6000610bdb6000836000610eec565b90506001600160a01b03811661055e57604051637e27328960e01b81526004810183905260240161058e565b6001600160a01b038216610c3957604051630b61174360e31b81526001600160a01b038316600482015260240161058e565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0383163b1561099257604051630a85bd0160e11b81526001600160a01b0384169063150b7a0290610ce89033908890879087906004016118f9565b6020604051808303816000875af1925050508015610d23575060408051601f3d908101601f19168201909252610d2091810190611936565b60015b610d8c573d808015610d51576040519150601f19603f3d011682016040523d82523d6000602084013e610d56565b606091505b508051600003610d8457604051633250574960e11b81526001600160a01b038516600482015260240161058e565b805181602001fd5b6001600160e01b03198116630a85bd0160e11b14610dc857604051633250574960e11b81526001600160a01b038516600482015260240161058e565b5050505050565b8080610de357506001600160a01b03821615155b15610ea5576000610df384610ac0565b90506001600160a01b03831615801590610e1f5750826001600160a01b0316816001600160a01b031614155b8015610e325750610e308184610a42565b155b15610e5b5760405163a9fbf51f60e01b81526001600160a01b038416600482015260240161058e565b8115610ea35783856001600160a01b0316826001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b5050600090815260046020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b610edf8383610fc1565b6106c36000848484610ca6565b600080610efa858585611026565b90506001600160a01b038116610f5757610f5284600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b610f7a565b846001600160a01b0316816001600160a01b031614610f7a57610f7a818561111f565b6001600160a01b038516610f9657610f91846111b0565b610fb9565b846001600160a01b0316816001600160a01b031614610fb957610fb9858561125f565b949350505050565b6001600160a01b038216610feb57604051633250574960e11b81526000600482015260240161058e565b6000610ff983836000610eec565b90506001600160a01b038116156106c3576040516339e3563760e11b81526000600482015260240161058e565b6000828152600260205260408120546001600160a01b0390811690831615611053576110538184866112af565b6001600160a01b0381161561109157611070600085600080610dcf565b6001600160a01b038116600090815260036020526040902080546000190190555b6001600160a01b038516156110c0576001600160a01b0385166000908152600360205260409020805460010190555b60008481526002602052604080822080546001600160a01b0319166001600160a01b0389811691821790925591518793918516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4949350505050565b600061112a83610852565b60008381526007602052604090205490915080821461117d576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906111c290600190611953565b600083815260096020526040812054600880549394509092849081106111ea576111ea6118e3565b90600052602060002001549050806008838154811061120b5761120b6118e3565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061124357611243611966565b6001900381819060005260206000200160009055905550505050565b6000600161126c84610852565b6112769190611953565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6112ba838383611313565b6106c3576001600160a01b0383166112e857604051637e27328960e01b81526004810182905260240161058e565b60405163177e802f60e01b81526001600160a01b03831660048201526024810182905260440161058e565b60006001600160a01b03831615801590610fb95750826001600160a01b0316846001600160a01b0316148061134d575061134d8484610a42565b80610fb95750506000908152600460205260409020546001600160a01b03908116911614919050565b50805461138290611782565b6000825580601f10611392575050565b601f0160209004906000526020600020908101906107eb91905b808211156113c057600081556001016113ac565b5090565b6001600160e01b0319811681146107eb57600080fd5b6000602082840312156113ec57600080fd5b8135610618816113c4565b60006020828403121561140957600080fd5b5035919050565b6000815180845260005b818110156114365760208185018101518683018201520161141a565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006106186020830184611410565b80356001600160a01b038116811461148057600080fd5b919050565b6000806040838503121561149857600080fd5b6114a183611469565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156114e0576114e06114af565b604051601f8501601f19908116603f01168101908282118183101715611508576115086114af565b8160405280935085815286868601111561152157600080fd5b858560208301376000602087830101525050509392505050565b600082601f83011261154c57600080fd5b610618838335602085016114c5565b60008060006060848603121561157057600080fd5b61157984611469565b925061158760208501611469565b9150604084013567ffffffffffffffff8111156115a357600080fd5b6115af8682870161153b565b9150509250925092565b6000806000606084860312156115ce57600080fd5b6115d784611469565b92506115e560208501611469565b9150604084013590509250925092565b60006020828403121561160757600080fd5b61061882611469565b6000806040838503121561162357600080fd5b82359150602083013567ffffffffffffffff81111561164157600080fd5b61164d8582860161153b565b9150509250929050565b6000806040838503121561166a57600080fd5b61167383611469565b91506020830135801515811461168857600080fd5b809150509250929050565b600080600080608085870312156116a957600080fd5b6116b285611469565b93506116c060208601611469565b925060408501359150606085013567ffffffffffffffff8111156116e357600080fd5b8501601f810187136116f457600080fd5b611703878235602084016114c5565b91505092959194509250565b6000806040838503121561172257600080fd5b61172b83611469565b915061173960208401611469565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761045d5761045d611742565b8082018082111561045d5761045d611742565b600181811c9082168061179657607f821691505b6020821081036117b657634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156106c357600081815260208120601f850160051c810160208610156117e35750805b601f850160051c820191505b81811015611802578281556001016117ef565b505050505050565b815167ffffffffffffffff811115611824576118246114af565b611838816118328454611782565b846117bc565b602080601f83116001811461186d57600084156118555750858301515b600019600386901b1c1916600185901b178555611802565b600085815260208120601f198616915b8281101561189c5788860151825594840194600190910190840161187d565b50858210156118ba5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000600182016118dc576118dc611742565b5060010190565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061192c90830184611410565b9695505050505050565b60006020828403121561194857600080fd5b8151610618816113c4565b8181038181111561045d5761045d611742565b634e487b7160e01b600052603160045260246000fdfe44657a656e7472616c697a656420496e737572616e63652050726f746f636f6c204e4654a2646970667358221220c02111bfc1745238d5ed0c2884c130c5bf93d8ad7a5e25aae3575fdca7d43f7564736f6c6343000814003344657a656e7472616c697a656420496e737572616e63652050726f746f636f6c204e465460806040523480156200001157600080fd5b50620000546301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600280546001600160a01b031916331790556200007062000076565b6200012a565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000c75760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620001275780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6130b3806200013a6000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c8063893d20e811610104578063b88da759116100a2578063cf7a1d7711610071578063cf7a1d77146105a6578063e285c9c4146105b9578063ed841d0c146105c1578063fdd9ec7d146105c957600080fd5b8063b88da7591461055e578063bf7e214f14610571578063c2bf08c814610579578063cde749f41461058c57600080fd5b8063946dfcfe116100de578063946dfcfe146104d6578063a3f4df7e146104fd578063a745e3df1461052b578063b3c650151461053e57600080fd5b8063893d20e8146104a65780638fb36037146104ae5780638fbc2d81146104c357600080fd5b80634f4213331161017c578063644c45e01161014b578063644c45e0146104555780637286e5e51461046d5780637a9e5e4b14610480578063834af1531461049357600080fd5b80634f421333146103df5780635ab1bd53146103f25780635c992fed146104175780635d9662891461044257600080fd5b8063138461e0116101b8578063138461e01461025357806317d7de7c1461025d5780631eff4b22146102915780634d459c90146102c657600080fd5b806301ffc9a7146101df5780630d8e6e2c146102215780630fec111c1461023d575b600080fd5b61020c6101ed36600461260f565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102296105dc565b60405162ffffff9091168152602001610218565b610245610666565b604051610218929190612702565b61025b6107b9565b005b60408051808201909152600f81526e52656769737472795365727669636560881b60208201525b6040516102189190612730565b6102b87f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610218565b6103826102d4366004612754565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915260008051602061305e83398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610218565b61020c6103ed366004612754565b6109db565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610218565b61042a6104253660046128d4565b610a8e565b6040516001600160601b039091168152602001610218565b6102456104503660046129a6565b610b91565b600154600160a01b90046001600160601b031661042a565b61024561047b3660046129a6565b610d96565b61025b61048e3660046129df565b610e45565b6102456104a13660046129df565b610ecc565b6103ff611054565b6104b661116d565b60405161021891906129fc565b6102456104d13660046129a6565b6111a6565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102b8565b6102846040518060400160405280600f81526020016e52656769737472795365727669636560881b81525081565b61025b610539366004612a11565b611255565b6105466113af565b6040516001600160401b039091168152602001610218565b61022961056c366004612a72565b6113d0565b6103ff611421565b61042a6105873660046128d4565b61143d565b6105946114c2565b60405160ff9091168152602001610218565b61025b6105b4366004612a11565b611545565b6103ff600181565b6102b8600081565b6102456105d73660046129df565b61164e565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561063d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106619190612a8b565b905090565b61066e6125d1565b606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806106ba6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610702611054565b6001600160a01b0316815260200182600101805461071f90612aa8565b80601f016020809104026020016040519081016040528092919081815260200182805461074b90612aa8565b80156107985780601f1061076d57610100808354040283529160200191610798565b820191906000526020600020905b81548152906001019060200180831161077b57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561081b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061083f9190612aed565b15610886576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166108af5760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa1580156108f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061091c9190612aed565b610944576040516372657a5160e01b81526001600160a01b038216600482015260240161087d565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa15801561098e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109b29190612b15565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b60008060008051602061305e83398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610a63573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a879190612b32565b1192915050565b6000610a9d335b6000366116f5565b600154604051636939560f60e11b81523360048201526000916001600160a01b03169063d272ac1e90602401602060405180830381865afa158015610ae6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b0a9190612b15565b9050610b178360d26117fb565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610b47908690600401612b4b565b6020604051808303816000875af1158015610b66573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b8a9190612b15565b9392505050565b610b996125d1565b6060610ba433610a95565b6040516301ffc9a760e01b81526001600160a01b038516906301ffc9a790610bd790633ad74e8160e01b906004016129fc565b602060405180830381865afa158015610bf4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c189190612aed565b610c3557604051637a71998760e01b815260040160405180910390fd5b610c4284606e5b856118f8565b600154604051636939560f60e11b81523360048201529294509092506000916001600160a01b039091169063d272ac1e90602401602060405180830381865afa158015610c93573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cb79190612b15565b6001546040516352efcf2760e11b81529192506001600160a01b03169063a5df9e4e90610ce8908690600401612b4b565b6020604051808303816000875af1158015610d07573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d2b9190612b15565b6001600160601b0316835260408051629c230f60e51b815290516001600160a01b0387169163138461e091600480830192600092919082900301818387803b158015610d7657600080fd5b505af1158015610d8a573d6000803e3d6000fd5b50505050509250929050565b610d9e6125d1565b6060610da933610a95565b6040516301ffc9a760e01b81526001600160a01b038516906301ffc9a790610ddc90632d744d3360e11b906004016129fc565b602060405180830381865afa158015610df9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e1d9190612aed565b610e3a57604051636f61f64160e01b815260040160405180910390fd5b610c4284608c610c3c565b33610e4e611421565b6001600160a01b0316816001600160a01b031614610e895760405162d1953b60e31b81526001600160a01b038216600482015260240161087d565b816001600160a01b03163b600003610ebf576040516361798f2f60e11b81526001600160a01b038316600482015260240161087d565b610ec882611afe565b5050565b610ed46125d1565b6040516301ffc9a760e01b81526060906001600160a01b038416906301ffc9a790610f0a90639f07a2f160e01b906004016129fc565b602060405180830381865afa158015610f27573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f4b9190612aed565b610f6857604051636795c76360e01b815260040160405180910390fd5b610f758360465b336118f8565b6001546040516352efcf2760e11b81529294509092506001600160a01b03169063a5df9e4e90610fa9908590600401612b4b565b6020604051808303816000875af1158015610fc8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fec9190612b15565b6001600160601b0316825260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192600092919082900301818387803b15801561103757600080fd5b505af115801561104b573d6000803e3d6000fd5b50505050915091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156110b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110dd9190612aed565b1561115d57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015611139573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106619190612b69565b506002546001600160a01b031690565b60008051602061301e833981519152805460009190600160a01b900460ff166111975760006111a0565b638fb3603760e01b5b91505090565b6111ae6125d1565b60606111b933610a95565b6040516301ffc9a760e01b81526001600160a01b038516906301ffc9a7906111ec9063c8ea96c560e01b906004016129fc565b602060405180830381865afa158015611209573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061122d9190612aed565b61124a576040516308707e3160e41b815260040160405180910390fd5b610c42846078610c3c565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6112776105dc565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156112b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112db9190612b86565b60008051602061303e8339815191528054600160401b900460ff168061130e575080546001600160401b03808416911610155b1561132c5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556113578585611b5f565b61136083611dfe565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b600061066160008051602061303e833981519152546001600160401b031690565b600060008051602061305e83398151915260010182815481106113f5576113f5612baf565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b60008051602061301e833981519152546001600160a01b031690565b600061144833610a95565b600154604051636939560f60e11b81523360048201526000916001600160a01b03169063d272ac1e90602401602060405180830381865afa158015611491573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114b59190612b15565b9050610b178360dc6117fb565b60006114cc6105dc565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611521573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106619190612bd0565b60008051602061303e8339815191528054600160401b810460ff1615906001600160401b03166000811580156115785750825b90506000826001600160401b031660011480156115945750303b155b9050811580156115a2575080155b156115c05760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156115ea57845460ff60401b1916600160401b1785555b6115f48888611b5f565b6115fe8787611e06565b831561164457845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6116566125d1565b6040516301ffc9a760e01b81526060906001600160a01b038416906301ffc9a79061168c90631b4612f160e31b906004016129fc565b602060405180830381865afa1580156116a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116cd9190612aed565b6116ea57604051635458064d60e11b815260040160405180910390fd5b610f7583603c610f6f565b60008051602061301e833981519152600080611730611712611421565b8730611722600460008a8c612bed565b61172b91612c17565b6120f3565b91509150816117f35763ffffffff8116156117d057825460ff60a01b1916600160a01b17835561175e611421565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161178d93929190612c47565b600060405180830381600087803b1580156117a757600080fd5b505af11580156117bb573d6000803e3d6000fd5b5050845460ff60a01b19168555506117f39050565b60405162d1953b60e31b81526001600160a01b038716600482015260240161087d565b505050505050565b60808201516001600160a01b031615611838576080820151604051634726455360e11b81526001600160a01b03909116600482015260240161087d565b6001546001600160a01b031660a083015160405163c3c5a54760e01b81526001600160a01b03918216600482015291169063c3c5a54790602401602060405180830381865afa15801561188f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118b39190612aed565b806118c9575060a08201516001600160a01b0316155b15610ec85760a082015160405163711c133360e01b81526001600160a01b03909116600482015260240161087d565b6119006125d1565b6060846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611940573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526119689190810190612ccc565b6001600160a01b03871660808301526040820151919350915060ff8581169116146119b9576040808301519051632208245760e11b815260ff8087166004830152909116602482015260440161087d565b60a082015160ff8516604614611a0657836001600160a01b0316816001600160a01b031614611a065760405163dfc430cb60e01b81526001600160a01b038516600482015260240161087d565b856001600160a01b0316816001600160a01b031603611a38576040516317faf4db60e11b815260040160405180910390fd5b6001600160a01b038116611a5f57604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611ab3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ad79190612aed565b15611af557604051637142ceb360e11b815260040160405180910390fd5b50935093915050565b60008051602061301e83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611b676121ff565b60008051602061305e8339815191526000611b9760008051602061303e833981519152546001600160401b031690565b90506000611ba36105dc565b9050816001600160401b0316600103611bd05760028301805462ffffff191662ffffff8316179055611c1e565b600283015462ffffff90811690821611611c1e5760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b604482015260640161087d565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015611cd2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cf69190612dc4565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf68906113a09083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101da6121ff565b60008051602061303e8339815191528054600160401b810460ff1615906001600160401b0316600081158015611e395750825b90506000826001600160401b03166001148015611e555750303b155b905081158015611e63575080155b15611e815760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611eab57845460ff60401b1916600160401b1785555b60008087806020019051810190611ec29190612deb565b91509150611ecf82612238565b600089611eda6114c2565b604080516001600160a01b03909316602084015260ff9091169082015260600160408051601f1981840301815290829052631585e94960e21b8252915060009073__$b2e3f5fb9dc49bcf3e057142c7696ab68d$__90635617a52490611f469086908690600401612e31565b600060405180830381865af4158015611f63573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611f8b9190810190612e44565b60405163257b1f8160e11b815290915060009073__$b2e3f5fb9dc49bcf3e057142c7696ab68d$__90634af63f0290611fca9085908590600401612e78565b602060405180830381865af4158015611fe7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061200b9190612b69565b604051636939560f60e11b81526001600160a01b038216600482018190529192506000919063d272ac1e90602401602060405180830381865afa158015612056573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061207a9190612b15565b9050612086828e61224c565b61208e6107b9565b61209e63200cc87360e11b6122d9565b50505050505083156120ea57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516121629190612e9a565b600060405180830381855afa9150503d806000811461219d576040519150601f19603f3d011682016040523d82523d6000602084013e6121a2565b606091505b509150915081156121f45760408151106121d457808060200190518101906121ca9190612eb6565b90945092506121f4565b60208151106121f457808060200190518101906121f19190612aed565b93505b505094509492505050565b60008051602061303e83398151915254600160401b900460ff1661223657604051631afcd79f60e31b815260040160405180910390fd5b565b6122406121ff565b612249816122fe565b50565b600061227a60408051808201909152600f81526e52656769737472795365727669636560881b602082015290565b6122826114c2565b604051602001612293929190612eee565b604051602081830303815290604052905060006122af8461230f565b905060006122c28583603c848888612380565b6122d2631b4612f160e31b6122d9565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6123066121ff565b61224981611afe565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015612356573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061237a9190612b15565b92915050565b6123c16301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6123cb828761244c565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b8615150217815590506001810161243b8382612f5e565b506120ea6303fb044760e21b6122d9565b600280546001600160a01b0319166001600160a01b038416179055610ec8816001546001600160a01b0316156124a45760015460405163fcdbf2d960e01b81526001600160a01b03909116600482015260240161087d565b6001600160a01b0381166124cb5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036125015760405163fdeac91f60e01b81526001600160a01b038216600482015260240161087d565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526301ffc9a7906125479063e14a543960e01b906004016129fc565b602060405180830381865afa925050508015612580575060408051601f3d908101601f1916820190925261257d91810190612aed565b60015b6125a85760405163fdeac91f60e01b81526001600160a01b038216600482015260240161087d565b80610ec85760405163fdeac91f60e01b81526001600160a01b038316600482015260240161087d565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60006020828403121561262157600080fd5b81356001600160e01b031981168114610b8a57600080fd5b60005b8381101561265457818101518382015260200161263c565b50506000910152565b60008151808452612675816020860160208601612639565b601f01601f19169290920160200192915050565b60006001600160601b038083511684528060208401511660208501525060ff6040830151166040840152606082015115156060840152608082015160018060a01b0380821660808601528060a08501511660a0860152505060c082015160e060c08501526126fa60e085018261265d565b949350505050565b6040815260006127156040830185612689565b8281036020840152612727818561265d565b95945050505050565b602081526000610b8a602083018461265d565b62ffffff8116811461224957600080fd5b60006020828403121561276657600080fd5b8135610b8a81612743565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156127a9576127a9612771565b60405290565b604051601f8201601f191681016001600160401b03811182821017156127d7576127d7612771565b604052919050565b6001600160601b038116811461224957600080fd5b80356127ff816127df565b919050565b60ff8116811461224957600080fd5b80356127ff81612804565b801515811461224957600080fd5b80356127ff8161281e565b6001600160a01b038116811461224957600080fd5b80356127ff81612837565b60006001600160401b0382111561287057612870612771565b50601f01601f191660200190565b600082601f83011261288f57600080fd5b81356128a261289d82612857565b6127af565b8181528460208386010111156128b757600080fd5b816020850160208301376000918101602001919091529392505050565b6000602082840312156128e657600080fd5b81356001600160401b03808211156128fd57600080fd5b9083019060e0828603121561291157600080fd5b612919612787565b612922836127f4565b8152612930602084016127f4565b602082015261294160408401612813565b60408201526129526060840161282c565b60608201526129636080840161284c565b608082015261297460a0840161284c565b60a082015260c08301358281111561298b57600080fd5b6129978782860161287e565b60c08301525095945050505050565b600080604083850312156129b957600080fd5b82356129c481612837565b915060208301356129d481612837565b809150509250929050565b6000602082840312156129f157600080fd5b8135610b8a81612837565b6001600160e01b031991909116815260200190565b600080600060608486031215612a2657600080fd5b8335612a3181612837565b92506020840135612a4181612837565b915060408401356001600160401b03811115612a5c57600080fd5b612a688682870161287e565b9150509250925092565b600060208284031215612a8457600080fd5b5035919050565b600060208284031215612a9d57600080fd5b8151610b8a81612743565b600181811c90821680612abc57607f821691505b602082108103612adc57634e487b7160e01b600052602260045260246000fd5b50919050565b80516127ff8161281e565b600060208284031215612aff57600080fd5b8151610b8a8161281e565b80516127ff816127df565b600060208284031215612b2757600080fd5b8151610b8a816127df565b600060208284031215612b4457600080fd5b5051919050565b602081526000610b8a6020830184612689565b80516127ff81612837565b600060208284031215612b7b57600080fd5b8151610b8a81612837565b600060208284031215612b9857600080fd5b81516001600160401b0381168114610b8a57600080fd5b634e487b7160e01b600052603260045260246000fd5b80516127ff81612804565b600060208284031215612be257600080fd5b8151610b8a81612804565b60008085851115612bfd57600080fd5b83861115612c0a57600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015612c3f5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600082601f830112612c9857600080fd5b8151612ca661289d82612857565b818152846020838601011115612cbb57600080fd5b6126fa826020830160208701612639565b60008060408385031215612cdf57600080fd5b82516001600160401b0380821115612cf657600080fd5b9084019060e08287031215612d0a57600080fd5b612d12612787565b612d1b83612b0a565b8152612d2960208401612b0a565b6020820152612d3a60408401612bc5565b6040820152612d4b60608401612ae2565b6060820152612d5c60808401612b5e565b6080820152612d6d60a08401612b5e565b60a082015260c083015182811115612d8457600080fd5b612d9088828601612c87565b60c0830152506020860151909450915080821115612dad57600080fd5b50612dba85828601612c87565b9150509250929050565b600060208284031215612dd657600080fd5b815164ffffffffff81168114610b8a57600080fd5b60008060408385031215612dfe57600080fd5b8251612e0981612837565b60208401519092506001600160401b03811115612e2557600080fd5b612dba85828601612c87565b604081526000612715604083018561265d565b600060208284031215612e5657600080fd5b81516001600160401b03811115612e6c57600080fd5b6126fa84828501612c87565b604081526000612e8b604083018561265d565b90508260208301529392505050565b60008251612eac818460208701612639565b9190910192915050565b60008060408385031215612ec957600080fd5b8251612ed48161281e565b602084015190925063ffffffff811681146129d457600080fd5b604081526000612f01604083018561265d565b905060ff831660208301529392505050565b601f821115612f5957600081815260208120601f850160051c81016020861015612f3a5750805b601f850160051c820191505b818110156117f357828155600101612f46565b505050565b81516001600160401b03811115612f7757612f77612771565b612f8b81612f858454612aa8565b84612f13565b602080601f831160018114612fc05760008415612fa85750858301515b600019600386901b1c1916600185901b1785556117f3565b600085815260208120601f198616915b82811015612fef57888601518255948401946001909101908401612fd0565b508582101561300d5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a26469706673582212206a480c9795b71df8b645781f450dbc808efd195f0b9b619cfd8bebeb5d54641264736f6c6343000814003360a06040523480156200001157600080fd5b5060405162000f2f38038062000f2f8339810160408190526200003491620003e1565b8282828281620000458282620000b0565b50508160405162000056906200037a565b6001600160a01b039091168152602001604051809103906000f08015801562000083573d6000803e3d6000fd5b506001600160a01b0316608052620000a46200009e60805190565b62000116565b505050505050620004df565b620000bb8262000188565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a2805115620001085762000103828262000208565b505050565b6200011262000285565b5050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6200015860008051602062000f0f833981519152546001600160a01b031690565b604080516001600160a01b03928316815291841660208301520160405180910390a16200018581620002a7565b50565b806001600160a01b03163b600003620001c457604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5b80546001600160a01b0319166001600160a01b039290921691909117905550565b6060600080846001600160a01b031684604051620002279190620004c1565b600060405180830381855af49150503d806000811462000264576040519150601f19603f3d011682016040523d82523d6000602084013e62000269565b606091505b5090925090506200027c858383620002ea565b95945050505050565b3415620002a55760405163b398979f60e01b815260040160405180910390fd5b565b6001600160a01b038116620002d357604051633173bdd160e11b815260006004820152602401620001bb565b8060008051602062000f0f833981519152620001e7565b6060826200030357620002fd8262000350565b62000349565b81511580156200031b57506001600160a01b0384163b155b156200034657604051639996b31560e01b81526001600160a01b0385166004820152602401620001bb565b50805b9392505050565b805115620003615780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b61052480620009eb83390190565b80516001600160a01b0381168114620003a057600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620003d8578181015183820152602001620003be565b50506000910152565b600080600060608486031215620003f757600080fd5b620004028462000388565b9250620004126020850162000388565b60408501519092506001600160401b03808211156200043057600080fd5b818601915086601f8301126200044557600080fd5b8151818111156200045a576200045a620003a5565b604051601f8201601f19908116603f01168101908382118183101715620004855762000485620003a5565b816040528281528960208487010111156200049f57600080fd5b620004b2836020830160208801620003bb565b80955050505050509250925092565b60008251620004d5818460208701620003bb565b9190910192915050565b6080516104eb620005006000396000818160370152607401526104eb6000f3fe60806040526004361061001e5760003560e01c80638b3240a014610028575b610026610072565b005b34801561003457600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006040516001600160a01b03909116815260200160405180910390f35b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633036100df576000356001600160e01b03191663278f794360e11b146100d5576040516334ad5dbb60e21b815260040160405180910390fd5b6100dd6100ec565b565b6100dd61011b565b905090565b6000806100fc3660048184610376565b81019061010991906103b6565b91509150610117828261012b565b5050565b6100dd610126610186565b6101b9565b610134826101dd565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a280511561017e576101798282610259565b505050565b6101176102cf565b60006100e77f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b3660008037600080366000845af43d6000803e8080156101d8573d6000f35b3d6000fd5b806001600160a01b03163b60000361021857604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b6060600080846001600160a01b0316846040516102769190610486565b600060405180830381855af49150503d80600081146102b1576040519150601f19603f3d011682016040523d82523d6000602084013e6102b6565b606091505b50915091506102c68583836102ee565b95945050505050565b34156100dd5760405163b398979f60e01b815260040160405180910390fd5b606082610303576102fe8261034d565b610346565b815115801561031a57506001600160a01b0384163b155b1561034357604051639996b31560e01b81526001600160a01b038516600482015260240161020f565b50805b9392505050565b80511561035d5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6000808585111561038657600080fd5b8386111561039357600080fd5b5050820193919092039150565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156103c957600080fd5b82356001600160a01b03811681146103e057600080fd5b9150602083013567ffffffffffffffff808211156103fd57600080fd5b818501915085601f83011261041157600080fd5b813581811115610423576104236103a0565b604051601f8201601f19908116603f0116810190838211818310171561044b5761044b6103a0565b8160405282815288602084870101111561046457600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b6000825160005b818110156104a7576020818601810151858301520161048d565b50600092019182525091905056fea264697066735822122061d21ea0f293a274302e47ad0e30c5fb666a07dc4f8e1cfa79d3064668655aa064736f6c63430008140033608060405234801561001057600080fd5b5060405161052438038061052483398101604081905261002f916100be565b806001600160a01b03811661005e57604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b6100678161006e565b50506100ee565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100d057600080fd5b81516001600160a01b03811681146100e757600080fd5b9392505050565b610427806100fd6000396000f3fe60806040526004361061004a5760003560e01c8063715018a61461004f5780638da5cb5b146100665780639623609d14610093578063ad3cb1cc146100a6578063f2fde38b146100e4575b600080fd5b34801561005b57600080fd5b50610064610104565b005b34801561007257600080fd5b506000546040516001600160a01b0390911681526020015b60405180910390f35b6100646100a1366004610272565b610118565b3480156100b257600080fd5b506100d7604051806040016040528060058152602001640352e302e360dc1b81525081565b60405161008a919061038e565b3480156100f057600080fd5b506100646100ff3660046103a8565b610187565b61010c6101ca565b61011660006101f7565b565b6101206101ca565b60405163278f794360e11b81526001600160a01b03841690634f1ef28690349061015090869086906004016103c5565b6000604051808303818588803b15801561016957600080fd5b505af115801561017d573d6000803e3d6000fd5b5050505050505050565b61018f6101ca565b6001600160a01b0381166101be57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b6101c7816101f7565b50565b6000546001600160a01b031633146101165760405163118cdaa760e01b81523360048201526024016101b5565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811681146101c757600080fd5b634e487b7160e01b600052604160045260246000fd5b60008060006060848603121561028757600080fd5b833561029281610247565b925060208401356102a281610247565b9150604084013567ffffffffffffffff808211156102bf57600080fd5b818601915086601f8301126102d357600080fd5b8135818111156102e5576102e561025c565b604051601f8201601f19908116603f0116810190838211818310171561030d5761030d61025c565b8160405282815289602084870101111561032657600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b6000815180845260005b8181101561036e57602081850181015186830182015201610352565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006103a16020830184610348565b9392505050565b6000602082840312156103ba57600080fd5b81356103a181610247565b6001600160a01b03831681526040602082018190526000906103e990830184610348565b94935050505056fea2646970667358221220cb46d8eee562c2068d4d3afab9e2a7f48be119bb61a6a1c3d7ef6ba5a8aff09464736f6c63430008140033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103",
378
+ "deployedBytecode": "0x60806040523480156200001157600080fd5b5060043610620000e05760003560e01c8063933a9ce81162000097578063c987336c116200006e578063c987336c14620001c5578063caf4e3d414620001dc578063e97fac0514620001ee578063f6876768146200020557600080fd5b8063933a9ce8146200017b5780639f4bc3c3146200018d578063aef485a0146200019f57600080fd5b8063057838bd14620000e5578063138461e0146200010f5780635ab1bd53146200011b578063644c45e0146200012d5780636bfc9c731462000159578063893d20e81462000171575b600080fd5b6005546001600160a01b03165b6040516001600160a01b0390911681526020015b60405180910390f35b620001196200021c565b005b6000546001600160a01b0316620000f2565b600054600160a01b90046001600160601b03166040516001600160601b03909116815260200162000106565b62000162600081565b60405190815260200162000106565b620000f26200044b565b6002546001600160a01b0316620000f2565b6003546001600160a01b0316620000f2565b620001b6620001b0366004620009e2565b6200056e565b60405162000106919062000a94565b620000f2620001d636600462000ab0565b620005ca565b6004546001600160a01b0316620000f2565b620000f2620001ff36600462000ab0565b620007aa565b620001b662000216366004620009e2565b620008ef565b6000546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156200027f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002a5919062000b06565b15620002ed576000546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6000546001600160a01b0316620003175760405163cf29926160e01b815260040160405180910390fd5b60005460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa15801562000361573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000387919062000b06565b620003b1576040516372657a5160e01b81526001600160a01b0382166004820152602401620002e4565b600054604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015620003fc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000422919062000b2a565b600060146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b600080546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015620004af573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004d5919062000b06565b156200055e57600054604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa15801562000533573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000559919062000b55565b905090565b506001546001600160a01b031690565b606063a745e3df60e01b8484846040516024016200058f9392919062000b75565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915290509392505050565b600080620005d76200044b565b90506001600160a01b03811615801590620005fb5750336001600160a01b03821614155b156200061d5760405163700dd81160e01b8152336004820152602401620002e4565b600254600160a01b900460ff166200064857604051631e35411160e31b815260040160405180910390fd5b6000620006546200044b565b905060006200066b6002546001600160a01b031690565b6001600160a01b0316638b3240a06040518163ffffffff1660e01b81526004016020604051808303816000875af1158015620006ab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620006d1919062000b55565b6002549091506001600160a01b03166000620006ef8885896200056e565b604051639623609d60e01b81529091506001600160a01b03841690639623609d90620007249085908c90869060040162000b75565b600060405180830381600087803b1580156200073f57600080fd5b505af115801562000754573d6000803e3d6000fd5b50506002546040516001600160a01b038c8116825290911698508892507f5f1d3094af018381967fbedd54b80ffb09c5a9799db985f5e17e322672686306915060200160405180910390a2505050505092915050565b600080620007b76200044b565b90506001600160a01b03811615801590620007db5750336001600160a01b03821614155b15620007fd5760405163700dd81160e01b8152336004820152602401620002e4565b600254600160a01b900460ff161562000829576040516375842f8760e01b815260040160405180910390fd5b6000620008356200044b565b905030600062000847878488620008ef565b90508682826040516200085a9062000910565b620008689392919062000b75565b604051809103906000f08015801562000885573d6000803e3d6000fd5b50600280546001600160a81b0319166001600160a01b0392831617600160a01b179081905560405189831681529116955085907fc5c7b8d20d7cac78e56fc596f8d26c700e5077f096017736e3526ab8af4850359060200160405180910390a25050505092915050565b606063cf7a1d7760e01b8484846040516024016200058f9392919062000b75565b610f2f8062000bad83390190565b6001600160a01b03811681146200093457600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200095f57600080fd5b813567ffffffffffffffff808211156200097d576200097d62000937565b604051601f8301601f19908116603f01168101908282118183101715620009a857620009a862000937565b81604052838152866020858801011115620009c257600080fd5b836020870160208301376000602085830101528094505050505092915050565b600080600060608486031215620009f857600080fd5b833562000a05816200091e565b9250602084013562000a17816200091e565b9150604084013567ffffffffffffffff81111562000a3457600080fd5b62000a42868287016200094d565b9150509250925092565b6000815180845260005b8181101562000a745760208185018101518683018201520162000a56565b506000602082860101526020601f19601f83011685010191505092915050565b60208152600062000aa9602083018462000a4c565b9392505050565b6000806040838503121562000ac457600080fd5b823562000ad1816200091e565b9150602083013567ffffffffffffffff81111562000aee57600080fd5b62000afc858286016200094d565b9150509250929050565b60006020828403121562000b1957600080fd5b8151801515811462000aa957600080fd5b60006020828403121562000b3d57600080fd5b81516001600160601b038116811462000aa957600080fd5b60006020828403121562000b6857600080fd5b815162000aa9816200091e565b6001600160a01b0384811682528316602082015260606040820181905260009062000ba39083018462000a4c565b9594505050505056fe60a06040523480156200001157600080fd5b5060405162000f2f38038062000f2f8339810160408190526200003491620003e1565b8282828281620000458282620000b0565b50508160405162000056906200037a565b6001600160a01b039091168152602001604051809103906000f08015801562000083573d6000803e3d6000fd5b506001600160a01b0316608052620000a46200009e60805190565b62000116565b505050505050620004df565b620000bb8262000188565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a2805115620001085762000103828262000208565b505050565b6200011262000285565b5050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6200015860008051602062000f0f833981519152546001600160a01b031690565b604080516001600160a01b03928316815291841660208301520160405180910390a16200018581620002a7565b50565b806001600160a01b03163b600003620001c457604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5b80546001600160a01b0319166001600160a01b039290921691909117905550565b6060600080846001600160a01b031684604051620002279190620004c1565b600060405180830381855af49150503d806000811462000264576040519150601f19603f3d011682016040523d82523d6000602084013e62000269565b606091505b5090925090506200027c858383620002ea565b95945050505050565b3415620002a55760405163b398979f60e01b815260040160405180910390fd5b565b6001600160a01b038116620002d357604051633173bdd160e11b815260006004820152602401620001bb565b8060008051602062000f0f833981519152620001e7565b6060826200030357620002fd8262000350565b62000349565b81511580156200031b57506001600160a01b0384163b155b156200034657604051639996b31560e01b81526001600160a01b0385166004820152602401620001bb565b50805b9392505050565b805115620003615780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b61052480620009eb83390190565b80516001600160a01b0381168114620003a057600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620003d8578181015183820152602001620003be565b50506000910152565b600080600060608486031215620003f757600080fd5b620004028462000388565b9250620004126020850162000388565b60408501519092506001600160401b03808211156200043057600080fd5b818601915086601f8301126200044557600080fd5b8151818111156200045a576200045a620003a5565b604051601f8201601f19908116603f01168101908382118183101715620004855762000485620003a5565b816040528281528960208487010111156200049f57600080fd5b620004b2836020830160208801620003bb565b80955050505050509250925092565b60008251620004d5818460208701620003bb565b9190910192915050565b6080516104eb620005006000396000818160370152607401526104eb6000f3fe60806040526004361061001e5760003560e01c80638b3240a014610028575b610026610072565b005b34801561003457600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006040516001600160a01b03909116815260200160405180910390f35b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633036100df576000356001600160e01b03191663278f794360e11b146100d5576040516334ad5dbb60e21b815260040160405180910390fd5b6100dd6100ec565b565b6100dd61011b565b905090565b6000806100fc3660048184610376565b81019061010991906103b6565b91509150610117828261012b565b5050565b6100dd610126610186565b6101b9565b610134826101dd565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a280511561017e576101798282610259565b505050565b6101176102cf565b60006100e77f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b3660008037600080366000845af43d6000803e8080156101d8573d6000f35b3d6000fd5b806001600160a01b03163b60000361021857604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b6060600080846001600160a01b0316846040516102769190610486565b600060405180830381855af49150503d80600081146102b1576040519150601f19603f3d011682016040523d82523d6000602084013e6102b6565b606091505b50915091506102c68583836102ee565b95945050505050565b34156100dd5760405163b398979f60e01b815260040160405180910390fd5b606082610303576102fe8261034d565b610346565b815115801561031a57506001600160a01b0384163b155b1561034357604051639996b31560e01b81526001600160a01b038516600482015260240161020f565b50805b9392505050565b80511561035d5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6000808585111561038657600080fd5b8386111561039357600080fd5b5050820193919092039150565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156103c957600080fd5b82356001600160a01b03811681146103e057600080fd5b9150602083013567ffffffffffffffff808211156103fd57600080fd5b818501915085601f83011261041157600080fd5b813581811115610423576104236103a0565b604051601f8201601f19908116603f0116810190838211818310171561044b5761044b6103a0565b8160405282815288602084870101111561046457600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b6000825160005b818110156104a7576020818601810151858301520161048d565b50600092019182525091905056fea264697066735822122061d21ea0f293a274302e47ad0e30c5fb666a07dc4f8e1cfa79d3064668655aa064736f6c63430008140033608060405234801561001057600080fd5b5060405161052438038061052483398101604081905261002f916100be565b806001600160a01b03811661005e57604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b6100678161006e565b50506100ee565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100d057600080fd5b81516001600160a01b03811681146100e757600080fd5b9392505050565b610427806100fd6000396000f3fe60806040526004361061004a5760003560e01c8063715018a61461004f5780638da5cb5b146100665780639623609d14610093578063ad3cb1cc146100a6578063f2fde38b146100e4575b600080fd5b34801561005b57600080fd5b50610064610104565b005b34801561007257600080fd5b506000546040516001600160a01b0390911681526020015b60405180910390f35b6100646100a1366004610272565b610118565b3480156100b257600080fd5b506100d7604051806040016040528060058152602001640352e302e360dc1b81525081565b60405161008a919061038e565b3480156100f057600080fd5b506100646100ff3660046103a8565b610187565b61010c6101ca565b61011660006101f7565b565b6101206101ca565b60405163278f794360e11b81526001600160a01b03841690634f1ef28690349061015090869086906004016103c5565b6000604051808303818588803b15801561016957600080fd5b505af115801561017d573d6000803e3d6000fd5b5050505050505050565b61018f6101ca565b6001600160a01b0381166101be57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b6101c7816101f7565b50565b6000546001600160a01b031633146101165760405163118cdaa760e01b81523360048201526024016101b5565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811681146101c757600080fd5b634e487b7160e01b600052604160045260246000fd5b60008060006060848603121561028757600080fd5b833561029281610247565b925060208401356102a281610247565b9150604084013567ffffffffffffffff808211156102bf57600080fd5b818601915086601f8301126102d357600080fd5b8135818111156102e5576102e561025c565b604051601f8201601f19908116603f0116810190838211818310171561030d5761030d61025c565b8160405282815289602084870101111561032657600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b6000815180845260005b8181101561036e57602081850181015186830182015201610352565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006103a16020830184610348565b9392505050565b6000602082840312156103ba57600080fd5b81356103a181610247565b6001600160a01b03831681526040602082018190526000906103e990830184610348565b94935050505056fea2646970667358221220cb46d8eee562c2068d4d3afab9e2a7f48be119bb61a6a1c3d7ef6ba5a8aff09464736f6c63430008140033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103a2646970667358221220d9193539c1d5b959a629850e9198ead9030a3476888f6e8b3677e41afbda15e064736f6c63430008140033",
379
+ "linkReferences": {
380
+ "contracts/shared/ContractDeployerLib.sol": {
381
+ "ContractDeployerLib": [
382
+ {
383
+ "length": 20,
384
+ "start": 38276
385
+ },
386
+ {
387
+ "length": 20,
388
+ "start": 38408
389
+ }
390
+ ]
391
+ },
392
+ "contracts/types/Blocknumber.sol": {
393
+ "BlocknumberLib": [
394
+ {
395
+ "length": 20,
396
+ "start": 32913
397
+ }
398
+ ]
399
+ },
400
+ "contracts/types/NftId.sol": {
401
+ "NftIdLib": [
402
+ {
403
+ "length": 20,
404
+ "start": 859
405
+ },
406
+ {
407
+ "length": 20,
408
+ "start": 1394
409
+ },
410
+ {
411
+ "length": 20,
412
+ "start": 3057
413
+ },
414
+ {
415
+ "length": 20,
416
+ "start": 3617
417
+ },
418
+ {
419
+ "length": 20,
420
+ "start": 15326
421
+ },
422
+ {
423
+ "length": 20,
424
+ "start": 16042
425
+ },
426
+ {
427
+ "length": 20,
428
+ "start": 16723
429
+ },
430
+ {
431
+ "length": 20,
432
+ "start": 18641
433
+ },
434
+ {
435
+ "length": 20,
436
+ "start": 19250
437
+ },
438
+ {
439
+ "length": 20,
440
+ "start": 32329
441
+ },
442
+ {
443
+ "length": 20,
444
+ "start": 34535
445
+ }
446
+ ]
447
+ },
448
+ "contracts/types/ObjectType.sol": {
449
+ "ObjectTypeLib": [
450
+ {
451
+ "length": 20,
452
+ "start": 19401
453
+ }
454
+ ]
455
+ },
456
+ "contracts/types/Timestamp.sol": {
457
+ "TimestampLib": [
458
+ {
459
+ "length": 20,
460
+ "start": 37632
461
+ }
462
+ ]
463
+ },
464
+ "contracts/types/Version.sol": {
465
+ "VersionLib": [
466
+ {
467
+ "length": 20,
468
+ "start": 9637
469
+ },
470
+ {
471
+ "length": 20,
472
+ "start": 12151
473
+ },
474
+ {
475
+ "length": 20,
476
+ "start": 16782
477
+ },
478
+ {
479
+ "length": 20,
480
+ "start": 31851
481
+ },
482
+ {
483
+ "length": 20,
484
+ "start": 35007
485
+ },
486
+ {
487
+ "length": 20,
488
+ "start": 35663
489
+ }
490
+ ],
491
+ "VersionPartLib": [
492
+ {
493
+ "length": 20,
494
+ "start": 16273
495
+ },
496
+ {
497
+ "length": 20,
498
+ "start": 16401
499
+ },
500
+ {
501
+ "length": 20,
502
+ "start": 19525
503
+ },
504
+ {
505
+ "length": 20,
506
+ "start": 19649
507
+ }
508
+ ]
509
+ }
510
+ },
511
+ "deployedLinkReferences": {
512
+ "contracts/types/NftId.sol": {
513
+ "NftIdLib": [
514
+ {
515
+ "length": 20,
516
+ "start": 580
517
+ },
518
+ {
519
+ "length": 20,
520
+ "start": 1140
521
+ }
522
+ ]
523
+ }
524
+ }
525
+ }