@etherisc/gif-next 0.0.2-e37834a-021 → 0.0.2-e43a6c3-340

Sign up to get free protection for your applications and to get access to all the features.
Files changed (363) hide show
  1. package/README.md +108 -1
  2. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +1 -1
  3. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +116 -2
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +204 -31
  6. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +1 -1
  7. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +106 -3
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -25
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -59
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -50
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +245 -65
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +314 -41
  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 +325 -1744
  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 +2300 -1340
  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 +488 -0
  64. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +1 -1
  65. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +149 -2
  66. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +1 -1
  67. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  68. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +27 -158
  69. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  70. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  71. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +37 -245
  72. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  73. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +2 -2
  74. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  75. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +211 -0
  76. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  77. package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
  78. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  79. package/artifacts/contracts/instance/module/{distribution/IDistribution.sol → IDistribution.sol}/IDistribution.json +1 -1
  80. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  81. package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
  82. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  83. package/artifacts/contracts/instance/module/{risk/IRisk.sol → IRisk.sol}/IRisk.json +1 -1
  84. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
  85. package/artifacts/contracts/instance/{base/ModuleBase.sol/ModuleBase.json → module/ISetup.sol/ISetup.json} +2 -2
  86. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
  87. package/artifacts/contracts/instance/module/{treasury/ITreasury.sol → ITreasury.sol}/ITreasury.json +1 -1
  88. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +1 -1
  89. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +178 -41
  90. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  91. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +212 -22
  92. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  93. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +444 -0
  94. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +1 -1
  95. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +81 -4
  96. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  97. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +80 -3
  98. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  99. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +80 -3
  100. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  101. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +80 -3
  102. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  103. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +230 -24
  104. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  105. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +456 -0
  106. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  107. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +47 -2
  108. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  109. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +294 -99
  110. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  111. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +297 -18
  112. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  113. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  114. package/artifacts/contracts/registry/Registry.sol/Registry.json +249 -137
  115. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  116. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +447 -39
  117. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  118. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +107 -42
  119. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  120. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +410 -0
  121. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  122. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  123. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +2 -2
  124. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  125. package/artifacts/contracts/{instance/module/component/ComponentModule.sol/ComponentModule.json → shared/INftOwnable.sol/INftOwnable.json} +67 -57
  126. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  127. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +80 -3
  128. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  129. package/artifacts/contracts/{instance/base/ServiceBase.sol/ServiceBase.json → shared/IService.sol/IService.json} +76 -35
  130. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  131. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  132. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +32 -6
  133. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  134. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +21 -16
  135. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  136. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +120 -6
  137. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +4 -0
  138. package/artifacts/contracts/{instance/base/IService.sol/IService.json → shared/RegisterableUpgradable.sol/RegisterableUpgradable.json} +137 -39
  139. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  140. package/artifacts/contracts/{instance/base/InstanceBase.sol/InstanceBase.json → shared/Service.sol/Service.json} +106 -94
  141. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  142. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +96 -0
  143. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  144. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  145. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  146. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  147. package/artifacts/contracts/test/TestFee.sol/TestFee.json +4 -4
  148. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  149. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +120 -6
  150. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  151. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +14 -14
  152. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  153. package/artifacts/contracts/test/TestService.sol/TestService.json +142 -14
  154. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  155. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +91 -53
  156. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  157. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  158. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  159. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +18 -2
  160. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  161. package/artifacts/contracts/test/Usdc.sol/USDC.json +91 -53
  162. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  163. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  164. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  165. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  166. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
  167. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  168. package/artifacts/contracts/types/Fee.sol/FeeLib.json +4 -4
  169. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  170. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +31 -17
  171. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  172. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +2 -2
  173. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  174. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +2 -2
  175. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
  176. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
  177. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  178. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  179. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
  180. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +123 -0
  181. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  182. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  183. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  184. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +134 -8
  185. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  186. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  187. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  188. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +15 -2
  189. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  190. package/artifacts/contracts/types/UFixed.sol/MathLib.json +10 -0
  191. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  192. package/artifacts/contracts/types/UFixed.sol/{UFixedMathLib.json → UFixedLib.json} +3 -3
  193. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  194. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  195. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  196. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
  197. package/contracts/components/BaseComponent.sol +16 -4
  198. package/contracts/components/Distribution.sol +21 -16
  199. package/contracts/components/IBaseComponent.sol +9 -3
  200. package/contracts/components/IDistributionComponent.sol +2 -4
  201. package/contracts/components/IPoolComponent.sol +0 -2
  202. package/contracts/components/IProductComponent.sol +2 -4
  203. package/contracts/components/Pool.sol +24 -27
  204. package/contracts/components/Product.sol +41 -43
  205. package/contracts/experiment/cloning/Cloner.sol +47 -0
  206. package/contracts/instance/AccessManagedSimple.sol +115 -0
  207. package/contracts/instance/AccessManagerSimple.sol +692 -0
  208. package/contracts/instance/IAccessManagerSimple.sol +391 -0
  209. package/contracts/instance/IInstance.sol +32 -47
  210. package/contracts/instance/IInstanceService.sol +30 -0
  211. package/contracts/instance/Instance.sol +423 -65
  212. package/contracts/instance/InstanceAccessManager.sol +288 -0
  213. package/contracts/instance/InstanceReader.sol +306 -0
  214. package/contracts/instance/InstanceService.sol +183 -0
  215. package/contracts/instance/InstanceServiceManager.sol +57 -0
  216. package/contracts/instance/base/ComponentServiceBase.sol +83 -8
  217. package/contracts/instance/base/IKeyValueStore.sol +13 -14
  218. package/contracts/instance/base/ILifecycle.sol +3 -3
  219. package/contracts/instance/base/KeyValueStore.sol +49 -38
  220. package/contracts/instance/base/Lifecycle.sol +1 -1
  221. package/contracts/instance/module/IAccess.sol +38 -0
  222. package/contracts/instance/module/IBundle.sol +20 -0
  223. package/contracts/instance/module/IDistribution.sol +39 -0
  224. package/contracts/instance/module/IPolicy.sol +45 -0
  225. package/contracts/instance/module/IRisk.sol +11 -0
  226. package/contracts/instance/module/ISetup.sol +44 -0
  227. package/contracts/instance/module/ITreasury.sol +23 -0
  228. package/contracts/instance/service/ComponentOwnerService.sol +145 -100
  229. package/contracts/instance/service/DistributionService.sol +49 -15
  230. package/contracts/instance/service/DistributionServiceManager.sol +54 -0
  231. package/contracts/instance/service/IComponentOwnerService.sol +1 -1
  232. package/contracts/instance/service/IDistributionService.sol +1 -1
  233. package/contracts/instance/service/IPoolService.sol +1 -1
  234. package/contracts/instance/service/IProductService.sol +3 -3
  235. package/contracts/instance/service/PoolService.sol +97 -52
  236. package/contracts/instance/service/PoolServiceManager.sol +54 -0
  237. package/contracts/registry/ChainNft.sol +40 -25
  238. package/contracts/registry/IRegistry.sol +48 -27
  239. package/contracts/registry/IRegistryService.sol +36 -15
  240. package/contracts/registry/Registry.sol +167 -168
  241. package/contracts/registry/RegistryService.sol +149 -166
  242. package/contracts/registry/RegistryServiceManager.sol +38 -10
  243. package/contracts/registry/TokenRegistry.sol +111 -0
  244. package/contracts/shared/ERC165.sol +7 -3
  245. package/contracts/shared/INftOwnable.sol +22 -0
  246. package/contracts/shared/IRegisterable.sol +3 -8
  247. package/contracts/{instance/base → shared}/IService.sol +3 -3
  248. package/contracts/shared/NftOwnable.sol +83 -34
  249. package/contracts/shared/ProxyManager.sol +3 -12
  250. package/contracts/shared/Registerable.sol +15 -42
  251. package/contracts/shared/RegisterableUpgradable.sol +16 -0
  252. package/contracts/shared/Service.sol +55 -0
  253. package/contracts/shared/TokenHandler.sol +27 -0
  254. package/contracts/shared/UpgradableProxyWithAdmin.sol +2 -2
  255. package/contracts/shared/Versionable.sol +3 -3
  256. package/contracts/test/TestFee.sol +2 -2
  257. package/contracts/test/TestRoleId.sol +1 -1
  258. package/contracts/test/TestService.sol +3 -5
  259. package/contracts/types/DistributorType.sol +55 -0
  260. package/contracts/types/Fee.sol +3 -3
  261. package/contracts/types/Key32.sol +8 -3
  262. package/contracts/types/NumberId.sol +52 -0
  263. package/contracts/types/ObjectType.sol +35 -14
  264. package/contracts/types/Referral.sol +85 -0
  265. package/contracts/types/RoleId.sol +60 -9
  266. package/contracts/types/StateId.sol +5 -1
  267. package/contracts/types/Timestamp.sol +7 -3
  268. package/contracts/types/UFixed.sol +128 -12
  269. package/contracts/types/Version.sol +4 -1
  270. package/package.json +4 -3
  271. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  272. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.json +0 -24
  273. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  274. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  275. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  276. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  277. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  278. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  279. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  280. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.json +0 -10
  281. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  282. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  283. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  284. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -297
  285. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  286. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  287. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -297
  288. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  289. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  290. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  291. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  292. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -117
  293. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.dbg.json +0 -4
  294. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.json +0 -10
  295. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistribution.dbg.json +0 -4
  296. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.dbg.json +0 -4
  297. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.json +0 -10
  298. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  299. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  300. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -284
  301. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  302. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -284
  303. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  304. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
  305. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  306. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -164
  307. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  308. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -164
  309. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  310. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  311. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -113
  312. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  313. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -131
  314. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  315. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  316. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -638
  317. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  318. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  319. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  320. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -638
  321. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  322. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -964
  323. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  324. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -457
  325. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  326. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.json +0 -24
  327. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.dbg.json +0 -4
  328. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.json +0 -445
  329. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  330. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -602
  331. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  332. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -632
  333. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.dbg.json +0 -4
  334. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.json +0 -99
  335. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  336. package/contracts/instance/IInstanceLinked.sol +0 -8
  337. package/contracts/instance/base/InstanceBase.sol +0 -89
  338. package/contracts/instance/base/ModuleBase.sol +0 -57
  339. package/contracts/instance/base/ServiceBase.sol +0 -43
  340. package/contracts/instance/module/access/Access.sol +0 -149
  341. package/contracts/instance/module/access/IAccess.sol +0 -53
  342. package/contracts/instance/module/bundle/BundleModule.sol +0 -134
  343. package/contracts/instance/module/bundle/IBundle.sol +0 -53
  344. package/contracts/instance/module/component/ComponentModule.sol +0 -71
  345. package/contracts/instance/module/component/IComponent.sol +0 -28
  346. package/contracts/instance/module/distribution/DistributionModule.sol +0 -17
  347. package/contracts/instance/module/distribution/IDistribution.sol +0 -10
  348. package/contracts/instance/module/policy/IPolicy.sol +0 -63
  349. package/contracts/instance/module/policy/PolicyModule.sol +0 -91
  350. package/contracts/instance/module/pool/IPoolModule.sol +0 -41
  351. package/contracts/instance/module/pool/PoolModule.sol +0 -95
  352. package/contracts/instance/module/risk/IRisk.sol +0 -26
  353. package/contracts/instance/module/risk/RiskModule.sol +0 -62
  354. package/contracts/instance/module/treasury/ITreasury.sol +0 -84
  355. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  356. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -131
  357. package/contracts/instance/service/ProductService.sol +0 -510
  358. package/contracts/registry/IChainNft.sol +0 -22
  359. package/contracts/shared/IOwnable.sol +0 -6
  360. package/contracts/test/TestDistribution.sol +0 -22
  361. package/contracts/test/TestPool.sol +0 -27
  362. package/contracts/test/TestProduct.sol +0 -74
  363. package/contracts/types/ReferralId.sol +0 -48
@@ -58,7 +58,29 @@
58
58
  "type": "error"
59
59
  },
60
60
  {
61
- "inputs": [],
61
+ "inputs": [
62
+ {
63
+ "internalType": "VersionPart",
64
+ "name": "newMajorVersionMax",
65
+ "type": "uint8"
66
+ },
67
+ {
68
+ "internalType": "VersionPart",
69
+ "name": "existingMaxMajorVersion",
70
+ "type": "uint8"
71
+ }
72
+ ],
73
+ "name": "MajorVersionMaxIncreaseInvalid",
74
+ "type": "error"
75
+ },
76
+ {
77
+ "inputs": [
78
+ {
79
+ "internalType": "address",
80
+ "name": "account",
81
+ "type": "address"
82
+ }
83
+ ],
62
84
  "name": "NotOwner",
63
85
  "type": "error"
64
86
  },
@@ -89,6 +111,17 @@
89
111
  "name": "NotService",
90
112
  "type": "error"
91
113
  },
114
+ {
115
+ "inputs": [
116
+ {
117
+ "internalType": "address",
118
+ "name": "token",
119
+ "type": "address"
120
+ }
121
+ ],
122
+ "name": "NotToken",
123
+ "type": "error"
124
+ },
92
125
  {
93
126
  "inputs": [
94
127
  {
@@ -105,6 +138,28 @@
105
138
  "name": "ServiceNameAlreadyRegistered",
106
139
  "type": "error"
107
140
  },
141
+ {
142
+ "inputs": [
143
+ {
144
+ "internalType": "VersionPart",
145
+ "name": "majorVersion",
146
+ "type": "uint8"
147
+ }
148
+ ],
149
+ "name": "TokenMajorVersionInvalid",
150
+ "type": "error"
151
+ },
152
+ {
153
+ "inputs": [
154
+ {
155
+ "internalType": "address",
156
+ "name": "token",
157
+ "type": "address"
158
+ }
159
+ ],
160
+ "name": "TokenNotRegistered",
161
+ "type": "error"
162
+ },
108
163
  {
109
164
  "inputs": [],
110
165
  "name": "ZeroParentAddress",
@@ -113,54 +168,74 @@
113
168
  {
114
169
  "anonymous": false,
115
170
  "inputs": [
116
- {
117
- "indexed": true,
118
- "internalType": "NftId",
119
- "name": "nftId",
120
- "type": "uint96"
121
- },
122
171
  {
123
172
  "indexed": false,
124
- "internalType": "ObjectType",
125
- "name": "objectType",
173
+ "internalType": "VersionPart",
174
+ "name": "majorVersion",
126
175
  "type": "uint8"
127
176
  }
128
177
  ],
129
- "name": "LogApproval",
178
+ "name": "LogInitialMajorVersionSet",
130
179
  "type": "event"
131
180
  },
132
181
  {
133
182
  "anonymous": false,
134
183
  "inputs": [
135
- {
136
- "indexed": true,
137
- "internalType": "NftId",
138
- "name": "nftId",
139
- "type": "uint96"
140
- },
141
- {
142
- "indexed": false,
143
- "internalType": "NftId",
144
- "name": "parentNftId",
145
- "type": "uint96"
146
- },
147
184
  {
148
185
  "indexed": false,
149
- "internalType": "ObjectType",
150
- "name": "objectType",
186
+ "internalType": "VersionPart",
187
+ "name": "majorVersionMax",
151
188
  "type": "uint8"
152
- },
153
- {
154
- "indexed": false,
155
- "internalType": "address",
156
- "name": "objectAddress",
157
- "type": "address"
158
- },
189
+ }
190
+ ],
191
+ "name": "LogMajorVersionSet",
192
+ "type": "event"
193
+ },
194
+ {
195
+ "anonymous": false,
196
+ "inputs": [
159
197
  {
198
+ "components": [
199
+ {
200
+ "internalType": "NftId",
201
+ "name": "nftId",
202
+ "type": "uint96"
203
+ },
204
+ {
205
+ "internalType": "NftId",
206
+ "name": "parentNftId",
207
+ "type": "uint96"
208
+ },
209
+ {
210
+ "internalType": "ObjectType",
211
+ "name": "objectType",
212
+ "type": "uint8"
213
+ },
214
+ {
215
+ "internalType": "bool",
216
+ "name": "isInterceptor",
217
+ "type": "bool"
218
+ },
219
+ {
220
+ "internalType": "address",
221
+ "name": "objectAddress",
222
+ "type": "address"
223
+ },
224
+ {
225
+ "internalType": "address",
226
+ "name": "initialOwner",
227
+ "type": "address"
228
+ },
229
+ {
230
+ "internalType": "bytes",
231
+ "name": "data",
232
+ "type": "bytes"
233
+ }
234
+ ],
160
235
  "indexed": false,
161
- "internalType": "address",
162
- "name": "initialOwner",
163
- "type": "address"
236
+ "internalType": "struct IRegistry.ObjectInfo",
237
+ "name": "info",
238
+ "type": "tuple"
164
239
  }
165
240
  ],
166
241
  "name": "LogRegistration",
@@ -185,6 +260,31 @@
185
260
  "name": "LogServiceNameRegistration",
186
261
  "type": "event"
187
262
  },
263
+ {
264
+ "anonymous": false,
265
+ "inputs": [
266
+ {
267
+ "indexed": false,
268
+ "internalType": "address",
269
+ "name": "token",
270
+ "type": "address"
271
+ },
272
+ {
273
+ "indexed": false,
274
+ "internalType": "VersionPart",
275
+ "name": "majorVersion",
276
+ "type": "uint8"
277
+ },
278
+ {
279
+ "indexed": false,
280
+ "internalType": "bool",
281
+ "name": "active",
282
+ "type": "bool"
283
+ }
284
+ ],
285
+ "name": "LogTokenStateSet",
286
+ "type": "event"
287
+ },
188
288
  {
189
289
  "inputs": [],
190
290
  "name": "EMPTY_URI",
@@ -200,7 +300,7 @@
200
300
  },
201
301
  {
202
302
  "inputs": [],
203
- "name": "MAJOR_VERSION_MIN",
303
+ "name": "GIF_MAJOR_VERSION_AT_DEPLOYMENT",
204
304
  "outputs": [
205
305
  {
206
306
  "internalType": "uint256",
@@ -238,60 +338,65 @@
238
338
  "type": "function"
239
339
  },
240
340
  {
241
- "inputs": [
242
- {
243
- "internalType": "NftId",
244
- "name": "nftId",
245
- "type": "uint96"
246
- },
341
+ "inputs": [],
342
+ "name": "getChainNft",
343
+ "outputs": [
247
344
  {
248
- "internalType": "ObjectType",
249
- "name": "object",
250
- "type": "uint8"
345
+ "internalType": "contract ChainNft",
346
+ "name": "",
347
+ "type": "address"
251
348
  }
252
349
  ],
253
- "name": "allowance",
350
+ "stateMutability": "view",
351
+ "type": "function"
352
+ },
353
+ {
354
+ "inputs": [],
355
+ "name": "getMajorVersion",
254
356
  "outputs": [
255
357
  {
256
- "internalType": "bool",
358
+ "internalType": "VersionPart",
257
359
  "name": "",
258
- "type": "bool"
360
+ "type": "uint8"
259
361
  }
260
362
  ],
261
363
  "stateMutability": "view",
262
364
  "type": "function"
263
365
  },
264
366
  {
265
- "inputs": [
266
- {
267
- "internalType": "NftId",
268
- "name": "serviceNftId",
269
- "type": "uint96"
270
- },
367
+ "inputs": [],
368
+ "name": "getMajorVersionMax",
369
+ "outputs": [
271
370
  {
272
- "internalType": "ObjectType",
273
- "name": "objectType",
371
+ "internalType": "VersionPart",
372
+ "name": "",
274
373
  "type": "uint8"
275
- },
374
+ }
375
+ ],
376
+ "stateMutability": "view",
377
+ "type": "function"
378
+ },
379
+ {
380
+ "inputs": [],
381
+ "name": "getMajorVersionMin",
382
+ "outputs": [
276
383
  {
277
- "internalType": "ObjectType",
278
- "name": "parentType",
384
+ "internalType": "VersionPart",
385
+ "name": "",
279
386
  "type": "uint8"
280
387
  }
281
388
  ],
282
- "name": "approve",
283
- "outputs": [],
284
- "stateMutability": "nonpayable",
389
+ "stateMutability": "view",
285
390
  "type": "function"
286
391
  },
287
392
  {
288
393
  "inputs": [],
289
- "name": "getChainNft",
394
+ "name": "getNftId",
290
395
  "outputs": [
291
396
  {
292
- "internalType": "contract IChainNft",
293
- "name": "",
294
- "type": "address"
397
+ "internalType": "NftId",
398
+ "name": "nftId",
399
+ "type": "uint96"
295
400
  }
296
401
  ],
297
402
  "stateMutability": "view",
@@ -535,6 +640,30 @@
535
640
  "stateMutability": "view",
536
641
  "type": "function"
537
642
  },
643
+ {
644
+ "inputs": [
645
+ {
646
+ "internalType": "address",
647
+ "name": "token",
648
+ "type": "address"
649
+ },
650
+ {
651
+ "internalType": "VersionPart",
652
+ "name": "majorVersion",
653
+ "type": "uint8"
654
+ }
655
+ ],
656
+ "name": "isTokenActive",
657
+ "outputs": [
658
+ {
659
+ "internalType": "bool",
660
+ "name": "",
661
+ "type": "bool"
662
+ }
663
+ ],
664
+ "stateMutability": "view",
665
+ "type": "function"
666
+ },
538
667
  {
539
668
  "inputs": [
540
669
  {
@@ -629,64 +758,39 @@
629
758
  "stateMutability": "nonpayable",
630
759
  "type": "function"
631
760
  },
761
+ {
762
+ "inputs": [
763
+ {
764
+ "internalType": "VersionPart",
765
+ "name": "newMajorVersion",
766
+ "type": "uint8"
767
+ }
768
+ ],
769
+ "name": "setMajorVersion",
770
+ "outputs": [],
771
+ "stateMutability": "nonpayable",
772
+ "type": "function"
773
+ },
632
774
  {
633
775
  "inputs": [
634
776
  {
635
777
  "internalType": "address",
636
- "name": "from",
778
+ "name": "token",
637
779
  "type": "address"
638
780
  },
639
781
  {
640
- "components": [
641
- {
642
- "internalType": "NftId",
643
- "name": "nftId",
644
- "type": "uint96"
645
- },
646
- {
647
- "internalType": "NftId",
648
- "name": "parentNftId",
649
- "type": "uint96"
650
- },
651
- {
652
- "internalType": "ObjectType",
653
- "name": "objectType",
654
- "type": "uint8"
655
- },
656
- {
657
- "internalType": "bool",
658
- "name": "isInterceptor",
659
- "type": "bool"
660
- },
661
- {
662
- "internalType": "address",
663
- "name": "objectAddress",
664
- "type": "address"
665
- },
666
- {
667
- "internalType": "address",
668
- "name": "initialOwner",
669
- "type": "address"
670
- },
671
- {
672
- "internalType": "bytes",
673
- "name": "data",
674
- "type": "bytes"
675
- }
676
- ],
677
- "internalType": "struct IRegistry.ObjectInfo",
678
- "name": "info",
679
- "type": "tuple"
680
- }
681
- ],
682
- "name": "registerFrom",
683
- "outputs": [
782
+ "internalType": "VersionPart",
783
+ "name": "majorVersion",
784
+ "type": "uint8"
785
+ },
684
786
  {
685
- "internalType": "NftId",
686
- "name": "nftId",
687
- "type": "uint96"
787
+ "internalType": "bool",
788
+ "name": "active",
789
+ "type": "bool"
688
790
  }
689
791
  ],
792
+ "name": "setTokenActive",
793
+ "outputs": [],
690
794
  "stateMutability": "nonpayable",
691
795
  "type": "function"
692
796
  },
@@ -710,30 +814,30 @@
710
814
  "type": "function"
711
815
  }
712
816
  ],
713
- "bytecode": "0x60806040523480156200001157600080fd5b5060405162004f6f38038062004f6f833981016040819052620000349162001135565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff191660011790556001600160a01b038216620000cc5760405162461bcd60e51b815260206004820152601d60248201527f52656769737472793a2070726f746f636f6c206f776e6572206973203000000060448201526064015b60405180910390fd5b604051632b10f60d60e21b815260ff8216600482015260039073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af415801562000122573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200014891906200117a565b14620001d25760405162461bcd60e51b815260206004820152604c60248201527f52656769737472793a20696e697469616c206d616a6f722076657273696f6e2060448201527f6f662072656769737472792073657276696365206973206e6f74204d414a4f5260648201526b2fab22a929a4a7a72fa6a4a760a11b608482015260a401620000c3565b30604051620001e19062001110565b6001600160a01b039091168152602001604051809103906000f0801580156200020e573d6000803e3d6000fd5b50600a80546001600160a01b03929092166001600160a01b031992831681179091556009805490921617905562000244620002d7565b6200024f82620004f8565b6200025a82620008a5565b6200026462000c2a565b5050600060208190527f547f50f559b55d9ad1ba481eef2e5c7dff52f4b9d9d40b38ff5a5cfe4da25c8f8054600160ff199182168117909255631127a41d60e31b9092527f72e70588cffe6784860107cc1d0b0f0314bfad5fcc6347c1a115ea496042a0f280549092161790556200137a565b600a5460408051632cc7144960e11b815290516000926001600160a01b03169163598e28929160048083019260209291908290030181865afa15801562000322573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200034891906200117a565b9050600081600a546040516340c10f1960e01b815260016004820152602481018590529192506001600160a01b0316906340c10f1990604401600060405180830381600087803b1580156200039c57600080fd5b505af1158015620003b1573d6000803e3d6000fd5b505050506040518060e00160405280826001600160601b03168152602001620003df62000f8460201b60201c565b6001600160601b03168152602001600a5b60ff908116825260006020808401829052604080850183905260016060808701829052825180850184528581526080978801526001600160601b03808a1686528285529483902088518154958a0151948a0151928a01511515600160c81b0260ff60c81b1993909816600160c01b029290921661ffff60c01b199487166c01000000000000000000000000026001600160c01b031990961692909616919091179390931791909116929092179290921782559183015191810180546001600160a01b039384166001600160a01b03199182161790915560a08401516002830180549190941691161790915560c08201516003820190620004f1908262001239565b5050505050565b600a54604051630559ea4760e01b8152600260048201526000916001600160a01b031690630559ea4790602401602060405180830381865afa15801562000543573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200056991906200117a565b600a5460408051632e85b1f360e01b8152905192935083926000926001600160a01b031691632e85b1f39160048083019260209291908290030181865afa158015620005b9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005df91906200117a565b83146200066e57620005f062000f89565b600a5460408051632e85b1f360e01b8152905162000666926001600160a01b031691632e85b1f39160048083019260209291908290030181865afa1580156200063d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200066391906200117a565b90565b9050620006be565b600a5460408051632cc7144960e11b81529051620006bb926001600160a01b03169163598e28929160048083019260209291908290030181865afa1580156200063d573d6000803e3d6000fd5b90505b600a546040516340c10f1960e01b81526001600160a01b03868116600483015260248201869052909116906340c10f1990604401600060405180830381600087803b1580156200070d57600080fd5b505af115801562000722573d6000803e3d6000fd5b505050506040518060e00160405280836001600160601b03168152602001826001600160601b031681526020016200075f620010fc60201b60201c565b60ff908116825260006020808401829052306040808601919091526001600160a01b038a8116606080880191909152825180850184528581526080978801526001600160601b03808b16865260018086529584902089518154968b0151958b0151938b01511515600160c81b0260ff60c81b1994909916600160c01b029390931661ffff60c01b199583166c01000000000000000000000000026001600160c01b031990971693909216929092179490941792909216929092179390931783559284015190820180549184166001600160a01b031992831617905560a08401516002830180549190941691161790915560c0820151600382019062000865908262001239565b505030600090815260026020526040902080546001600160601b039094166001600160601b03199485168117909155600880549094161790925550505050565b600a54604051630559ea4760e01b8152600360048201526000916001600160a01b031690630559ea4790602401602060405180830381865afa158015620008f0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200091691906200117a565b9050600081600a546040516340c10f1960e01b81526001600160a01b038681166004830152602482018690529293509116906340c10f1990604401600060405180830381600087803b1580156200096c57600080fd5b505af115801562000981573d6000803e3d6000fd5b50506040805160e0810182526001600160601b0385811680835260085482166020808501918252602885870190815260006060870181815233608089019081526001600160a01b038f811660a08b019081528b518088018d5285815260c08c019081529885526001968790529a909320895181549751955193511515600160c81b0260ff60c81b1960ff909516600160c01b029490941661ffff60c01b19968b166c01000000000000000000000000026001600160c01b031990991691909a16179690961793909316969096179590951783555190820180549185166001600160a01b031992831617905594516002820180549190941695169490941790915551909350909150600382019062000a99908262001239565b505033600090815260026020908152604080832080546001600160601b0319166001600160601b03871617905580518082018252600f81526e52656769737472795365727669636560881b81840152905190935062000afb9184910162001305565b60408051808303601f19018152828252805160209182012060008181526007909252918120632392b61b60e21b845260036004850152919350339273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90638e4ad86c90602401602060405180830381865af415801562000b73573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000b99919062001355565b60ff1681526020808201929092526040908101600090812080546001600160a01b0319166001600160a01b0395909516949094179093556001600160601b03861683526006909152902062000bef838262001239565b5050600880546001600160601b039093166c0100000000000000000000000002600160601b600160c01b031990931692909217909155505050565b7f6ccc4a05ba84db57b26e1eca724a26bc49e11eb3a3513975525da73fd093530d805460ff191660019081179091556028600090815260046020527f2b634da6ab875d88498f503820d9b51f6eb10d3d2f378c32aef2289b509f3def9062000c90601490565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060049062000cc4603290565b60ff1660ff168152602001908152602001600020600062000cea620010fc60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060049062000d1e606e90565b60ff1660ff168152602001908152602001600020600062000d446200110160201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060049062000d78607890565b60ff1660ff168152602001908152602001600020600062000d9e6200110160201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060049062000dd2608290565b60ff1660ff168152602001908152602001600020600062000df86200110160201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060049062000e2c608c90565b60ff1660ff168152602001908152602001600020600062000e526200110160201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060059062000e8660d290565b60ff1660ff168152602001908152602001600020600062000eac6200110660201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060059062000ee060dc90565b60ff1660ff168152602001908152602001600020600062000f066200110b60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060059062000f3a603c90565b60ff1660ff168152602001908152602001600020600062000f606200110b60201b60201c565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b600090565b600a5460408051632e85b1f360e01b815290516000926001600160a01b031691632e85b1f39160048083019260209291908290030181865afa15801562000fd4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000ffa91906200117a565b600a546040516340c10f1960e01b815260016004820152602481018390529192506001600160a01b0316906340c10f1990604401600060405180830381600087803b1580156200104957600080fd5b505af11580156200105e573d6000803e3d6000fd5b50505050600062001075826200066360201b60201c565b90506040518060e00160405280826001600160601b03168152602001620010e9600a60009054906101000a90046001600160a01b03166001600160a01b031663598e28926040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200063d573d6000803e3d6000fd5b6001600160601b03168152602001620003f05b601490565b603290565b606e90565b608c90565b611e7d80620030f283390190565b805160ff811681146200113057600080fd5b919050565b600080604083850312156200114957600080fd5b82516001600160a01b03811681146200116157600080fd5b915062001171602084016200111e565b90509250929050565b6000602082840312156200118d57600080fd5b5051919050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620011bf57607f821691505b602082108103620011e057634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200123457600081815260208120601f850160051c810160208610156200120f5750805b601f850160051c820191505b8181101562001230578281556001016200121b565b5050505b505050565b81516001600160401b0381111562001255576200125562001194565b6200126d81620012668454620011aa565b84620011e6565b602080601f831160018114620012a557600084156200128c5750858301515b600019600386901b1c1916600185901b17855562001230565b600085815260208120601f198616915b82811015620012d657888601518255948401946001909101908401620012b5565b5085821015620012f55787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208083528351808285015260005b81811015620013345785810183015185820160400152820162001316565b506000604082860101526040601f19601f8301168501019250505092915050565b6000602082840312156200136857600080fd5b62001373826200111e565b9392505050565b611d68806200138a6000396000f3fe608060405234801561001057600080fd5b50600436106101375760003560e01c80638b09a5f0116100b8578063bb826b621161007c578063bb826b621461017e578063bc36dc91146102e8578063c3c5a547146102f9578063d272ac1e1461030c578063e285c9c41461033e578063e74d052f1461034657600080fd5b80638b09a5f01461027c578063a3bcd81d1461029c578063a48f42e0146102af578063a5df9e4e146102c2578063b69b2e11146102d557600080fd5b806338bb429a116100ff57806338bb429a146101ed5780633fe9300e146102005780634cd361ad146102235780635f15615114610238578063893d20e81461027457600080fd5b806301ffc9a71461013c5780630dab67c51461017e57806314afd79e146101945780631a848cfb146101bf57806321e18ac8146101c7575b600080fd5b61016961014a36600461158a565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610186600381565b604051908152602001610175565b6101a76101a23660046115e3565b610359565b6040516001600160a01b039091168152602001610175565b61018661046f565b6101d56101373660046117f7565b6040516001600160601b039091168152602001610175565b6101a76101fb366004611847565b6104e2565b6102166040518060200160405280600081525081565b60405161017591906118b4565b6102366102313660046118c7565b610538565b005b610169610246366004611912565b6001600160601b0391909116600090815260036020908152604080832060ff94851684529091529020541690565b6101a761078f565b61028f61028a3660046115e3565b61079a565b604051610175919061194b565b6101a76102aa3660046119ce565b610901565b61028f6102bd366004611847565b610957565b6101d56102d0366004611a29565b610a29565b6102166102e3366004611847565b6113af565b6009546001600160a01b03166101a7565b6101696103073660046115e3565b61145b565b6101d561031a3660046115e3565b6001600160a01b03166000908152600260205260409020546001600160601b031690565b6101a7600181565b610169610354366004611847565b6114f2565b6009546001600160a01b0382811660009081526002602052604080822054905163046e44af60e11b81526001600160601b03909116600482015290929190911690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e906024015b602060405180830381865af41580156103dd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104019190611a5e565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa158015610445573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104699190611a7b565b92915050565b600954604080516318160ddd60e01b815290516000926001600160a01b0316916318160ddd9160048083019260209291908290030181865afa1580156104b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104dd9190611a98565b905090565b60095460405163046e44af60e11b81526001600160601b03831660048201526000916001600160a01b031690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e906024016103c0565b61054061078f565b6001600160a01b0316336001600160a01b031614610571576040516330cd747160e01b815260040160405180910390fd5b6001600160601b038381166000908152600160208181526040808420909201546001600160a01b0316808452600290915291819020549051630a4d29dd60e31b8152921660048301529073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af41580156105f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061061b9190611ab1565b156106495760405163b9b633df60e01b81526001600160601b03851660048201526024015b60405180910390fd5b6001600160601b03841660009081526001602052604090205461068490600160c01b900460ff16610678602890565b60ff9081169116141590565b156106ad5760405163025b2d4960e41b81526001600160601b0385166004820152602401610640565b60ff80841660009081526004602090815260408083208685168452909152902054161580156106fb575060ff8084166000908152600560209081526040808320868516845290915290205416155b1561072657604051638880f20760e01b815260ff808516600483015283166024820152604401610640565b6001600160601b038416600081815260036020908152604080832060ff881680855290835292819020805460ff19166001179055519182527fe26cfba837db0d7c153ec866fbad0352b9052133ad3e374829bc342a828f19e3910160405180910390a250505050565b60006104dd30610359565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160a01b038083166000908152600260208181526040808420546001600160601b039081168552600180845294829020825160e08101845281548084168252600160601b81049093169481019490945260ff600160c01b8304811693850193909352600160c81b9091049091161515606083015292830154841660808201529082015490921660a083015260038101805460c08401919061087890611ace565b80601f01602080910402602001604051908101604052809291908181526020018280546108a490611ace565b80156108f15780601f106108c6576101008083540402835291602001916108f1565b820191906000526020600020905b8154815290600101906020018083116108d457829003601f168201915b5050505050815250509050919050565b6000808360405160200161091591906118b4565b60408051601f19818403018152918152815160209283012060009081526007835281812060ff871682529092529020546001600160a01b031691505092915050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160601b03808316600090815260016020818152604092839020835160e08101855281548087168252600160601b81049096169281019290925260ff600160c01b8604811694830194909452600160c81b909404909216151560608301528201546001600160a01b03908116608083015260028301541660a082015260038201805491929160c08401919061087890611ace565b600854600160601b90046001600160601b03166000908152600160208190526040822001546001600160a01b03163314610a76576040516395d3b24b60e01b815260040160405180910390fd5b6040808301516020808501516001600160601b0380821660009081526001808552868220875160e08101895281548086168252600160601b81049095169681019690965260ff600160c01b8504811698870198909852600160c81b90930490961615156060850152948101546001600160a01b03908116608085015260028201541660a08401526003810180549495929492939260c084019190610b1990611ace565b80601f0160208091040260200160405190810160405280929190818152602001828054610b4590611ace565b8015610b925780601f10610b6757610100808354040283529160200191610b92565b820191906000526020600020905b815481529060010190602001808311610b7557829003601f168201915b5050509190925250505060408101516080820151919250906001600160a01b038116610bd15760405163b0014c0760e01b815260040160405180910390fd5b6000610beb8860600151896080015186606001518561154c565b60095460a08a01516040805160208101825260008082529151631109bad360e11b815294955090936001600160a01b039093169263221375a692610c36929091879190600401611b08565b6020604051808303816000875af1158015610c55573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c799190611a98565b90508097508789600001906001600160601b031690816001600160601b03168152505088600160008a6001600160601b03166001600160601b0316815260200190815260200160002060008201518160000160006101000a8154816001600160601b0302191690836001600160601b03160217905550602082015181600001600c6101000a8154816001600160601b0302191690836001600160601b0316021790555060408201518160000160186101000a81548160ff021916908360ff16021790555060608201518160000160196101000a81548160ff02191690831515021790555060808201518160010160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060a08201518160020160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060c0820151816003019081610dcc9190611b8c565b50505060808901516001600160a01b0316156112ca5760ff8088166000908152600460209081526040808320888516845290915281205490911615159003610e3457604051638880f20760e01b815260ff808916600483015285166024820152604401610640565b60808901516001600160a01b038116600090815260026020526040908190205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610eac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed09190611ab1565b15610ef95760405163fdcce17f60e01b81526001600160a01b0382166004820152602401610640565b6001600160a01b038116600090815260026020526040902080546bffffffffffffffffffffffff19166001600160601b038b16179055610f4688610f3b602890565b60ff90811691161490565b156112c4576000808b60c00151806020019051810190610f669190611c4c565b91509150600082604051602001610f7d91906118b4565b60408051808303601f19018152908290528051602090910120632b10f60d60e21b825260ff84166004830152915060039073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015610fea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061100e9190611a98565b10806111c35750604051632b10f60d60e21b815260ff8316600482015260039073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af415801561106a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061108e9190611a98565b1180156111c357506000818152600760205260408082209051632b10f60d60e21b815260ff85166004820152829073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90638e4ad86c9060019073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015611117573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061113b9190611a98565b6111459190611ccf565b6040518263ffffffff1660e01b815260040161116391815260200190565b602060405180830381865af4158015611180573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111a49190611cf0565b60ff1681526020810191909152604001600020546001600160a01b0316145b156111e65760405163124574bd60e01b815260ff83166004820152602401610640565b600081815260076020908152604080832060ff861684529091529020546001600160a01b03161561122e5782826040516361b38f9b60e01b8152600401610640929190611d0d565b6001600160601b038c1660009081526006602052604090206112508482611b8c565b50600081815260076020908152604080832060ff861684529091529081902080546001600160a01b0319166001600160a01b038716179055517f61a7c276e668b50bec61296f0af36680712490afcfd5df73ff24b8c8a3c33f88906112b89085908590611d0d565b60405180910390a15050505b5061131c565b60ff808816600090815260056020908152604080832088851684529091528120549091161515900361131c57604051638880f20760e01b815260ff808916600483015285166024820152604401610640565b876001600160601b03167f0143a802dbbc7e1f7d8ca58d46b81999d7187c7ae6430704da53cf553d791b698a602001518b604001518c608001518d60a0015160405161139b94939291906001600160601b0394909416845260ff9290921660208401526001600160a01b03908116604084015216606082015260800190565b60405180910390a250505050505050919050565b6001600160601b03811660009081526006602052604090208054606091906113d690611ace565b80601f016020809104026020016040519081016040528092919081815260200182805461140290611ace565b801561144f5780601f106114245761010080835404028352916020019161144f565b820191906000526020600020905b81548152906001019060200180831161143257829003601f168201915b50505050509050919050565b6001600160a01b0381166000908152600260205260408082205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f906024015b602060405180830381865af41580156114ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104699190611ab1565b6001600160601b03811660009081526001602052604080822054905163b2466acf60e01b8152600160c01b90910460ff16600482015273__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf906024016114b1565b60006001600160a01b038416611571578215611569575080611582565b506000611582565b841561157e575082611582565b5060005b949350505050565b60006020828403121561159c57600080fd5b81356001600160e01b0319811681146115b457600080fd5b9392505050565b6001600160a01b03811681146115d057600080fd5b50565b80356115de816115bb565b919050565b6000602082840312156115f557600080fd5b81356115b4816115bb565b634e487b7160e01b600052604160045260246000fd5b60405160e0810167ffffffffffffffff8111828210171561163957611639611600565b60405290565b604051601f8201601f1916810167ffffffffffffffff8111828210171561166857611668611600565b604052919050565b6001600160601b03811681146115d057600080fd5b80356115de81611670565b60ff811681146115d057600080fd5b80356115de81611690565b80151581146115d057600080fd5b80356115de816116aa565b600067ffffffffffffffff8211156116dd576116dd611600565b50601f01601f191660200190565b60006116fe6116f9846116c3565b61163f565b905082815283838301111561171257600080fd5b828260208301376000602084830101529392505050565b600082601f83011261173a57600080fd5b6115b4838335602085016116eb565b600060e0828403121561175b57600080fd5b611763611616565b905061176e82611685565b815261177c60208301611685565b602082015261178d6040830161169f565b604082015261179e606083016116b8565b60608201526117af608083016115d3565b60808201526117c060a083016115d3565b60a082015260c082013567ffffffffffffffff8111156117df57600080fd5b6117eb84828501611729565b60c08301525092915050565b6000806040838503121561180a57600080fd5b8235611815816115bb565b9150602083013567ffffffffffffffff81111561183157600080fd5b61183d85828601611749565b9150509250929050565b60006020828403121561185957600080fd5b81356115b481611670565b60005b8381101561187f578181015183820152602001611867565b50506000910152565b600081518084526118a0816020860160208601611864565b601f01601f19169290920160200192915050565b6020815260006115b46020830184611888565b6000806000606084860312156118dc57600080fd5b83356118e781611670565b925060208401356118f781611690565b9150604084013561190781611690565b809150509250925092565b6000806040838503121561192557600080fd5b823561193081611670565b9150602083013561194081611690565b809150509250929050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516119b460c08401826001600160a01b03169052565b5060c083015160e080840152611582610100840182611888565b600080604083850312156119e157600080fd5b823567ffffffffffffffff8111156119f857600080fd5b8301601f81018513611a0957600080fd5b611a18858235602084016116eb565b925050602083013561194081611690565b600060208284031215611a3b57600080fd5b813567ffffffffffffffff811115611a5257600080fd5b61158284828501611749565b600060208284031215611a7057600080fd5b81516115b481611670565b600060208284031215611a8d57600080fd5b81516115b4816115bb565b600060208284031215611aaa57600080fd5b5051919050565b600060208284031215611ac357600080fd5b81516115b4816116aa565b600181811c90821680611ae257607f821691505b602082108103611b0257634e487b7160e01b600052602260045260246000fd5b50919050565b6001600160a01b03848116825283166020820152606060408201819052600090611b3490830184611888565b95945050505050565b601f821115611b8757600081815260208120601f850160051c81016020861015611b645750805b601f850160051c820191505b81811015611b8357828155600101611b70565b5050505b505050565b815167ffffffffffffffff811115611ba657611ba6611600565b611bba81611bb48454611ace565b84611b3d565b602080601f831160018114611bef5760008415611bd75750858301515b600019600386901b1c1916600185901b178555611b83565b600085815260208120601f198616915b82811015611c1e57888601518255948401946001909101908401611bff565b5085821015611c3c5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60008060408385031215611c5f57600080fd5b825167ffffffffffffffff811115611c7657600080fd5b8301601f81018513611c8757600080fd5b8051611c956116f9826116c3565b818152866020838501011115611caa57600080fd5b611cbb826020830160208601611864565b809450505050602083015161194081611690565b8181038181111561046957634e487b7160e01b600052601160045260246000fd5b600060208284031215611d0257600080fd5b81516115b481611690565b604081526000611d206040830185611888565b905060ff83166020830152939250505056fea2646970667358221220da537019b56b248b4335be3cb5286e6151130efe2291f053d127f2bb2e974afe64736f6c6343000814003360806040523480156200001157600080fd5b5060405162001e7d38038062001e7d833981016040819052620000349162000165565b60405180606001604052806029815260200162001e54602991396040805180820190915260048152632224a82960e11b602082015260006200007783826200023c565b5060016200008682826200023c565b5050506001600160a01b038116620000e45760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4e46542d3031303a52454749535452595f5a45524f0000000000604482015260640160405180910390fd5b600c80546001600160a01b0319166001600160a01b03831617905546600d819055620001109062000131565b600e8190556200012290600a6200041d565b600f555060046010556200046a565b60005b811562000160578062000147816200042b565b9150620001589050600a8362000447565b915062000134565b919050565b6000602082840312156200017857600080fd5b81516001600160a01b03811681146200019057600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620001c257607f821691505b602082108103620001e357634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200023757600081815260208120601f850160051c81016020861015620002125750805b601f850160051c820191505b8181101562000233578281556001016200021e565b5050505b505050565b81516001600160401b0381111562000258576200025862000197565b6200027081620002698454620001ad565b84620001e9565b602080601f831160018114620002a857600084156200028f5750858301515b600019600386901b1c1916600185901b17855562000233565b600085815260208120601f198616915b82811015620002d957888601518255948401946001909101908401620002b8565b5085821015620002f85787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156200035f57816000190482111562000343576200034362000308565b808516156200035157918102915b93841c939080029062000323565b509250929050565b600082620003785750600162000417565b81620003875750600062000417565b8160018114620003a05760028114620003ab57620003cb565b600191505062000417565b60ff841115620003bf57620003bf62000308565b50506001821b62000417565b5060208310610133831016604e8410600b8410161715620003f0575081810a62000417565b620003fc83836200031e565b806000190482111562000413576200041362000308565b0290505b92915050565b600062000190838362000367565b60006001820162000440576200044062000308565b5060010190565b6000826200046557634e487b7160e01b600052601260045260246000fd5b500490565b6119da806200047a6000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c80634f6ccce7116100f9578063a2309ff811610097578063c87b56dd11610071578063c87b56dd146103a8578063e985e9c5146103bb578063f21de1e8146103ce578063f76f8d78146103df57600080fd5b8063a2309ff814610385578063a3f4df7e1461038d578063b88d4fde1461039557600080fd5b806370a08231116100d357806370a0823114610344578063862440e21461035757806395d89b411461036a578063a22cb4651461037257600080fd5b80634f6ccce714610315578063598e2892146103285780636352211e1461033157600080fd5b806323b872dd1161016657806340c10f191161014057806340c10f19146102b157806342842e0e146102c457806342966c68146102d75780634f558e79146102ea57600080fd5b806323b872dd146102825780632e85b1f3146102955780632f745c591461029e57600080fd5b8063081812fc116101a2578063081812fc14610227578063095ea7b31461025257806318160ddd14610267578063221375a61461026f57600080fd5b806301ffc9a7146101c95780630559ea47146101f157806306fdde0314610212575b600080fd5b6101dc6101d7366004611391565b610402565b60405190151581526020015b60405180910390f35b6102046101ff3660046113b5565b61042d565b6040519081526020016101e8565b61021a610462565b6040516101e89190611414565b61023a6102353660046113b5565b6104f4565b6040516001600160a01b0390911681526020016101e8565b610265610260366004611443565b61051d565b005b600854610204565b61020461027d366004611519565b61052c565b610265610290366004611577565b6105ea565b61020461083581565b6102046102ac366004611443565b610693565b6102656102bf366004611443565b6106f8565b6102656102d2366004611577565b610741565b6102656102e53660046113b5565b61075c565b6101dc6102f83660046113b5565b6000908152600260205260409020546001600160a01b0316151590565b6102046103233660046113b5565b6107b3565b61020461044d81565b61023a61033f3660046113b5565b61080c565b6102046103523660046115b3565b610817565b6102656103653660046115ce565b61085f565b61021a6108fc565b610265610380366004611615565b61090b565b601154610204565b61021a610916565b6102656103a3366004611651565b610932565b61021a6103b63660046113b5565b61094f565b6101dc6103c93660046116cd565b6109f9565b600c546001600160a01b031661023a565b61021a604051806040016040528060048152602001632224a82960e11b81525081565b60006001600160e01b0319821663780e9d6360e01b1480610427575061042782610a27565b92915050565b6000600e54600d54600f54846104439190611716565b61044d919061172d565b610458906064611716565b610427919061172d565b60606000805461047190611740565b80601f016020809104026020016040519081016040528092919081815260200182805461049d90611740565b80156104ea5780601f106104bf576101008083540402835291602001916104ea565b820191906000526020600020905b8154815290600101906020018083116104cd57829003601f168201915b5050505050905090565b60006104ff82610a77565b506000828152600460205260409020546001600160a01b0316610427565b610528828233610ab0565b5050565b600c546000906001600160a01b031633146105625760405162461bcd60e51b81526004016105599061177a565b60405180910390fd5b61056a610abd565b90506001600160a01b038316156105a3576000818152600a6020526040902080546001600160a01b0319166001600160a01b0385161790555b8151156105c4576000818152600b602052604090206105c28382611809565b505b6105ce8482610ae4565b601180549060006105de836118c9565b91905055509392505050565b6105f5838383610afe565b6000818152600a60205260409020546001600160a01b03161561068e576000818152600a6020526040908190205490516373fbfdc360e11b81526001600160a01b0385811660048301528481166024830152604482018490529091169063e7f7fb8690606401600060405180830381600087803b15801561067557600080fd5b505af1158015610689573d6000803e3d6000fd5b505050505b505050565b600061069e83610817565b82106106cf5760405163295f44f760e21b81526001600160a01b038416600482015260248101839052604401610559565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600c546001600160a01b031633146107225760405162461bcd60e51b81526004016105599061177a565b60118054906000610732836118c9565b91905055506105288282610ae4565b61068e83838360405180602001604052806000815250610932565b600c546001600160a01b031633146107865760405162461bcd60e51b81526004016105599061177a565b61078f81610a77565b5061079981610b83565b6000818152600b602052604081206107b09161132d565b50565b60006107be60085490565b82106107e75760405163295f44f760e21b81526000600482015260248101839052604401610559565b600882815481106107fa576107fa6118e2565b90600052602060002001549050919050565b600061042782610a77565b60006001600160a01b038216610843576040516322718ad960e21b815260006004820152602401610559565b506001600160a01b031660009081526003602052604090205490565b600c546001600160a01b031633146108895760405162461bcd60e51b81526004016105599061177a565b60008151116108da5760405162461bcd60e51b815260206004820152601760248201527f4552524f523a4352472d3031313a5552495f454d5054590000000000000000006044820152606401610559565b6108e382610a77565b506000828152600b6020526040902061068e8282611809565b60606001805461047190611740565b610528338383610bbe565b60405180606001604052806029815260200161197c6029913981565b61093d8484846105ea565b61094984848484610c5d565b50505050565b606061095a82610a77565b506000828152600b60205260409020805461097490611740565b80601f01602080910402602001604051908101604052809291908181526020018280546109a090611740565b80156109ed5780601f106109c2576101008083540402835291602001916109ed565b820191906000526020600020905b8154815290600101906020018083116109d057829003601f168201915b50505050509050919050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60006001600160e01b031982166380ac58cd60e01b1480610a5857506001600160e01b03198216635b5e139f60e01b145b8061042757506301ffc9a760e01b6001600160e01b0319831614610427565b6000818152600260205260408120546001600160a01b03168061042757604051637e27328960e01b815260048101849052602401610559565b61068e8383836001610d86565b6000610aca60105461042d565b601080549192506000610adc836118c9565b919050555090565b610528828260405180602001604052806000815250610e8c565b6001600160a01b038216610b2857604051633250574960e11b815260006004820152602401610559565b6000610b35838333610ea3565b9050836001600160a01b0316816001600160a01b031614610949576040516364283d7b60e01b81526001600160a01b0380861660048301526024820184905282166044820152606401610559565b6000610b926000836000610ea3565b90506001600160a01b03811661052857604051637e27328960e01b815260048101839052602401610559565b6001600160a01b038216610bf057604051630b61174360e31b81526001600160a01b0383166004820152602401610559565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0383163b1561094957604051630a85bd0160e11b81526001600160a01b0384169063150b7a0290610c9f9033908890879087906004016118f8565b6020604051808303816000875af1925050508015610cda575060408051601f3d908101601f19168201909252610cd791810190611935565b60015b610d43573d808015610d08576040519150601f19603f3d011682016040523d82523d6000602084013e610d0d565b606091505b508051600003610d3b57604051633250574960e11b81526001600160a01b0385166004820152602401610559565b805181602001fd5b6001600160e01b03198116630a85bd0160e11b14610d7f57604051633250574960e11b81526001600160a01b0385166004820152602401610559565b5050505050565b8080610d9a57506001600160a01b03821615155b15610e5c576000610daa84610a77565b90506001600160a01b03831615801590610dd65750826001600160a01b0316816001600160a01b031614155b8015610de95750610de781846109f9565b155b15610e125760405163a9fbf51f60e01b81526001600160a01b0384166004820152602401610559565b8115610e5a5783856001600160a01b0316826001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b5050600090815260046020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b610e968383610f78565b61068e6000848484610c5d565b600080610eb1858585610fdd565b90506001600160a01b038116610f0e57610f0984600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b610f31565b846001600160a01b0316816001600160a01b031614610f3157610f3181856110d6565b6001600160a01b038516610f4d57610f4884611167565b610f70565b846001600160a01b0316816001600160a01b031614610f7057610f708585611216565b949350505050565b6001600160a01b038216610fa257604051633250574960e11b815260006004820152602401610559565b6000610fb083836000610ea3565b90506001600160a01b0381161561068e576040516339e3563760e11b815260006004820152602401610559565b6000828152600260205260408120546001600160a01b039081169083161561100a5761100a818486611266565b6001600160a01b0381161561104857611027600085600080610d86565b6001600160a01b038116600090815260036020526040902080546000190190555b6001600160a01b03851615611077576001600160a01b0385166000908152600360205260409020805460010190555b60008481526002602052604080822080546001600160a01b0319166001600160a01b0389811691821790925591518793918516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4949350505050565b60006110e183610817565b600083815260076020526040902054909150808214611134576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061117990600190611952565b600083815260096020526040812054600880549394509092849081106111a1576111a16118e2565b9060005260206000200154905080600883815481106111c2576111c26118e2565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806111fa576111fa611965565b6001900381819060005260206000200160009055905550505050565b6000600161122384610817565b61122d9190611952565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6112718383836112ca565b61068e576001600160a01b03831661129f57604051637e27328960e01b815260048101829052602401610559565b60405163177e802f60e01b81526001600160a01b038316600482015260248101829052604401610559565b60006001600160a01b03831615801590610f705750826001600160a01b0316846001600160a01b03161480611304575061130484846109f9565b80610f705750506000908152600460205260409020546001600160a01b03908116911614919050565b50805461133990611740565b6000825580601f10611349575050565b601f0160209004906000526020600020908101906107b091905b808211156113775760008155600101611363565b5090565b6001600160e01b0319811681146107b057600080fd5b6000602082840312156113a357600080fd5b81356113ae8161137b565b9392505050565b6000602082840312156113c757600080fd5b5035919050565b6000815180845260005b818110156113f4576020818501810151868301820152016113d8565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006113ae60208301846113ce565b80356001600160a01b038116811461143e57600080fd5b919050565b6000806040838503121561145657600080fd5b61145f83611427565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561149e5761149e61146d565b604051601f8501601f19908116603f011681019082821181831017156114c6576114c661146d565b816040528093508581528686860111156114df57600080fd5b858560208301376000602087830101525050509392505050565b600082601f83011261150a57600080fd5b6113ae83833560208501611483565b60008060006060848603121561152e57600080fd5b61153784611427565b925061154560208501611427565b9150604084013567ffffffffffffffff81111561156157600080fd5b61156d868287016114f9565b9150509250925092565b60008060006060848603121561158c57600080fd5b61159584611427565b92506115a360208501611427565b9150604084013590509250925092565b6000602082840312156115c557600080fd5b6113ae82611427565b600080604083850312156115e157600080fd5b82359150602083013567ffffffffffffffff8111156115ff57600080fd5b61160b858286016114f9565b9150509250929050565b6000806040838503121561162857600080fd5b61163183611427565b91506020830135801515811461164657600080fd5b809150509250929050565b6000806000806080858703121561166757600080fd5b61167085611427565b935061167e60208601611427565b925060408501359150606085013567ffffffffffffffff8111156116a157600080fd5b8501601f810187136116b257600080fd5b6116c187823560208401611483565b91505092959194509250565b600080604083850312156116e057600080fd5b6116e983611427565b91506116f760208401611427565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761042757610427611700565b8082018082111561042757610427611700565b600181811c9082168061175457607f821691505b60208210810361177457634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526021908201527f4552524f523a4e46542d3030313a43414c4c45525f4e4f545f524547495354526040820152605960f81b606082015260800190565b601f82111561068e57600081815260208120601f850160051c810160208610156117e25750805b601f850160051c820191505b81811015611801578281556001016117ee565b505050505050565b815167ffffffffffffffff8111156118235761182361146d565b611837816118318454611740565b846117bb565b602080601f83116001811461186c57600084156118545750858301515b600019600386901b1c1916600185901b178555611801565b600085815260208120601f198616915b8281101561189b5788860151825594840194600190910190840161187c565b50858210156118b95787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000600182016118db576118db611700565b5060010190565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061192b908301846113ce565b9695505050505050565b60006020828403121561194757600080fd5b81516113ae8161137b565b8181038181111561042757610427611700565b634e487b7160e01b600052603160045260246000fdfe44657a656e7472616c697a656420496e737572616e63652050726f746f636f6c205265676973747279a2646970667358221220aa4ab71e5429c269fe81515c2906cdaaf8874f3b8f505fee48d0453385a68c9264736f6c6343000814003344657a656e7472616c697a656420496e737572616e63652050726f746f636f6c205265676973747279",
714
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101375760003560e01c80638b09a5f0116100b8578063bb826b621161007c578063bb826b621461017e578063bc36dc91146102e8578063c3c5a547146102f9578063d272ac1e1461030c578063e285c9c41461033e578063e74d052f1461034657600080fd5b80638b09a5f01461027c578063a3bcd81d1461029c578063a48f42e0146102af578063a5df9e4e146102c2578063b69b2e11146102d557600080fd5b806338bb429a116100ff57806338bb429a146101ed5780633fe9300e146102005780634cd361ad146102235780635f15615114610238578063893d20e81461027457600080fd5b806301ffc9a71461013c5780630dab67c51461017e57806314afd79e146101945780631a848cfb146101bf57806321e18ac8146101c7575b600080fd5b61016961014a36600461158a565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610186600381565b604051908152602001610175565b6101a76101a23660046115e3565b610359565b6040516001600160a01b039091168152602001610175565b61018661046f565b6101d56101373660046117f7565b6040516001600160601b039091168152602001610175565b6101a76101fb366004611847565b6104e2565b6102166040518060200160405280600081525081565b60405161017591906118b4565b6102366102313660046118c7565b610538565b005b610169610246366004611912565b6001600160601b0391909116600090815260036020908152604080832060ff94851684529091529020541690565b6101a761078f565b61028f61028a3660046115e3565b61079a565b604051610175919061194b565b6101a76102aa3660046119ce565b610901565b61028f6102bd366004611847565b610957565b6101d56102d0366004611a29565b610a29565b6102166102e3366004611847565b6113af565b6009546001600160a01b03166101a7565b6101696103073660046115e3565b61145b565b6101d561031a3660046115e3565b6001600160a01b03166000908152600260205260409020546001600160601b031690565b6101a7600181565b610169610354366004611847565b6114f2565b6009546001600160a01b0382811660009081526002602052604080822054905163046e44af60e11b81526001600160601b03909116600482015290929190911690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e906024015b602060405180830381865af41580156103dd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104019190611a5e565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa158015610445573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104699190611a7b565b92915050565b600954604080516318160ddd60e01b815290516000926001600160a01b0316916318160ddd9160048083019260209291908290030181865afa1580156104b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104dd9190611a98565b905090565b60095460405163046e44af60e11b81526001600160601b03831660048201526000916001600160a01b031690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e906024016103c0565b61054061078f565b6001600160a01b0316336001600160a01b031614610571576040516330cd747160e01b815260040160405180910390fd5b6001600160601b038381166000908152600160208181526040808420909201546001600160a01b0316808452600290915291819020549051630a4d29dd60e31b8152921660048301529073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af41580156105f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061061b9190611ab1565b156106495760405163b9b633df60e01b81526001600160601b03851660048201526024015b60405180910390fd5b6001600160601b03841660009081526001602052604090205461068490600160c01b900460ff16610678602890565b60ff9081169116141590565b156106ad5760405163025b2d4960e41b81526001600160601b0385166004820152602401610640565b60ff80841660009081526004602090815260408083208685168452909152902054161580156106fb575060ff8084166000908152600560209081526040808320868516845290915290205416155b1561072657604051638880f20760e01b815260ff808516600483015283166024820152604401610640565b6001600160601b038416600081815260036020908152604080832060ff881680855290835292819020805460ff19166001179055519182527fe26cfba837db0d7c153ec866fbad0352b9052133ad3e374829bc342a828f19e3910160405180910390a250505050565b60006104dd30610359565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160a01b038083166000908152600260208181526040808420546001600160601b039081168552600180845294829020825160e08101845281548084168252600160601b81049093169481019490945260ff600160c01b8304811693850193909352600160c81b9091049091161515606083015292830154841660808201529082015490921660a083015260038101805460c08401919061087890611ace565b80601f01602080910402602001604051908101604052809291908181526020018280546108a490611ace565b80156108f15780601f106108c6576101008083540402835291602001916108f1565b820191906000526020600020905b8154815290600101906020018083116108d457829003601f168201915b5050505050815250509050919050565b6000808360405160200161091591906118b4565b60408051601f19818403018152918152815160209283012060009081526007835281812060ff871682529092529020546001600160a01b031691505092915050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160601b03808316600090815260016020818152604092839020835160e08101855281548087168252600160601b81049096169281019290925260ff600160c01b8604811694830194909452600160c81b909404909216151560608301528201546001600160a01b03908116608083015260028301541660a082015260038201805491929160c08401919061087890611ace565b600854600160601b90046001600160601b03166000908152600160208190526040822001546001600160a01b03163314610a76576040516395d3b24b60e01b815260040160405180910390fd5b6040808301516020808501516001600160601b0380821660009081526001808552868220875160e08101895281548086168252600160601b81049095169681019690965260ff600160c01b8504811698870198909852600160c81b90930490961615156060850152948101546001600160a01b03908116608085015260028201541660a08401526003810180549495929492939260c084019190610b1990611ace565b80601f0160208091040260200160405190810160405280929190818152602001828054610b4590611ace565b8015610b925780601f10610b6757610100808354040283529160200191610b92565b820191906000526020600020905b815481529060010190602001808311610b7557829003601f168201915b5050509190925250505060408101516080820151919250906001600160a01b038116610bd15760405163b0014c0760e01b815260040160405180910390fd5b6000610beb8860600151896080015186606001518561154c565b60095460a08a01516040805160208101825260008082529151631109bad360e11b815294955090936001600160a01b039093169263221375a692610c36929091879190600401611b08565b6020604051808303816000875af1158015610c55573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c799190611a98565b90508097508789600001906001600160601b031690816001600160601b03168152505088600160008a6001600160601b03166001600160601b0316815260200190815260200160002060008201518160000160006101000a8154816001600160601b0302191690836001600160601b03160217905550602082015181600001600c6101000a8154816001600160601b0302191690836001600160601b0316021790555060408201518160000160186101000a81548160ff021916908360ff16021790555060608201518160000160196101000a81548160ff02191690831515021790555060808201518160010160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060a08201518160020160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060c0820151816003019081610dcc9190611b8c565b50505060808901516001600160a01b0316156112ca5760ff8088166000908152600460209081526040808320888516845290915281205490911615159003610e3457604051638880f20760e01b815260ff808916600483015285166024820152604401610640565b60808901516001600160a01b038116600090815260026020526040908190205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610eac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed09190611ab1565b15610ef95760405163fdcce17f60e01b81526001600160a01b0382166004820152602401610640565b6001600160a01b038116600090815260026020526040902080546bffffffffffffffffffffffff19166001600160601b038b16179055610f4688610f3b602890565b60ff90811691161490565b156112c4576000808b60c00151806020019051810190610f669190611c4c565b91509150600082604051602001610f7d91906118b4565b60408051808303601f19018152908290528051602090910120632b10f60d60e21b825260ff84166004830152915060039073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015610fea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061100e9190611a98565b10806111c35750604051632b10f60d60e21b815260ff8316600482015260039073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af415801561106a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061108e9190611a98565b1180156111c357506000818152600760205260408082209051632b10f60d60e21b815260ff85166004820152829073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90638e4ad86c9060019073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015611117573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061113b9190611a98565b6111459190611ccf565b6040518263ffffffff1660e01b815260040161116391815260200190565b602060405180830381865af4158015611180573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111a49190611cf0565b60ff1681526020810191909152604001600020546001600160a01b0316145b156111e65760405163124574bd60e01b815260ff83166004820152602401610640565b600081815260076020908152604080832060ff861684529091529020546001600160a01b03161561122e5782826040516361b38f9b60e01b8152600401610640929190611d0d565b6001600160601b038c1660009081526006602052604090206112508482611b8c565b50600081815260076020908152604080832060ff861684529091529081902080546001600160a01b0319166001600160a01b038716179055517f61a7c276e668b50bec61296f0af36680712490afcfd5df73ff24b8c8a3c33f88906112b89085908590611d0d565b60405180910390a15050505b5061131c565b60ff808816600090815260056020908152604080832088851684529091528120549091161515900361131c57604051638880f20760e01b815260ff808916600483015285166024820152604401610640565b876001600160601b03167f0143a802dbbc7e1f7d8ca58d46b81999d7187c7ae6430704da53cf553d791b698a602001518b604001518c608001518d60a0015160405161139b94939291906001600160601b0394909416845260ff9290921660208401526001600160a01b03908116604084015216606082015260800190565b60405180910390a250505050505050919050565b6001600160601b03811660009081526006602052604090208054606091906113d690611ace565b80601f016020809104026020016040519081016040528092919081815260200182805461140290611ace565b801561144f5780601f106114245761010080835404028352916020019161144f565b820191906000526020600020905b81548152906001019060200180831161143257829003601f168201915b50505050509050919050565b6001600160a01b0381166000908152600260205260408082205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f906024015b602060405180830381865af41580156114ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104699190611ab1565b6001600160601b03811660009081526001602052604080822054905163b2466acf60e01b8152600160c01b90910460ff16600482015273__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf906024016114b1565b60006001600160a01b038416611571578215611569575080611582565b506000611582565b841561157e575082611582565b5060005b949350505050565b60006020828403121561159c57600080fd5b81356001600160e01b0319811681146115b457600080fd5b9392505050565b6001600160a01b03811681146115d057600080fd5b50565b80356115de816115bb565b919050565b6000602082840312156115f557600080fd5b81356115b4816115bb565b634e487b7160e01b600052604160045260246000fd5b60405160e0810167ffffffffffffffff8111828210171561163957611639611600565b60405290565b604051601f8201601f1916810167ffffffffffffffff8111828210171561166857611668611600565b604052919050565b6001600160601b03811681146115d057600080fd5b80356115de81611670565b60ff811681146115d057600080fd5b80356115de81611690565b80151581146115d057600080fd5b80356115de816116aa565b600067ffffffffffffffff8211156116dd576116dd611600565b50601f01601f191660200190565b60006116fe6116f9846116c3565b61163f565b905082815283838301111561171257600080fd5b828260208301376000602084830101529392505050565b600082601f83011261173a57600080fd5b6115b4838335602085016116eb565b600060e0828403121561175b57600080fd5b611763611616565b905061176e82611685565b815261177c60208301611685565b602082015261178d6040830161169f565b604082015261179e606083016116b8565b60608201526117af608083016115d3565b60808201526117c060a083016115d3565b60a082015260c082013567ffffffffffffffff8111156117df57600080fd5b6117eb84828501611729565b60c08301525092915050565b6000806040838503121561180a57600080fd5b8235611815816115bb565b9150602083013567ffffffffffffffff81111561183157600080fd5b61183d85828601611749565b9150509250929050565b60006020828403121561185957600080fd5b81356115b481611670565b60005b8381101561187f578181015183820152602001611867565b50506000910152565b600081518084526118a0816020860160208601611864565b601f01601f19169290920160200192915050565b6020815260006115b46020830184611888565b6000806000606084860312156118dc57600080fd5b83356118e781611670565b925060208401356118f781611690565b9150604084013561190781611690565b809150509250925092565b6000806040838503121561192557600080fd5b823561193081611670565b9150602083013561194081611690565b809150509250929050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516119b460c08401826001600160a01b03169052565b5060c083015160e080840152611582610100840182611888565b600080604083850312156119e157600080fd5b823567ffffffffffffffff8111156119f857600080fd5b8301601f81018513611a0957600080fd5b611a18858235602084016116eb565b925050602083013561194081611690565b600060208284031215611a3b57600080fd5b813567ffffffffffffffff811115611a5257600080fd5b61158284828501611749565b600060208284031215611a7057600080fd5b81516115b481611670565b600060208284031215611a8d57600080fd5b81516115b4816115bb565b600060208284031215611aaa57600080fd5b5051919050565b600060208284031215611ac357600080fd5b81516115b4816116aa565b600181811c90821680611ae257607f821691505b602082108103611b0257634e487b7160e01b600052602260045260246000fd5b50919050565b6001600160a01b03848116825283166020820152606060408201819052600090611b3490830184611888565b95945050505050565b601f821115611b8757600081815260208120601f850160051c81016020861015611b645750805b601f850160051c820191505b81811015611b8357828155600101611b70565b5050505b505050565b815167ffffffffffffffff811115611ba657611ba6611600565b611bba81611bb48454611ace565b84611b3d565b602080601f831160018114611bef5760008415611bd75750858301515b600019600386901b1c1916600185901b178555611b83565b600085815260208120601f198616915b82811015611c1e57888601518255948401946001909101908401611bff565b5085821015611c3c5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60008060408385031215611c5f57600080fd5b825167ffffffffffffffff811115611c7657600080fd5b8301601f81018513611c8757600080fd5b8051611c956116f9826116c3565b818152866020838501011115611caa57600080fd5b611cbb826020830160208601611864565b809450505050602083015161194081611690565b8181038181111561046957634e487b7160e01b600052601160045260246000fd5b600060208284031215611d0257600080fd5b81516115b481611690565b604081526000611d206040830185611888565b905060ff83166020830152939250505056fea2646970667358221220da537019b56b248b4335be3cb5286e6151130efe2291f053d127f2bb2e974afe64736f6c63430008140033",
817
+ "bytecode": "0x60806040523480156200001157600080fd5b5060405162005070380380620050708339810160408190526200003491620010b6565b620000766301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6001600160a01b038216620000d15760405162461bcd60e51b815260206004820152601d60248201527f52656769737472793a207265676973747279206f776e65722069732030000000604482015260640160405180910390fd5b604051632392b61b60e21b81526003600482015273__$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$__9063ac43d83490602401602060405180830381865af4158015611532573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115569190611c58565b90508181111580611571575061156c8282611e29565b600114155b156115a057600154604051633988b95f60e11b815260ff8086166004830152909116602482015260440161058c565b6001805460ff191660ff85169081179091556040519081527fa1ca780f1d8fd7049ee7b71b43f24fd6cf67a1bd3f6144f9f54a14862786ddc19060200160405180910390a1505050565b60006001600160a01b03841661160f578215611607575080611620565b506000611620565b841561161c575082611620565b5060005b949350505050565b6000808260c001518060200190518101906116439190611e4a565b9150915060008260405160200161165a919061190e565b60408051808303601f19018152919052805160209091012060015490915060ff8084169116146116a25760405163124574bd60e01b815260ff8316600482015260240161058c565b600081815260096020908152604080832060ff861684529091529020546001600160a01b0316156116ea5782826040516361b38f9b60e01b815260040161058c929190611ecd565b83516001600160601b0316600090815260086020526040902061170d8482611d69565b506080840151600082815260096020908152604080832060ff871684529091529081902080546001600160a01b0319166001600160a01b0390931692909217909155517f61a7c276e668b50bec61296f0af36680712490afcfd5df73ff24b8c8a3c33f889061177f9085908590611ecd565b60405180910390a150505050565b60006020828403121561179f57600080fd5b81356001600160e01b0319811681146117b757600080fd5b9392505050565b6001600160a01b03811681146117d357600080fd5b50565b80356117e1816117be565b919050565b6000602082840312156117f857600080fd5b81356117b7816117be565b60ff811681146117d357600080fd5b80356117e181611803565b80151581146117d357600080fd5b80356117e18161181d565b60008060006060848603121561184b57600080fd5b8335611856816117be565b9250602084013561186681611803565b915060408401356118768161181d565b809150509250925092565b6001600160601b03811681146117d357600080fd5b80356117e181611881565b6000602082840312156118b357600080fd5b81356117b781611881565b60005b838110156118d95781810151838201526020016118c1565b50506000910152565b600081518084526118fa8160208601602086016118be565b601f01601f19169290920160200192915050565b6020815260006117b760208301846118e2565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161198a60c08401826001600160a01b03169052565b5060c083015160e0808401526116206101008401826118e2565b634e487b7160e01b600052604160045260246000fd5b60405160e0810167ffffffffffffffff811182821017156119dd576119dd6119a4565b60405290565b604051601f8201601f1916810167ffffffffffffffff81118282101715611a0c57611a0c6119a4565b604052919050565b600067ffffffffffffffff821115611a2e57611a2e6119a4565b50601f01601f191660200190565b6000611a4f611a4a84611a14565b6119e3565b9050828152838383011115611a6357600080fd5b828260208301376000602084830101529392505050565b60008060408385031215611a8d57600080fd5b823567ffffffffffffffff811115611aa457600080fd5b8301601f81018513611ab557600080fd5b611ac485823560208401611a3c565b9250506020830135611ad581611803565b809150509250929050565b600082601f830112611af157600080fd5b6117b783833560208501611a3c565b600060208284031215611b1257600080fd5b813567ffffffffffffffff80821115611b2a57600080fd5b9083019060e08286031215611b3e57600080fd5b611b466119ba565b611b4f83611896565b8152611b5d60208401611896565b6020820152611b6e60408401611812565b6040820152611b7f6060840161182b565b6060820152611b90608084016117d6565b6080820152611ba160a084016117d6565b60a082015260c083013582811115611bb857600080fd5b611bc487828601611ae0565b60c08301525095945050505050565b60008060408385031215611be657600080fd5b8235611bf1816117be565b91506020830135611ad581611803565b600060208284031215611c1357600080fd5b81356117b781611803565b600060208284031215611c3057600080fd5b81516117b781611881565b600060208284031215611c4d57600080fd5b81516117b7816117be565b600060208284031215611c6a57600080fd5b5051919050565b600181811c90821680611c8557607f821691505b602082108103611ca557634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215611cbd57600080fd5b81516117b78161181d565b600060208284031215611cda57600080fd5b81516117b781611803565b6001600160a01b03848116825283166020820152606060408201819052600090611d11908301846118e2565b95945050505050565b601f821115611d6457600081815260208120601f850160051c81016020861015611d415750805b601f850160051c820191505b81811015611d6057828155600101611d4d565b5050505b505050565b815167ffffffffffffffff811115611d8357611d836119a4565b611d9781611d918454611c71565b84611d1a565b602080601f831160018114611dcc5760008415611db45750858301515b600019600386901b1c1916600185901b178555611d60565b600085815260208120601f198616915b82811015611dfb57888601518255948401946001909101908401611ddc565b5085821015611e195787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b818103818111156104dc57634e487b7160e01b600052601160045260246000fd5b60008060408385031215611e5d57600080fd5b825167ffffffffffffffff811115611e7457600080fd5b8301601f81018513611e8557600080fd5b8051611e93611a4a82611a14565b818152866020838501011115611ea857600080fd5b611eb98260208301602086016118be565b8094505050506020830151611ad581611803565b604081526000611ee060408301856118e2565b905060ff83166020830152939250505056fea2646970667358221220ab6e4a33a49846a049bf90c26601d9e2d8ecef13aaff9af6b86637a322faf78864736f6c6343000814003360806040523480156200001157600080fd5b5060405162001e3d38038062001e3d83398101604081905262000034916200012e565b60405180606001604052806024815260200162001e196024913960408051808201909152600681526511125413919560d21b6020820152600062000079838262000205565b50600162000088828262000205565b5050506001600160a01b038116620000b357604051630ae1413f60e11b815260040160405180910390fd5b600c80546001600160a01b0319166001600160a01b03831617905546600d8190556000600e555b80156200010e57600e8054906000620000f383620002e7565b90915550620001069050600a8262000303565b9050620000da565b600e546200011e90600a62000425565b600f555050600460105562000433565b6000602082840312156200014157600080fd5b81516001600160a01b03811681146200015957600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200018b57607f821691505b602082108103620001ac57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200020057600081815260208120601f850160051c81016020861015620001db5750805b601f850160051c820191505b81811015620001fc57828155600101620001e7565b5050505b505050565b81516001600160401b0381111562000221576200022162000160565b620002398162000232845462000176565b84620001b2565b602080601f831160018114620002715760008415620002585750858301515b600019600386901b1c1916600185901b178555620001fc565b600085815260208120601f198616915b82811015620002a25788860151825594840194600190910190840162000281565b5085821015620002c15787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600060018201620002fc57620002fc620002d1565b5060010190565b6000826200032157634e487b7160e01b600052601260045260246000fd5b500490565b600181815b80851115620003675781600019048211156200034b576200034b620002d1565b808516156200035957918102915b93841c93908002906200032b565b509250929050565b60008262000380575060016200041f565b816200038f575060006200041f565b8160018114620003a85760028114620003b357620003d3565b60019150506200041f565b60ff841115620003c757620003c7620002d1565b50506001821b6200041f565b5060208310610133831016604e8410600b8410161715620003f8575081810a6200041f565b62000404838362000326565b80600019048211156200041b576200041b620002d1565b0290505b92915050565b60006200015983836200036f565b6119d680620004436000396000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c80634f558e7911610104578063a22cb465116100a2578063c87b56dd11610071578063c87b56dd146103dc578063e985e9c5146103ef578063f21de1e814610402578063f76f8d781461041357600080fd5b8063a22cb465146103a6578063a2309ff8146103b9578063a3f4df7e146103c1578063b88d4fde146103c957600080fd5b80636352211e116100de5780636352211e1461036557806370a0823114610378578063862440e21461038b57806395d89b411461039e57600080fd5b80634f558e791461031e5780634f6ccce714610349578063598e28921461035c57600080fd5b806323b872dd11610171578063342ec4431161014b578063342ec443146102bc57806340c10f19146102e557806342842e0e146102f857806342966c681461030b57600080fd5b806323b872dd1461028d5780632e85b1f3146102a05780632f745c59146102a957600080fd5b8063081812fc116101ad578063081812fc14610232578063095ea7b31461025d57806318160ddd14610272578063221375a61461027a57600080fd5b806301ffc9a7146101d45780630559ea47146101fc57806306fdde031461021d575b600080fd5b6101e76101e23660046113da565b610438565b60405190151581526020015b60405180910390f35b61020f61020a3660046113f7565b610463565b6040519081526020016101f3565b610225610498565b6040516101f39190611456565b6102456102403660046113f7565b61052a565b6040516001600160a01b0390911681526020016101f3565b61027061026b366004611485565b610553565b005b60085461020f565b61020f61028836600461155b565b610562565b61027061029b3660046115b9565b61061f565b61020f61083581565b61020f6102b7366004611485565b6106c8565b6102456102ca3660046113f7565b6000908152600a60205260409020546001600160a01b031690565b6102706102f3366004611485565b61072d565b6102706103063660046115b9565b610779565b6102706103193660046113f7565b610794565b6101e761032c3660046113f7565b6000908152600260205260409020546001600160a01b0316151590565b61020f6103573660046113f7565b6107ee565b61020f61044d81565b6102456103733660046113f7565b610847565b61020f6103863660046115f5565b610852565b610270610399366004611610565b61089a565b610225610945565b6102706103b4366004611657565b610954565b60115461020f565b61022561095f565b6102706103d7366004611693565b61097b565b6102256103ea3660046113f7565b610998565b6101e76103fd36600461170f565b610a42565b600c546001600160a01b0316610245565b6102256040518060400160405280600681526020016511125413919560d21b81525081565b60006001600160e01b0319821663780e9d6360e01b148061045d575061045d82610a70565b92915050565b6000600e54600d54600f54846104799190611758565b610483919061176f565b61048e906064611758565b61045d919061176f565b6060600080546104a790611782565b80601f01602080910402602001604051908101604052809291908181526020018280546104d390611782565b80156105205780601f106104f557610100808354040283529160200191610520565b820191906000526020600020905b81548152906001019060200180831161050357829003601f168201915b5050505050905090565b600061053582610ac0565b506000828152600460205260409020546001600160a01b031661045d565b61055e828233610af9565b5050565b600c546000906001600160a01b03163314610597576040516399c6cd7160e01b81523360048201526024015b60405180910390fd5b61059f610b06565b90506001600160a01b038316156105d8576000818152600a6020526040902080546001600160a01b0319166001600160a01b0385161790555b8151156105f9576000818152600b602052604090206105f7838261180a565b505b60118054906000610609836118ca565b91905055506106188482610b2d565b9392505050565b61062a838383610b47565b6000818152600a60205260409020546001600160a01b0316156106c3576000818152600a6020526040908190205490516373fbfdc360e11b81526001600160a01b0385811660048301528481166024830152604482018490529091169063e7f7fb8690606401600060405180830381600087803b1580156106aa57600080fd5b505af11580156106be573d6000803e3d6000fd5b505050505b505050565b60006106d383610852565b82106107045760405163295f44f760e21b81526001600160a01b03841660048201526024810183905260440161058e565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600c546001600160a01b0316331461075a576040516399c6cd7160e01b815233600482015260240161058e565b6011805490600061076a836118ca565b919050555061055e8282610b2d565b6106c38383836040518060200160405280600081525061097b565b600c546001600160a01b031633146107c1576040516399c6cd7160e01b815233600482015260240161058e565b6107ca81610ac0565b506107d481610bcc565b6000818152600b602052604081206107eb91611376565b50565b60006107f960085490565b82106108225760405163295f44f760e21b8152600060048201526024810183905260440161058e565b60088281548110610835576108356118e3565b90600052602060002001549050919050565b600061045d82610ac0565b60006001600160a01b03821661087e576040516322718ad960e21b81526000600482015260240161058e565b506001600160a01b031660009081526003602052604090205490565b600c546001600160a01b031633146108c7576040516399c6cd7160e01b815233600482015260240161058e565b80516000036108e957604051638e45096160e01b815260040160405180910390fd5b6000828152600b60205260408120805461090290611782565b905011156109235760405163303822c760e21b815260040160405180910390fd5b61092c82610ac0565b506000828152600b602052604090206106c3828261180a565b6060600180546104a790611782565b61055e338383610c07565b60405180606001604052806024815260200161197d6024913981565b61098684848461061f565b61099284848484610ca6565b50505050565b60606109a382610ac0565b506000828152600b6020526040902080546109bd90611782565b80601f01602080910402602001604051908101604052809291908181526020018280546109e990611782565b8015610a365780601f10610a0b57610100808354040283529160200191610a36565b820191906000526020600020905b815481529060010190602001808311610a1957829003601f168201915b50505050509050919050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60006001600160e01b031982166380ac58cd60e01b1480610aa157506001600160e01b03198216635b5e139f60e01b145b8061045d57506301ffc9a760e01b6001600160e01b031983161461045d565b6000818152600260205260408120546001600160a01b03168061045d57604051637e27328960e01b81526004810184905260240161058e565b6106c38383836001610dcf565b6000610b13601054610463565b601080549192506000610b25836118ca565b919050555090565b61055e828260405180602001604052806000815250610ed5565b6001600160a01b038216610b7157604051633250574960e11b81526000600482015260240161058e565b6000610b7e838333610eec565b9050836001600160a01b0316816001600160a01b031614610992576040516364283d7b60e01b81526001600160a01b038086166004830152602482018490528216604482015260640161058e565b6000610bdb6000836000610eec565b90506001600160a01b03811661055e57604051637e27328960e01b81526004810183905260240161058e565b6001600160a01b038216610c3957604051630b61174360e31b81526001600160a01b038316600482015260240161058e565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0383163b1561099257604051630a85bd0160e11b81526001600160a01b0384169063150b7a0290610ce89033908890879087906004016118f9565b6020604051808303816000875af1925050508015610d23575060408051601f3d908101601f19168201909252610d2091810190611936565b60015b610d8c573d808015610d51576040519150601f19603f3d011682016040523d82523d6000602084013e610d56565b606091505b508051600003610d8457604051633250574960e11b81526001600160a01b038516600482015260240161058e565b805181602001fd5b6001600160e01b03198116630a85bd0160e11b14610dc857604051633250574960e11b81526001600160a01b038516600482015260240161058e565b5050505050565b8080610de357506001600160a01b03821615155b15610ea5576000610df384610ac0565b90506001600160a01b03831615801590610e1f5750826001600160a01b0316816001600160a01b031614155b8015610e325750610e308184610a42565b155b15610e5b5760405163a9fbf51f60e01b81526001600160a01b038416600482015260240161058e565b8115610ea35783856001600160a01b0316826001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b5050600090815260046020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b610edf8383610fc1565b6106c36000848484610ca6565b600080610efa858585611026565b90506001600160a01b038116610f5757610f5284600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b610f7a565b846001600160a01b0316816001600160a01b031614610f7a57610f7a818561111f565b6001600160a01b038516610f9657610f91846111b0565b610fb9565b846001600160a01b0316816001600160a01b031614610fb957610fb9858561125f565b949350505050565b6001600160a01b038216610feb57604051633250574960e11b81526000600482015260240161058e565b6000610ff983836000610eec565b90506001600160a01b038116156106c3576040516339e3563760e11b81526000600482015260240161058e565b6000828152600260205260408120546001600160a01b0390811690831615611053576110538184866112af565b6001600160a01b0381161561109157611070600085600080610dcf565b6001600160a01b038116600090815260036020526040902080546000190190555b6001600160a01b038516156110c0576001600160a01b0385166000908152600360205260409020805460010190555b60008481526002602052604080822080546001600160a01b0319166001600160a01b0389811691821790925591518793918516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4949350505050565b600061112a83610852565b60008381526007602052604090205490915080821461117d576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906111c290600190611953565b600083815260096020526040812054600880549394509092849081106111ea576111ea6118e3565b90600052602060002001549050806008838154811061120b5761120b6118e3565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061124357611243611966565b6001900381819060005260206000200160009055905550505050565b6000600161126c84610852565b6112769190611953565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6112ba838383611313565b6106c3576001600160a01b0383166112e857604051637e27328960e01b81526004810182905260240161058e565b60405163177e802f60e01b81526001600160a01b03831660048201526024810182905260440161058e565b60006001600160a01b03831615801590610fb95750826001600160a01b0316846001600160a01b0316148061134d575061134d8484610a42565b80610fb95750506000908152600460205260409020546001600160a01b03908116911614919050565b50805461138290611782565b6000825580601f10611392575050565b601f0160209004906000526020600020908101906107eb91905b808211156113c057600081556001016113ac565b5090565b6001600160e01b0319811681146107eb57600080fd5b6000602082840312156113ec57600080fd5b8135610618816113c4565b60006020828403121561140957600080fd5b5035919050565b6000815180845260005b818110156114365760208185018101518683018201520161141a565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006106186020830184611410565b80356001600160a01b038116811461148057600080fd5b919050565b6000806040838503121561149857600080fd5b6114a183611469565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156114e0576114e06114af565b604051601f8501601f19908116603f01168101908282118183101715611508576115086114af565b8160405280935085815286868601111561152157600080fd5b858560208301376000602087830101525050509392505050565b600082601f83011261154c57600080fd5b610618838335602085016114c5565b60008060006060848603121561157057600080fd5b61157984611469565b925061158760208501611469565b9150604084013567ffffffffffffffff8111156115a357600080fd5b6115af8682870161153b565b9150509250925092565b6000806000606084860312156115ce57600080fd5b6115d784611469565b92506115e560208501611469565b9150604084013590509250925092565b60006020828403121561160757600080fd5b61061882611469565b6000806040838503121561162357600080fd5b82359150602083013567ffffffffffffffff81111561164157600080fd5b61164d8582860161153b565b9150509250929050565b6000806040838503121561166a57600080fd5b61167383611469565b91506020830135801515811461168857600080fd5b809150509250929050565b600080600080608085870312156116a957600080fd5b6116b285611469565b93506116c060208601611469565b925060408501359150606085013567ffffffffffffffff8111156116e357600080fd5b8501601f810187136116f457600080fd5b611703878235602084016114c5565b91505092959194509250565b6000806040838503121561172257600080fd5b61172b83611469565b915061173960208401611469565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761045d5761045d611742565b8082018082111561045d5761045d611742565b600181811c9082168061179657607f821691505b6020821081036117b657634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156106c357600081815260208120601f850160051c810160208610156117e35750805b601f850160051c820191505b81811015611802578281556001016117ef565b505050505050565b815167ffffffffffffffff811115611824576118246114af565b611838816118328454611782565b846117bc565b602080601f83116001811461186d57600084156118555750858301515b600019600386901b1c1916600185901b178555611802565b600085815260208120601f198616915b8281101561189c5788860151825594840194600190910190840161187d565b50858210156118ba5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000600182016118dc576118dc611742565b5060010190565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061192c90830184611410565b9695505050505050565b60006020828403121561194857600080fd5b8151610618816113c4565b8181038181111561045d5761045d611742565b634e487b7160e01b600052603160045260246000fdfe44657a656e7472616c697a656420496e737572616e63652050726f746f636f6c204e4654a2646970667358221220c02111bfc1745238d5ed0c2884c130c5bf93d8ad7a5e25aae3575fdca7d43f7564736f6c6343000814003344657a656e7472616c697a656420496e737572616e63652050726f746f636f6c204e4654",
818
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101735760003560e01c8063a3bcd81d116100de578063c3c5a54711610097578063dd32047b11610071578063dd32047b146101ba578063e285c9c41461039e578063e74d052f146103a6578063feef0c9b146103b957600080fd5b8063c3c5a54714610359578063cde749f41461028d578063d272ac1e1461036c57600080fd5b8063a3bcd81d146102c0578063a48f42e0146102d3578063a5df9e4e146102e6578063b69b2e11146102f9578063bc36dc911461030c578063bfcdd7361461031d57600080fd5b806338e19a751161013057806338e19a751461022b5780633fe9300e14610245578063644c45e0146102685780637374162b1461028d578063893d20e8146102985780638b09a5f0146102a057600080fd5b806301ffc9a7146101785780630dab67c5146101ba57806314afd79e146101d05780631a848cfb146101fb5780632849697c1461020357806338bb429a14610218575b600080fd5b6101a561018636600461178d565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101c2600381565b6040519081526020016101b1565b6101e36101de3660046117e6565b6103cc565b6040516001600160a01b0390911681526020016101b1565b6101c26104e2565b610216610211366004611836565b610555565b005b6101e36102263660046118a1565b610956565b6102336109ac565b60405160ff90911681526020016101b1565b61025b6040518060200160405280600081525081565b6040516101b1919061190e565b600a546001600160601b03165b6040516001600160601b0390911681526020016101b1565b60015460ff16610233565b6101e3610a23565b6102b36102ae3660046117e6565b610a2e565b6040516101b19190611921565b6101e36102ce366004611a7a565b610b94565b6102b36102e13660046118a1565b610bea565b6102756102f4366004611b00565b610cbd565b61025b6103073660046118a1565b611285565b600b546001600160a01b03166101e3565b6101a561032b366004611bd3565b6001600160a01b0391909116600090815260076020908152604080832060ff94851684529091529020541690565b6101a56103673660046117e6565b611331565b61027561037a3660046117e6565b6001600160a01b03166000908152600360205260409020546001600160601b031690565b6101e3600181565b6101a56103b43660046118a1565b6113c8565b6102166103c7366004611c01565b611422565b600b546001600160a01b0382811660009081526003602052604080822054905163046e44af60e11b81526001600160601b03909116600482015290929190911690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e906024015b602060405180830381865af4158015610450573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104749190611c1e565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa1580156104b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104dc9190611c3b565b92915050565b600b54604080516318160ddd60e01b815290516000926001600160a01b0316916318160ddd9160048083019260209291908290030181865afa15801561052c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105509190611c58565b905090565b61055d610a23565b6001600160a01b0316336001600160a01b0316146105955760405163245aecd360e01b81523360048201526024015b60405180910390fd5b6001600160a01b038084166000908152600360208181526040808420546001600160601b0390811685526002808452828620835160e08101855281548085168252600160601b81049094169581019590955260ff600160c01b8404811694860194909452600160c81b909204909216151560608401526001810154861660808401529081015490941660a082015290830180549293919260c08401919061063b90611c71565b80601f016020809104026020016040519081016040528092919081815260200182805461066790611c71565b80156106b45780601f10610689576101008083540402835291602001916106b4565b820191906000526020600020905b81548152906001019060200180831161069757829003601f168201915b5050509190925250508151604051630a4d29dd60e31b81526001600160601b03909116600482015291925073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__916352694ee89150602401602060405180830381865af415801561071c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107409190611cab565b156107695760405163ddef98d760e01b81526001600160a01b038516600482015260240161058c565b6107858160400151610779603290565b60ff9081169116141590565b156107ad57604051629fd8a560e11b81526001600160a01b038516600482015260240161058c565b604051632b10f60d60e21b815260ff8416600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015610802573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108269190611c58565b600154604051632b10f60d60e21b815260ff909116600482015290915060009073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015610882573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a69190611c58565b905060038210806108b657508082115b156108d95760405163374a659160e21b815260ff8616600482015260240161058c565b6001600160a01b038616600081815260076020908152604080832060ff8a1680855290835292819020805460ff1916891515908117909155815194855291840192909252908201527f330dde7b71e0842a092329aeedc8f261bfaa3210e3743b743d0a147ab085e87f9060600160405180910390a1505050505050565b600b5460405163046e44af60e11b81526001600160601b03831660048201526000916001600160a01b031690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e90602401610433565b604051632392b61b60e21b81526003600482015260009073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90638e4ad86c90602401602060405180830381865af41580156109ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105509190611cc8565b6000610550306103cc565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160a01b038083166000908152600360208181526040808420546001600160601b039081168552600280845294829020825160e08101845281548084168252600160601b81049093169481019490945260ff600160c01b8304811693850193909352600160c81b909104909116151560608301526001810154851660808301529283015490931660a08401528101805460c084019190610b0b90611c71565b80601f0160208091040260200160405190810160405280929190818152602001828054610b3790611c71565b8015610b845780601f10610b5957610100808354040283529160200191610b84565b820191906000526020600020905b815481529060010190602001808311610b6757829003601f168201915b5050505050815250509050919050565b60008083604051602001610ba8919061190e565b60408051601f19818403018152918152815160209283012060009081526009835281812060ff871682529092529020546001600160a01b031691505092915050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160601b03808316600090815260026020818152604092839020835160e08101855281548087168252600160601b81049096169281019290925260ff600160c01b8604811694830194909452600160c81b9094049092161515606083015260018301546001600160a01b039081166080840152908301541660a082015260038201805491929160c084019190610b0b90611c71565b600a54600160601b90046001600160601b03166000908152600260205260408120600101546001600160a01b03163314610d0a576040516395d3b24b60e01b815260040160405180910390fd5b6040808301516020808501516001600160601b0380821660009081526002808552868220875160e08101895281548086168252600160601b81049095169681019690965260ff600160c01b8504811698870198909852600160c81b9093049096161515606085015260018201546001600160a01b0390811660808601529582015490951660a08401526003810180549495929492939260c084019190610daf90611c71565b80601f0160208091040260200160405190810160405280929190818152602001828054610ddb90611c71565b8015610e285780601f10610dfd57610100808354040283529160200191610e28565b820191906000526020600020905b815481529060010190602001808311610e0b57829003601f168201915b5050509190925250505060408101516080820151919250906001600160a01b038116610e675760405163b0014c0760e01b815260040160405180910390fd5b6000610e81886060015189608001518660600151856115ea565b600b5460a08a01516040805160208101825260008082529151631109bad360e11b815294955090936001600160a01b039093169263221375a692610ecc929091879190600401611ce5565b6020604051808303816000875af1158015610eeb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f0f9190611c58565b90508097508789600001906001600160601b031690816001600160601b03168152505088600260008a6001600160601b03166001600160601b0316815260200190815260200160002060008201518160000160006101000a8154816001600160601b0302191690836001600160601b03160217905550602082015181600001600c6101000a8154816001600160601b0302191690836001600160601b0316021790555060408201518160000160186101000a81548160ff021916908360ff16021790555060608201518160000160196101000a81548160ff02191690831515021790555060808201518160010160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060a08201518160020160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060c08201518160030190816110629190611d69565b50505060808901516001600160a01b0316156111f05760ff80881660009081526005602090815260408083208885168452909152812054909116151590036110ca57604051638880f20760e01b815260ff80891660048301528516602482015260440161058c565b60808901516001600160a01b038116600090815260036020526040908190205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611142573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111669190611cab565b1561118f5760405163fdcce17f60e01b81526001600160a01b038216600482015260240161058c565b6001600160a01b038116600090815260036020526040902080546bffffffffffffffffffffffff19166001600160601b038b161790556111dc886111d1603c90565b60ff90811691161490565b156111ea576111ea8a611628565b50611242565b60ff808816600090815260066020908152604080832088851684529091528120549091161515900361124257604051638880f20760e01b815260ff80891660048301528516602482015260440161058c565b7fd4d9275b28cfa17c18d3f5e6e1fcb0b668c04b3671eb181fee4cbd5c898a9c83896040516112719190611921565b60405180910390a150505050505050919050565b6001600160601b03811660009081526008602052604090208054606091906112ac90611c71565b80601f01602080910402602001604051908101604052809291908181526020018280546112d890611c71565b80156113255780601f106112fa57610100808354040283529160200191611325565b820191906000526020600020905b81548152906001019060200180831161130857829003601f168201915b50505050509050919050565b6001600160a01b0381166000908152600360205260408082205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f906024015b602060405180830381865af41580156113a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104dc9190611cab565b6001600160601b03811660009081526002602052604080822054905163b2466acf60e01b8152600160c01b90910460ff16600482015273__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401611387565b61142a610a23565b6001600160a01b0316336001600160a01b03161461145d5760405163245aecd360e01b815233600482015260240161058c565b600154604051632b10f60d60e21b815260ff909116600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af41580156114b6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114da9190611c58565b604051632b10f60d60e21b815260ff8416600482015290915060009073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015611532573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115569190611c58565b90508181111580611571575061156c8282611e29565b600114155b156115a057600154604051633988b95f60e11b815260ff8086166004830152909116602482015260440161058c565b6001805460ff191660ff85169081179091556040519081527fa1ca780f1d8fd7049ee7b71b43f24fd6cf67a1bd3f6144f9f54a14862786ddc19060200160405180910390a1505050565b60006001600160a01b03841661160f578215611607575080611620565b506000611620565b841561161c575082611620565b5060005b949350505050565b6000808260c001518060200190518101906116439190611e4a565b9150915060008260405160200161165a919061190e565b60408051808303601f19018152919052805160209091012060015490915060ff8084169116146116a25760405163124574bd60e01b815260ff8316600482015260240161058c565b600081815260096020908152604080832060ff861684529091529020546001600160a01b0316156116ea5782826040516361b38f9b60e01b815260040161058c929190611ecd565b83516001600160601b0316600090815260086020526040902061170d8482611d69565b506080840151600082815260096020908152604080832060ff871684529091529081902080546001600160a01b0319166001600160a01b0390931692909217909155517f61a7c276e668b50bec61296f0af36680712490afcfd5df73ff24b8c8a3c33f889061177f9085908590611ecd565b60405180910390a150505050565b60006020828403121561179f57600080fd5b81356001600160e01b0319811681146117b757600080fd5b9392505050565b6001600160a01b03811681146117d357600080fd5b50565b80356117e1816117be565b919050565b6000602082840312156117f857600080fd5b81356117b7816117be565b60ff811681146117d357600080fd5b80356117e181611803565b80151581146117d357600080fd5b80356117e18161181d565b60008060006060848603121561184b57600080fd5b8335611856816117be565b9250602084013561186681611803565b915060408401356118768161181d565b809150509250925092565b6001600160601b03811681146117d357600080fd5b80356117e181611881565b6000602082840312156118b357600080fd5b81356117b781611881565b60005b838110156118d95781810151838201526020016118c1565b50506000910152565b600081518084526118fa8160208601602086016118be565b601f01601f19169290920160200192915050565b6020815260006117b760208301846118e2565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161198a60c08401826001600160a01b03169052565b5060c083015160e0808401526116206101008401826118e2565b634e487b7160e01b600052604160045260246000fd5b60405160e0810167ffffffffffffffff811182821017156119dd576119dd6119a4565b60405290565b604051601f8201601f1916810167ffffffffffffffff81118282101715611a0c57611a0c6119a4565b604052919050565b600067ffffffffffffffff821115611a2e57611a2e6119a4565b50601f01601f191660200190565b6000611a4f611a4a84611a14565b6119e3565b9050828152838383011115611a6357600080fd5b828260208301376000602084830101529392505050565b60008060408385031215611a8d57600080fd5b823567ffffffffffffffff811115611aa457600080fd5b8301601f81018513611ab557600080fd5b611ac485823560208401611a3c565b9250506020830135611ad581611803565b809150509250929050565b600082601f830112611af157600080fd5b6117b783833560208501611a3c565b600060208284031215611b1257600080fd5b813567ffffffffffffffff80821115611b2a57600080fd5b9083019060e08286031215611b3e57600080fd5b611b466119ba565b611b4f83611896565b8152611b5d60208401611896565b6020820152611b6e60408401611812565b6040820152611b7f6060840161182b565b6060820152611b90608084016117d6565b6080820152611ba160a084016117d6565b60a082015260c083013582811115611bb857600080fd5b611bc487828601611ae0565b60c08301525095945050505050565b60008060408385031215611be657600080fd5b8235611bf1816117be565b91506020830135611ad581611803565b600060208284031215611c1357600080fd5b81356117b781611803565b600060208284031215611c3057600080fd5b81516117b781611881565b600060208284031215611c4d57600080fd5b81516117b7816117be565b600060208284031215611c6a57600080fd5b5051919050565b600181811c90821680611c8557607f821691505b602082108103611ca557634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215611cbd57600080fd5b81516117b78161181d565b600060208284031215611cda57600080fd5b81516117b781611803565b6001600160a01b03848116825283166020820152606060408201819052600090611d11908301846118e2565b95945050505050565b601f821115611d6457600081815260208120601f850160051c81016020861015611d415750805b601f850160051c820191505b81811015611d6057828155600101611d4d565b5050505b505050565b815167ffffffffffffffff811115611d8357611d836119a4565b611d9781611d918454611c71565b84611d1a565b602080601f831160018114611dcc5760008415611db45750858301515b600019600386901b1c1916600185901b178555611d60565b600085815260208120601f198616915b82811015611dfb57888601518255948401946001909101908401611ddc565b5085821015611e195787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b818103818111156104dc57634e487b7160e01b600052601160045260246000fd5b60008060408385031215611e5d57600080fd5b825167ffffffffffffffff811115611e7457600080fd5b8301601f81018513611e8557600080fd5b8051611e93611a4a82611a14565b818152866020838501011115611ea857600080fd5b611eb98260208301602086016118be565b8094505050506020830151611ad581611803565b604081526000611ee060408301856118e2565b905060ff83166020830152939250505056fea2646970667358221220ab6e4a33a49846a049bf90c26601d9e2d8ecef13aaff9af6b86637a322faf78864736f6c63430008140033",
715
819
  "linkReferences": {
716
820
  "contracts/types/NftId.sol": {
717
821
  "NftIdLib": [
718
822
  {
719
823
  "length": 20,
720
- "start": 5932
824
+ "start": 5920
721
825
  },
722
826
  {
723
827
  "length": 20,
724
- "start": 6304
828
+ "start": 6636
725
829
  },
726
830
  {
727
831
  "length": 20,
728
- "start": 6471
832
+ "start": 7317
729
833
  },
730
834
  {
731
835
  "length": 20,
732
- "start": 8700
836
+ "start": 9235
733
837
  },
734
838
  {
735
839
  "length": 20,
736
- "start": 10269
840
+ "start": 9844
737
841
  }
738
842
  ]
739
843
  },
@@ -741,7 +845,7 @@
741
845
  "ObjectTypeLib": [
742
846
  {
743
847
  "length": 20,
744
- "start": 10420
848
+ "start": 9995
745
849
  }
746
850
  ]
747
851
  },
@@ -749,29 +853,33 @@
749
853
  "VersionLib": [
750
854
  {
751
855
  "length": 20,
752
- "start": 2872
856
+ "start": 231
857
+ },
858
+ {
859
+ "length": 20,
860
+ "start": 2745
753
861
  },
754
862
  {
755
863
  "length": 20,
756
- "start": 9288
864
+ "start": 7376
757
865
  }
758
866
  ],
759
867
  "VersionPartLib": [
760
868
  {
761
869
  "length": 20,
762
- "start": 231
870
+ "start": 6867
763
871
  },
764
872
  {
765
873
  "length": 20,
766
- "start": 9018
874
+ "start": 6995
767
875
  },
768
876
  {
769
877
  "length": 20,
770
- "start": 9146
878
+ "start": 10119
771
879
  },
772
880
  {
773
881
  "length": 20,
774
- "start": 9319
882
+ "start": 10243
775
883
  }
776
884
  ]
777
885
  }
@@ -781,23 +889,23 @@
781
889
  "NftIdLib": [
782
890
  {
783
891
  "length": 20,
784
- "start": 930
892
+ "start": 1045
785
893
  },
786
894
  {
787
895
  "length": 20,
788
- "start": 1302
896
+ "start": 1761
789
897
  },
790
898
  {
791
899
  "length": 20,
792
- "start": 1469
900
+ "start": 2442
793
901
  },
794
902
  {
795
903
  "length": 20,
796
- "start": 3698
904
+ "start": 4360
797
905
  },
798
906
  {
799
907
  "length": 20,
800
- "start": 5267
908
+ "start": 4969
801
909
  }
802
910
  ]
803
911
  },
@@ -805,7 +913,7 @@
805
913
  "ObjectTypeLib": [
806
914
  {
807
915
  "length": 20,
808
- "start": 5418
916
+ "start": 5120
809
917
  }
810
918
  ]
811
919
  },
@@ -813,21 +921,25 @@
813
921
  "VersionLib": [
814
922
  {
815
923
  "length": 20,
816
- "start": 4286
924
+ "start": 2501
817
925
  }
818
926
  ],
819
927
  "VersionPartLib": [
820
928
  {
821
929
  "length": 20,
822
- "start": 4016
930
+ "start": 1992
931
+ },
932
+ {
933
+ "length": 20,
934
+ "start": 2120
823
935
  },
824
936
  {
825
937
  "length": 20,
826
- "start": 4144
938
+ "start": 5244
827
939
  },
828
940
  {
829
941
  "length": 20,
830
- "start": 4317
942
+ "start": 5368
831
943
  }
832
944
  ]
833
945
  }