@etherisc/gif-next 0.0.2-d372e08-980 → 0.0.2-d39f345-355

Sign up to get free protection for your applications and to get access to all the features.
Files changed (383) hide show
  1. package/README.md +71 -14
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +842 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +946 -219
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → components/IComponent.sol/IComponent.json} +303 -164
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +848 -31
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +864 -49
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +682 -9
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +844 -255
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +632 -194
  18. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  19. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  20. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  21. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +778 -0
  22. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  23. package/artifacts/contracts/instance/{AccessManagedSimple.sol/AccessManagedSimple.json → Cloneable.sol/Cloneable.json} +91 -2
  24. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  25. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1365 -439
  26. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +321 -168
  28. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  29. package/artifacts/contracts/instance/Instance.sol/Instance.json +996 -1302
  30. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  31. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +593 -180
  32. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  33. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +251 -270
  34. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  35. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +501 -292
  36. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  37. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +331 -98
  38. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  39. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +256 -0
  40. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  41. package/artifacts/contracts/instance/base/{ComponentServiceBase.sol/ComponentServiceBase.json → ComponentService.sol/ComponentService.json} +247 -180
  42. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  43. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  44. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  45. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +40 -10
  46. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  47. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +36 -11
  48. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  49. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +71 -45
  50. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  51. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  52. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
  53. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  54. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  55. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  56. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  57. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  58. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  59. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +1060 -0
  60. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  61. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +681 -0
  62. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  63. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1289 -0
  64. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  65. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +725 -0
  66. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  67. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +1040 -0
  68. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  69. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +685 -0
  70. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  71. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1273 -215
  72. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  73. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +428 -79
  74. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  75. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +627 -0
  76. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  77. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +709 -0
  78. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  79. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +602 -0
  80. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  81. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +804 -160
  82. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  83. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +969 -0
  84. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  85. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +539 -248
  86. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  87. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +78 -388
  88. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  89. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1615 -0
  90. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  91. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +777 -0
  92. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  93. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +803 -341
  94. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  95. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +334 -93
  96. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  97. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +257 -564
  98. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
  99. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +289 -124
  100. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  101. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
  102. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  103. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +244 -133
  104. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  105. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +149 -230
  106. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  107. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  108. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  109. package/artifacts/contracts/registry/Registry.sol/Registry.json +257 -235
  110. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  111. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  112. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  113. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +200 -335
  114. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  115. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +298 -145
  116. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  117. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +559 -0
  118. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  119. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +141 -53
  120. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  121. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  122. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  123. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  124. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +40 -29
  125. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  126. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +129 -0
  127. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  128. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +21 -34
  129. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  130. package/artifacts/contracts/{experiment/inheritance/IB.sol/IB.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +18 -20
  131. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  132. package/artifacts/contracts/shared/IService.sol/IService.json +86 -172
  133. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  134. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  135. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  136. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +120 -27
  137. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  138. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +248 -0
  139. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  140. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +294 -61
  141. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  142. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +129 -51
  143. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  144. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +84 -0
  145. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  146. package/artifacts/contracts/shared/Service.sol/Service.json +191 -163
  147. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  148. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
  149. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  150. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  151. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  152. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  153. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  154. package/artifacts/contracts/test/TestFee.sol/TestFee.json +2 -2
  155. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  156. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +129 -51
  157. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  158. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +6 -6
  159. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  160. package/artifacts/contracts/test/TestService.sol/TestService.json +210 -214
  161. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  162. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  163. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  164. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  165. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +8 -190
  166. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  167. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  168. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +4 -0
  169. package/artifacts/contracts/types/Amount.sol/AmountLib.json +209 -0
  170. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  171. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  172. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  173. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  174. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +179 -0
  175. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  176. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
  177. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  178. package/artifacts/contracts/types/Fee.sol/FeeLib.json +40 -9
  179. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  180. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
  181. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  182. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +17 -4
  183. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  184. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  185. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
  186. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  187. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  188. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  189. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +209 -0
  190. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
  191. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +23 -4
  192. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  193. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  194. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  195. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  196. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  197. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  198. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  199. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  200. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  201. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +38 -7
  202. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
  203. package/artifacts/contracts/types/UFixed.sol/MathLib.json +2 -2
  204. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
  205. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +2 -2
  206. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  207. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  208. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  209. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +2 -2
  210. package/contracts/components/Component.sol +253 -0
  211. package/contracts/components/Distribution.sol +204 -83
  212. package/contracts/components/IComponent.sol +76 -0
  213. package/contracts/components/IDistributionComponent.sol +44 -17
  214. package/contracts/components/IPoolComponent.sol +88 -37
  215. package/contracts/components/IProductComponent.sol +10 -5
  216. package/contracts/components/Pool.sol +222 -167
  217. package/contracts/components/Product.sol +244 -162
  218. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +13 -0
  219. package/contracts/instance/BundleManager.sol +126 -0
  220. package/contracts/instance/Cloneable.sol +51 -0
  221. package/contracts/instance/IInstance.sol +67 -19
  222. package/contracts/instance/IInstanceService.sol +46 -8
  223. package/contracts/instance/Instance.sol +151 -284
  224. package/contracts/instance/InstanceAccessManager.sol +414 -175
  225. package/contracts/instance/InstanceReader.sol +38 -36
  226. package/contracts/instance/InstanceService.sol +402 -122
  227. package/contracts/instance/InstanceServiceManager.sol +6 -9
  228. package/contracts/instance/ObjectManager.sol +82 -0
  229. package/contracts/instance/base/ComponentService.sol +121 -0
  230. package/contracts/instance/base/KeyValueStore.sol +13 -5
  231. package/contracts/instance/base/Lifecycle.sol +23 -6
  232. package/contracts/instance/module/IAccess.sol +36 -20
  233. package/contracts/instance/module/IBundle.sol +8 -5
  234. package/contracts/instance/module/IComponents.sol +41 -0
  235. package/contracts/instance/module/IDistribution.sol +2 -0
  236. package/contracts/instance/module/IPolicy.sol +41 -9
  237. package/contracts/instance/module/ISetup.sol +7 -21
  238. package/contracts/instance/service/ApplicationService.sol +355 -0
  239. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  240. package/contracts/instance/service/BundleService.sol +443 -0
  241. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  242. package/contracts/instance/service/ClaimService.sol +239 -0
  243. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  244. package/contracts/instance/service/DistributionService.sol +374 -31
  245. package/contracts/instance/service/DistributionServiceManager.sol +7 -10
  246. package/contracts/instance/service/IApplicationService.sol +78 -0
  247. package/contracts/instance/service/IBundleService.sol +102 -0
  248. package/contracts/instance/service/IClaimService.sol +92 -0
  249. package/contracts/instance/service/IDistributionService.sol +87 -0
  250. package/contracts/instance/service/IPolicyService.sol +139 -0
  251. package/contracts/instance/service/IPoolService.sol +80 -21
  252. package/contracts/instance/service/IProductService.sol +2 -72
  253. package/contracts/instance/service/PolicyService.sol +575 -0
  254. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  255. package/contracts/instance/service/PoolService.sol +248 -116
  256. package/contracts/instance/service/PoolServiceManager.sol +6 -9
  257. package/contracts/instance/service/ProductService.sol +105 -456
  258. package/contracts/instance/service/ProductServiceManager.sol +2 -2
  259. package/contracts/registry/ChainNft.sol +9 -1
  260. package/contracts/registry/IRegistry.sol +39 -19
  261. package/contracts/registry/IRegistryService.sol +31 -13
  262. package/contracts/registry/ITransferInterceptor.sol +1 -0
  263. package/contracts/registry/Registry.sol +243 -224
  264. package/contracts/registry/RegistryAccessManager.sol +216 -0
  265. package/contracts/registry/RegistryService.sol +97 -173
  266. package/contracts/registry/RegistryServiceManager.sol +21 -39
  267. package/contracts/registry/ReleaseManager.sol +324 -0
  268. package/contracts/registry/TokenRegistry.sol +22 -17
  269. package/contracts/shared/ERC165.sol +14 -12
  270. package/contracts/shared/INftOwnable.sol +11 -10
  271. package/contracts/shared/IPolicyHolder.sol +26 -0
  272. package/contracts/shared/IRegisterable.sol +4 -6
  273. package/contracts/shared/IRegistryLinked.sol +12 -0
  274. package/contracts/shared/IService.sol +5 -4
  275. package/contracts/shared/IVersionable.sol +4 -47
  276. package/contracts/shared/NftOwnable.sol +66 -80
  277. package/contracts/shared/PolicyHolder.sol +81 -0
  278. package/contracts/shared/ProxyManager.sol +100 -25
  279. package/contracts/shared/Registerable.sol +16 -32
  280. package/contracts/shared/RegistryLinked.sol +48 -0
  281. package/contracts/shared/Service.sol +41 -24
  282. package/contracts/shared/TokenHandler.sol +11 -5
  283. package/contracts/shared/Versionable.sol +4 -92
  284. package/contracts/test/TestRegisterable.sol +1 -1
  285. package/contracts/test/TestService.sol +4 -3
  286. package/contracts/types/Amount.sol +70 -0
  287. package/contracts/types/Blocknumber.sol +1 -0
  288. package/contracts/types/ClaimId.sol +75 -0
  289. package/contracts/types/DistributorType.sol +2 -2
  290. package/contracts/types/Fee.sol +13 -5
  291. package/contracts/types/NftId.sol +8 -0
  292. package/contracts/types/NftIdSet.sol +26 -24
  293. package/contracts/types/ObjectType.sol +11 -6
  294. package/contracts/types/PayoutId.sol +82 -0
  295. package/contracts/types/Referral.sol +4 -0
  296. package/contracts/types/RoleId.sol +26 -19
  297. package/contracts/types/Seconds.sol +54 -0
  298. package/contracts/types/StateId.sol +7 -2
  299. package/contracts/types/Timestamp.sol +18 -13
  300. package/contracts/types/UFixed.sol +1 -0
  301. package/contracts/types/Version.sol +1 -0
  302. package/package.json +3 -3
  303. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  304. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -327
  305. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  306. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -280
  307. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  308. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  309. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  310. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  311. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  312. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  313. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  314. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  315. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  316. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  317. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  318. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  319. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  320. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  321. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  322. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  323. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  324. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  325. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  326. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  327. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  328. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  329. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  330. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  331. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  332. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  333. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  334. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  335. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  336. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  337. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  338. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  339. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  340. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  341. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  342. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  343. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  344. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  345. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  346. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  347. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  348. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1132
  349. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  350. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
  351. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  352. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  353. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  354. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  355. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  356. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  357. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  358. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +0 -442
  359. package/contracts/components/BaseComponent.sol +0 -91
  360. package/contracts/components/IBaseComponent.sol +0 -25
  361. package/contracts/experiment/cloning/Cloner.sol +0 -47
  362. package/contracts/experiment/errors/Require.sol +0 -38
  363. package/contracts/experiment/errors/Revert.sol +0 -44
  364. package/contracts/experiment/inheritance/A.sol +0 -53
  365. package/contracts/experiment/inheritance/B.sol +0 -28
  366. package/contracts/experiment/inheritance/C.sol +0 -34
  367. package/contracts/experiment/inheritance/IA.sol +0 -13
  368. package/contracts/experiment/inheritance/IB.sol +0 -10
  369. package/contracts/experiment/inheritance/IC.sol +0 -12
  370. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  371. package/contracts/experiment/statemachine/ISM.sol +0 -25
  372. package/contracts/experiment/statemachine/SM.sol +0 -57
  373. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  374. package/contracts/experiment/types/TypeA.sol +0 -47
  375. package/contracts/experiment/types/TypeB.sol +0 -29
  376. package/contracts/instance/AccessManagedSimple.sol +0 -115
  377. package/contracts/instance/AccessManagerSimple.sol +0 -692
  378. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  379. package/contracts/instance/base/ComponentServiceBase.sol +0 -134
  380. package/contracts/instance/base/IInstanceBase.sol +0 -23
  381. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  382. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  383. package/contracts/shared/RegisterableUpgradable.sol +0 -16
@@ -6,130 +6,227 @@
6
6
  {
7
7
  "inputs": [
8
8
  {
9
- "internalType": "ObjectType",
10
- "name": "componentType",
11
- "type": "uint8"
9
+ "internalType": "address",
10
+ "name": "authority",
11
+ "type": "address"
12
12
  }
13
13
  ],
14
- "name": "ComponentTypeInvalid",
14
+ "name": "AccessManagedInvalidAuthority",
15
15
  "type": "error"
16
16
  },
17
17
  {
18
18
  "inputs": [
19
19
  {
20
20
  "internalType": "address",
21
- "name": "registry",
21
+ "name": "caller",
22
22
  "type": "address"
23
23
  },
24
24
  {
25
- "internalType": "NftId",
26
- "name": "nftId",
27
- "type": "uint96"
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
28
28
  }
29
29
  ],
30
- "name": "ErrorAlreadyLinked",
30
+ "name": "AccessManagedRequiredDelay",
31
31
  "type": "error"
32
32
  },
33
33
  {
34
34
  "inputs": [
35
35
  {
36
36
  "internalType": "address",
37
- "name": "contractAddress",
37
+ "name": "caller",
38
38
  "type": "address"
39
39
  }
40
40
  ],
41
- "name": "ErrorContractNotRegistered",
41
+ "name": "AccessManagedUnauthorized",
42
42
  "type": "error"
43
43
  },
44
44
  {
45
45
  "inputs": [
46
46
  {
47
47
  "internalType": "address",
48
- "name": "bundleOwner",
48
+ "name": "component",
49
49
  "type": "address"
50
+ }
51
+ ],
52
+ "name": "ErrorComponentServiceComponentLocked",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
57
+ {
58
+ "internalType": "NftId",
59
+ "name": "instanceNftId",
60
+ "type": "uint96"
61
+ },
62
+ {
63
+ "internalType": "RoleId",
64
+ "name": "requiredRole",
65
+ "type": "uint64"
50
66
  },
51
67
  {
52
68
  "internalType": "address",
53
- "name": "tokenHandlerAddress",
69
+ "name": "sender",
70
+ "type": "address"
71
+ }
72
+ ],
73
+ "name": "ErrorComponentServiceExpectedRoleMissing",
74
+ "type": "error"
75
+ },
76
+ {
77
+ "inputs": [
78
+ {
79
+ "internalType": "address",
80
+ "name": "component",
54
81
  "type": "address"
55
82
  },
56
83
  {
57
- "internalType": "uint256",
58
- "name": "amount",
59
- "type": "uint256"
84
+ "internalType": "ObjectType",
85
+ "name": "requiredType",
86
+ "type": "uint8"
87
+ },
88
+ {
89
+ "internalType": "ObjectType",
90
+ "name": "componentType",
91
+ "type": "uint8"
60
92
  }
61
93
  ],
62
- "name": "ErrorIPoolServiceInsufficientAllowance",
94
+ "name": "ErrorComponentServiceInvalidType",
63
95
  "type": "error"
64
96
  },
65
97
  {
66
98
  "inputs": [
67
99
  {
68
100
  "internalType": "address",
69
- "name": "account",
101
+ "name": "component",
70
102
  "type": "address"
71
103
  }
72
104
  ],
73
- "name": "ErrorNotOwner",
105
+ "name": "ErrorComponentServiceNotComponent",
74
106
  "type": "error"
75
107
  },
76
108
  {
77
109
  "inputs": [
78
110
  {
79
111
  "internalType": "address",
80
- "name": "registryAddress",
112
+ "name": "component",
113
+ "type": "address"
114
+ },
115
+ {
116
+ "internalType": "address",
117
+ "name": "initialOwner",
118
+ "type": "address"
119
+ },
120
+ {
121
+ "internalType": "address",
122
+ "name": "sender",
81
123
  "type": "address"
82
124
  }
83
125
  ],
84
- "name": "ErrorNotRegistry",
126
+ "name": "ErrorComponentServiceSenderNotOwner",
85
127
  "type": "error"
86
128
  },
87
129
  {
88
130
  "inputs": [
89
131
  {
90
132
  "internalType": "address",
91
- "name": "registryAddress",
133
+ "name": "target",
92
134
  "type": "address"
93
135
  }
94
136
  ],
95
- "name": "ErrorRegisterableNotRegistry",
137
+ "name": "ErrorIAccessTargetLocked",
96
138
  "type": "error"
97
139
  },
98
140
  {
99
- "inputs": [],
100
- "name": "ErrorRegistryAddressZero",
141
+ "inputs": [
142
+ {
143
+ "internalType": "NftId",
144
+ "name": "nftId",
145
+ "type": "uint96"
146
+ }
147
+ ],
148
+ "name": "ErrorNftOwnableAlreadyLinked",
101
149
  "type": "error"
102
150
  },
103
151
  {
104
152
  "inputs": [
105
153
  {
106
154
  "internalType": "address",
107
- "name": "registry",
155
+ "name": "contractAddress",
108
156
  "type": "address"
109
157
  }
110
158
  ],
111
- "name": "ErrorRegistryAlreadyInitialized",
159
+ "name": "ErrorNftOwnableContractNotRegistered",
112
160
  "type": "error"
113
161
  },
114
162
  {
115
163
  "inputs": [],
116
- "name": "ErrorRegistryNotInitialized",
164
+ "name": "ErrorNftOwnableInitialOwnerZero",
117
165
  "type": "error"
118
166
  },
119
167
  {
120
168
  "inputs": [
121
169
  {
122
- "internalType": "RoleId",
123
- "name": "expected",
124
- "type": "uint64"
125
- },
170
+ "internalType": "address",
171
+ "name": "account",
172
+ "type": "address"
173
+ }
174
+ ],
175
+ "name": "ErrorNftOwnableNotOwner",
176
+ "type": "error"
177
+ },
178
+ {
179
+ "inputs": [
126
180
  {
127
181
  "internalType": "address",
128
- "name": "caller",
182
+ "name": "registryAddress",
129
183
  "type": "address"
130
184
  }
131
185
  ],
132
- "name": "ExpectedRoleMissing",
186
+ "name": "ErrorNotRegistry",
187
+ "type": "error"
188
+ },
189
+ {
190
+ "inputs": [
191
+ {
192
+ "internalType": "NftId",
193
+ "name": "poolNftId",
194
+ "type": "uint96"
195
+ }
196
+ ],
197
+ "name": "ErrorPoolServiceBundleOwnerRoleAlreadySet",
198
+ "type": "error"
199
+ },
200
+ {
201
+ "inputs": [
202
+ {
203
+ "internalType": "NftId",
204
+ "name": "bundlePoolNftId",
205
+ "type": "uint96"
206
+ },
207
+ {
208
+ "internalType": "NftId",
209
+ "name": "productPoolNftId",
210
+ "type": "uint96"
211
+ }
212
+ ],
213
+ "name": "ErrorPoolServiceBundlePoolMismatch",
214
+ "type": "error"
215
+ },
216
+ {
217
+ "inputs": [
218
+ {
219
+ "internalType": "Amount",
220
+ "name": "expectedAmount",
221
+ "type": "uint96"
222
+ },
223
+ {
224
+ "internalType": "Amount",
225
+ "name": "actualAmount",
226
+ "type": "uint96"
227
+ }
228
+ ],
229
+ "name": "ErrorPoolServiceInvalidTransferAmount",
133
230
  "type": "error"
134
231
  },
135
232
  {
@@ -142,6 +239,19 @@
142
239
  "name": "NotInitializing",
143
240
  "type": "error"
144
241
  },
242
+ {
243
+ "anonymous": false,
244
+ "inputs": [
245
+ {
246
+ "indexed": false,
247
+ "internalType": "address",
248
+ "name": "authority",
249
+ "type": "address"
250
+ }
251
+ ],
252
+ "name": "AuthorityUpdated",
253
+ "type": "event"
254
+ },
145
255
  {
146
256
  "anonymous": false,
147
257
  "inputs": [
@@ -160,34 +270,103 @@
160
270
  "inputs": [
161
271
  {
162
272
  "indexed": false,
163
- "internalType": "Version",
164
- "name": "version",
165
- "type": "uint24"
273
+ "internalType": "NftId",
274
+ "name": "instanceNftId",
275
+ "type": "uint96"
166
276
  },
167
277
  {
168
278
  "indexed": false,
169
- "internalType": "address",
170
- "name": "implementation",
171
- "type": "address"
279
+ "internalType": "NftId",
280
+ "name": "poolNftId",
281
+ "type": "uint96"
172
282
  },
173
283
  {
174
284
  "indexed": false,
175
- "internalType": "address",
176
- "name": "activatedBy",
177
- "type": "address"
285
+ "internalType": "NftId",
286
+ "name": "bundleNftId",
287
+ "type": "uint96"
288
+ }
289
+ ],
290
+ "name": "LogPoolServiceBundleClosed",
291
+ "type": "event"
292
+ },
293
+ {
294
+ "anonymous": false,
295
+ "inputs": [
296
+ {
297
+ "indexed": false,
298
+ "internalType": "NftId",
299
+ "name": "instanceNftId",
300
+ "type": "uint96"
301
+ },
302
+ {
303
+ "indexed": false,
304
+ "internalType": "NftId",
305
+ "name": "poolNftId",
306
+ "type": "uint96"
307
+ },
308
+ {
309
+ "indexed": false,
310
+ "internalType": "NftId",
311
+ "name": "bundleNftId",
312
+ "type": "uint96"
313
+ }
314
+ ],
315
+ "name": "LogPoolServiceBundleCreated",
316
+ "type": "event"
317
+ },
318
+ {
319
+ "anonymous": false,
320
+ "inputs": [
321
+ {
322
+ "indexed": false,
323
+ "internalType": "NftId",
324
+ "name": "poolNftId",
325
+ "type": "uint96"
326
+ },
327
+ {
328
+ "indexed": false,
329
+ "internalType": "RoleId",
330
+ "name": "bundleOwnerRole",
331
+ "type": "uint64"
332
+ }
333
+ ],
334
+ "name": "LogPoolServiceBundleOwnerRoleSet",
335
+ "type": "event"
336
+ },
337
+ {
338
+ "anonymous": false,
339
+ "inputs": [
340
+ {
341
+ "indexed": false,
342
+ "internalType": "NftId",
343
+ "name": "poolNftId",
344
+ "type": "uint96"
345
+ },
346
+ {
347
+ "indexed": false,
348
+ "internalType": "uint256",
349
+ "name": "previousMaxCapitalAmount",
350
+ "type": "uint256"
351
+ },
352
+ {
353
+ "indexed": false,
354
+ "internalType": "uint256",
355
+ "name": "currentMaxCapitalAmount",
356
+ "type": "uint256"
178
357
  }
179
358
  ],
180
- "name": "LogVersionableInitialized",
359
+ "name": "LogPoolServiceMaxCapitalAmountUpdated",
181
360
  "type": "event"
182
361
  },
183
362
  {
184
363
  "inputs": [],
185
- "name": "NAME",
364
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
186
365
  "outputs": [
187
366
  {
188
- "internalType": "string",
367
+ "internalType": "bytes32",
189
368
  "name": "",
190
- "type": "string"
369
+ "type": "bytes32"
191
370
  }
192
371
  ],
193
372
  "stateMutability": "view",
@@ -206,6 +385,32 @@
206
385
  "stateMutability": "view",
207
386
  "type": "function"
208
387
  },
388
+ {
389
+ "inputs": [],
390
+ "name": "authority",
391
+ "outputs": [
392
+ {
393
+ "internalType": "address",
394
+ "name": "",
395
+ "type": "address"
396
+ }
397
+ ],
398
+ "stateMutability": "view",
399
+ "type": "function"
400
+ },
401
+ {
402
+ "inputs": [
403
+ {
404
+ "internalType": "NftId",
405
+ "name": "bundleNftId",
406
+ "type": "uint96"
407
+ }
408
+ ],
409
+ "name": "closeBundle",
410
+ "outputs": [],
411
+ "stateMutability": "nonpayable",
412
+ "type": "function"
413
+ },
209
414
  {
210
415
  "inputs": [
211
416
  {
@@ -231,14 +436,14 @@
231
436
  "type": "tuple"
232
437
  },
233
438
  {
234
- "internalType": "uint256",
439
+ "internalType": "Amount",
235
440
  "name": "stakingAmount",
236
- "type": "uint256"
441
+ "type": "uint96"
237
442
  },
238
443
  {
239
- "internalType": "uint256",
444
+ "internalType": "Seconds",
240
445
  "name": "lifetime",
241
- "type": "uint256"
446
+ "type": "uint40"
242
447
  },
243
448
  {
244
449
  "internalType": "bytes",
@@ -257,6 +462,19 @@
257
462
  "stateMutability": "nonpayable",
258
463
  "type": "function"
259
464
  },
465
+ {
466
+ "inputs": [],
467
+ "name": "getDomain",
468
+ "outputs": [
469
+ {
470
+ "internalType": "ObjectType",
471
+ "name": "",
472
+ "type": "uint8"
473
+ }
474
+ ],
475
+ "stateMutability": "pure",
476
+ "type": "function"
477
+ },
260
478
  {
261
479
  "inputs": [],
262
480
  "name": "getInitialInfo",
@@ -300,13 +518,8 @@
300
518
  }
301
519
  ],
302
520
  "internalType": "struct IRegistry.ObjectInfo",
303
- "name": "",
521
+ "name": "info",
304
522
  "type": "tuple"
305
- },
306
- {
307
- "internalType": "bytes",
308
- "name": "data",
309
- "type": "bytes"
310
523
  }
311
524
  ],
312
525
  "stateMutability": "view",
@@ -314,12 +527,12 @@
314
527
  },
315
528
  {
316
529
  "inputs": [],
317
- "name": "getInitializedVersion",
530
+ "name": "getInstanceService",
318
531
  "outputs": [
319
532
  {
320
- "internalType": "uint64",
533
+ "internalType": "contract InstanceService",
321
534
  "name": "",
322
- "type": "uint64"
535
+ "type": "address"
323
536
  }
324
537
  ],
325
538
  "stateMutability": "view",
@@ -327,12 +540,12 @@
327
540
  },
328
541
  {
329
542
  "inputs": [],
330
- "name": "getInstanceService",
543
+ "name": "getNftId",
331
544
  "outputs": [
332
545
  {
333
- "internalType": "contract InstanceService",
546
+ "internalType": "NftId",
334
547
  "name": "",
335
- "type": "address"
548
+ "type": "uint96"
336
549
  }
337
550
  ],
338
551
  "stateMutability": "view",
@@ -340,12 +553,12 @@
340
553
  },
341
554
  {
342
555
  "inputs": [],
343
- "name": "getMajorVersion",
556
+ "name": "getOwner",
344
557
  "outputs": [
345
558
  {
346
- "internalType": "VersionPart",
347
- "name": "majorVersion",
348
- "type": "uint8"
559
+ "internalType": "address",
560
+ "name": "",
561
+ "type": "address"
349
562
  }
350
563
  ],
351
564
  "stateMutability": "view",
@@ -353,25 +566,25 @@
353
566
  },
354
567
  {
355
568
  "inputs": [],
356
- "name": "getName",
569
+ "name": "getRegistry",
357
570
  "outputs": [
358
571
  {
359
- "internalType": "string",
360
- "name": "name",
361
- "type": "string"
572
+ "internalType": "contract IRegistry",
573
+ "name": "",
574
+ "type": "address"
362
575
  }
363
576
  ],
364
- "stateMutability": "pure",
577
+ "stateMutability": "view",
365
578
  "type": "function"
366
579
  },
367
580
  {
368
581
  "inputs": [],
369
- "name": "getNftId",
582
+ "name": "getRegistryAddress",
370
583
  "outputs": [
371
584
  {
372
- "internalType": "NftId",
585
+ "internalType": "address",
373
586
  "name": "",
374
- "type": "uint96"
587
+ "type": "address"
375
588
  }
376
589
  ],
377
590
  "stateMutability": "view",
@@ -379,10 +592,10 @@
379
592
  },
380
593
  {
381
594
  "inputs": [],
382
- "name": "getOwner",
595
+ "name": "getRegistryService",
383
596
  "outputs": [
384
597
  {
385
- "internalType": "address",
598
+ "internalType": "contract IRegistryService",
386
599
  "name": "",
387
600
  "type": "address"
388
601
  }
@@ -392,101 +605,237 @@
392
605
  },
393
606
  {
394
607
  "inputs": [],
395
- "name": "getRegistry",
608
+ "name": "getVersion",
396
609
  "outputs": [
397
610
  {
398
- "internalType": "contract IRegistry",
611
+ "internalType": "Version",
399
612
  "name": "",
400
- "type": "address"
613
+ "type": "uint24"
401
614
  }
402
615
  ],
403
- "stateMutability": "view",
616
+ "stateMutability": "pure",
404
617
  "type": "function"
405
618
  },
406
619
  {
407
620
  "inputs": [],
408
- "name": "getRegistryService",
409
- "outputs": [
621
+ "name": "initializeERC165",
622
+ "outputs": [],
623
+ "stateMutability": "nonpayable",
624
+ "type": "function"
625
+ },
626
+ {
627
+ "inputs": [
410
628
  {
411
- "internalType": "contract IRegistryService",
412
- "name": "",
629
+ "internalType": "address",
630
+ "name": "initialOwner",
631
+ "type": "address"
632
+ },
633
+ {
634
+ "internalType": "address",
635
+ "name": "registryAddress",
413
636
  "type": "address"
414
637
  }
415
638
  ],
416
- "stateMutability": "view",
639
+ "name": "initializeNftOwnable",
640
+ "outputs": [],
641
+ "stateMutability": "nonpayable",
417
642
  "type": "function"
418
643
  },
419
644
  {
420
- "inputs": [],
421
- "name": "getVersion",
422
- "outputs": [
645
+ "inputs": [
423
646
  {
424
- "internalType": "Version",
425
- "name": "",
426
- "type": "uint24"
647
+ "internalType": "address",
648
+ "name": "registryAddress",
649
+ "type": "address"
650
+ },
651
+ {
652
+ "internalType": "NftId",
653
+ "name": "parentNftId",
654
+ "type": "uint96"
655
+ },
656
+ {
657
+ "internalType": "ObjectType",
658
+ "name": "objectType",
659
+ "type": "uint8"
660
+ },
661
+ {
662
+ "internalType": "bool",
663
+ "name": "isInterceptor",
664
+ "type": "bool"
665
+ },
666
+ {
667
+ "internalType": "address",
668
+ "name": "initialOwner",
669
+ "type": "address"
670
+ },
671
+ {
672
+ "internalType": "bytes",
673
+ "name": "registryData",
674
+ "type": "bytes"
427
675
  }
428
676
  ],
429
- "stateMutability": "pure",
677
+ "name": "initializeRegisterable",
678
+ "outputs": [],
679
+ "stateMutability": "nonpayable",
430
680
  "type": "function"
431
681
  },
432
682
  {
433
683
  "inputs": [
434
684
  {
435
- "internalType": "uint256",
436
- "name": "idx",
437
- "type": "uint256"
685
+ "internalType": "address",
686
+ "name": "registryAddress",
687
+ "type": "address"
438
688
  }
439
689
  ],
440
- "name": "getVersion",
441
- "outputs": [
690
+ "name": "initializeRegistryLinked",
691
+ "outputs": [],
692
+ "stateMutability": "nonpayable",
693
+ "type": "function"
694
+ },
695
+ {
696
+ "inputs": [
442
697
  {
443
- "internalType": "Version",
444
- "name": "",
445
- "type": "uint24"
698
+ "internalType": "address",
699
+ "name": "registry",
700
+ "type": "address"
701
+ },
702
+ {
703
+ "internalType": "address",
704
+ "name": "authority",
705
+ "type": "address"
706
+ },
707
+ {
708
+ "internalType": "address",
709
+ "name": "initialOwner",
710
+ "type": "address"
446
711
  }
447
712
  ],
448
- "stateMutability": "view",
713
+ "name": "initializeService",
714
+ "outputs": [],
715
+ "stateMutability": "nonpayable",
716
+ "type": "function"
717
+ },
718
+ {
719
+ "inputs": [
720
+ {
721
+ "internalType": "address",
722
+ "name": "activatedBy",
723
+ "type": "address"
724
+ },
725
+ {
726
+ "internalType": "bytes",
727
+ "name": "data",
728
+ "type": "bytes"
729
+ }
730
+ ],
731
+ "name": "initializeVersionable",
732
+ "outputs": [],
733
+ "stateMutability": "nonpayable",
449
734
  "type": "function"
450
735
  },
451
736
  {
452
737
  "inputs": [],
453
- "name": "getVersionCount",
738
+ "name": "isConsumingScheduledOp",
454
739
  "outputs": [
455
740
  {
456
- "internalType": "uint256",
741
+ "internalType": "bytes4",
457
742
  "name": "",
458
- "type": "uint256"
743
+ "type": "bytes4"
459
744
  }
460
745
  ],
461
746
  "stateMutability": "view",
462
747
  "type": "function"
463
748
  },
749
+ {
750
+ "inputs": [],
751
+ "name": "linkToRegisteredNftId",
752
+ "outputs": [],
753
+ "stateMutability": "nonpayable",
754
+ "type": "function"
755
+ },
464
756
  {
465
757
  "inputs": [
466
758
  {
467
- "internalType": "Version",
468
- "name": "_version",
469
- "type": "uint24"
470
- }
471
- ],
472
- "name": "getVersionInfo",
473
- "outputs": [
759
+ "internalType": "contract IInstance",
760
+ "name": "instance",
761
+ "type": "address"
762
+ },
763
+ {
764
+ "internalType": "NftId",
765
+ "name": "productNftId",
766
+ "type": "uint96"
767
+ },
768
+ {
769
+ "internalType": "NftId",
770
+ "name": "applicationNftId",
771
+ "type": "uint96"
772
+ },
474
773
  {
475
774
  "components": [
476
775
  {
477
- "internalType": "Version",
478
- "name": "version",
479
- "type": "uint24"
776
+ "internalType": "NftId",
777
+ "name": "productNftId",
778
+ "type": "uint96"
480
779
  },
481
780
  {
482
- "internalType": "address",
483
- "name": "implementation",
484
- "type": "address"
781
+ "internalType": "NftId",
782
+ "name": "bundleNftId",
783
+ "type": "uint96"
485
784
  },
486
785
  {
487
- "internalType": "address",
488
- "name": "activatedBy",
489
- "type": "address"
786
+ "internalType": "ReferralId",
787
+ "name": "referralId",
788
+ "type": "bytes8"
789
+ },
790
+ {
791
+ "internalType": "RiskId",
792
+ "name": "riskId",
793
+ "type": "bytes8"
794
+ },
795
+ {
796
+ "internalType": "uint256",
797
+ "name": "sumInsuredAmount",
798
+ "type": "uint256"
799
+ },
800
+ {
801
+ "internalType": "uint256",
802
+ "name": "premiumAmount",
803
+ "type": "uint256"
804
+ },
805
+ {
806
+ "internalType": "uint256",
807
+ "name": "premiumPaidAmount",
808
+ "type": "uint256"
809
+ },
810
+ {
811
+ "internalType": "Seconds",
812
+ "name": "lifetime",
813
+ "type": "uint40"
814
+ },
815
+ {
816
+ "internalType": "bytes",
817
+ "name": "applicationData",
818
+ "type": "bytes"
819
+ },
820
+ {
821
+ "internalType": "bytes",
822
+ "name": "policyData",
823
+ "type": "bytes"
824
+ },
825
+ {
826
+ "internalType": "uint16",
827
+ "name": "claimsCount",
828
+ "type": "uint16"
829
+ },
830
+ {
831
+ "internalType": "uint16",
832
+ "name": "openClaimsCount",
833
+ "type": "uint16"
834
+ },
835
+ {
836
+ "internalType": "Amount",
837
+ "name": "payoutAmount",
838
+ "type": "uint96"
490
839
  },
491
840
  {
492
841
  "internalType": "Timestamp",
@@ -494,38 +843,27 @@
494
843
  "type": "uint40"
495
844
  },
496
845
  {
497
- "internalType": "Blocknumber",
498
- "name": "activatedIn",
499
- "type": "uint32"
846
+ "internalType": "Timestamp",
847
+ "name": "expiredAt",
848
+ "type": "uint40"
849
+ },
850
+ {
851
+ "internalType": "Timestamp",
852
+ "name": "closedAt",
853
+ "type": "uint40"
500
854
  }
501
855
  ],
502
- "internalType": "struct IVersionable.VersionInfo",
503
- "name": "",
856
+ "internalType": "struct IPolicy.PolicyInfo",
857
+ "name": "applicationInfo",
504
858
  "type": "tuple"
505
- }
506
- ],
507
- "stateMutability": "view",
508
- "type": "function"
509
- },
510
- {
511
- "inputs": [
512
- {
513
- "internalType": "address",
514
- "name": "implementation",
515
- "type": "address"
516
859
  },
517
860
  {
518
- "internalType": "address",
519
- "name": "activatedBy",
520
- "type": "address"
521
- },
522
- {
523
- "internalType": "bytes",
524
- "name": "data",
525
- "type": "bytes"
861
+ "internalType": "uint256",
862
+ "name": "premiumAmount",
863
+ "type": "uint256"
526
864
  }
527
865
  ],
528
- "name": "initialize",
866
+ "name": "lockCollateral",
529
867
  "outputs": [],
530
868
  "stateMutability": "nonpayable",
531
869
  "type": "function"
@@ -533,25 +871,99 @@
533
871
  {
534
872
  "inputs": [
535
873
  {
536
- "internalType": "Version",
537
- "name": "_version",
538
- "type": "uint24"
539
- }
540
- ],
541
- "name": "isInitialized",
542
- "outputs": [
874
+ "internalType": "NftId",
875
+ "name": "bundleNftId",
876
+ "type": "uint96"
877
+ },
543
878
  {
544
- "internalType": "bool",
545
- "name": "",
546
- "type": "bool"
879
+ "components": [
880
+ {
881
+ "internalType": "uint256",
882
+ "name": "netPremiumAmount",
883
+ "type": "uint256"
884
+ },
885
+ {
886
+ "internalType": "uint256",
887
+ "name": "fullPremiumAmount",
888
+ "type": "uint256"
889
+ },
890
+ {
891
+ "internalType": "uint256",
892
+ "name": "premiumAmount",
893
+ "type": "uint256"
894
+ },
895
+ {
896
+ "internalType": "uint256",
897
+ "name": "productFeeFixAmount",
898
+ "type": "uint256"
899
+ },
900
+ {
901
+ "internalType": "uint256",
902
+ "name": "poolFeeFixAmount",
903
+ "type": "uint256"
904
+ },
905
+ {
906
+ "internalType": "uint256",
907
+ "name": "bundleFeeFixAmount",
908
+ "type": "uint256"
909
+ },
910
+ {
911
+ "internalType": "uint256",
912
+ "name": "distributionFeeFixAmount",
913
+ "type": "uint256"
914
+ },
915
+ {
916
+ "internalType": "uint256",
917
+ "name": "productFeeVarAmount",
918
+ "type": "uint256"
919
+ },
920
+ {
921
+ "internalType": "uint256",
922
+ "name": "poolFeeVarAmount",
923
+ "type": "uint256"
924
+ },
925
+ {
926
+ "internalType": "uint256",
927
+ "name": "bundleFeeVarAmount",
928
+ "type": "uint256"
929
+ },
930
+ {
931
+ "internalType": "uint256",
932
+ "name": "distributionFeeVarAmount",
933
+ "type": "uint256"
934
+ },
935
+ {
936
+ "internalType": "uint256",
937
+ "name": "distributionOwnerFeeFixAmount",
938
+ "type": "uint256"
939
+ },
940
+ {
941
+ "internalType": "uint256",
942
+ "name": "distributionOwnerFeeVarAmount",
943
+ "type": "uint256"
944
+ },
945
+ {
946
+ "internalType": "uint256",
947
+ "name": "commissionAmount",
948
+ "type": "uint256"
949
+ },
950
+ {
951
+ "internalType": "uint256",
952
+ "name": "discountAmount",
953
+ "type": "uint256"
954
+ }
955
+ ],
956
+ "internalType": "struct IPolicy.Premium",
957
+ "name": "premium",
958
+ "type": "tuple"
959
+ },
960
+ {
961
+ "internalType": "Amount",
962
+ "name": "actualAmountTransferred",
963
+ "type": "uint96"
547
964
  }
548
965
  ],
549
- "stateMutability": "view",
550
- "type": "function"
551
- },
552
- {
553
- "inputs": [],
554
- "name": "linkToRegisteredNftId",
966
+ "name": "processSale",
555
967
  "outputs": [],
556
968
  "stateMutability": "nonpayable",
557
969
  "type": "function"
@@ -560,7 +972,7 @@
560
972
  "inputs": [
561
973
  {
562
974
  "internalType": "address",
563
- "name": "componentAddress",
975
+ "name": "poolAddress",
564
976
  "type": "address"
565
977
  }
566
978
  ],
@@ -568,7 +980,7 @@
568
980
  "outputs": [
569
981
  {
570
982
  "internalType": "NftId",
571
- "name": "componentNftId",
983
+ "name": "poolNftId",
572
984
  "type": "uint96"
573
985
  }
574
986
  ],
@@ -577,30 +989,144 @@
577
989
  },
578
990
  {
579
991
  "inputs": [
992
+ {
993
+ "internalType": "bytes4",
994
+ "name": "interfaceId",
995
+ "type": "bytes4"
996
+ }
997
+ ],
998
+ "name": "registerInterface",
999
+ "outputs": [],
1000
+ "stateMutability": "nonpayable",
1001
+ "type": "function"
1002
+ },
1003
+ {
1004
+ "inputs": [
1005
+ {
1006
+ "internalType": "contract IInstance",
1007
+ "name": "instance",
1008
+ "type": "address"
1009
+ },
580
1010
  {
581
1011
  "internalType": "NftId",
582
- "name": "bundleNftId",
1012
+ "name": "policyNftId",
583
1013
  "type": "uint96"
584
1014
  },
585
1015
  {
586
1016
  "components": [
587
1017
  {
588
- "internalType": "UFixed",
589
- "name": "fractionalFee",
1018
+ "internalType": "NftId",
1019
+ "name": "productNftId",
1020
+ "type": "uint96"
1021
+ },
1022
+ {
1023
+ "internalType": "NftId",
1024
+ "name": "bundleNftId",
1025
+ "type": "uint96"
1026
+ },
1027
+ {
1028
+ "internalType": "ReferralId",
1029
+ "name": "referralId",
1030
+ "type": "bytes8"
1031
+ },
1032
+ {
1033
+ "internalType": "RiskId",
1034
+ "name": "riskId",
1035
+ "type": "bytes8"
1036
+ },
1037
+ {
1038
+ "internalType": "uint256",
1039
+ "name": "sumInsuredAmount",
590
1040
  "type": "uint256"
591
1041
  },
592
1042
  {
593
1043
  "internalType": "uint256",
594
- "name": "fixedFee",
1044
+ "name": "premiumAmount",
1045
+ "type": "uint256"
1046
+ },
1047
+ {
1048
+ "internalType": "uint256",
1049
+ "name": "premiumPaidAmount",
595
1050
  "type": "uint256"
1051
+ },
1052
+ {
1053
+ "internalType": "Seconds",
1054
+ "name": "lifetime",
1055
+ "type": "uint40"
1056
+ },
1057
+ {
1058
+ "internalType": "bytes",
1059
+ "name": "applicationData",
1060
+ "type": "bytes"
1061
+ },
1062
+ {
1063
+ "internalType": "bytes",
1064
+ "name": "policyData",
1065
+ "type": "bytes"
1066
+ },
1067
+ {
1068
+ "internalType": "uint16",
1069
+ "name": "claimsCount",
1070
+ "type": "uint16"
1071
+ },
1072
+ {
1073
+ "internalType": "uint16",
1074
+ "name": "openClaimsCount",
1075
+ "type": "uint16"
1076
+ },
1077
+ {
1078
+ "internalType": "Amount",
1079
+ "name": "payoutAmount",
1080
+ "type": "uint96"
1081
+ },
1082
+ {
1083
+ "internalType": "Timestamp",
1084
+ "name": "activatedAt",
1085
+ "type": "uint40"
1086
+ },
1087
+ {
1088
+ "internalType": "Timestamp",
1089
+ "name": "expiredAt",
1090
+ "type": "uint40"
1091
+ },
1092
+ {
1093
+ "internalType": "Timestamp",
1094
+ "name": "closedAt",
1095
+ "type": "uint40"
596
1096
  }
597
1097
  ],
598
- "internalType": "struct Fee",
599
- "name": "fee",
1098
+ "internalType": "struct IPolicy.PolicyInfo",
1099
+ "name": "policyInfo",
600
1100
  "type": "tuple"
601
1101
  }
602
1102
  ],
603
- "name": "setBundleFee",
1103
+ "name": "releaseCollateral",
1104
+ "outputs": [],
1105
+ "stateMutability": "nonpayable",
1106
+ "type": "function"
1107
+ },
1108
+ {
1109
+ "inputs": [
1110
+ {
1111
+ "internalType": "address",
1112
+ "name": "newAuthority",
1113
+ "type": "address"
1114
+ }
1115
+ ],
1116
+ "name": "setAuthority",
1117
+ "outputs": [],
1118
+ "stateMutability": "nonpayable",
1119
+ "type": "function"
1120
+ },
1121
+ {
1122
+ "inputs": [
1123
+ {
1124
+ "internalType": "RoleId",
1125
+ "name": "bundleOwnerRole",
1126
+ "type": "uint64"
1127
+ }
1128
+ ],
1129
+ "name": "setBundleOwnerRole",
604
1130
  "outputs": [],
605
1131
  "stateMutability": "nonpayable",
606
1132
  "type": "function"
@@ -664,6 +1190,19 @@
664
1190
  "stateMutability": "nonpayable",
665
1191
  "type": "function"
666
1192
  },
1193
+ {
1194
+ "inputs": [
1195
+ {
1196
+ "internalType": "uint256",
1197
+ "name": "maxCapitalAmount",
1198
+ "type": "uint256"
1199
+ }
1200
+ ],
1201
+ "name": "setMaxCapitalAmount",
1202
+ "outputs": [],
1203
+ "stateMutability": "nonpayable",
1204
+ "type": "function"
1205
+ },
667
1206
  {
668
1207
  "inputs": [
669
1208
  {
@@ -685,183 +1224,86 @@
685
1224
  },
686
1225
  {
687
1226
  "inputs": [
688
- {
689
- "internalType": "NftId",
690
- "name": "instanceNftId",
691
- "type": "uint96"
692
- },
693
- {
694
- "internalType": "NftId",
695
- "name": "bundleNftId",
696
- "type": "uint96"
697
- },
698
- {
699
- "components": [
700
- {
701
- "internalType": "NftId",
702
- "name": "poolNftId",
703
- "type": "uint96"
704
- },
705
- {
706
- "components": [
707
- {
708
- "internalType": "UFixed",
709
- "name": "fractionalFee",
710
- "type": "uint256"
711
- },
712
- {
713
- "internalType": "uint256",
714
- "name": "fixedFee",
715
- "type": "uint256"
716
- }
717
- ],
718
- "internalType": "struct Fee",
719
- "name": "fee",
720
- "type": "tuple"
721
- },
722
- {
723
- "internalType": "bytes",
724
- "name": "filter",
725
- "type": "bytes"
726
- },
727
- {
728
- "internalType": "uint256",
729
- "name": "capitalAmount",
730
- "type": "uint256"
731
- },
732
- {
733
- "internalType": "uint256",
734
- "name": "lockedAmount",
735
- "type": "uint256"
736
- },
737
- {
738
- "internalType": "uint256",
739
- "name": "balanceAmount",
740
- "type": "uint256"
741
- },
742
- {
743
- "internalType": "uint256",
744
- "name": "lifetime",
745
- "type": "uint256"
746
- },
747
- {
748
- "internalType": "Timestamp",
749
- "name": "expiredAt",
750
- "type": "uint40"
751
- },
752
- {
753
- "internalType": "Timestamp",
754
- "name": "closedAt",
755
- "type": "uint40"
756
- }
757
- ],
758
- "internalType": "struct IBundle.BundleInfo",
759
- "name": "bundleInfo",
760
- "type": "tuple"
761
- },
762
- {
763
- "internalType": "StateId",
764
- "name": "state",
765
- "type": "uint8"
766
- }
767
- ],
768
- "name": "updateBundle",
769
- "outputs": [],
770
- "stateMutability": "nonpayable",
771
- "type": "function"
772
- },
773
- {
774
- "inputs": [
775
- {
776
- "internalType": "address",
777
- "name": "implementation",
778
- "type": "address"
779
- },
780
- {
781
- "internalType": "address",
782
- "name": "activatedBy",
783
- "type": "address"
784
- },
785
1227
  {
786
1228
  "internalType": "bytes",
787
1229
  "name": "data",
788
1230
  "type": "bytes"
789
1231
  }
790
1232
  ],
791
- "name": "upgrade",
1233
+ "name": "upgradeVersionable",
792
1234
  "outputs": [],
793
1235
  "stateMutability": "nonpayable",
794
1236
  "type": "function"
795
1237
  }
796
1238
  ],
797
- "bytecode": "0x60806040523480156200001157600080fd5b50620000546301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600280546001600160a01b031916331790556200007062000076565b6200012a565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000c75760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620001275780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b613bad806200013a6000396000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c806382678766116100de578063b88da75911610097578063cde749f411610071578063cde749f4146104c4578063cf7a1d77146104de578063cf7e5db8146104f1578063e3458d531461050457600080fd5b8063b88da759146104a1578063caf4e3d4146104b4578063cc9fc59a146104bc57600080fd5b80638267876614610402578063893d20e814610415578063946dfcfe1461041d578063a3f4df7e14610444578063a745e3df1461046e578063b3c650151461048157600080fd5b80634420e486116101305780634420e4861461025b5780634d459c90146102865780634f4213331461039f5780635ab1bd53146103b2578063636450f5146103d7578063644c45e0146103ea57600080fd5b806301ffc9a7146101785780630d8e6e2c146101ba5780630fec111c146101d6578063138461e0146101ec57806317d7de7c146101f65780631eff4b2214610226575b600080fd5b6101a5610186366004612c90565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101c2610517565b60405162ffffff90911681526020016101b1565b6101de6105a1565b6040516101b1929190612d8a565b6101f46106f4565b005b60408051808201909152600b81526a506f6f6c5365727669636560a81b60208201525b6040516101b19190612db8565b61024d7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101b1565b61026e610269366004612de0565b610916565b6040516001600160601b0390911681526020016101b1565b610342610294366004612e0e565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020613b5883398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a0016101b1565b6101a56103ad366004612e0e565b610c7d565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016101b1565b6101f46103e5366004612f33565b610d30565b600154600160a01b90046001600160601b031661026e565b6101f4610410366004612f69565b610fcb565b6103bf611140565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed9015461024d565b6102196040518060400160405280600b81526020016a506f6f6c5365727669636560a81b81525081565b6101f461047c36600461302c565b61125a565b6104896113b4565b6040516001600160401b0390911681526020016101b1565b6101c26104af36600461308d565b6113d5565b6103bf611426565b6103bf6114e1565b6104cc611559565b60405160ff90911681526020016101b1565b6101f46104ec36600461302c565b6115dc565b6101f46104ff3660046130de565b6116e5565b61026e6105123660046131f4565b611868565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610578573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061059c919061329c565b905090565b6105a9612c52565b606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806105f56001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161063d611140565b6001600160a01b0316815260200182600101805461065a906132b9565b80601f0160208091040260200160405190810160405280929190818152602001828054610686906132b9565b80156106d35780601f106106a8576101008083540402835291602001916106d3565b820191906000526020600020905b8154815290600101906020018083116106b657829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610756573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061077a9190613303565b156107c1576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166107ea5760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610833573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108579190613303565b61087f576040516372657a5160e01b81526001600160a01b03821660048201526024016107b8565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa1580156108c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ed9190613329565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b600081808261092482611afa565b60ff8116600090815260036020908152604080832054815163379ed74560e21b815291519495506001600160401b0316933393926001600160a01b0388169263de7b5d1492600480830193928290030181865afa158015610989573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ad9190613346565b90506109b76114e1565b6001600160a01b0316639c12c9c78385846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a299190613329565b6040516001600160e01b031960e086901b1681526001600160a01b0390931660048401526001600160401b0390911660248301526001600160601b03166044820152606401602060405180830381865afa158015610a8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aaf9190613303565b610ae6576040516351302f8160e01b81526001600160401b03841660048201526001600160a01b03831660248201526044016107b8565b33886000610af382611afa565b90506000610aff611426565b9050610b09612c52565b6060610b1d8460785b60ff90811691161490565b15610ba557604051638fbc2d8160e01b81526001600160a01b0386811660048301528781166024830152841690638fbc2d81906044015b6000604051808303816000875af1158015610b73573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610b9b919081019061346b565b9092509050610c4f565b610bb084606e610b12565b15610beb57604051635d96628960e01b81526001600160a01b0386811660048301528781166024830152841690635d96628990604401610b54565b610bf684608c610b12565b15610c3157604051637286e5e560e01b81526001600160a01b0386811660048301528781166024830152841690637286e5e590604401610b54565b60405163062839b560e01b815260ff851660048201526024016107b8565b81519c506000610c5e83611b6f565b9050610c6b8e8383611c11565b50505050505050505050505050919050565b600080600080516020613b5883398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610d05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d2991906134ce565b1192915050565b600080610d3d608c611c86565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d81573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610da59190613346565b8351604051634793b4ab60e01b81526001600160601b0388166004820152919250906000906001600160a01b03841690634793b4ab90602401600060405180830381865afa158015610dfb573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e239190810190613522565b80516040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610e81573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea59190613303565b610ef15760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a504c532d3031303a42554e444c455f554e4b4e4f574e0000000060448201526064016107b8565b80516001600160601b03808416911614610f585760405162461bcd60e51b815260206004820152602260248201527f4552524f523a504c532d3031313a42554e444c455f504f4f4c5f4d49534d4154604482015261086960f31b60648201526084016107b8565b602081018690526040516307f8b57360e31b81526001600160a01b03851690633fc5ab9890610f90908a90859060ff906004016136a1565b600060405180830381600087803b158015610faa57600080fd5b505af1158015610fbe573d6000803e3d6000fd5b5050505050505050505050565b600080610fd8608c611c86565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561101c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110409190613346565b83516040516355e343a960e01b81526001600160601b0382166004820152919250906000906001600160a01b038416906355e343a99060240161018060405180830381865afa158015611097573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110bb91906136d6565b606081018990526080810188905260a08101879052604051633055195560e11b81529091506001600160a01b038516906360aa32aa90611104908590859060ff90600401613844565b600060405180830381600087803b15801561111e57600080fd5b505af1158015611132573d6000803e3d6000fd5b505050505050505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156111a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111c99190613303565b1561124a57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a906024015b602060405180830381865afa158015611226573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061059c9190613346565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c61127c610517565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156112bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112e09190613889565b600080516020613b388339815191528054600160401b900460ff1680611313575080546001600160401b03808416911610155b156113315760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561135c8585611f44565b611365836121e3565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b600061059c600080516020613b38833981519152546001600160401b031690565b6000600080516020613b5883398151915260010182815481106113fa576113fa6138a6565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b60008061143b6001546001600160a01b031690565b6001600160a01b031663a3bcd81d611451611559565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa1580156114b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114db9190613346565b92915050565b60006114f56001546001600160a01b031690565b6001600160a01b031663a3bcd81d61150b611559565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e496e7374616e63655365727669636560881b606482015260ff9091166024820152608401611209565b6000611563610517565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156115b8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061059c91906138bc565b600080516020613b388339815191528054600160401b810460ff1615906001600160401b031660008115801561160f5750825b90506000826001600160401b0316600114801561162b5750303b155b905081158015611639575080155b156116575760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561168157845460ff60401b1916600160401b1785555b61168b8888611f44565b61169587876121eb565b83156116db57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b336116f86001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa158015611740573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117649190613303565b6117a45760405162461bcd60e51b81526020600482015260116024820152704552524f525f4e4f545f5345525649434560781b60448201526064016107b8565b60006117b86001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03881660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611807573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261182f91908101906138d9565b60808101516040516307f8b57360e31b8152919250906001600160a01b03821690633fc5ab9890610f90908990899089906004016136a1565b60008080611876608c611c86565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118de9190613346565b90506000836000015190506000604051806101200160405280836001600160601b031681526020018c815260200189898080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920182905250938552505050602082018d90526040820152606081018c9052608081018b905260a001611969600090565b64ffffffffff16815260006020909101529050611984611426565b6001600160a01b031663c2bf08c86040518060e001604052806119a5600090565b6001600160601b03168152602001856001600160601b031681526020016119ca60dc90565b60ff16815260200160001515815260200160006001600160a01b031681526020018f6001600160a01b0316815260200184604051602001611a0b919061390d565b6040516020818303038152906040528152506040518263ffffffff1660e01b8152600401611a399190613920565b6020604051808303816000875af1158015611a58573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a7c9190613329565b604051633038d34760e11b81529096506001600160a01b03851690636071a68e90611aad9089908590600401613933565b600060405180830381600087803b158015611ac757600080fd5b505af1158015611adb573d6000803e3d6000fd5b50505050611aeb8383888d612341565b50505050509695505050505050565b600080826001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611b3b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611b63919081019061346b565b50604001519392505050565b600080611b846001546001600160a01b031690565b60208401516040516305247a1760e51b81526001600160601b0390911660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015611bdd573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611c0591908101906138d9565b60800151949350505050565b600082806020019051810190611c2791906136d6565b6040516339f34df560e21b81529091506001600160a01b0383169063e7cd37d490611c589087908590600401613955565b600060405180830381600087803b158015611c7257600080fd5b505af11580156116db573d6000803e3d6000fd5b611c8e612c52565b600154604051636939560f60e11b815233600482015260009182916001600160a01b039091169063d272ac1e90602401602060405180830381865afa158015611cdb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cff9190613329565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611d5a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d7e9190613303565b611dca5760405162461bcd60e51b815260206004820152601760248201527f4552524f525f434f4d504f4e454e545f554e4b4e4f574e00000000000000000060448201526064016107b8565b6001546001600160a01b03166040516305247a1760e51b81526001600160601b03831660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611e25573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611e4d91908101906138d9565b9250611e6383604001518560ff90811691161490565b611ea55760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b60448201526064016107b8565b6000611eb96001546001600160a01b031690565b60208501516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611f0e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611f3691908101906138d9565b608001519395939450505050565b611f4c6125d1565b600080516020613b588339815191526000611f7c600080516020613b38833981519152546001600160401b031690565b90506000611f88610517565b9050816001600160401b0316600103611fb55760028301805462ffffff191662ffffff8316179055612003565b600283015462ffffff908116908216116120035760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b60448201526064016107b8565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af41580156120b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120db9190613973565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf68906113a59083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101736125d1565b600080516020613b388339815191528054600160401b810460ff1615906001600160401b031660008115801561221e5750825b90506000826001600160401b0316600114801561223a5750303b155b905081158015612248575080155b156122665760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561229057845460ff60401b1916600160401b1785555b6000868060200190518101906122a69190613990565b600480546001600160a01b039093166001600160a01b03199093168317905591506122d1908961260a565b6122e1631b4612f160e31b612760565b6122f16319a700ef60e31b612760565b50831561233857845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b80156125cb576040516355e343a960e01b81526001600160601b03841660048201526000906001600160a01b038616906355e343a99060240161018060405180830381865afa158015612398573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123bc91906136d6565b602081015190915060006123d86001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03871660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015612427573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061244b9190613346565b60808401516101008501516040516317d5759960e31b81526001600160a01b03808516600483015291821660248201526044810188905292935090919084169063beabacc890606401600060405180830381600087803b1580156124ae57600080fd5b505af11580156124c2573d6000803e3d6000fd5b50506040516346f0526160e11b815273__$a23651848365a6a5ca15f07b4331037f48$__9250638de0a4c291506124fd9084906004016139ca565b602060405180830381865af415801561251a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061253e9190613303565b6116db5760405163012ebd8360e21b8152815160048201526020820151602482015260448101869052600090819073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af41580156125a7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061113291906139e1565b50505050565b600080516020613b3883398151915254600160401b900460ff1661260857604051631afcd79f60e31b815260040160405180910390fd5b565b6126148282612785565b61261c61280e565b606e60005260036020527f0de2b21138735878e0660eef23d1131fad23d66157bfa1c473a82b60c5169926805467ffffffffffffffff19166001600160401b039290921691909117905561266e612887565b608c60005260036020527f83339eadc78535e76a031a9a544cf6fa252296becf88992d49fad5f832544a38805467ffffffffffffffff19166001600160401b03929092169190911790556126c06128c3565b607860005260036020527fe372c44748f4c2908ae7c0a1dc553464478b0394f70953faecd55173b039317c805467ffffffffffffffff19166001600160401b03929092169190911790556127126128fe565b608260005260036020527fc3d073881ce0daff4d900012573fe3b8d5b283519b2f509e59d1b978e7cf0fc5805467ffffffffffffffff19166001600160401b03929092169190911790555050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b60006127af60408051808201909152600b81526a506f6f6c5365727669636560a81b602082015290565b6127b7611559565b6040516020016127c8929190613a05565b604051602081830303815290604052905060006127e484612939565b905060006127f78583603c8488886129a4565b612807631b4612f160e31b612760565b5050505050565b6040516368aebf7b60e01b8152610190600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015612863573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061059c9190613889565b6040516368aebf7b60e01b815261012c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401612846565b6040516368aebf7b60e01b81526064600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401612846565b6040516368aebf7b60e01b815260c8600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401612846565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015612980573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114db9190613329565b6129e56301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6129ef8287612a70565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101612a5f8382613a78565b506123386303fb044760e21b612760565b6001600160a01b038216612ac65760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e65722069732030000060448201526064016107b8565b600280546001600160a01b0319166001600160a01b038416179055612aea81612aee565b5050565b6001546001600160a01b031615612b275760015460405163fcdbf2d960e01b81526001600160a01b0390911660048201526024016107b8565b6001600160a01b038116612b4e5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003612b845760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107b8565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632eaf856d60e11b60048201526301ffc9a790602401602060405180830381865afa925050508015612bfe575060408051601f3d908101601f19168201909252612bfb91810190613303565b60015b612c265760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107b8565b80612aea5760405163fdeac91f60e01b81526001600160a01b03831660048201526024016107b8565b50565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b600060208284031215612ca257600080fd5b81356001600160e01b031981168114612cba57600080fd5b9392505050565b60005b83811015612cdc578181015183820152602001612cc4565b50506000910152565b60008151808452612cfd816020860160208601612cc1565b601f01601f19169290920160200192915050565b60006001600160601b038083511684528060208401511660208501525060ff6040830151166040840152606082015115156060840152608082015160018060a01b0380821660808601528060a08501511660a0860152505060c082015160e060c0850152612d8260e0850182612ce5565b949350505050565b604081526000612d9d6040830185612d11565b8281036020840152612daf8185612ce5565b95945050505050565b602081526000612cba6020830184612ce5565b6001600160a01b0381168114612c4f57600080fd5b600060208284031215612df257600080fd5b8135612cba81612dcb565b62ffffff81168114612c4f57600080fd5b600060208284031215612e2057600080fd5b8135612cba81612dfd565b6001600160601b0381168114612c4f57600080fd5b8035612e4b81612e2b565b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715612e8857612e88612e50565b60405290565b60405161012081016001600160401b0381118282101715612e8857612e88612e50565b60405160e081016001600160401b0381118282101715612e8857612e88612e50565b604051601f8201601f191681016001600160401b0381118282101715612efb57612efb612e50565b604052919050565b600060408284031215612f1557600080fd5b612f1d612e66565b9050813581526020820135602082015292915050565b60008060608385031215612f4657600080fd5b8235612f5181612e2b565b9150612f608460208501612f03565b90509250929050565b600080600060c08486031215612f7e57600080fd5b612f888585612f03565b9250612f978560408601612f03565b9150612fa68560808601612f03565b90509250925092565b60006001600160401b03821115612fc857612fc8612e50565b50601f01601f191660200190565b600082601f830112612fe757600080fd5b8135612ffa612ff582612faf565b612ed3565b81815284602083860101111561300f57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060006060848603121561304157600080fd5b833561304c81612dcb565b9250602084013561305c81612dcb565b915060408401356001600160401b0381111561307757600080fd5b61308386828701612fd6565b9150509250925092565b60006020828403121561309f57600080fd5b5035919050565b64ffffffffff81168114612c4f57600080fd5b8035612e4b816130a6565b60ff81168114612c4f57600080fd5b8035612e4b816130c4565b600080600080608085870312156130f457600080fd5b84356130ff81612e2b565b9350602085013561310f81612e2b565b925060408501356001600160401b038082111561312b57600080fd5b90860190610140828903121561314057600080fd5b613148612e8e565b61315183612e40565b81526131608960208501612f03565b602082015260608301358281111561317757600080fd5b6131838a828601612fd6565b6040830152506080830135606082015260a0830135608082015260c083013560a082015260e083013560c082015261010091506131c18284016130b9565b60e08201526131d361012084016130b9565b828201528094505050506131e9606086016130d3565b905092959194509250565b60008060008060008060c0878903121561320d57600080fd5b863561321881612dcb565b95506132278860208901612f03565b9450606087013593506080870135925060a08701356001600160401b038082111561325157600080fd5b818901915089601f83011261326557600080fd5b81358181111561327457600080fd5b8a602082850101111561328657600080fd5b6020830194508093505050509295509295509295565b6000602082840312156132ae57600080fd5b8151612cba81612dfd565b600181811c908216806132cd57607f821691505b6020821081036132ed57634e487b7160e01b600052602260045260246000fd5b50919050565b80518015158114612e4b57600080fd5b60006020828403121561331557600080fd5b612cba826132f3565b8051612e4b81612e2b565b60006020828403121561333b57600080fd5b8151612cba81612e2b565b60006020828403121561335857600080fd5b8151612cba81612dcb565b8051612e4b816130c4565b8051612e4b81612dcb565b600082601f83011261338a57600080fd5b8151613398612ff582612faf565b8181528460208386010111156133ad57600080fd5b612d82826020830160208701612cc1565b600060e082840312156133d057600080fd5b6133d8612eb1565b90506133e38261331e565b81526133f16020830161331e565b602082015261340260408301613363565b6040820152613413606083016132f3565b60608201526134246080830161336e565b608082015261343560a0830161336e565b60a082015260c08201516001600160401b0381111561345357600080fd5b61345f84828501613379565b60c08301525092915050565b6000806040838503121561347e57600080fd5b82516001600160401b038082111561349557600080fd5b6134a1868387016133be565b935060208501519150808211156134b757600080fd5b506134c485828601613379565b9150509250929050565b6000602082840312156134e057600080fd5b5051919050565b6000604082840312156134f957600080fd5b613501612e66565b9050815181526020820151602082015292915050565b8051612e4b816130a6565b60006020828403121561353457600080fd5b81516001600160401b038082111561354b57600080fd5b90830190610140828603121561356057600080fd5b613568612e8e565b6135718361331e565b815261358086602085016134e7565b602082015260608301518281111561359757600080fd5b6135a387828601613379565b6040830152506080830151606082015260a0830151608082015260c083015160a082015260e083015160c082015261010091506135e1828401613517565b60e08201526135f36101208401613517565b91810191909152949350505050565b80516001600160601b03168252600061014060208381015180518683015290810151604086015250604083015181606086015261364182860182612ce5565b91505060608301516080850152608083015160a085015260a083015160c085015260c083015160e085015260e08301516101006136868187018364ffffffffff169052565b84015164ffffffffff81166101208701529050509392505050565b6001600160601b03841681526060602082015260006136c36060830185613602565b905060ff83166040830152949350505050565b600061018082840312156136e957600080fd5b6136f1612e8e565b6136fa8361331e565b81526137086020840161336e565b60208201526040830151604082015261372484606085016134e7565b60608201526137368460a085016134e7565b60808201526137488460e085016134e7565b60a082015261375a61012084016132f3565b60c082015261376c61014084016132f3565b60e082015261377e610160840161336e565b6101008201529392505050565b6001600160601b03815116825260208101516137b260208401826001600160a01b03169052565b506040810151604083015260608101516137d9606084018280518252602090810151910152565b506080810151805160a0840152602081015160c08401525060a0810151805160e084015260208101516101008401525060c08101518015156101208401525060e08101518015156101408401525061010001516001600160a01b03166101609190910152565b505050565b6001600160601b03841681526101c08101613862602083018561378b565b60ff83166101a0830152949350505050565b6001600160401b0381168114612c4f57600080fd5b60006020828403121561389b57600080fd5b8151612cba81613874565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156138ce57600080fd5b8151612cba816130c4565b6000602082840312156138eb57600080fd5b81516001600160401b0381111561390157600080fd5b612d82848285016133be565b602081526000612cba6020830184613602565b602081526000612cba6020830184612d11565b6001600160601b0383168152604060208201526000612d826040830184613602565b6001600160601b03831681526101a08101612cba602083018461378b565b60006020828403121561398557600080fd5b8151612cba816130a6565b600080604083850312156139a357600080fd5b82516139ae81612dcb565b60208401519092506139bf81612dcb565b809150509250929050565b8151815260208083015190820152604081016114db565b600080604083850312156139f457600080fd5b505080516020909101519092909150565b604081526000613a186040830185612ce5565b905060ff831660208301529392505050565b601f82111561383f57600081815260208120601f850160051c81016020861015613a515750805b601f850160051c820191505b81811015613a7057828155600101613a5d565b505050505050565b81516001600160401b03811115613a9157613a91612e50565b613aa581613a9f84546132b9565b84613a2a565b602080601f831160018114613ada5760008415613ac25750858301515b600019600386901b1c1916600185901b178555613a70565b600085815260208120601f198616915b82811015613b0957888601518255948401946001909101908401613aea565b5085821015613b275787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a264697066735822122071007fe399ce5894603d974b37da43028cbf23fe2309ad7f5902e3965dbd400164736f6c63430008140033",
798
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101735760003560e01c806382678766116100de578063b88da75911610097578063cde749f411610071578063cde749f4146104c4578063cf7a1d77146104de578063cf7e5db8146104f1578063e3458d531461050457600080fd5b8063b88da759146104a1578063caf4e3d4146104b4578063cc9fc59a146104bc57600080fd5b80638267876614610402578063893d20e814610415578063946dfcfe1461041d578063a3f4df7e14610444578063a745e3df1461046e578063b3c650151461048157600080fd5b80634420e486116101305780634420e4861461025b5780634d459c90146102865780634f4213331461039f5780635ab1bd53146103b2578063636450f5146103d7578063644c45e0146103ea57600080fd5b806301ffc9a7146101785780630d8e6e2c146101ba5780630fec111c146101d6578063138461e0146101ec57806317d7de7c146101f65780631eff4b2214610226575b600080fd5b6101a5610186366004612c90565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101c2610517565b60405162ffffff90911681526020016101b1565b6101de6105a1565b6040516101b1929190612d8a565b6101f46106f4565b005b60408051808201909152600b81526a506f6f6c5365727669636560a81b60208201525b6040516101b19190612db8565b61024d7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101b1565b61026e610269366004612de0565b610916565b6040516001600160601b0390911681526020016101b1565b610342610294366004612e0e565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020613b5883398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a0016101b1565b6101a56103ad366004612e0e565b610c7d565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016101b1565b6101f46103e5366004612f33565b610d30565b600154600160a01b90046001600160601b031661026e565b6101f4610410366004612f69565b610fcb565b6103bf611140565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed9015461024d565b6102196040518060400160405280600b81526020016a506f6f6c5365727669636560a81b81525081565b6101f461047c36600461302c565b61125a565b6104896113b4565b6040516001600160401b0390911681526020016101b1565b6101c26104af36600461308d565b6113d5565b6103bf611426565b6103bf6114e1565b6104cc611559565b60405160ff90911681526020016101b1565b6101f46104ec36600461302c565b6115dc565b6101f46104ff3660046130de565b6116e5565b61026e6105123660046131f4565b611868565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610578573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061059c919061329c565b905090565b6105a9612c52565b606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806105f56001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161063d611140565b6001600160a01b0316815260200182600101805461065a906132b9565b80601f0160208091040260200160405190810160405280929190818152602001828054610686906132b9565b80156106d35780601f106106a8576101008083540402835291602001916106d3565b820191906000526020600020905b8154815290600101906020018083116106b657829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610756573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061077a9190613303565b156107c1576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166107ea5760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610833573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108579190613303565b61087f576040516372657a5160e01b81526001600160a01b03821660048201526024016107b8565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa1580156108c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ed9190613329565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b600081808261092482611afa565b60ff8116600090815260036020908152604080832054815163379ed74560e21b815291519495506001600160401b0316933393926001600160a01b0388169263de7b5d1492600480830193928290030181865afa158015610989573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ad9190613346565b90506109b76114e1565b6001600160a01b0316639c12c9c78385846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a299190613329565b6040516001600160e01b031960e086901b1681526001600160a01b0390931660048401526001600160401b0390911660248301526001600160601b03166044820152606401602060405180830381865afa158015610a8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aaf9190613303565b610ae6576040516351302f8160e01b81526001600160401b03841660048201526001600160a01b03831660248201526044016107b8565b33886000610af382611afa565b90506000610aff611426565b9050610b09612c52565b6060610b1d8460785b60ff90811691161490565b15610ba557604051638fbc2d8160e01b81526001600160a01b0386811660048301528781166024830152841690638fbc2d81906044015b6000604051808303816000875af1158015610b73573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610b9b919081019061346b565b9092509050610c4f565b610bb084606e610b12565b15610beb57604051635d96628960e01b81526001600160a01b0386811660048301528781166024830152841690635d96628990604401610b54565b610bf684608c610b12565b15610c3157604051637286e5e560e01b81526001600160a01b0386811660048301528781166024830152841690637286e5e590604401610b54565b60405163062839b560e01b815260ff851660048201526024016107b8565b81519c506000610c5e83611b6f565b9050610c6b8e8383611c11565b50505050505050505050505050919050565b600080600080516020613b5883398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610d05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d2991906134ce565b1192915050565b600080610d3d608c611c86565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d81573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610da59190613346565b8351604051634793b4ab60e01b81526001600160601b0388166004820152919250906000906001600160a01b03841690634793b4ab90602401600060405180830381865afa158015610dfb573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e239190810190613522565b80516040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610e81573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea59190613303565b610ef15760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a504c532d3031303a42554e444c455f554e4b4e4f574e0000000060448201526064016107b8565b80516001600160601b03808416911614610f585760405162461bcd60e51b815260206004820152602260248201527f4552524f523a504c532d3031313a42554e444c455f504f4f4c5f4d49534d4154604482015261086960f31b60648201526084016107b8565b602081018690526040516307f8b57360e31b81526001600160a01b03851690633fc5ab9890610f90908a90859060ff906004016136a1565b600060405180830381600087803b158015610faa57600080fd5b505af1158015610fbe573d6000803e3d6000fd5b5050505050505050505050565b600080610fd8608c611c86565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561101c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110409190613346565b83516040516355e343a960e01b81526001600160601b0382166004820152919250906000906001600160a01b038416906355e343a99060240161018060405180830381865afa158015611097573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110bb91906136d6565b606081018990526080810188905260a08101879052604051633055195560e11b81529091506001600160a01b038516906360aa32aa90611104908590859060ff90600401613844565b600060405180830381600087803b15801561111e57600080fd5b505af1158015611132573d6000803e3d6000fd5b505050505050505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156111a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111c99190613303565b1561124a57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a906024015b602060405180830381865afa158015611226573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061059c9190613346565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c61127c610517565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156112bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112e09190613889565b600080516020613b388339815191528054600160401b900460ff1680611313575080546001600160401b03808416911610155b156113315760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561135c8585611f44565b611365836121e3565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b600061059c600080516020613b38833981519152546001600160401b031690565b6000600080516020613b5883398151915260010182815481106113fa576113fa6138a6565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b60008061143b6001546001600160a01b031690565b6001600160a01b031663a3bcd81d611451611559565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa1580156114b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114db9190613346565b92915050565b60006114f56001546001600160a01b031690565b6001600160a01b031663a3bcd81d61150b611559565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e496e7374616e63655365727669636560881b606482015260ff9091166024820152608401611209565b6000611563610517565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156115b8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061059c91906138bc565b600080516020613b388339815191528054600160401b810460ff1615906001600160401b031660008115801561160f5750825b90506000826001600160401b0316600114801561162b5750303b155b905081158015611639575080155b156116575760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561168157845460ff60401b1916600160401b1785555b61168b8888611f44565b61169587876121eb565b83156116db57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b336116f86001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa158015611740573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117649190613303565b6117a45760405162461bcd60e51b81526020600482015260116024820152704552524f525f4e4f545f5345525649434560781b60448201526064016107b8565b60006117b86001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03881660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611807573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261182f91908101906138d9565b60808101516040516307f8b57360e31b8152919250906001600160a01b03821690633fc5ab9890610f90908990899089906004016136a1565b60008080611876608c611c86565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118de9190613346565b90506000836000015190506000604051806101200160405280836001600160601b031681526020018c815260200189898080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920182905250938552505050602082018d90526040820152606081018c9052608081018b905260a001611969600090565b64ffffffffff16815260006020909101529050611984611426565b6001600160a01b031663c2bf08c86040518060e001604052806119a5600090565b6001600160601b03168152602001856001600160601b031681526020016119ca60dc90565b60ff16815260200160001515815260200160006001600160a01b031681526020018f6001600160a01b0316815260200184604051602001611a0b919061390d565b6040516020818303038152906040528152506040518263ffffffff1660e01b8152600401611a399190613920565b6020604051808303816000875af1158015611a58573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a7c9190613329565b604051633038d34760e11b81529096506001600160a01b03851690636071a68e90611aad9089908590600401613933565b600060405180830381600087803b158015611ac757600080fd5b505af1158015611adb573d6000803e3d6000fd5b50505050611aeb8383888d612341565b50505050509695505050505050565b600080826001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611b3b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611b63919081019061346b565b50604001519392505050565b600080611b846001546001600160a01b031690565b60208401516040516305247a1760e51b81526001600160601b0390911660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015611bdd573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611c0591908101906138d9565b60800151949350505050565b600082806020019051810190611c2791906136d6565b6040516339f34df560e21b81529091506001600160a01b0383169063e7cd37d490611c589087908590600401613955565b600060405180830381600087803b158015611c7257600080fd5b505af11580156116db573d6000803e3d6000fd5b611c8e612c52565b600154604051636939560f60e11b815233600482015260009182916001600160a01b039091169063d272ac1e90602401602060405180830381865afa158015611cdb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cff9190613329565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611d5a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d7e9190613303565b611dca5760405162461bcd60e51b815260206004820152601760248201527f4552524f525f434f4d504f4e454e545f554e4b4e4f574e00000000000000000060448201526064016107b8565b6001546001600160a01b03166040516305247a1760e51b81526001600160601b03831660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611e25573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611e4d91908101906138d9565b9250611e6383604001518560ff90811691161490565b611ea55760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b60448201526064016107b8565b6000611eb96001546001600160a01b031690565b60208501516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611f0e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611f3691908101906138d9565b608001519395939450505050565b611f4c6125d1565b600080516020613b588339815191526000611f7c600080516020613b38833981519152546001600160401b031690565b90506000611f88610517565b9050816001600160401b0316600103611fb55760028301805462ffffff191662ffffff8316179055612003565b600283015462ffffff908116908216116120035760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b60448201526064016107b8565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af41580156120b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120db9190613973565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf68906113a59083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101736125d1565b600080516020613b388339815191528054600160401b810460ff1615906001600160401b031660008115801561221e5750825b90506000826001600160401b0316600114801561223a5750303b155b905081158015612248575080155b156122665760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561229057845460ff60401b1916600160401b1785555b6000868060200190518101906122a69190613990565b600480546001600160a01b039093166001600160a01b03199093168317905591506122d1908961260a565b6122e1631b4612f160e31b612760565b6122f16319a700ef60e31b612760565b50831561233857845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b80156125cb576040516355e343a960e01b81526001600160601b03841660048201526000906001600160a01b038616906355e343a99060240161018060405180830381865afa158015612398573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123bc91906136d6565b602081015190915060006123d86001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03871660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015612427573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061244b9190613346565b60808401516101008501516040516317d5759960e31b81526001600160a01b03808516600483015291821660248201526044810188905292935090919084169063beabacc890606401600060405180830381600087803b1580156124ae57600080fd5b505af11580156124c2573d6000803e3d6000fd5b50506040516346f0526160e11b815273__$a23651848365a6a5ca15f07b4331037f48$__9250638de0a4c291506124fd9084906004016139ca565b602060405180830381865af415801561251a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061253e9190613303565b6116db5760405163012ebd8360e21b8152815160048201526020820151602482015260448101869052600090819073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af41580156125a7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061113291906139e1565b50505050565b600080516020613b3883398151915254600160401b900460ff1661260857604051631afcd79f60e31b815260040160405180910390fd5b565b6126148282612785565b61261c61280e565b606e60005260036020527f0de2b21138735878e0660eef23d1131fad23d66157bfa1c473a82b60c5169926805467ffffffffffffffff19166001600160401b039290921691909117905561266e612887565b608c60005260036020527f83339eadc78535e76a031a9a544cf6fa252296becf88992d49fad5f832544a38805467ffffffffffffffff19166001600160401b03929092169190911790556126c06128c3565b607860005260036020527fe372c44748f4c2908ae7c0a1dc553464478b0394f70953faecd55173b039317c805467ffffffffffffffff19166001600160401b03929092169190911790556127126128fe565b608260005260036020527fc3d073881ce0daff4d900012573fe3b8d5b283519b2f509e59d1b978e7cf0fc5805467ffffffffffffffff19166001600160401b03929092169190911790555050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b60006127af60408051808201909152600b81526a506f6f6c5365727669636560a81b602082015290565b6127b7611559565b6040516020016127c8929190613a05565b604051602081830303815290604052905060006127e484612939565b905060006127f78583603c8488886129a4565b612807631b4612f160e31b612760565b5050505050565b6040516368aebf7b60e01b8152610190600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015612863573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061059c9190613889565b6040516368aebf7b60e01b815261012c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401612846565b6040516368aebf7b60e01b81526064600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401612846565b6040516368aebf7b60e01b815260c8600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401612846565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015612980573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114db9190613329565b6129e56301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6129ef8287612a70565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101612a5f8382613a78565b506123386303fb044760e21b612760565b6001600160a01b038216612ac65760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e65722069732030000060448201526064016107b8565b600280546001600160a01b0319166001600160a01b038416179055612aea81612aee565b5050565b6001546001600160a01b031615612b275760015460405163fcdbf2d960e01b81526001600160a01b0390911660048201526024016107b8565b6001600160a01b038116612b4e5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003612b845760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107b8565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632eaf856d60e11b60048201526301ffc9a790602401602060405180830381865afa925050508015612bfe575060408051601f3d908101601f19168201909252612bfb91810190613303565b60015b612c265760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107b8565b80612aea5760405163fdeac91f60e01b81526001600160a01b03831660048201526024016107b8565b50565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b600060208284031215612ca257600080fd5b81356001600160e01b031981168114612cba57600080fd5b9392505050565b60005b83811015612cdc578181015183820152602001612cc4565b50506000910152565b60008151808452612cfd816020860160208601612cc1565b601f01601f19169290920160200192915050565b60006001600160601b038083511684528060208401511660208501525060ff6040830151166040840152606082015115156060840152608082015160018060a01b0380821660808601528060a08501511660a0860152505060c082015160e060c0850152612d8260e0850182612ce5565b949350505050565b604081526000612d9d6040830185612d11565b8281036020840152612daf8185612ce5565b95945050505050565b602081526000612cba6020830184612ce5565b6001600160a01b0381168114612c4f57600080fd5b600060208284031215612df257600080fd5b8135612cba81612dcb565b62ffffff81168114612c4f57600080fd5b600060208284031215612e2057600080fd5b8135612cba81612dfd565b6001600160601b0381168114612c4f57600080fd5b8035612e4b81612e2b565b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715612e8857612e88612e50565b60405290565b60405161012081016001600160401b0381118282101715612e8857612e88612e50565b60405160e081016001600160401b0381118282101715612e8857612e88612e50565b604051601f8201601f191681016001600160401b0381118282101715612efb57612efb612e50565b604052919050565b600060408284031215612f1557600080fd5b612f1d612e66565b9050813581526020820135602082015292915050565b60008060608385031215612f4657600080fd5b8235612f5181612e2b565b9150612f608460208501612f03565b90509250929050565b600080600060c08486031215612f7e57600080fd5b612f888585612f03565b9250612f978560408601612f03565b9150612fa68560808601612f03565b90509250925092565b60006001600160401b03821115612fc857612fc8612e50565b50601f01601f191660200190565b600082601f830112612fe757600080fd5b8135612ffa612ff582612faf565b612ed3565b81815284602083860101111561300f57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060006060848603121561304157600080fd5b833561304c81612dcb565b9250602084013561305c81612dcb565b915060408401356001600160401b0381111561307757600080fd5b61308386828701612fd6565b9150509250925092565b60006020828403121561309f57600080fd5b5035919050565b64ffffffffff81168114612c4f57600080fd5b8035612e4b816130a6565b60ff81168114612c4f57600080fd5b8035612e4b816130c4565b600080600080608085870312156130f457600080fd5b84356130ff81612e2b565b9350602085013561310f81612e2b565b925060408501356001600160401b038082111561312b57600080fd5b90860190610140828903121561314057600080fd5b613148612e8e565b61315183612e40565b81526131608960208501612f03565b602082015260608301358281111561317757600080fd5b6131838a828601612fd6565b6040830152506080830135606082015260a0830135608082015260c083013560a082015260e083013560c082015261010091506131c18284016130b9565b60e08201526131d361012084016130b9565b828201528094505050506131e9606086016130d3565b905092959194509250565b60008060008060008060c0878903121561320d57600080fd5b863561321881612dcb565b95506132278860208901612f03565b9450606087013593506080870135925060a08701356001600160401b038082111561325157600080fd5b818901915089601f83011261326557600080fd5b81358181111561327457600080fd5b8a602082850101111561328657600080fd5b6020830194508093505050509295509295509295565b6000602082840312156132ae57600080fd5b8151612cba81612dfd565b600181811c908216806132cd57607f821691505b6020821081036132ed57634e487b7160e01b600052602260045260246000fd5b50919050565b80518015158114612e4b57600080fd5b60006020828403121561331557600080fd5b612cba826132f3565b8051612e4b81612e2b565b60006020828403121561333b57600080fd5b8151612cba81612e2b565b60006020828403121561335857600080fd5b8151612cba81612dcb565b8051612e4b816130c4565b8051612e4b81612dcb565b600082601f83011261338a57600080fd5b8151613398612ff582612faf565b8181528460208386010111156133ad57600080fd5b612d82826020830160208701612cc1565b600060e082840312156133d057600080fd5b6133d8612eb1565b90506133e38261331e565b81526133f16020830161331e565b602082015261340260408301613363565b6040820152613413606083016132f3565b60608201526134246080830161336e565b608082015261343560a0830161336e565b60a082015260c08201516001600160401b0381111561345357600080fd5b61345f84828501613379565b60c08301525092915050565b6000806040838503121561347e57600080fd5b82516001600160401b038082111561349557600080fd5b6134a1868387016133be565b935060208501519150808211156134b757600080fd5b506134c485828601613379565b9150509250929050565b6000602082840312156134e057600080fd5b5051919050565b6000604082840312156134f957600080fd5b613501612e66565b9050815181526020820151602082015292915050565b8051612e4b816130a6565b60006020828403121561353457600080fd5b81516001600160401b038082111561354b57600080fd5b90830190610140828603121561356057600080fd5b613568612e8e565b6135718361331e565b815261358086602085016134e7565b602082015260608301518281111561359757600080fd5b6135a387828601613379565b6040830152506080830151606082015260a0830151608082015260c083015160a082015260e083015160c082015261010091506135e1828401613517565b60e08201526135f36101208401613517565b91810191909152949350505050565b80516001600160601b03168252600061014060208381015180518683015290810151604086015250604083015181606086015261364182860182612ce5565b91505060608301516080850152608083015160a085015260a083015160c085015260c083015160e085015260e08301516101006136868187018364ffffffffff169052565b84015164ffffffffff81166101208701529050509392505050565b6001600160601b03841681526060602082015260006136c36060830185613602565b905060ff83166040830152949350505050565b600061018082840312156136e957600080fd5b6136f1612e8e565b6136fa8361331e565b81526137086020840161336e565b60208201526040830151604082015261372484606085016134e7565b60608201526137368460a085016134e7565b60808201526137488460e085016134e7565b60a082015261375a61012084016132f3565b60c082015261376c61014084016132f3565b60e082015261377e610160840161336e565b6101008201529392505050565b6001600160601b03815116825260208101516137b260208401826001600160a01b03169052565b506040810151604083015260608101516137d9606084018280518252602090810151910152565b506080810151805160a0840152602081015160c08401525060a0810151805160e084015260208101516101008401525060c08101518015156101208401525060e08101518015156101408401525061010001516001600160a01b03166101609190910152565b505050565b6001600160601b03841681526101c08101613862602083018561378b565b60ff83166101a0830152949350505050565b6001600160401b0381168114612c4f57600080fd5b60006020828403121561389b57600080fd5b8151612cba81613874565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156138ce57600080fd5b8151612cba816130c4565b6000602082840312156138eb57600080fd5b81516001600160401b0381111561390157600080fd5b612d82848285016133be565b602081526000612cba6020830184613602565b602081526000612cba6020830184612d11565b6001600160601b0383168152604060208201526000612d826040830184613602565b6001600160601b03831681526101a08101612cba602083018461378b565b60006020828403121561398557600080fd5b8151612cba816130a6565b600080604083850312156139a357600080fd5b82516139ae81612dcb565b60208401519092506139bf81612dcb565b809150509250929050565b8151815260208083015190820152604081016114db565b600080604083850312156139f457600080fd5b505080516020909101519092909150565b604081526000613a186040830185612ce5565b905060ff831660208301529392505050565b601f82111561383f57600081815260208120601f850160051c81016020861015613a515750805b601f850160051c820191505b81811015613a7057828155600101613a5d565b505050505050565b81516001600160401b03811115613a9157613a91612e50565b613aa581613a9f84546132b9565b84613a2a565b602080601f831160018114613ada5760008415613ac25750858301515b600019600386901b1c1916600185901b178555613a70565b600085815260208120601f198616915b82811015613b0957888601518255948401946001909101908401613aea565b5085821015613b275787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a264697066735822122071007fe399ce5894603d974b37da43028cbf23fe2309ad7f5902e3965dbd400164736f6c63430008140033",
1239
+ "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b61551580620000e66000396000f3fe60806040523480156200001157600080fd5b5060043610620002255760003560e01c80637a9e5e4b1162000131578063b135d5d411620000bb578063caf4e3d41162000086578063caf4e3d41462000521578063cc9fc59a146200052b578063d0d63b091462000535578063f21de1e81462000380578063f7c34ee0146200054c57600080fd5b8063b135d5d414620004c3578063b68d180914620004da578063bcba127414620004ea578063bf7e214f146200050157600080fd5b80638fb3603711620000fc5780638fb36037146200045a578063991cbfb3146200047e578063a3c260521462000495578063ada9652e14620004ac57600080fd5b80637a9e5e4b146200040b578063826787661462000422578063893d20e814620004395780638e32e979146200044357600080fd5b806336fc697e11620001b3578063644c45e0116200017e578063644c45e014620003a6578063675393bf14620003c65780636c76767214620003dd5780637738eb8614620003f457600080fd5b806336fc697e146200032f5780634420e486146200033957806349bb9e4b14620003695780635ab1bd53146200038057600080fd5b80631eff4b2211620001f45780631eff4b2214620002b3578063214cdb8014620002ea57806327bb7a331462000301578063329d6e74146200031857600080fd5b806301ffc9a7146200022a5780630d8e6e2c146200026f5780630fec111c146200028e578063138461e014620002a7575b600080fd5b6200025a6200023b36600462003a05565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6200027962000563565b60405162ffffff909116815260200162000266565b62000298620005f0565b60405162000266919062003a8c565b620002b1620007af565b005b620002db7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200162000266565b620002b1620002fb36600462003a05565b620009c4565b620002b16200031236600462003d54565b620009f3565b620002b16200032936600462003dfa565b62000a85565b620002b162000bdd565b620003506200034a36600462003e32565b62000c25565b6040516001600160601b03909116815260200162000266565b620002b16200037a36600462003e52565b6200114d565b6001546001600160a01b03165b6040516001600160a01b03909116815260200162000266565b60008051602062005480833981519152546001600160601b031662000350565b620002b1620003d736600462003e32565b62001255565b620002b1620003ee36600462004066565b6200136e565b62000350620004053660046200411f565b6200176e565b620002b16200041c36600462003e32565b62001949565b620002b162000433366004620041e6565b620019eb565b6200038d62001baa565b620002b16200045436600462004233565b62001ce9565b6200046462001f3d565b6040516001600160e01b0319909116815260200162000266565b620002b16200048f36600462004285565b62001f78565b620002b1620004a63660046200439a565b62002814565b620002db6000805160206200548083398151915281565b620002b1620004d4366004620043ba565b62002a68565b604051608c815260200162000266565b620002b1620004fb366004620043d4565b62002c73565b600080516020620054a0833981519152546001600160a01b03166200038d565b6200038d62002cf9565b6200038d62002d07565b620002b1620005463660046200443d565b62002d15565b620002b16200055d3660046200445d565b62002e4b565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015620005c5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005eb91906200449b565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b90910416151591810191909152600182018054919291606084019190620006a290620044c2565b80601f0160208091040260200160405190810160405280929190818152602001828054620006d090620044c2565b8015620007215780601f10620006f55761010080835404028352916020019162000721565b820191906000526020600020905b8154815290600101906020018083116200070357829003601f168201915b50505050508152505090506040518060e0016040528062000740600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b031681526020016200079362001baa565b6001600160a01b03168152602001826060015181525091505090565b60006000805160206200548083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801562000820573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200084691906200450b565b15620008785780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306200088c6001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015620008d5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620008fb91906200450b565b620009255760405163b9304b0d60e01b81526001600160a01b03821660048201526024016200086f565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa1580156200097a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620009a0919062004538565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b620009ce62002eca565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b620009fd62002eca565b62000a09828762002e4b565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b8615150217815590506001810162000a7b8382620045aa565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c62000aa962000563565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af415801562000aea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000b10919062004683565b600080516020620054c08339815191528054600160401b900460ff168062000b45575080546001600160401b03808416911610155b1562000b645760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815562000b908362002f05565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a1505050565b62000be762002eca565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b60008080808062000c4286608c62000c3c62002f0f565b62002f89565b9296509094509250905085600062000c5962002cf9565b604051637286e5e560e01b81526001600160a01b03848116600483015287811660248301529190911690637286e5e5906044016000604051808303816000875af115801562000cac573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000cd6919081019062004709565b9050816001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b15801562000d1457600080fd5b505af115801562000d29573d6000803e3d6000fd5b50505050806000015196506000826001600160a01b03166390edbd356040518163ffffffff1660e01b8152600401600060405180830381865afa15801562000d75573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000d9f9190810190620047ef565b9050806020015160405162000db490620039f7565b6001600160a01b039091168152602001604051809103906000f08015801562000de1573d6000803e3d6000fd5b506001600160a01b039081166040808401919091525163d5c9d77d60e01b81529086169063d5c9d77d9062000e1d908b90859060040162004940565b600060405180830381600087803b15801562000e3857600080fd5b505af115801562000e4d573d6000803e3d6000fd5b50600092506002915062000e5e9050565b60405190808252806020026020018201604052801562000e9357816020015b606081526020019060019003908162000e7d5790505b5060408051600180825281830190925291925060208083019080368337019050508160008151811062000eca5762000eca62004964565b602090810291909101015260408051600180825281830190925290816020016020820280368337019050508160018151811062000f0b5762000f0b62004964565b6020026020010181905250638267876660e01b8160008151811062000f345762000f3462004964565b602002602001015160008151811062000f515762000f5162004964565b6001600160e01b031990921660209283029190910190910152805163da65659d60e01b908290600190811062000f8b5762000f8b62004964565b602002602001015160008151811062000fa85762000fa862004964565b6001600160e01b031992909216602092830291909101820152604080516002808252606082018352600093919290918301908036833701905050905062000fee62002f0f565b8160008151811062001004576200100462004964565b60200260200101906001600160401b031690816001600160401b0316815250506200102e62003291565b8160018151811062001044576200104462004964565b60200260200101906001600160401b031690816001600160401b0316815250506200106e62002d07565b6001600160a01b0316636c6fbb28878d886001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015620010bd573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620010e791908101906200497a565b86866040518663ffffffff1660e01b81526004016200110b959493929190620049f8565b600060405180830381600087803b1580156200112657600080fd5b505af11580156200113b573d6000803e3d6000fd5b50505050505050505050505050919050565b600080516020620054c08339815191528054600160401b810460ff1615906001600160401b0316600081158015620011825750825b90506000826001600160401b031660011480156200119f5750303b155b905081158015620011ae575080155b15620011cd5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315620011f857845460ff60401b1916600160401b1785555b620012048787620032ce565b83156200124c57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6200125f62002eca565b806001600160a01b03163b600003620012975760405163fdeac91f60e01b81526001600160a01b03821660048201526024016200086f565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa92505050801562001314575060408051601f3d908101601f1916820190925262001311918101906200450b565b60015b6200133e5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016200086f565b80620013695760405163fdeac91f60e01b81526001600160a01b03831660048201526024016200086f565b505b50565b6000856001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015620013af573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620013d5919062004ad4565b60405163242bdc1960e21b81526001600160601b03871660048201529091506000906001600160a01b038316906390af70649060240161014060405180830381865afa1580156200142a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001450919062004b27565b606001516020850151604051634793b4ab60e01b81526001600160601b0382166004820152919250906000906001600160a01b03851690634793b4ab90602401600060405180830381865afa158015620014ae573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620014d8919081019062004bef565b9050620014ea81600001518462003522565b1562001520578051604051630a49ea2360e01b81526001600160601b03918216600482015290841660248201526044016200086f565b60405163f0ea17c360e01b81526001600160601b03841660048201526000906001600160a01b0386169063f0ea17c390602401600060405180830381865afa15801562001571573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200159b9190810190620047ef565b905060008160c00151806020019051810190620015b9919062004d03565b608089015160025460405163a7e0dea760e01b81526001600160a01b038f811660048301526001600160601b03808f1660248401528916604483015260648201849052608482018c905293945091928a9291169063a7e0dea79060a401600060405180830381600087803b1580156200163157600080fd5b505af115801562001646573d6000803e3d6000fd5b505050508260e00151156200175f5760006200166a6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b038a1660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015620016ba573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620016e4919081019062004709565b608001519050806001600160a01b031663da65659d8d8d61010001518a8a60400151886040518663ffffffff1660e01b81526004016200172995949392919062004df5565b600060405180830381600087803b1580156200174457600080fd5b505af115801562001759573d6000803e3d6000fd5b50505050505b50505050505050505050505050565b600080806200177e608c62003539565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015620017c4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620017ea919062004ad4565b90506000889050600260009054906101000a90046001600160a01b03166001600160a01b031663e283b4a984868e8e868e8e8e6040518963ffffffff1660e01b81526004016200184298979695949392919062004e4a565b6020604051808303816000875af115801562001862573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001888919062004538565b94507f0dcadf661b8b2888423f78a848a77785b4dc0138395b12584835f6a65dfcea79836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015620018ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001910919062004538565b604080516001600160601b03928316815282881660208201529188169082015260600160405180910390a1505050509695505050505050565b336200196b600080516020620054a0833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614620019a85760405162d1953b60e31b81526001600160a01b03821660048201526024016200086f565b816001600160a01b03163b600003620019e0576040516361798f2f60e11b81526001600160a01b03831660048201526024016200086f565b62001369826200377a565b60008080620019fb608c62003539565b9250925092506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001a42573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001a68919062004ad4565b60405163f0ea17c360e01b81526001600160601b03861660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa15801562001abc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001ae69190810190620047ef565b905060008160c0015180602001905181019062001b04919062004d03565b61014081018a90526101608101899052610180810188905260405190915062001b3290829060200162004edb565b60408051808303601f1901815291905260c08301526001600160a01b03841663a4eeee59878460ff6040518463ffffffff1660e01b815260040162001b7a9392919062004fd5565b600060405180830381600087803b15801562001b9557600080fd5b505af11580156200175f573d6000803e3d6000fd5b6000806000805160206200548083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801562001c1c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001c4291906200450b565b1562001cd3576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801562001ca7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001ccd919062004ad4565b91505090565b54600160601b90046001600160a01b0316919050565b62001cf362002eca565b62001d7883846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001d37573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001d5d919062004538565b603c60008560405180602001604052806000815250620009f3565b6001600160a01b0382161562001d995762001d9382620037dc565b62001f14565b600062001dae6001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af415801562001e0f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001e3591906200500c565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801562001e7b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001ea1919062004ad4565b905062001f12816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001ee6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001f0c919062004ad4565b620037dc565b505b62001f26634a531f3360e01b620009c4565b62001f3863b68d180960e01b620009c4565b505050565b600080516020620054a0833981519152805460009190600160a01b900460ff1662001f6a57600062001ccd565b638fb3603760e01b91505090565b600062001f8d6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa15801562001fe1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200200b919081019062004709565b60208101516040516305247a1760e51b81526001600160601b0390911660048201529091506000906001600160a01b0384169063a48f42e090602401600060405180830381865afa15801562002065573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200208f919081019062004709565b60208101516040516305247a1760e51b81526001600160601b0390911660048201529091506000906001600160a01b0385169063a48f42e090602401600060405180830381865afa158015620020e9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262002113919081019062004709565b9050600081608001519050600073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__634c41dd968961010001518a608001516200215191906200502c565b6040518263ffffffff1660e01b81526004016200217091815260200190565b602060405180830381865af41580156200218e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620021b4919062004538565b9050600073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__634c41dd968a61012001518b60a00151620021e991906200502c565b6040518263ffffffff1660e01b81526004016200220891815260200190565b602060405180830381865af415801562002226573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200224c919062004538565b8951604051632620eecb60e11b8152600481019190915290915060009073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__90634c41dd9690602401602060405180830381865af4158015620022a6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620022cc919062004538565b60405163274acb3560e01b81526001600160601b039182166004820152908416602482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063274acb3590604401602060405180830381865af41580156200232e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002354919062004538565b60405163274acb3560e01b81526001600160601b039182166004820152908316602482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063274acb3590604401602060405180830381865af4158015620023b6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620023dc919062004538565b60405163c4cade9d60e01b81526001600160601b038b811660048301528216602482015290915073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063c4cade9d90604401602060405180830381865af415801562002440573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200246691906200450b565b6200249857604051639080fd1360e01b81526001600160601b0380831660048301528a1660248201526044016200086f565b6040516330b8415f60e01b81526001600160601b038416600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906330b8415f90602401602060405180830381865af4158015620024f1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200251791906200450b565b1562002709576000846001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200255e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002584919062004ad4565b875160405163f0ea17c360e01b81526001600160601b0390911660048201526001600160a01b03919091169063f0ea17c390602401600060405180830381865afa158015620025d7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620026019190810190620047ef565b60a081015160405163274acb3560e01b81526001600160601b039182166004820152908616602482015290915073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063274acb3590604401602060405180830381865af41580156200266b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002691919062004538565b6001600160601b031660a0820152865160405163a4eeee5960e01b81526001600160a01b0387169163a4eeee5991620026d39190859060ff9060040162004fd5565b600060405180830381600087803b158015620026ee57600080fd5b505af115801562002703573d6000803e3d6000fd5b50505050505b6040516330b8415f60e01b81526001600160601b038316600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906330b8415f90602401602060405180830381865af415801562002762573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200278891906200450b565b156200280757600254604051632dd597e760e21b81526001600160a01b0386811660048301526001600160601b03808f166024840152851660448301529091169063b7565f9c90606401600060405180830381600087803b158015620027ed57600080fd5b505af115801562002802573d6000803e3d6000fd5b505050505b5050505050505050505050565b6000808062002824608c62003539565b9250925092506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200286b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002891919062004ad4565b60405163f0ea17c360e01b81526001600160601b03861660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa158015620028e5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200290f9190810190620047ef565b905060008160c001518060200190518101906200292d919062004d03565b905062002954816020015162002942620037f1565b6001600160401b039081169116141590565b156200297f5760405163eff765ff60e01b81526001600160601b03871660048201526024016200086f565b6001600160401b038716602080830191909152604051620029a39183910162004edb565b60408051808303601f1901815291905260c08301526001600160a01b03841663a4eeee59878460ff6040518463ffffffff1660e01b8152600401620029eb9392919062004fd5565b600060405180830381600087803b15801562002a0657600080fd5b505af115801562002a1b573d6000803e3d6000fd5b5050604080516001600160601b038a1681526001600160401b038b1660208201527fe7e6a7a42cbdb2d274dfaaac06073a09d6095ca3745ce71fe5a137f8247ea23e935001905062001243565b6000808062002a78608c62003539565b9250925092506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002abf573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002ae5919062004ad4565b60405163f0ea17c360e01b81526001600160601b03861660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa15801562002b39573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262002b639190810190620047ef565b905060008160c0015180602001905181019062002b81919062004d03565b60408082018051908a905290519192509062002ba290839060200162004edb565b60408051808303601f1901815291905260c08401526001600160a01b03851663a4eeee59888560ff6040518463ffffffff1660e01b815260040162002bea9392919062004fd5565b600060405180830381600087803b15801562002c0557600080fd5b505af115801562002c1a573d6000803e3d6000fd5b5050604080516001600160601b038b168152602081018590529081018b90527f3d3c927c97d357afd5a7d8406e5040fdd068b171cc4ea3cfd3f41c5500d596379250606001905060405180910390a15050505050505050565b60025460208201516080830151604051632a4cd36960e21b81526001600160a01b0387811660048301526001600160601b0380881660248401529093166044820152606481019190915291169063a9334da490608401600060405180830381600087803b15801562002ce457600080fd5b505af11580156200124c573d6000803e3d6000fd5b6000620005eb602862003833565b6000620005eb604662003833565b60008062002d24608c62003539565b600254604051632aa6b2cb60e21b81526001600160a01b0380841660048301526001600160601b0389166024830152949650919450929092169163aa9acb2c9150604401600060405180830381600087803b15801562002d8357600080fd5b505af115801562002d98573d6000803e3d6000fd5b505050507f64c75a4392ba38fee1b5a44b61e3dd0cae424d2d43eb2b0c99772efe31e1c042816001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002dfc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002e22919062004538565b604080516001600160601b03928316815282861660208201529186169082015260600162000bd0565b62002e5562002eca565b62002e608162001255565b62002e6a62000bdd565b6001600160a01b03821662002e925760405163f17ef42d60e01b815260040160405180910390fd5b506000805160206200548083398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600080516020620054c083398151915254600160401b900460ff1662002f0357604051631afcd79f60e31b815260040160405180910390fd5b565b6200022562002eca565b6040516368aebf7b60e01b815260048082015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af415801562002f63573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005eb919062004683565b6040516301ffc9a760e01b81526396c8ab0560e01b60048201528390339060009081906001600160a01b038516906301ffc9a790602401602060405180830381865afa15801562002fde573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200300491906200450b565b6200302e576040516359bff0e360e11b81526001600160a01b03881660048201526024016200086f565b6000846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156200306f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262003099919081019062004709565b9050620030b181604001518860ff9081169116141590565b15620030f3576040808201519051634a2e948760e11b81526001600160a01b038a16600482015260ff808a16602483015290911660448201526064016200086f565b60a08101516001600160a01b0385811690821614620031475760a0820151604051632b50a20960e21b81526001600160a01b03808c166004830152918216602482015290861660448201526064016200086f565b81602001519250620031598362003949565b9350836001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200319a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620031c0919062004ad4565b6040516368fc2b7760e11b81526001600160401b03891660048201526001600160a01b038781166024830152919091169063d1f856ee90604401602060405180830381865afa15801562003218573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200323e91906200450b565b6200328657604051636af540d960e01b81526001600160601b03841660048201526001600160401b03881660248201526001600160a01b03861660448201526064016200086f565b505093509350935093565b6040516368aebf7b60e01b815261096a600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b9060240162002f45565b600080516020620054c08339815191528054600160401b810460ff1615906001600160401b0316600081158015620033035750825b90506000826001600160401b03166001148015620033205750303b155b9050811580156200332f575080155b156200334e5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156200337957845460ff60401b1916600160401b1785555b600080878060200190518101906200339291906200504e565b9092509050620033a58260008b62001ce9565b6001546001600160a01b031663d39e604360dc620033c262000563565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801562003418573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200343e91906200500c565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801562003484573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620034aa919062004ad4565b600280546001600160a01b0319166001600160a01b0392909216919091179055620034dc630ea3b75760e21b620009c4565b505083156200124c57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200162001243565b6001600160601b0382811690821614155b92915050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152600080620035866001546001600160a01b031690565b6040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa158015620035ce573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620035f8919081019062004709565b92506200360f83604001518660ff90811691161490565b620036535760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b60448201526064016200086f565b8260000151935062003669836020015162003949565b9150816001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015620036aa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620036d0919062004ad4565b6080840151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa1580156200371b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200374191906200450b565b156200377257608083015160405163d53987e560e01b81526001600160a01b0390911660048201526024016200086f565b509193909250565b600080516020620054a083398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b620037e662002eca565b6200136b81620039e2565b6040516368aebf7b60e01b81526001600160401b03600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b9060240162002f45565b6000620038486001546001600160a01b031690565b6001600160a01b031663d39e6043836200386162000563565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015620038b7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620038dd91906200500c565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801562003923573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003533919062004ad4565b60006200395e6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015620039ae573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620039d8919081019062004709565b6080015192915050565b620039ec62002eca565b6200136b816200377a565b6103fd806200508383390190565b60006020828403121562003a1857600080fd5b81356001600160e01b03198116811462003a3157600080fd5b9392505050565b60005b8381101562003a5557818101518382015260200162003a3b565b50506000910152565b6000815180845262003a7881602086016020860162003a38565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015162003af660c08401826001600160a01b03169052565b5060c083015160e08084015262003b1261010084018262003a5e565b949350505050565b6001600160a01b03811681146200136b57600080fd5b6001600160601b03811681146200136b57600080fd5b803562003b538162003b30565b919050565b60ff811681146200136b57600080fd5b80151581146200136b57600080fd5b634e487b7160e01b600052604160045260246000fd5b60405161020081016001600160401b038111828210171562003bb35762003bb362003b77565b60405290565b604080519081016001600160401b038111828210171562003bb35762003bb362003b77565b6040516101e081016001600160401b038111828210171562003bb35762003bb362003b77565b60405160e081016001600160401b038111828210171562003bb35762003bb362003b77565b60405161010081016001600160401b038111828210171562003bb35762003bb362003b77565b60405161012081016001600160401b038111828210171562003bb35762003bb362003b77565b6040516101a081016001600160401b038111828210171562003bb35762003bb362003b77565b604051601f8201601f191681016001600160401b038111828210171562003cc65762003cc662003b77565b604052919050565b60006001600160401b0382111562003cea5762003cea62003b77565b50601f01601f191660200190565b600082601f83011262003d0a57600080fd5b813562003d2162003d1b8262003cce565b62003c9b565b81815284602083860101111562003d3757600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c0878903121562003d6e57600080fd5b863562003d7b8162003b1a565b9550602087013562003d8d8162003b30565b9450604087013562003d9f8162003b58565b9350606087013562003db18162003b68565b9250608087013562003dc38162003b1a565b915060a08701356001600160401b0381111562003ddf57600080fd5b62003ded89828a0162003cf8565b9150509295509295509295565b60006020828403121562003e0d57600080fd5b81356001600160401b0381111562003e2457600080fd5b62003b128482850162003cf8565b60006020828403121562003e4557600080fd5b813562003a318162003b1a565b6000806040838503121562003e6657600080fd5b823562003e738162003b1a565b915060208301356001600160401b0381111562003e8f57600080fd5b62003e9d8582860162003cf8565b9150509250929050565b80356001600160c01b03198116811462003b5357600080fd5b64ffffffffff811681146200136b57600080fd5b803562003b538162003ec0565b803561ffff8116811462003b5357600080fd5b6000610200828403121562003f0857600080fd5b62003f1262003b8d565b905062003f1f8262003b46565b815262003f2f6020830162003b46565b602082015262003f426040830162003ea7565b604082015262003f556060830162003ea7565b60608201526080820135608082015260a082013560a082015260c082013560c082015262003f8660e0830162003ed4565b60e0820152610100808301356001600160401b038082111562003fa857600080fd5b62003fb68683870162003cf8565b8385015261012092508285013591508082111562003fd357600080fd5b5062003fe28582860162003cf8565b82840152505061014062003ff881840162003ee1565b908201526101606200400c83820162003ee1565b908201526101806200402083820162003b46565b908201526101a06200403483820162003ed4565b908201526101c06200404883820162003ed4565b908201526101e06200405c83820162003ed4565b9082015292915050565b600080600080600060a086880312156200407f57600080fd5b85356200408c8162003b1a565b945060208601356200409e8162003b30565b93506040860135620040b08162003b30565b925060608601356001600160401b03811115620040cc57600080fd5b620040da8882890162003ef4565b95989497509295608001359392505050565b600060408284031215620040ff57600080fd5b6200410962003bb9565b9050813581526020820135602082015292915050565b60008060008060008060c087890312156200413957600080fd5b8635620041468162003b1a565b9550620041578860208901620040ec565b94506060870135620041698162003b30565b935060808701356200417b8162003ec0565b925060a08701356001600160401b03808211156200419857600080fd5b818901915089601f830112620041ad57600080fd5b813581811115620041bd57600080fd5b8a6020828501011115620041d057600080fd5b6020830194508093505050509295509295509295565b600080600060c08486031215620041fc57600080fd5b620042088585620040ec565b9250620042198560408601620040ec565b91506200422a8560808601620040ec565b90509250925092565b6000806000606084860312156200424957600080fd5b8335620042568162003b1a565b92506020840135620042688162003b1a565b915060408401356200427a8162003b1a565b809150509250925092565b60008060008385036102208112156200429d57600080fd5b8435620042aa8162003b30565b93506101e0601f198201811315620042c157600080fd5b620042cb62003bde565b91506020860135825260408601356020830152606086013560408301526080860135606083015260a0860135608083015260c086013560a083015260e086013560c08301526101008087013560e084015261012080880135828501526101409150818801358185015250610160808801358285015261018091508188013581850152506101a080880135828501526101c0915081880135818501525081870135818401525050809250506200422a610200850162003b46565b6001600160401b03811681146200136b57600080fd5b600060208284031215620043ad57600080fd5b813562003a318162004384565b600060208284031215620043cd57600080fd5b5035919050565b600080600060608486031215620043ea57600080fd5b8335620043f78162003b1a565b92506020840135620044098162003b30565b915060408401356001600160401b038111156200442557600080fd5b620044338682870162003ef4565b9150509250925092565b6000602082840312156200445057600080fd5b813562003a318162003b30565b600080604083850312156200447157600080fd5b82356200447e8162003b1a565b91506020830135620044908162003b1a565b809150509250929050565b600060208284031215620044ae57600080fd5b815162ffffff8116811462003a3157600080fd5b600181811c90821680620044d757607f821691505b602082108103620044f857634e487b7160e01b600052602260045260246000fd5b50919050565b805162003b538162003b68565b6000602082840312156200451e57600080fd5b815162003a318162003b68565b805162003b538162003b30565b6000602082840312156200454b57600080fd5b815162003a318162003b30565b601f82111562001f3857600081815260208120601f850160051c81016020861015620045815750805b601f850160051c820191505b81811015620045a2578281556001016200458d565b505050505050565b81516001600160401b03811115620045c657620045c662003b77565b620045de81620045d78454620044c2565b8462004558565b602080601f831160018114620046165760008415620045fd5750858301515b600019600386901b1c1916600185901b178555620045a2565b600085815260208120601f198616915b82811015620046475788860151825594840194600190910190840162004626565b5085821015620046665787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b805162003b538162004384565b6000602082840312156200469657600080fd5b815162003a318162004384565b805162003b538162003b58565b805162003b538162003b1a565b600082601f830112620046cf57600080fd5b8151620046e062003d1b8262003cce565b818152846020838601011115620046f657600080fd5b62003b1282602083016020870162003a38565b6000602082840312156200471c57600080fd5b81516001600160401b03808211156200473457600080fd5b9083019060e082860312156200474957600080fd5b6200475362003c04565b6200475e836200452b565b81526200476e602084016200452b565b60208201526200478160408401620046a3565b60408201526200479460608401620044fe565b6060820152620047a760808401620046b0565b6080820152620047ba60a08401620046b0565b60a082015260c083015182811115620047d257600080fd5b620047e087828601620046bd565b60c08301525095945050505050565b6000602082840312156200480257600080fd5b81516001600160401b03808211156200481a57600080fd5b9083019060e082860312156200482f57600080fd5b6200483962003c04565b8251828111156200484957600080fd5b6200485787828601620046bd565b8252506200486860208401620046b0565b60208201526200487b60408401620046b0565b60408201526200488e60608401620046b0565b6060820152620048a1608084016200452b565b6080820152620047ba60a084016200452b565b6000815160e08452620048cb60e085018262003a5e565b9050602083015160018060a01b038082166020870152806040860151166040870152806060860151166060870152505060808301516001600160601b0380821660808701528060a08601511660a0870152505060c083015184820360c086015262004937828262003a5e565b95945050505050565b6001600160601b038316815260406020820152600062003b126040830184620048b4565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156200498d57600080fd5b81516001600160401b03811115620049a457600080fd5b62003b1284828501620046bd565b600081518084526020808501945080840160005b83811015620049ed5781516001600160401b031687529582019590820190600101620049c6565b509495945050505050565b6001600160601b03861681526000602060018060a01b0387168184015260a0604084015262004a2b60a084018762003a5e565b8381036060850152855180825282820190600581901b830184018489016000805b8481101562004aad57868403601f19018652825180518086529089019089860190845b8181101562004a975783516001600160e01b0319168352928b0192918b019160010162004a6f565b5050968901969450509187019160010162004a4c565b505050868103608088015262004ac48189620049b2565b9c9b505050505050505050505050565b60006020828403121562004ae757600080fd5b815162003a318162003b1a565b60006040828403121562004b0757600080fd5b62004b1162003bb9565b9050815181526020820151602082015292915050565b6000610140828403121562004b3b57600080fd5b62004b4562003c29565b62004b5083620046b0565b815262004b6060208401620046b0565b602082015262004b73604084016200452b565b604082015262004b86606084016200452b565b606082015262004b9a846080850162004af4565b608082015262004bae8460c0850162004af4565b60a082015262004bc26101008401620044fe565b60c082015262004bd66101208401620046b0565b60e08201529392505050565b805162003b538162003ec0565b60006020828403121562004c0257600080fd5b81516001600160401b038082111562004c1a57600080fd5b90830190610140828603121562004c3057600080fd5b62004c3a62003c4f565b62004c45836200452b565b815262004c56866020850162004af4565b602082015260608301518281111562004c6e57600080fd5b62004c7c87828601620046bd565b60408301525062004c90608084016200452b565b606082015262004ca360a084016200452b565b608082015262004cb660c084016200452b565b60a082015262004cc960e0840162004be2565b60c0820152610100915062004ce082840162004be2565b60e082015262004cf4610120840162004be2565b91810191909152949350505050565b6000610200828403121562004d1757600080fd5b62004d2162003c75565b62004d2c836200452b565b815262004d3c6020840162004676565b602082015260408301516040820152606083015160608201526080830151608082015262004d6d60a08401620044fe565b60a082015262004d8060c08401620044fe565b60c082015262004d9360e08401620044fe565b60e08201526101008381015190820152610120808401519082015261014062004dbf8582860162004af4565b9082015261018062004dd48585830162004af4565b61016083015262004dea856101c0860162004af4565b908201529392505050565b60006001600160601b03808816835260a0602084015262004e1a60a084018862003a5e565b8187166040850152838103606085015262004e36818762003a5e565b925050508260808301529695505050505050565b6001600160a01b0389811682526001600160601b03898116602084015288821660408401526000916101009162004e8e606086018b80518252602090810151910152565b881660a08501525064ffffffffff861660c084015260e0830181905282018390526101208385828501376000838501820152601f909301601f191690910190910198975050505050505050565b81516001600160601b031681526102008101602083015162004f0860208401826001600160401b03169052565b5060408301516040830152606083015160608301526080830151608083015260a083015162004f3b60a084018215159052565b5060c083015162004f5060c084018215159052565b5060e083015162004f6560e084018215159052565b5061010083810151908301526101208084015190830152610140808401518051828501526020810151610160850152505061016083015161018062004fb68185018380518252602090810151910152565b84015180516101c085015260208101516101e085015290505092915050565b6001600160601b038416815260606020820152600062004ff96060830185620048b4565b905060ff83166040830152949350505050565b6000602082840312156200501f57600080fd5b815162003a318162003b58565b808201808211156200353357634e487b7160e01b600052601160045260246000fd5b600080604083850312156200506257600080fd5b82516200506f8162003b1a565b6020840151909250620044908162003b1a56fe608060405234801561001057600080fd5b506040516103fd3803806103fd83398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b61036a806100936000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806321df0da71461003b578063beabacc81461005a575b600080fd5b600054604080516001600160a01b039092168252519081900360200190f35b61006d6100683660046102a7565b61006f565b005b600054610087906001600160a01b031684848461008c565b505050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526100e69085906100ec565b50505050565b60006101016001600160a01b03841683610154565b9050805160001415801561012657508080602001905181019061012491906102e3565b155b1561008757604051635274afe760e01b81526001600160a01b03841660048201526024015b60405180910390fd5b606061016283836000610169565b9392505050565b60608147101561018e5760405163cd78605960e01b815230600482015260240161014b565b600080856001600160a01b031684866040516101aa9190610305565b60006040518083038185875af1925050503d80600081146101e7576040519150601f19603f3d011682016040523d82523d6000602084013e6101ec565b606091505b50915091506101fc868383610206565b9695505050505050565b60608261021b5761021682610262565b610162565b815115801561023257506001600160a01b0384163b155b1561025b57604051639996b31560e01b81526001600160a01b038516600482015260240161014b565b5080610162565b8051156102725780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b80356001600160a01b03811681146102a257600080fd5b919050565b6000806000606084860312156102bc57600080fd5b6102c58461028b565b92506102d36020850161028b565b9150604084013590509250925092565b6000602082840312156102f557600080fd5b8151801515811461016257600080fd5b6000825160005b81811015610326576020818601810151858301520161030c565b50600092019182525091905056fea2646970667358221220f3141585df36c5ff1a5cbb09bfe8edba43afb8f272b7a3dabda004da27f24fc464736f6c6343000814003307ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212206c43b3776e7ea2dbce6ff8b71d3288acc58b96cf312bba8974c77c0d4c60253b64736f6c63430008140033",
1240
+ "deployedBytecode": "0x60806040523480156200001157600080fd5b5060043610620002255760003560e01c80637a9e5e4b1162000131578063b135d5d411620000bb578063caf4e3d41162000086578063caf4e3d41462000521578063cc9fc59a146200052b578063d0d63b091462000535578063f21de1e81462000380578063f7c34ee0146200054c57600080fd5b8063b135d5d414620004c3578063b68d180914620004da578063bcba127414620004ea578063bf7e214f146200050157600080fd5b80638fb3603711620000fc5780638fb36037146200045a578063991cbfb3146200047e578063a3c260521462000495578063ada9652e14620004ac57600080fd5b80637a9e5e4b146200040b578063826787661462000422578063893d20e814620004395780638e32e979146200044357600080fd5b806336fc697e11620001b3578063644c45e0116200017e578063644c45e014620003a6578063675393bf14620003c65780636c76767214620003dd5780637738eb8614620003f457600080fd5b806336fc697e146200032f5780634420e486146200033957806349bb9e4b14620003695780635ab1bd53146200038057600080fd5b80631eff4b2211620001f45780631eff4b2214620002b3578063214cdb8014620002ea57806327bb7a331462000301578063329d6e74146200031857600080fd5b806301ffc9a7146200022a5780630d8e6e2c146200026f5780630fec111c146200028e578063138461e014620002a7575b600080fd5b6200025a6200023b36600462003a05565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6200027962000563565b60405162ffffff909116815260200162000266565b62000298620005f0565b60405162000266919062003a8c565b620002b1620007af565b005b620002db7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200162000266565b620002b1620002fb36600462003a05565b620009c4565b620002b16200031236600462003d54565b620009f3565b620002b16200032936600462003dfa565b62000a85565b620002b162000bdd565b620003506200034a36600462003e32565b62000c25565b6040516001600160601b03909116815260200162000266565b620002b16200037a36600462003e52565b6200114d565b6001546001600160a01b03165b6040516001600160a01b03909116815260200162000266565b60008051602062005480833981519152546001600160601b031662000350565b620002b1620003d736600462003e32565b62001255565b620002b1620003ee36600462004066565b6200136e565b62000350620004053660046200411f565b6200176e565b620002b16200041c36600462003e32565b62001949565b620002b162000433366004620041e6565b620019eb565b6200038d62001baa565b620002b16200045436600462004233565b62001ce9565b6200046462001f3d565b6040516001600160e01b0319909116815260200162000266565b620002b16200048f36600462004285565b62001f78565b620002b1620004a63660046200439a565b62002814565b620002db6000805160206200548083398151915281565b620002b1620004d4366004620043ba565b62002a68565b604051608c815260200162000266565b620002b1620004fb366004620043d4565b62002c73565b600080516020620054a0833981519152546001600160a01b03166200038d565b6200038d62002cf9565b6200038d62002d07565b620002b1620005463660046200443d565b62002d15565b620002b16200055d3660046200445d565b62002e4b565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015620005c5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005eb91906200449b565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b90910416151591810191909152600182018054919291606084019190620006a290620044c2565b80601f0160208091040260200160405190810160405280929190818152602001828054620006d090620044c2565b8015620007215780601f10620006f55761010080835404028352916020019162000721565b820191906000526020600020905b8154815290600101906020018083116200070357829003601f168201915b50505050508152505090506040518060e0016040528062000740600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b031681526020016200079362001baa565b6001600160a01b03168152602001826060015181525091505090565b60006000805160206200548083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801562000820573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200084691906200450b565b15620008785780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306200088c6001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015620008d5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620008fb91906200450b565b620009255760405163b9304b0d60e01b81526001600160a01b03821660048201526024016200086f565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa1580156200097a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620009a0919062004538565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b620009ce62002eca565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b620009fd62002eca565b62000a09828762002e4b565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b8615150217815590506001810162000a7b8382620045aa565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c62000aa962000563565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af415801562000aea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000b10919062004683565b600080516020620054c08339815191528054600160401b900460ff168062000b45575080546001600160401b03808416911610155b1562000b645760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815562000b908362002f05565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a1505050565b62000be762002eca565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b60008080808062000c4286608c62000c3c62002f0f565b62002f89565b9296509094509250905085600062000c5962002cf9565b604051637286e5e560e01b81526001600160a01b03848116600483015287811660248301529190911690637286e5e5906044016000604051808303816000875af115801562000cac573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000cd6919081019062004709565b9050816001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b15801562000d1457600080fd5b505af115801562000d29573d6000803e3d6000fd5b50505050806000015196506000826001600160a01b03166390edbd356040518163ffffffff1660e01b8152600401600060405180830381865afa15801562000d75573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000d9f9190810190620047ef565b9050806020015160405162000db490620039f7565b6001600160a01b039091168152602001604051809103906000f08015801562000de1573d6000803e3d6000fd5b506001600160a01b039081166040808401919091525163d5c9d77d60e01b81529086169063d5c9d77d9062000e1d908b90859060040162004940565b600060405180830381600087803b15801562000e3857600080fd5b505af115801562000e4d573d6000803e3d6000fd5b50600092506002915062000e5e9050565b60405190808252806020026020018201604052801562000e9357816020015b606081526020019060019003908162000e7d5790505b5060408051600180825281830190925291925060208083019080368337019050508160008151811062000eca5762000eca62004964565b602090810291909101015260408051600180825281830190925290816020016020820280368337019050508160018151811062000f0b5762000f0b62004964565b6020026020010181905250638267876660e01b8160008151811062000f345762000f3462004964565b602002602001015160008151811062000f515762000f5162004964565b6001600160e01b031990921660209283029190910190910152805163da65659d60e01b908290600190811062000f8b5762000f8b62004964565b602002602001015160008151811062000fa85762000fa862004964565b6001600160e01b031992909216602092830291909101820152604080516002808252606082018352600093919290918301908036833701905050905062000fee62002f0f565b8160008151811062001004576200100462004964565b60200260200101906001600160401b031690816001600160401b0316815250506200102e62003291565b8160018151811062001044576200104462004964565b60200260200101906001600160401b031690816001600160401b0316815250506200106e62002d07565b6001600160a01b0316636c6fbb28878d886001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015620010bd573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620010e791908101906200497a565b86866040518663ffffffff1660e01b81526004016200110b959493929190620049f8565b600060405180830381600087803b1580156200112657600080fd5b505af11580156200113b573d6000803e3d6000fd5b50505050505050505050505050919050565b600080516020620054c08339815191528054600160401b810460ff1615906001600160401b0316600081158015620011825750825b90506000826001600160401b031660011480156200119f5750303b155b905081158015620011ae575080155b15620011cd5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315620011f857845460ff60401b1916600160401b1785555b620012048787620032ce565b83156200124c57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6200125f62002eca565b806001600160a01b03163b600003620012975760405163fdeac91f60e01b81526001600160a01b03821660048201526024016200086f565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa92505050801562001314575060408051601f3d908101601f1916820190925262001311918101906200450b565b60015b6200133e5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016200086f565b80620013695760405163fdeac91f60e01b81526001600160a01b03831660048201526024016200086f565b505b50565b6000856001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015620013af573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620013d5919062004ad4565b60405163242bdc1960e21b81526001600160601b03871660048201529091506000906001600160a01b038316906390af70649060240161014060405180830381865afa1580156200142a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001450919062004b27565b606001516020850151604051634793b4ab60e01b81526001600160601b0382166004820152919250906000906001600160a01b03851690634793b4ab90602401600060405180830381865afa158015620014ae573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620014d8919081019062004bef565b9050620014ea81600001518462003522565b1562001520578051604051630a49ea2360e01b81526001600160601b03918216600482015290841660248201526044016200086f565b60405163f0ea17c360e01b81526001600160601b03841660048201526000906001600160a01b0386169063f0ea17c390602401600060405180830381865afa15801562001571573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200159b9190810190620047ef565b905060008160c00151806020019051810190620015b9919062004d03565b608089015160025460405163a7e0dea760e01b81526001600160a01b038f811660048301526001600160601b03808f1660248401528916604483015260648201849052608482018c905293945091928a9291169063a7e0dea79060a401600060405180830381600087803b1580156200163157600080fd5b505af115801562001646573d6000803e3d6000fd5b505050508260e00151156200175f5760006200166a6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b038a1660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015620016ba573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620016e4919081019062004709565b608001519050806001600160a01b031663da65659d8d8d61010001518a8a60400151886040518663ffffffff1660e01b81526004016200172995949392919062004df5565b600060405180830381600087803b1580156200174457600080fd5b505af115801562001759573d6000803e3d6000fd5b50505050505b50505050505050505050505050565b600080806200177e608c62003539565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015620017c4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620017ea919062004ad4565b90506000889050600260009054906101000a90046001600160a01b03166001600160a01b031663e283b4a984868e8e868e8e8e6040518963ffffffff1660e01b81526004016200184298979695949392919062004e4a565b6020604051808303816000875af115801562001862573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001888919062004538565b94507f0dcadf661b8b2888423f78a848a77785b4dc0138395b12584835f6a65dfcea79836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015620018ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001910919062004538565b604080516001600160601b03928316815282881660208201529188169082015260600160405180910390a1505050509695505050505050565b336200196b600080516020620054a0833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614620019a85760405162d1953b60e31b81526001600160a01b03821660048201526024016200086f565b816001600160a01b03163b600003620019e0576040516361798f2f60e11b81526001600160a01b03831660048201526024016200086f565b62001369826200377a565b60008080620019fb608c62003539565b9250925092506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001a42573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001a68919062004ad4565b60405163f0ea17c360e01b81526001600160601b03861660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa15801562001abc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001ae69190810190620047ef565b905060008160c0015180602001905181019062001b04919062004d03565b61014081018a90526101608101899052610180810188905260405190915062001b3290829060200162004edb565b60408051808303601f1901815291905260c08301526001600160a01b03841663a4eeee59878460ff6040518463ffffffff1660e01b815260040162001b7a9392919062004fd5565b600060405180830381600087803b15801562001b9557600080fd5b505af11580156200175f573d6000803e3d6000fd5b6000806000805160206200548083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801562001c1c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001c4291906200450b565b1562001cd3576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801562001ca7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001ccd919062004ad4565b91505090565b54600160601b90046001600160a01b0316919050565b62001cf362002eca565b62001d7883846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001d37573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001d5d919062004538565b603c60008560405180602001604052806000815250620009f3565b6001600160a01b0382161562001d995762001d9382620037dc565b62001f14565b600062001dae6001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af415801562001e0f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001e3591906200500c565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801562001e7b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001ea1919062004ad4565b905062001f12816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001ee6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001f0c919062004ad4565b620037dc565b505b62001f26634a531f3360e01b620009c4565b62001f3863b68d180960e01b620009c4565b505050565b600080516020620054a0833981519152805460009190600160a01b900460ff1662001f6a57600062001ccd565b638fb3603760e01b91505090565b600062001f8d6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa15801562001fe1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200200b919081019062004709565b60208101516040516305247a1760e51b81526001600160601b0390911660048201529091506000906001600160a01b0384169063a48f42e090602401600060405180830381865afa15801562002065573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200208f919081019062004709565b60208101516040516305247a1760e51b81526001600160601b0390911660048201529091506000906001600160a01b0385169063a48f42e090602401600060405180830381865afa158015620020e9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262002113919081019062004709565b9050600081608001519050600073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__634c41dd968961010001518a608001516200215191906200502c565b6040518263ffffffff1660e01b81526004016200217091815260200190565b602060405180830381865af41580156200218e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620021b4919062004538565b9050600073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__634c41dd968a61012001518b60a00151620021e991906200502c565b6040518263ffffffff1660e01b81526004016200220891815260200190565b602060405180830381865af415801562002226573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200224c919062004538565b8951604051632620eecb60e11b8152600481019190915290915060009073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__90634c41dd9690602401602060405180830381865af4158015620022a6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620022cc919062004538565b60405163274acb3560e01b81526001600160601b039182166004820152908416602482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063274acb3590604401602060405180830381865af41580156200232e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002354919062004538565b60405163274acb3560e01b81526001600160601b039182166004820152908316602482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063274acb3590604401602060405180830381865af4158015620023b6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620023dc919062004538565b60405163c4cade9d60e01b81526001600160601b038b811660048301528216602482015290915073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063c4cade9d90604401602060405180830381865af415801562002440573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200246691906200450b565b6200249857604051639080fd1360e01b81526001600160601b0380831660048301528a1660248201526044016200086f565b6040516330b8415f60e01b81526001600160601b038416600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906330b8415f90602401602060405180830381865af4158015620024f1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200251791906200450b565b1562002709576000846001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200255e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002584919062004ad4565b875160405163f0ea17c360e01b81526001600160601b0390911660048201526001600160a01b03919091169063f0ea17c390602401600060405180830381865afa158015620025d7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620026019190810190620047ef565b60a081015160405163274acb3560e01b81526001600160601b039182166004820152908616602482015290915073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063274acb3590604401602060405180830381865af41580156200266b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002691919062004538565b6001600160601b031660a0820152865160405163a4eeee5960e01b81526001600160a01b0387169163a4eeee5991620026d39190859060ff9060040162004fd5565b600060405180830381600087803b158015620026ee57600080fd5b505af115801562002703573d6000803e3d6000fd5b50505050505b6040516330b8415f60e01b81526001600160601b038316600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906330b8415f90602401602060405180830381865af415801562002762573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200278891906200450b565b156200280757600254604051632dd597e760e21b81526001600160a01b0386811660048301526001600160601b03808f166024840152851660448301529091169063b7565f9c90606401600060405180830381600087803b158015620027ed57600080fd5b505af115801562002802573d6000803e3d6000fd5b505050505b5050505050505050505050565b6000808062002824608c62003539565b9250925092506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200286b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002891919062004ad4565b60405163f0ea17c360e01b81526001600160601b03861660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa158015620028e5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200290f9190810190620047ef565b905060008160c001518060200190518101906200292d919062004d03565b905062002954816020015162002942620037f1565b6001600160401b039081169116141590565b156200297f5760405163eff765ff60e01b81526001600160601b03871660048201526024016200086f565b6001600160401b038716602080830191909152604051620029a39183910162004edb565b60408051808303601f1901815291905260c08301526001600160a01b03841663a4eeee59878460ff6040518463ffffffff1660e01b8152600401620029eb9392919062004fd5565b600060405180830381600087803b15801562002a0657600080fd5b505af115801562002a1b573d6000803e3d6000fd5b5050604080516001600160601b038a1681526001600160401b038b1660208201527fe7e6a7a42cbdb2d274dfaaac06073a09d6095ca3745ce71fe5a137f8247ea23e935001905062001243565b6000808062002a78608c62003539565b9250925092506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002abf573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002ae5919062004ad4565b60405163f0ea17c360e01b81526001600160601b03861660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa15801562002b39573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262002b639190810190620047ef565b905060008160c0015180602001905181019062002b81919062004d03565b60408082018051908a905290519192509062002ba290839060200162004edb565b60408051808303601f1901815291905260c08401526001600160a01b03851663a4eeee59888560ff6040518463ffffffff1660e01b815260040162002bea9392919062004fd5565b600060405180830381600087803b15801562002c0557600080fd5b505af115801562002c1a573d6000803e3d6000fd5b5050604080516001600160601b038b168152602081018590529081018b90527f3d3c927c97d357afd5a7d8406e5040fdd068b171cc4ea3cfd3f41c5500d596379250606001905060405180910390a15050505050505050565b60025460208201516080830151604051632a4cd36960e21b81526001600160a01b0387811660048301526001600160601b0380881660248401529093166044820152606481019190915291169063a9334da490608401600060405180830381600087803b15801562002ce457600080fd5b505af11580156200124c573d6000803e3d6000fd5b6000620005eb602862003833565b6000620005eb604662003833565b60008062002d24608c62003539565b600254604051632aa6b2cb60e21b81526001600160a01b0380841660048301526001600160601b0389166024830152949650919450929092169163aa9acb2c9150604401600060405180830381600087803b15801562002d8357600080fd5b505af115801562002d98573d6000803e3d6000fd5b505050507f64c75a4392ba38fee1b5a44b61e3dd0cae424d2d43eb2b0c99772efe31e1c042816001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002dfc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002e22919062004538565b604080516001600160601b03928316815282861660208201529186169082015260600162000bd0565b62002e5562002eca565b62002e608162001255565b62002e6a62000bdd565b6001600160a01b03821662002e925760405163f17ef42d60e01b815260040160405180910390fd5b506000805160206200548083398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600080516020620054c083398151915254600160401b900460ff1662002f0357604051631afcd79f60e31b815260040160405180910390fd5b565b6200022562002eca565b6040516368aebf7b60e01b815260048082015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af415801562002f63573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005eb919062004683565b6040516301ffc9a760e01b81526396c8ab0560e01b60048201528390339060009081906001600160a01b038516906301ffc9a790602401602060405180830381865afa15801562002fde573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200300491906200450b565b6200302e576040516359bff0e360e11b81526001600160a01b03881660048201526024016200086f565b6000846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156200306f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262003099919081019062004709565b9050620030b181604001518860ff9081169116141590565b15620030f3576040808201519051634a2e948760e11b81526001600160a01b038a16600482015260ff808a16602483015290911660448201526064016200086f565b60a08101516001600160a01b0385811690821614620031475760a0820151604051632b50a20960e21b81526001600160a01b03808c166004830152918216602482015290861660448201526064016200086f565b81602001519250620031598362003949565b9350836001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200319a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620031c0919062004ad4565b6040516368fc2b7760e11b81526001600160401b03891660048201526001600160a01b038781166024830152919091169063d1f856ee90604401602060405180830381865afa15801562003218573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200323e91906200450b565b6200328657604051636af540d960e01b81526001600160601b03841660048201526001600160401b03881660248201526001600160a01b03861660448201526064016200086f565b505093509350935093565b6040516368aebf7b60e01b815261096a600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b9060240162002f45565b600080516020620054c08339815191528054600160401b810460ff1615906001600160401b0316600081158015620033035750825b90506000826001600160401b03166001148015620033205750303b155b9050811580156200332f575080155b156200334e5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156200337957845460ff60401b1916600160401b1785555b600080878060200190518101906200339291906200504e565b9092509050620033a58260008b62001ce9565b6001546001600160a01b031663d39e604360dc620033c262000563565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801562003418573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200343e91906200500c565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801562003484573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620034aa919062004ad4565b600280546001600160a01b0319166001600160a01b0392909216919091179055620034dc630ea3b75760e21b620009c4565b505083156200124c57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200162001243565b6001600160601b0382811690821614155b92915050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152600080620035866001546001600160a01b031690565b6040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa158015620035ce573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620035f8919081019062004709565b92506200360f83604001518660ff90811691161490565b620036535760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b60448201526064016200086f565b8260000151935062003669836020015162003949565b9150816001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015620036aa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620036d0919062004ad4565b6080840151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa1580156200371b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200374191906200450b565b156200377257608083015160405163d53987e560e01b81526001600160a01b0390911660048201526024016200086f565b509193909250565b600080516020620054a083398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b620037e662002eca565b6200136b81620039e2565b6040516368aebf7b60e01b81526001600160401b03600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b9060240162002f45565b6000620038486001546001600160a01b031690565b6001600160a01b031663d39e6043836200386162000563565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015620038b7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620038dd91906200500c565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801562003923573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003533919062004ad4565b60006200395e6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015620039ae573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620039d8919081019062004709565b6080015192915050565b620039ec62002eca565b6200136b816200377a565b6103fd806200508383390190565b60006020828403121562003a1857600080fd5b81356001600160e01b03198116811462003a3157600080fd5b9392505050565b60005b8381101562003a5557818101518382015260200162003a3b565b50506000910152565b6000815180845262003a7881602086016020860162003a38565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015162003af660c08401826001600160a01b03169052565b5060c083015160e08084015262003b1261010084018262003a5e565b949350505050565b6001600160a01b03811681146200136b57600080fd5b6001600160601b03811681146200136b57600080fd5b803562003b538162003b30565b919050565b60ff811681146200136b57600080fd5b80151581146200136b57600080fd5b634e487b7160e01b600052604160045260246000fd5b60405161020081016001600160401b038111828210171562003bb35762003bb362003b77565b60405290565b604080519081016001600160401b038111828210171562003bb35762003bb362003b77565b6040516101e081016001600160401b038111828210171562003bb35762003bb362003b77565b60405160e081016001600160401b038111828210171562003bb35762003bb362003b77565b60405161010081016001600160401b038111828210171562003bb35762003bb362003b77565b60405161012081016001600160401b038111828210171562003bb35762003bb362003b77565b6040516101a081016001600160401b038111828210171562003bb35762003bb362003b77565b604051601f8201601f191681016001600160401b038111828210171562003cc65762003cc662003b77565b604052919050565b60006001600160401b0382111562003cea5762003cea62003b77565b50601f01601f191660200190565b600082601f83011262003d0a57600080fd5b813562003d2162003d1b8262003cce565b62003c9b565b81815284602083860101111562003d3757600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c0878903121562003d6e57600080fd5b863562003d7b8162003b1a565b9550602087013562003d8d8162003b30565b9450604087013562003d9f8162003b58565b9350606087013562003db18162003b68565b9250608087013562003dc38162003b1a565b915060a08701356001600160401b0381111562003ddf57600080fd5b62003ded89828a0162003cf8565b9150509295509295509295565b60006020828403121562003e0d57600080fd5b81356001600160401b0381111562003e2457600080fd5b62003b128482850162003cf8565b60006020828403121562003e4557600080fd5b813562003a318162003b1a565b6000806040838503121562003e6657600080fd5b823562003e738162003b1a565b915060208301356001600160401b0381111562003e8f57600080fd5b62003e9d8582860162003cf8565b9150509250929050565b80356001600160c01b03198116811462003b5357600080fd5b64ffffffffff811681146200136b57600080fd5b803562003b538162003ec0565b803561ffff8116811462003b5357600080fd5b6000610200828403121562003f0857600080fd5b62003f1262003b8d565b905062003f1f8262003b46565b815262003f2f6020830162003b46565b602082015262003f426040830162003ea7565b604082015262003f556060830162003ea7565b60608201526080820135608082015260a082013560a082015260c082013560c082015262003f8660e0830162003ed4565b60e0820152610100808301356001600160401b038082111562003fa857600080fd5b62003fb68683870162003cf8565b8385015261012092508285013591508082111562003fd357600080fd5b5062003fe28582860162003cf8565b82840152505061014062003ff881840162003ee1565b908201526101606200400c83820162003ee1565b908201526101806200402083820162003b46565b908201526101a06200403483820162003ed4565b908201526101c06200404883820162003ed4565b908201526101e06200405c83820162003ed4565b9082015292915050565b600080600080600060a086880312156200407f57600080fd5b85356200408c8162003b1a565b945060208601356200409e8162003b30565b93506040860135620040b08162003b30565b925060608601356001600160401b03811115620040cc57600080fd5b620040da8882890162003ef4565b95989497509295608001359392505050565b600060408284031215620040ff57600080fd5b6200410962003bb9565b9050813581526020820135602082015292915050565b60008060008060008060c087890312156200413957600080fd5b8635620041468162003b1a565b9550620041578860208901620040ec565b94506060870135620041698162003b30565b935060808701356200417b8162003ec0565b925060a08701356001600160401b03808211156200419857600080fd5b818901915089601f830112620041ad57600080fd5b813581811115620041bd57600080fd5b8a6020828501011115620041d057600080fd5b6020830194508093505050509295509295509295565b600080600060c08486031215620041fc57600080fd5b620042088585620040ec565b9250620042198560408601620040ec565b91506200422a8560808601620040ec565b90509250925092565b6000806000606084860312156200424957600080fd5b8335620042568162003b1a565b92506020840135620042688162003b1a565b915060408401356200427a8162003b1a565b809150509250925092565b60008060008385036102208112156200429d57600080fd5b8435620042aa8162003b30565b93506101e0601f198201811315620042c157600080fd5b620042cb62003bde565b91506020860135825260408601356020830152606086013560408301526080860135606083015260a0860135608083015260c086013560a083015260e086013560c08301526101008087013560e084015261012080880135828501526101409150818801358185015250610160808801358285015261018091508188013581850152506101a080880135828501526101c0915081880135818501525081870135818401525050809250506200422a610200850162003b46565b6001600160401b03811681146200136b57600080fd5b600060208284031215620043ad57600080fd5b813562003a318162004384565b600060208284031215620043cd57600080fd5b5035919050565b600080600060608486031215620043ea57600080fd5b8335620043f78162003b1a565b92506020840135620044098162003b30565b915060408401356001600160401b038111156200442557600080fd5b620044338682870162003ef4565b9150509250925092565b6000602082840312156200445057600080fd5b813562003a318162003b30565b600080604083850312156200447157600080fd5b82356200447e8162003b1a565b91506020830135620044908162003b1a565b809150509250929050565b600060208284031215620044ae57600080fd5b815162ffffff8116811462003a3157600080fd5b600181811c90821680620044d757607f821691505b602082108103620044f857634e487b7160e01b600052602260045260246000fd5b50919050565b805162003b538162003b68565b6000602082840312156200451e57600080fd5b815162003a318162003b68565b805162003b538162003b30565b6000602082840312156200454b57600080fd5b815162003a318162003b30565b601f82111562001f3857600081815260208120601f850160051c81016020861015620045815750805b601f850160051c820191505b81811015620045a2578281556001016200458d565b505050505050565b81516001600160401b03811115620045c657620045c662003b77565b620045de81620045d78454620044c2565b8462004558565b602080601f831160018114620046165760008415620045fd5750858301515b600019600386901b1c1916600185901b178555620045a2565b600085815260208120601f198616915b82811015620046475788860151825594840194600190910190840162004626565b5085821015620046665787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b805162003b538162004384565b6000602082840312156200469657600080fd5b815162003a318162004384565b805162003b538162003b58565b805162003b538162003b1a565b600082601f830112620046cf57600080fd5b8151620046e062003d1b8262003cce565b818152846020838601011115620046f657600080fd5b62003b1282602083016020870162003a38565b6000602082840312156200471c57600080fd5b81516001600160401b03808211156200473457600080fd5b9083019060e082860312156200474957600080fd5b6200475362003c04565b6200475e836200452b565b81526200476e602084016200452b565b60208201526200478160408401620046a3565b60408201526200479460608401620044fe565b6060820152620047a760808401620046b0565b6080820152620047ba60a08401620046b0565b60a082015260c083015182811115620047d257600080fd5b620047e087828601620046bd565b60c08301525095945050505050565b6000602082840312156200480257600080fd5b81516001600160401b03808211156200481a57600080fd5b9083019060e082860312156200482f57600080fd5b6200483962003c04565b8251828111156200484957600080fd5b6200485787828601620046bd565b8252506200486860208401620046b0565b60208201526200487b60408401620046b0565b60408201526200488e60608401620046b0565b6060820152620048a1608084016200452b565b6080820152620047ba60a084016200452b565b6000815160e08452620048cb60e085018262003a5e565b9050602083015160018060a01b038082166020870152806040860151166040870152806060860151166060870152505060808301516001600160601b0380821660808701528060a08601511660a0870152505060c083015184820360c086015262004937828262003a5e565b95945050505050565b6001600160601b038316815260406020820152600062003b126040830184620048b4565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156200498d57600080fd5b81516001600160401b03811115620049a457600080fd5b62003b1284828501620046bd565b600081518084526020808501945080840160005b83811015620049ed5781516001600160401b031687529582019590820190600101620049c6565b509495945050505050565b6001600160601b03861681526000602060018060a01b0387168184015260a0604084015262004a2b60a084018762003a5e565b8381036060850152855180825282820190600581901b830184018489016000805b8481101562004aad57868403601f19018652825180518086529089019089860190845b8181101562004a975783516001600160e01b0319168352928b0192918b019160010162004a6f565b5050968901969450509187019160010162004a4c565b505050868103608088015262004ac48189620049b2565b9c9b505050505050505050505050565b60006020828403121562004ae757600080fd5b815162003a318162003b1a565b60006040828403121562004b0757600080fd5b62004b1162003bb9565b9050815181526020820151602082015292915050565b6000610140828403121562004b3b57600080fd5b62004b4562003c29565b62004b5083620046b0565b815262004b6060208401620046b0565b602082015262004b73604084016200452b565b604082015262004b86606084016200452b565b606082015262004b9a846080850162004af4565b608082015262004bae8460c0850162004af4565b60a082015262004bc26101008401620044fe565b60c082015262004bd66101208401620046b0565b60e08201529392505050565b805162003b538162003ec0565b60006020828403121562004c0257600080fd5b81516001600160401b038082111562004c1a57600080fd5b90830190610140828603121562004c3057600080fd5b62004c3a62003c4f565b62004c45836200452b565b815262004c56866020850162004af4565b602082015260608301518281111562004c6e57600080fd5b62004c7c87828601620046bd565b60408301525062004c90608084016200452b565b606082015262004ca360a084016200452b565b608082015262004cb660c084016200452b565b60a082015262004cc960e0840162004be2565b60c0820152610100915062004ce082840162004be2565b60e082015262004cf4610120840162004be2565b91810191909152949350505050565b6000610200828403121562004d1757600080fd5b62004d2162003c75565b62004d2c836200452b565b815262004d3c6020840162004676565b602082015260408301516040820152606083015160608201526080830151608082015262004d6d60a08401620044fe565b60a082015262004d8060c08401620044fe565b60c082015262004d9360e08401620044fe565b60e08201526101008381015190820152610120808401519082015261014062004dbf8582860162004af4565b9082015261018062004dd48585830162004af4565b61016083015262004dea856101c0860162004af4565b908201529392505050565b60006001600160601b03808816835260a0602084015262004e1a60a084018862003a5e565b8187166040850152838103606085015262004e36818762003a5e565b925050508260808301529695505050505050565b6001600160a01b0389811682526001600160601b03898116602084015288821660408401526000916101009162004e8e606086018b80518252602090810151910152565b881660a08501525064ffffffffff861660c084015260e0830181905282018390526101208385828501376000838501820152601f909301601f191690910190910198975050505050505050565b81516001600160601b031681526102008101602083015162004f0860208401826001600160401b03169052565b5060408301516040830152606083015160608301526080830151608083015260a083015162004f3b60a084018215159052565b5060c083015162004f5060c084018215159052565b5060e083015162004f6560e084018215159052565b5061010083810151908301526101208084015190830152610140808401518051828501526020810151610160850152505061016083015161018062004fb68185018380518252602090810151910152565b84015180516101c085015260208101516101e085015290505092915050565b6001600160601b038416815260606020820152600062004ff96060830185620048b4565b905060ff83166040830152949350505050565b6000602082840312156200501f57600080fd5b815162003a318162003b58565b808201808211156200353357634e487b7160e01b600052601160045260246000fd5b600080604083850312156200506257600080fd5b82516200506f8162003b1a565b6020840151909250620044908162003b1a56fe608060405234801561001057600080fd5b506040516103fd3803806103fd83398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b61036a806100936000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806321df0da71461003b578063beabacc81461005a575b600080fd5b600054604080516001600160a01b039092168252519081900360200190f35b61006d6100683660046102a7565b61006f565b005b600054610087906001600160a01b031684848461008c565b505050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526100e69085906100ec565b50505050565b60006101016001600160a01b03841683610154565b9050805160001415801561012657508080602001905181019061012491906102e3565b155b1561008757604051635274afe760e01b81526001600160a01b03841660048201526024015b60405180910390fd5b606061016283836000610169565b9392505050565b60608147101561018e5760405163cd78605960e01b815230600482015260240161014b565b600080856001600160a01b031684866040516101aa9190610305565b60006040518083038185875af1925050503d80600081146101e7576040519150601f19603f3d011682016040523d82523d6000602084013e6101ec565b606091505b50915091506101fc868383610206565b9695505050505050565b60608261021b5761021682610262565b610162565b815115801561023257506001600160a01b0384163b155b1561025b57604051639996b31560e01b81526001600160a01b038516600482015260240161014b565b5080610162565b8051156102725780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b80356001600160a01b03811681146102a257600080fd5b919050565b6000806000606084860312156102bc57600080fd5b6102c58461028b565b92506102d36020850161028b565b9150604084013590509250925092565b6000602082840312156102f557600080fd5b8151801515811461016257600080fd5b6000825160005b81811015610326576020818601810151858301520161030c565b50600092019182525091905056fea2646970667358221220f3141585df36c5ff1a5cbb09bfe8edba43afb8f272b7a3dabda004da27f24fc464736f6c6343000814003307ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212206c43b3776e7ea2dbce6ff8b71d3288acc58b96cf312bba8974c77c0d4c60253b64736f6c63430008140033",
799
1241
  "linkReferences": {
800
- "contracts/types/Blocknumber.sol": {
801
- "BlocknumberLib": [
1242
+ "contracts/types/Amount.sol": {
1243
+ "AmountLib": [
802
1244
  {
803
1245
  "length": 20,
804
- "start": 3589
805
- }
806
- ]
807
- },
808
- "contracts/types/Fee.sol": {
809
- "FeeLib": [
1246
+ "start": 8712
1247
+ },
810
1248
  {
811
1249
  "length": 20,
812
- "start": 9741
1250
+ "start": 8864
813
1251
  },
814
1252
  {
815
1253
  "length": 20,
816
- "start": 9896
817
- }
818
- ]
819
- },
820
- "contracts/types/NftId.sol": {
821
- "NftIdLib": [
1254
+ "start": 9041
1255
+ },
822
1256
  {
823
1257
  "length": 20,
824
- "start": 2134
1258
+ "start": 9177
825
1259
  },
826
1260
  {
827
1261
  "length": 20,
828
- "start": 3969
1262
+ "start": 9313
829
1263
  },
830
1264
  {
831
1265
  "length": 20,
832
- "start": 4773
1266
+ "start": 9451
833
1267
  },
834
1268
  {
835
1269
  "length": 20,
836
- "start": 7770
837
- }
838
- ]
839
- },
840
- "contracts/types/RoleId.sol": {
841
- "RoleIdLib": [
1270
+ "start": 9628
1271
+ },
842
1272
  {
843
1273
  "length": 20,
844
- "start": 10594
1274
+ "start": 10006
845
1275
  },
846
1276
  {
847
1277
  "length": 20,
848
- "start": 10715
849
- },
1278
+ "start": 10253
1279
+ }
1280
+ ]
1281
+ },
1282
+ "contracts/types/NftId.sol": {
1283
+ "NftIdLib": [
850
1284
  {
851
1285
  "length": 20,
852
- "start": 10774
1286
+ "start": 2251
853
1287
  },
854
1288
  {
855
1289
  "length": 20,
856
- "start": 10833
1290
+ "start": 7367
857
1291
  }
858
1292
  ]
859
1293
  },
860
- "contracts/types/Timestamp.sol": {
861
- "TimestampLib": [
1294
+ "contracts/types/RoleId.sol": {
1295
+ "RoleIdLib": [
1296
+ {
1297
+ "length": 20,
1298
+ "start": 12301
1299
+ },
1300
+ {
1301
+ "length": 20,
1302
+ "start": 13201
1303
+ },
862
1304
  {
863
1305
  "length": 20,
864
- "start": 8631
1306
+ "start": 14582
865
1307
  }
866
1308
  ]
867
1309
  },
@@ -869,85 +1311,95 @@
869
1311
  "VersionLib": [
870
1312
  {
871
1313
  "length": 20,
872
- "start": 1656
1314
+ "start": 1648
873
1315
  },
874
1316
  {
875
1317
  "length": 20,
876
- "start": 5014
1318
+ "start": 2925
877
1319
  },
878
1320
  {
879
1321
  "length": 20,
880
- "start": 5816
1322
+ "start": 13507
1323
+ },
1324
+ {
1325
+ "length": 20,
1326
+ "start": 14690
1327
+ }
1328
+ ],
1329
+ "VersionPartLib": [
1330
+ {
1331
+ "length": 20,
1332
+ "start": 7866
881
1333
  }
882
1334
  ]
883
1335
  }
884
1336
  },
885
1337
  "deployedLinkReferences": {
886
- "contracts/types/Blocknumber.sol": {
887
- "BlocknumberLib": [
1338
+ "contracts/types/Amount.sol": {
1339
+ "AmountLib": [
888
1340
  {
889
1341
  "length": 20,
890
- "start": 3275
891
- }
892
- ]
893
- },
894
- "contracts/types/Fee.sol": {
895
- "FeeLib": [
1342
+ "start": 8482
1343
+ },
896
1344
  {
897
1345
  "length": 20,
898
- "start": 9427
1346
+ "start": 8634
899
1347
  },
900
1348
  {
901
1349
  "length": 20,
902
- "start": 9582
903
- }
904
- ]
905
- },
906
- "contracts/types/NftId.sol": {
907
- "NftIdLib": [
1350
+ "start": 8811
1351
+ },
908
1352
  {
909
1353
  "length": 20,
910
- "start": 1820
1354
+ "start": 8947
911
1355
  },
912
1356
  {
913
1357
  "length": 20,
914
- "start": 3655
1358
+ "start": 9083
915
1359
  },
916
1360
  {
917
1361
  "length": 20,
918
- "start": 4459
1362
+ "start": 9221
919
1363
  },
920
1364
  {
921
1365
  "length": 20,
922
- "start": 7456
923
- }
924
- ]
925
- },
926
- "contracts/types/RoleId.sol": {
927
- "RoleIdLib": [
1366
+ "start": 9398
1367
+ },
928
1368
  {
929
1369
  "length": 20,
930
- "start": 10280
1370
+ "start": 9776
931
1371
  },
932
1372
  {
933
1373
  "length": 20,
934
- "start": 10401
935
- },
1374
+ "start": 10023
1375
+ }
1376
+ ]
1377
+ },
1378
+ "contracts/types/NftId.sol": {
1379
+ "NftIdLib": [
936
1380
  {
937
1381
  "length": 20,
938
- "start": 10460
1382
+ "start": 2021
939
1383
  },
940
1384
  {
941
1385
  "length": 20,
942
- "start": 10519
1386
+ "start": 7137
943
1387
  }
944
1388
  ]
945
1389
  },
946
- "contracts/types/Timestamp.sol": {
947
- "TimestampLib": [
1390
+ "contracts/types/RoleId.sol": {
1391
+ "RoleIdLib": [
1392
+ {
1393
+ "length": 20,
1394
+ "start": 12071
1395
+ },
1396
+ {
1397
+ "length": 20,
1398
+ "start": 12971
1399
+ },
948
1400
  {
949
1401
  "length": 20,
950
- "start": 8317
1402
+ "start": 14352
951
1403
  }
952
1404
  ]
953
1405
  },
@@ -955,15 +1407,25 @@
955
1407
  "VersionLib": [
956
1408
  {
957
1409
  "length": 20,
958
- "start": 1342
1410
+ "start": 1418
1411
+ },
1412
+ {
1413
+ "length": 20,
1414
+ "start": 2695
959
1415
  },
960
1416
  {
961
1417
  "length": 20,
962
- "start": 4700
1418
+ "start": 13277
963
1419
  },
964
1420
  {
965
1421
  "length": 20,
966
- "start": 5502
1422
+ "start": 14460
1423
+ }
1424
+ ],
1425
+ "VersionPartLib": [
1426
+ {
1427
+ "length": 20,
1428
+ "start": 7636
967
1429
  }
968
1430
  ]
969
1431
  }